subnets_obj

subnets_obj

Configuration Editor for API to add, delete, and get configuration for subnets resource.

Read/write properties

network <String>

The IP address and mask for the subnet.

routing_domain <String>

The routing domain.

Read only properties

Operations

add delete get (all)

[add]{}

URL: http://<MGMT-IP>/sdwan/nitro/v1/config_editor/subnets_obj

Description: Use this operation to add the Destination NAT policy settings

HTTP Method: POST

Request Payload: JSON

{"subnets_obj": { "network":<String_value> , "routing_domain":<String_value> }}

Response Payload: JSON

{ "subnets_obj":{ "network":<String_value>

, "routing_domain":<String_value> }]}

[delete]{}

URL: http://<MGMT-IP>/sdwan/nitro/v1/config_editor/subnets_obj/

Description: Use this operation to delete the Destination NAT policy settings

HTTP Method: DELETE

Response Payload: JSON

{ "errorcode": 0, "message": "Done", "severity": <String;_value> }

[get (all)]{}

URL: http://<MGMT-IP>/sdwan/nitro/v1/config_editor/subnets_obj

Description: Use this operation to get the Destination NAT policy settings

HTTP Method: GET

Response Payload: JSON

{"subnets_obj":[{ "network":<String_value>

, "routing_domain":<String_value> }]}

Was this article helpful?