-
Notifications
You must be signed in to change notification settings - Fork 660
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
Remove unused chassis-id for P4RT #1020
Conversation
* (M) p4rt/openconfig-p4rt.yang - Remove unused chassis-id
Major YANG version changes in commit 74404e5: |
a couple of quick comments:
|
With some experience working with this, Google discovered that this path is not needed by Google after all. Deprecating is ok. However, I do plan for the next release this month to be OC 3.0 which will include a couple of breaking changes that were committed in the last month. |
I considered slow deprecation here but
The proper thing to do (and follow strict protocol) would be to slow deprecate as @sulrich suggests however the bigger concern here imo is keeping around nodes that possibly should have never been merged in the first place. It creates a tremendous amount of unnecessary complexity to document, explain and provide guidance for such cases. My vote would be for immediate removal on this one |
This will be reviewed at the Dec 19, 2023 OC Operators meeting. Google was the originator for this leaf. Historically we have set and get this data using a non-OC models internally for some time and wanted to upstream it as a public OC model for use across many types of devices. It is in a file related to p4rt because the operational use case at Google was to use this ID by our p4rt controller. It it true it is not actually part of p4rt (which doesn't use yang or gNMI) nor does it map directly to any p4rt entity. It did serve as a machine readable identifier for a group of p4rt nodes (integrated circuits) that are aggregated into a single chassis. However, we have made changes which no longer require this field so it is no longer operationally necessary. Given this and the strong likelihood that it was only ever used by Google, it seems ok to me to delete it. We plan to release OpenConfig v3.0.0 this month which will include some breaking changes, so it is convenient timing from a release perspective. If we achieve rough consensus on deleting this leaf at the Dec 19, 2023 OC Operators meeting, I believe we should move forward and remove this leaf. I do welcome input on any operational impact this may cause which could lead to keeping the leaf in the model and/or setting it to deprecate status. |
* (M) p4rt/openconfig-p4rt.yang - Remove unused chassis-id
Change Scope
Remove unused/unnecessary chassis ID previously defined for a P4RT use-case
Platform Implementations
N/A: The chassis ID is not used in the P4RT APIs directly and does not have a
surrounding use-case. This PR is for cleanup purposes.