RouteInfo

RouteInfo
RouteInfo
JSON Example
{
    "if_name": "string",
    "network_namespace": "string",
    "nexthop": {
        "addr": "string",
        "type": "string"
    },
    "subnet": {
        "ip_addr": {
            "addr": "string",
            "type": "string"
        },
        "mask": 0
    }
}
string
if_name
Optional

Host interface name. Field introduced in 18.2.6. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
network_namespace
Optional

Network Namespace type used to add an route entry in a specific namespace. Enum options - LOCAL_NAMESPACE, HOST_NAMESPACE, OTHER_NAMESPACE. Field introduced in 18.2.6. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

nexthop
Optional

nexthop

subnet
Required

subnet