NSX-T Data Center REST API

LogicalRouterRouteCsvRecord (type)

{
  "extends": {
    "$ref": "CsvRecord"
  },
  "id": "LogicalRouterRouteCsvRecord",
  "module_id": "AggSvcLogicalRouter",
  "properties": {
    "admin_distance": {
      "required": false,
      "title": "The admin distance of the next hop",
      "type": "integer"
    },
    "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 of the next hop"
    },
    "route_type": {
      "required": true,
      "title": "Route type (USER, CONNECTED, NSX_INTERNAL,..)",
      "type": "string"
    }
  },
  "type": "object"
}