|
Parameter | Presence | Type | Default | Description | |
---|---|---|---|---|---|
name | M | string | Name of the Media Gateway Controller. | ||
addressType | O | enumeration | ipV4Addr | Address Type of the Media Gateway Controller. | |
ipAddressV4 | M | ipv4-address | IPv4 address for this H248 signaling port. | ||
ipAddressV6 | M | ipv6-address | IPv6 address for this H248 signaling port. | ||
portNumber | O | int32 | 2944 | UDP port number of the Media Gatewat Controller. | |
role | O | enumeration | primary | Role of the Media Gateway Controller. |
RESTCONF API: GET Example |
---|
curl -kisu 'admin:secret' -X GET https://{SBX-SERVER}/restconf/data/sonusSystem:system/sonusVirtualMediaGateway:virtualMediaGateway={name}/sonusMgc:mediaGatewayController={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/sonusVirtualMediaGateway:virtualMediaGateway={name} --data ' |
RESTCONF API: DELETE Example |
---|
curl -kisu 'admin:secret' -X DELETE https://{SBX-SERVER}/restconf/data/sonusSystem:system/sonusVirtualMediaGateway:virtualMediaGateway={name}/sonusMgc:mediaGatewayController={name} |