-
Notifications
You must be signed in to change notification settings - Fork 649
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
Implement acceptable interface identifier range for P4RT #653
Conversation
* (M) release/models/p4rt/openconfig-p4rt.yang - Add range statement to interface identifier in conformance to P4RT specification v1.3.0 - Description cleanup to map OpenConfig terminology to P4RT specification terminology
Compatibility Report for commit 138b239: |
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.
Thx @robshakir - yeah, if all options were available for config or state of all possible values in a different construct/location then I would say yes but since this restriction is on the interface |
Does an SDN controller ever need to address the SDN_PORT_RECIRCULATE or SDN_PORT_CPU? Reading from the spec it seems like this is explicitly defined and permitted? Seems like the change should permit those values. |
This restriction is solely for the interface RECIRCULATE and CPU would not be values ever assigned to a interface in this context |
Ok, I think you are saying /interfaces/interface is not expected to include CPU or RECIRCULATE entities and therefore we don't need to allow those IDs? |
Correct |
/gcbrun |
Hi @wenovus we are seeing ygot CI check failing here? |
Is the PR in sync with master? |
@earies please rebase/merge with master to pick up changes that should fix the CI issue. :) |
specification v1.3.0
specification terminology
Per https://p4.org/p4-spec/p4runtime/main/P4Runtime-Spec.html#sec-translation-of-port-numbers, the 'SDN Port' is the equivalent attribute to the OpenConfig P4RT interface 'id'. This change limits the acceptable uint32 range for configurable values per specification.