-
Notifications
You must be signed in to change notification settings - Fork 655
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
Add next-hop-group-name
in NHG AFT entry state
#966
Conversation
* (M) aft/openconfig-aft-common.yang * (M) aft/openconfig-aft-ethernet.yang * (M) aft/openconfig-aft-ipv4.yang * (M) aft/openconfig-aft-ipv6.yang * (M) aft/openconfig-aft-mpls.yang * (M) aft/openconfig-aft-pf.yang * (M) aft/openconfig-aft-state-synced.yang * (M) aft/openconfig-aft.yang - Add next-hop-group-name in NHG AFT entry state - Add ttl and tos in NH AFT entry state
…and tos under gre, mpls and ip-in-ip aft entry state. Remove nexthop-group-name and autosiz changes from this PR.
Major YANG version changes in commit 8ed9df3: |
@romeyod thanks for this. Is there an expectation that an operator can configure the next-hop-group-name? I don't see a leaf for configuration in the OC models already for this. If not configured, how is the name generated? Does the name have any other function or is it merely informational? Can you provide an operational use case why someone or something would want to use a name for the next-hop-group? |
@dplore - a few misc. asides on this topic.
existing examples of NHG name specification: |
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.
Thanks for breaking this apart -- I think that with the documentation links that @sulrich shared, and the clarification that this is optional this seems reasonable to include.
As and when gRIBI adopts an updated AFT model, it will be deviated out there such that it is not configurable via the gRIBI API.
@dplore - was there other feedback here that should be considered pre-merge?
No other feedback received to date. Agreed that the references do show naming next-hop-group is common. I do think it's ok to add only the AFT state here. Config of next-hop-group with naming (whether static or via other means could be in a separate PR when someone has the use case. It doesn't need to block this PR for AFT. |
/gcbrun |
/gcbrun |
It's possible this PR's CI is failing because it's based on a very old version of openconfig/public: romeyod/aftNextHop@nhg-Name...openconfig:public:master I recommend merging into the latest branch -- I suspect that might fix this issue if my invocation run did not. |
@romeyod please refresh / merge your pull request with HEAD from openconfig:master and this should fix the CI checks. |
@dplore I have done the refresh now. Let me know if that was correct. Thanks |
Looks great, thank you. |
Change Scope
next-hop-group-name
in NHG AFT entry statePlatform Implementations
Relevant pyang output: