openconfig / reference

This repository contains reference implementations, specifications and tooling related to OpenConfig-based network management.
Apache License 2.0
155 stars 88 forks source link

Clarification on replace and union_replace with only CLI Origin #206

Open rmomin-arista opened 4 months ago

rmomin-arista commented 4 months ago

Should a replace with only CLI origin replace OpenConfig configuration?

Per gnmi-union_replace.md , When performing a gNMI SetRequest replace operation, the entire configuration that the CLI manages (subject to the namespace rules) should be ‘erased’ and replaced with the contents of the CLI ASCII blob value. It is acknowledged that the entire CLI configuration may contain configuration items which overlap with other origins

Is the expectation that a replace with only CLI origin will replace any OpenConfig configuration that is writeable by CLI?

For a union_replace with only CLI origin, is the expectation that the origin OpenConfig configuration is untouched?