Resources | addressContext | zone | relayPort

relayPort

Relay Port for this zone.

Exists on Condition /system/deploymentType != 'microservices'

Configuration

ParameterPresenceTypeDefaultDescription
indexMuint32 Index of this Relay Port.
ipInterfaceGroupNameMreference IP interface group used by this Relay Port.
relayProfileMreference
ipAddressOip-address The IP Address of the Interface
portNumberOuint325269 Port number for relay (default is 5269).
modeOenumerationoutOfService The operational mode for this relay Port.
stateOenumerationdisabled Administrative state of the relay Port.
transportProtocolsAllowedOenumerationtcp The transport protocols allowed on this relay port. BIT 0 - TCP
ipVarOstring 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 '
<relayPort>
     <index>{index}</index>
     <ipInterfaceGroupName>{ipInterfaceGroupName}</ipInterfaceGroupName>
     <relayProfile>{relayProfile}</relayProfile>
</relayPort>
'

RESTCONF API: DELETE Example

curl -kisu 'admin:secret' -X DELETE https://{SBX-SERVER}/restconf/data/sonusAddressContext:addressContext={name}/sonusZone:zone={name}/sonusRelayPort:relayPort={index}

  • No labels