NSX-T Data Center REST API

LogicalRouterRouteEntry (type)

{
  "id": "LogicalRouterRouteEntry",
  "module_id": "AggSvcLogicalRouter",
  "properties": {
    "admin_distance": {
      "required": false,
      "title": "The admin distance of the next hop",
      "type": "integer"
    },
    "black_hole": {
      "readonly": true,
      "required": false,
      "title": "Value of this field will be true if given routes are null routes",
      "type": "boolean"
    },
    "logical_router_port_id": {
      "required": false,
      "title": "The id of the logical router port 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 address 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"
    }
  },
  "type": "object"
}