|
Parameter | Presence | Type | Default | Description | |
---|---|---|---|---|---|
destinationIpAddress | M | ip-address | The destination IP address. | ||
prefix | M | uint32 | The IP prefix length for this static route entry. | ||
nextHop | M | ip-address | The address of the next hop system enroute to the destination. | ||
ipInterfaceGroupName | M | reference | The name of the IP interface group for this entry. | ||
ipInterfaceName | M | reference | The name of the IP interface for this entry. | ||
preference | O | int32 | 100 | The route preference value. (Lower values indicate better preference.) | |
condition | O |
RESTCONF API: GET Example |
---|
curl -kisu 'admin:secret' -X GET https://{SBX-SERVER}/restconf/data/sonusAddressContext:addressContext={name}/sonusIpInterface:staticRoute={destinationIpAddress},{prefix},{nextHop},{ipInterfaceGroupName},{ipInterfaceName} |
RESTCONF API: POST Example |
---|
curl -kisu 'admin:secret' -X POST -H 'Content-Type: application/yang-data+xml' https://{SBX-SERVER}/restconf/data/sonusAddressContext:addressContext={name} --data ' |
RESTCONF API: DELETE Example |
---|
curl -kisu 'admin:secret' -X DELETE https://{SBX-SERVER}/restconf/data/sonusAddressContext:addressContext={name}/sonusIpInterface:staticRoute={destinationIpAddress},{prefix},{nextHop},{ipInterfaceGroupName},{ipInterfaceName} |