|
Parameter | Presence | Type | Default | Description | |
---|---|---|---|---|---|
name | M | string | Name of the network segment table. | ||
networkSegmentType | M | enumeration | Type of the network segment type media/signaling/management. | ||
pfeID | M | uint32 | Packet Frontend ID to which network segment needs to be anchored. | ||
vlanId | O | int32 | The VLAN TAG assigned to network segment table. | ||
networkInterfaceName | M | string | Name of the network interface. | ||
prefixV4 | O | uint32 | IPV4 prefix. | ||
prefixV6 | O | uint32 | IPV6 prefix. | ||
state | O | enumeration | disabled | Administrative state of the netwrokSegment table. Changes may only be made while disabled and will only take effect when enabled next. | |
networkName | M | ||||
portRanges | M | List of port range. | |||
ipNameV4 | O | List of IpV4Names which will contain the Ip addresses and Ip Range | |||
ipNameV6 | O | List of IpV6Names |
RESTCONF API: GET Example |
---|
curl -kisu 'admin:secret' -X GET https://{SBX-SERVER}/restconf/data/sonusSystem:system/sonusNsTable:networkSegmentTable={name} |
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/sonusNsTable:networkSegmentTable={name} |