NSX-T Data Center REST API
NodeRouteProperties (type)
{
"additionalProperties": false,
"extends": {
"$ref": "Resource
},
"id": "NodeRouteProperties",
"properties": {
"_links": {
"description": "The server will populate this field when returing the resource. Ignored on PUT and POST.",
"items": {
"$ref": "ResourceLink
},
"readonly": true,
"title": "References related to this resource",
"type": "array"
},
"_schema": {
"readonly": true,
"title": "Schema for this resource",
"type": "string"
},
"_self": {
"$ref": "SelfResourceLink,
"readonly": true,
"title": "Link to this resource"
},
"destination": {
"title": "Destination covered by route",
"type": "string"
},
"from_address": {
"pattern": "^[\\d]{1,3}\\.[\\d]{1,3}\\.[\\d]{1,3}\\.[\\d]{1,3}$",
"title": "From address",
"type": "string"
},
"gateway": {
"pattern": "^[\\d]{1,3}\\.[\\d]{1,3}\\.[\\d]{1,3}\\.[\\d]{1,3}$",
"title": "Address of next hop",
"type": "string"
},
"interface_id": {
"title": "Network interface id of route",
"type": "string"
},
"metric": {
"title": "Metric value of route",
"type": "string"
},
"netmask": {
"pattern": "^[\\d]{1,3}\\.[\\d]{1,3}\\.[\\d]{1,3}\\.[\\d]{1,3}$",
"title": "Netmask of destination covered by route",
"type": "string"
},
"proto": {
"default": "boot",
"enum": [
"unspec",
"redirect",
"kernel",
"boot",
"static",
"gated",
"ra",
"mrt",
"zebra",
"bird",
"dnrouted",
"xorp",
"ntk",
"dhcp"
],
"title": "Routing protocol identifier of route",
"type": "string"
},
"route_id": {
"readonly": true,
"title": "Unique identifier for the route",
"type": "string"
},
"route_type": {
"enum": [
"default",
"static",
"blackhole",
"prohibit",
"throw",
"unreachable"
],
"required": true,
"title": "Route type",
"type": "string"
},
"scope": {
"title": "Scope of destinations covered by route",
"type": "string"
},
"src": {
"pattern": "^[\\d]{1,3}\\.[\\d]{1,3}\\.[\\d]{1,3}\\.[\\d]{1,3}$",
"title": "Source address to prefer when sending to destinations of route",
"type": "string"
}
},
"title": "Node network route properties",
"type": "object"
}