sros_set_update
Merge configuration changes on Nokia SR OS devices via gNMI Set by providing a YANG path and JSON value.
Instructions
Update (merge) configuration on Nokia SR OS via gNMI Set. Provide a YANG path and JSON value to merge.
Example — create interface: path: /configure/router[router-name=Base]/interface[interface-name=lo0] value: {"ipv4": {"primary": {"address": "10.0.0.1", "prefix-length": 32}}}
Example — enable port: path: /configure/port[port-id=1/1/c2/1] value: {"admin-state": "enable"}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Device session name | |
| path | Yes | YANG path to update | |
| value | Yes | JSON object with config values to merge |