Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 72 additions & 0 deletions feature/gnmi/tests/gnmi_set_test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,12 +197,84 @@ This test checks that the static protocol name is usable.

* gNMI.Set

## Canonical OC

```json
{
"interfaces": {
"interface": [
{
"config": {
"description": "dut:port1",
"name": "port1"
},
"name": "port1",
"subinterfaces": {
"subinterface": [
{
"config": {
"index": 0
},
"index": 0,
"ipv4": {
"addresses": {
"address": [
{
"config": {
"ip": "192.0.2.1",
"prefix-length": 30
},
"ip": "192.0.2.1"
}
]
}
}
}
]
}
},
{
"config": {
"description": "dut:port2",
"name": "port2"
},
"name": "port2",
"subinterfaces": {
"subinterface": [
{
"config": {
"index": 0
},
"index": 0,
"ipv4": {
"addresses": {
"address": [
{
"config": {
"ip": "192.0.2.5",
"prefix-length": 30
},
"ip": "192.0.2.5"
}
]
}
}
}
]
}
}
]
}
}
```

## OpenConfig Path and RPC Coverage

```yaml
paths:
/interfaces/interface/name:
/interfaces/interface/subinterfaces/subinterface/ipv4/addresses/address/ip:
/interfaces/interface/subinterfaces/subinterface/ipv4/addresses/address/state/prefix-length:
Comment thread
kapilrajput-g marked this conversation as resolved.
/network-instances/network-instance/name:
rpcs:
gnmi:
Expand Down
Loading