-
Notifications
You must be signed in to change notification settings - Fork 71
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 gNOI API to access Boot config namespace in Bootz #156
Conversation
Pull Request Test Coverage Report for Build 7496564776
💛 - Coveralls |
Should this be called something different or in something like |
@gmacf to help review too. |
Couple of suggestions here -
|
fix Workspace
Additionally, An advantage of the approach is that there is clean separation according to the operational use case described above - a gNSI namespace exists for policies on the device; the ‘boot’ namespace would exist for configuration that is immutable after device boot; and the existing configuration becomes the dynamic configuration of the device. Each namespace can have its own policies for permissions, and client service. Client services need not know about each other’s configuration since replacing a configuration replaces only the namespace of that client. https://github.com/openconfig/bootz/blob/main/README.md#multiple-namespaces-for-the-configuration Suggest to change the highlighted portion to "the ‘boot’ namespace would exist for configuration that is immutable by the gNMI after device boot, requiring gNOI.Bootz/gNOI.BootzNamespace to change the configuration" as mentioned in the "Proposed Solution" section - Boot configuration is expressly defined to be immutable, and provided only at the time of device boot. If the boot configuration is required to be modified, it would be changed through calling a Set RPC through the Bootz service. |
still use BootConfig
updated. |
I'm not sure if we should add But anyway it probably shouldn't stop the merging of this PR. |
This API is required by the The Bootz solution