NSX-T Data Center REST API

RoutingEntry (type)

{
  "additionalProperties": false,
  "description": "Routing table entry.",
  "id": "RoutingEntry",
  "module_id": "PolicyConnectivityStatistics",
  "properties": {
    "admin_distance": {
      "description": "Admin distance.",
      "readonly": true,
      "title": "Admin distance",
      "type": "int"
    },
    "black_hole": {
      "description": "Value of this field will be true if given routes are null routes",
      "readonly": true,
      "required": false,
      "title": "BlackHole",
      "type": "boolean"
    },
    "interface": {
      "required": false,
      "title": "The policy path of the interface which is used as the next hop",
      "type": "string",
      "x-vmw-cross-reference": [
        {
          "leftType": [],
          "relationshipType": "IGNORE",
          "rightType": []
        }
      ]
    },
    "lr_component_id": {
      "required": false,
      "title": "Logical router component(Service Router/Distributed Router) id",
      "type": "string"
    },
    "lr_component_type": {
      "required": false,
      "title": "Logical router component(Service Router/Distributed Router) type",
      "type": "string"
    },
    "network": {
      "description": "Network CIDR.",
      "readonly": true,
      "title": "Network CIDR",
      "type": "string"
    },
    "next_hop": {
      "$ref": "IPAddress",
      "description": "Next hop address.",
      "readonly": true,
      "title": "Next hop address"
    },
    "next_hop_gateway": {
      "required": false,
      "title": "Next hop gateway path",
      "type": "string"
    },
    "route_type": {
      "description": "Route type in routing table. t0c - Tier-0 Connected t0s - Tier-0 Static b - BGP t0n - Tier-0 NAT t1s - Tier-1 Static t1c - Tier-1 Connected t1n: Tier-1 NAT t1l: Tier-1 LB VIP t1ls: Tier-1 LB SNAT t1d: Tier-1 DNS FORWARDER t1ipsec: Tier-1 IPSec isr: Inter-SR",
      "readonly": true,
      "title": "Route type (USER, CONNECTED, NSX_INTERNAL,..)",
      "type": "string"
    }
  },
  "title": "Routing table entry",
  "type": "object"
}