| |
Exists on Condition | /system/deploymentType != 'microservices' |
Parameter | Presence | Type | Default | Description | |
---|---|---|---|---|---|
index | M | uint32 | Index of this Relay Port. | ||
ipInterfaceGroupName | M | reference | IP interface group used by this Relay Port. | ||
relayProfile | M | reference | |||
ipAddress | O | ip-address | The IP Address of the Interface | ||
portNumber | O | uint32 | 5269 | Port number for relay (default is 5269). | |
mode | O | enumeration | outOfService | The operational mode for this relay Port. | |
state | O | enumeration | disabled | Administrative state of the relay Port. | |
transportProtocolsAllowed | O | enumeration | tcp | The transport protocols allowed on this relay port. BIT 0 - TCP | |
ipVar | O | string | Name of configuration variable to get IP address for the IP interface. |
RESTCONF API: GET Example |
---|
curl -kisu 'admin:secret' -X GET https://{SBX-SERVER}/restconf/data/sonusAddressContext:addressContext={name}/sonusZone:zone={name}/sonusRelayPort:relayPort={index} |
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}/sonusZone:zone={name} --data ' |
RESTCONF API: DELETE Example |
---|
curl -kisu 'admin:secret' -X DELETE https://{SBX-SERVER}/restconf/data/sonusAddressContext:addressContext={name}/sonusZone:zone={name}/sonusRelayPort:relayPort={index} |