Create a Non-Routable Endpoint
This endpoint is used to create a nonroutable endpoint.
POST /openapi/v1/non_routable_endpoints/{rootScopeName}
Parameters:
Attribute |
Type |
Description |
---|---|---|
name |
string |
User specified name of the nonroutable endpoint. |
subnet |
string |
IPv4 or IPv6 subnet. |
address_type(optional) |
string |
IPv4or IPv6 based on subnet address type |
host_uuid(optional) |
string |
Unique ID of the agent |
description(optional) |
string |
User specified description of the nonroutable endpoint. |
*if optional fields are not specified, null values are populated.
Sample python code
req_payload = {
"name": "nre-1",
"subnet": "1.1.1.1/30",
"address_type": IPV4,
"description": "sample parameters test"
}
resp = restclient.post('/openapi/v1/non_routable_endpoints/Default', json_body=json.dumps(req_payload))