github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/manager/static_route_next_hop.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  import (
     9  	"github.com/vmware/go-vmware-nsxt/common"
    10  )
    11  
    12  type StaticRouteNextHop struct {
    13  
    14  	// Administrative Distance for the next hop IP
    15  	AdministrativeDistance int64 `json:"administrative_distance,omitempty"`
    16  
    17  	// Status of bfd for this next hop where bfd_enabled = true indicate bfd is enabled for this next hop and bfd_enabled = false indicate bfd peer is disabled or not configured for this next hop.
    18  	BfdEnabled bool `json:"bfd_enabled,omitempty"`
    19  
    20  	// Action to be taken on matching packets for NULL routes.
    21  	BlackholeAction string `json:"blackhole_action,omitempty"`
    22  
    23  	// Next Hop IP
    24  	IpAddress string `json:"ip_address,omitempty"`
    25  
    26  	// Reference of logical router port to be used for next hop
    27  	LogicalRouterPortId *common.ResourceReference `json:"logical_router_port_id,omitempty"`
    28  }