sros_set_replace
Replace an entire configuration subtree on Nokia SR OS via gNMI Set, overwriting existing config at the path with the provided JSON value; omitted config is removed.
Instructions
Replace configuration on Nokia SR OS via gNMI Set. Replaces the entire subtree at the given path with the provided value. WARNING: This removes any existing config under the path that is not in the new value.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"path": "<path>",
"value": "<value>"
},
"name": "sros_set_replace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Device session name | |
| path | Yes | YANG path to replace | |
| value | Yes | JSON object — complete replacement config |