github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/manager/logical_router_route_csv_record.go (about)

     1  /* Copyright © 2017 VMware, Inc. All Rights Reserved.
     2     SPDX-License-Identifier: BSD-2-Clause
     3  
     4     Generated by: https://github.com/swagger-api/swagger-codegen.git */
     5  
     6  package manager
     7  
     8  type LogicalRouterRouteCsvRecord struct {
     9  
    10  	// The admin distance of the next hop
    11  	AdminDistance int64 `json:"admin_distance,omitempty"`
    12  
    13  	// The id of the logical router port which is used as the next hop
    14  	LogicalRouterPortId string `json:"logical_router_port_id,omitempty"`
    15  
    16  	// Logical router component(Service Router/Distributed Router) id
    17  	LrComponentId string `json:"lr_component_id,omitempty"`
    18  
    19  	// Logical router component(Service Router/Distributed Router) type
    20  	LrComponentType string `json:"lr_component_type,omitempty"`
    21  
    22  	// CIDR network address
    23  	Network string `json:"network"`
    24  
    25  	// The IP of the next hop
    26  	NextHop string `json:"next_hop,omitempty"`
    27  
    28  	// Route type (USER, CONNECTED, NSX_INTERNAL,..)
    29  	RouteType string `json:"route_type"`
    30  }