|
Parameter | Presence | Type | Default | Description | |
---|---|---|---|---|---|
destinationIpAddress | M | ip-address | The destination IP address. | ||
prefix | M | uint32 | The IP prefix of this static route entry. | ||
nextHop | M | ip-address | The address of the next 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 | 10 | route preference value |
RESTCONF API: GET Example |
---|
curl -kisu 'admin:secret' -X GET https://{SBX-SERVER}/restconf/data/sonusSystem:system/sonusOrcaSystem:mgmtStaticRoute={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/sonusSystem:system --data ' |
RESTCONF API: DELETE Example |
---|
curl -kisu 'admin:secret' -X DELETE https://{SBX-SERVER}/restconf/data/sonusSystem:system/sonusOrcaSystem:mgmtStaticRoute={destinationIpAddress},{prefix},{nextHop},{ipInterfaceGroupName},{ipInterfaceName} |