NSX-T Data Center REST API

GatewayRouteCsvRecord (type)

{
  "extends": {
    "$ref": "CsvRecord"
  },
  "id": "GatewayRouteCsvRecord",
  "module_id": "PolicyConnectivityStatistics",
  "properties": {
    "admin_distance": {
      "required": false,
      "title": "The admin distance of the next hop",
      "type": "integer"
    },
    "black_hole": {
      "description": "Value of this field will be true if given routes are null routes",
      "readonly": true,
      "required": false,
      "title": "BlackHole",
      "type": "boolean"
    },
    "edge_path": {
      "description": "Edge node policy path.",
      "readonly": true,
      "title": "Edge path",
      "type": "string"
    },
    "interface": {
      "required": false,
      "title": "The policy path of the interface which is used as the next hop",
      "type": "string"
    },
    "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": {
      "$ref": "IPCIDRBlock",
      "required": true,
      "title": "CIDR network address"
    },
    "next_hop": {
      "$ref": "IPAddress",
      "required": false,
      "title": "The IP of the next hop"
    },
    "next_hop_gateway": {
      "required": false,
      "title": "Next hop gateway path",
      "type": "string"
    },
    "route_type": {
      "required": true,
      "title": "Route type (USER, CONNECTED, NSX_INTERNAL,..)",
      "type": "string"
    },
    "transport_node_path": {
      "description": "Transport node path.",
      "readonly": true,
      "title": "Transport node path",
      "type": "string"
    }
  },
  "type": "object"
}