IPv6 Neighbor Inspection
Supported HTTP Operations
The following HTTP operations are
supported for the ipv6
neighbor inspection vlan command.
https://<host>/restconf/data/openconfig-interfaces:interfaces/interface=ethernet%201%2F1%2F3/config/ipv6_neighbor_inspection_container
Request body: None
Response body:{
"icx-openconfig-vlan-aug:ipv6_neighbor_inspection_container": {
"ipv6_neighbor_inspection": true
}
}
URL: https://<host>/restconf/data/network-instances/network-instance/default-vrf/vlans/vlan=102/config/ipv6_neighbor_inspection_container
Request body:
{
"icx-openconfig-vlan-aug:ipv6_neighbor_inspection_container": {
"ipv6_neighbor_inspection": false
}
}
Response body: None
URL: https://<host>/restconf/data/network-instances/network-instance/default-vrf/vlans/vlan=102/config/ipv6_neighbor_inspection_container
Request body:
{
"icx-openconfig-vlan-aug:ipv6_neighbor_inspection_container": {
"ipv6_neighbor_inspection": true
}
}
Response body: None
URL: https://<host>/restconf/data/network-instances/network-instance/default-vrf/vlans/vlan=102/config
Request body:
{
"icx-openconfig-vlan-aug:ipv6_neighbor_inspection_container": {
"ipv6_neighbor_inspection": true
}
}
Response body: None
PATCH method for NDI on multi VLAN
URL: https://<host>/restconf/data/network-instances/network-instance/default-vrf/vlans
{
"openconfig-network-instance:vlans": {
"vlan": [
{
"vlan-id": 11,
"config": {
"vlan-id": 11,
"icx-openconfig-vlan-aug:ipv6_neighbor_inspection_container": {
"ipv6_neighbor_inspection": true
}
}
},
{
"vlan-id": 1,
"config": {
"vlan-id": 1,
"icx-openconfig-vlan-aug:ipv6_neighbor_inspection_container": {
"ipv6_neighbor_inspection": true
}
}
}
]
}
}DELETEURL: https://<host>/restconf/data/network-instances/network-instance/default-vrf/vlans/vlan=102/config/ipv6_neighbor_inspection_container
Request body: None Response body: None
The following HTTP operations are
supported for the ipv6-neighbor inspection trust command.
URL: https://<host>/restconf/data/openconfig-interfaces:interfaces/interface=ethernet%201%2F1%2F3/config/ndi_trust_container
Request body: None
Response body: {
"icx-openconfig-if-ndi-aug:ndi_trust_container": {
"ndi_trust": true
}
}
URL: https://<host>/restconf/data/openconfig-interfaces:interfaces/interface=ethernet%201%2F1%2F3/config/ndi_trust_container
Request body:{
"icx-openconfig-if-ndi-aug:ndi_trust_container": {
"ndi_trust": false
}
}
Response body: None
URL: https://<host>/restconf/data/openconfig-interfaces:interfaces/interface=ethernet%201%2F1%2F3/config/ndi_trust_container
Request body: {
"icx-openconfig-if-ndi-aug:ndi_trust_container": {
"ndi_trust": true
}
}
Response body: None
URL: https://<host>/restconf/data/openconfig-interfaces:interfaces/interface=ethernet%201%2F1%2F4/config
Request body:
{
"icx-openconfig-if-ndi-aug:ndi_trust_container": {
"ndi_trust": true
}
}
Response body: NonePATCH
method for NDI Trust for multiple physical
interfacesURL: https://<host>/restconf/data/openconfig-interfaces:interfaces
{
"openconfig-interfaces:interfaces": {
"interface": [
{
"name": "ethernet 1/1/1",
"config": {
"name": "ethernet 1/1/1",
"icx-openconfig-if-ndi-aug:ndi_trust_container": {
"ndi_trust": true
}
}
},
{
"name": "ethernet 1/1/2",
"config": {
"name": "ethernet 1/1/2",
"icx-openconfig-if-ndi-aug:ndi_trust_container": {
"ndi_trust": true
}
}
},
{
"name": "ethernet 1/1/3",
"config": {
"name": "ethernet 1/1/3",
"icx-openconfig-if-ndi-aug:ndi_trust_container": {
"ndi_trust": true
}
}
}
]
}
}
PATCH
method for NDI Trust for multiple LAG
interfacesURL: https://<host>/restconf/data/openconfig-interfaces:interfaces
{
"openconfig-interfaces:interfaces": {
"interface": [
{
"name": "lag 1",
"config": {
"name": "lag 1",
"icx-openconfig-if-ndi-aug:ndi_trust_container": {
"ndi_trust": true
}
}
},
{
"name": "lag 2",
"config": {
"name": "lag 2",
"icx-openconfig-if-ndi-aug:ndi_trust_container": {
"ndi_trust": true
}
}
}
]
}
}
URL: https://<host>/restconf/data/openconfig-interfaces:interfaces/interface=ethernet%201%2F1%2F3/config/ndi_trust_container
Request body: None Response body: None