-
Notifications
You must be signed in to change notification settings - Fork 9
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
Support set-local-pref and set-med #238
Conversation
Refactored community-set test for testing other attributes. * There is now only one policy-setting phase for simplification. * Each route has its own policy statement switch case block for creating related policies.
Verified integration tests locally using |
var installRejectStmt bool | ||
rejectStmt := &oc.RoutingPolicy_PolicyDefinition_Statement{Name: ygot.String(route + "-reject-policy")} | ||
|
||
switch i { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this isn't very clear. i don't see why i == 1 means set communites
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a comment. Each index refers to an input test route, and each one has its corresponding policies that applies to it. Each one is essentially a subtest that re-uses the topology.
Pull Request Test Coverage Report for Build 5978619732
💛 - Coveralls |
Refactored community-set test for testing other attributes: