Resources | system | networkSegmentTable | portRanges

portRanges

List of port range.

Exists on Condition (../networkSegmentType ='PFE')

Configuration

ParameterPresenceTypeDefaultDescription
nameMstring Name of the portRange variable.
rangeStartMuint16 Port range start value.
rangeEndMuint16 Port range end value.
transportMenumeration Protocol type tcp/udp.
applicationTypeMenumeration Application type to be used for portRange media/signaling.
RESTCONF API: GET Example

curl -kisu 'admin:secret' -X GET https://{SBX-SERVER}/restconf/data/sonusSystem:system/sonusNsTable:networkSegmentTable={name}/portRanges={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/sonusNsTable:networkSegmentTable={name} --data '
<portRanges>
     <name>{name}</name>
     <rangeStart>{rangeStart}</rangeStart>
     <rangeEnd>{rangeEnd}</rangeEnd>
     <transport>{transport}</transport>
     <applicationType>{applicationType}</applicationType>
</portRanges>
'

RESTCONF API: DELETE Example

curl -kisu 'admin:secret' -X DELETE https://{SBX-SERVER}/restconf/data/sonusSystem:system/sonusNsTable:networkSegmentTable={name}/portRanges={name}

  • No labels