Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

discovery+switch: apply zero forwarding policy updates in-memory as w… #3439

Commits on Sep 10, 2019

  1. discovery+switch: apply zero forwarding policy updates in-memory as w…

    …ell as on disk
    
    In this commit, we fix a bug where if a user updates a forwarding policy to be
    zero, the update will be applied to the policy correctly on-disk, but not
    in-memory.
    
    We solve this issue by having the gossiper return the list of on-disk updated
    policies and passing these policies to the switch, so the switch can assume
    that zero-valued fields are intentional and not just uninitialized.
    valentinewallace committed Sep 10, 2019
    Configuration menu
    Copy the full SHA
    8ce7f82 View commit details
    Browse the repository at this point in the history