github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/manager/tunnel_properties.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 TunnelProperties struct {
    13  
    14  	// The server will populate this field when returing the resource. Ignored on PUT and POST.
    15  	Links []common.ResourceLink `json:"_links,omitempty"`
    16  
    17  	Schema string `json:"_schema,omitempty"`
    18  
    19  	Self *common.SelfResourceLink `json:"_self,omitempty"`
    20  
    21  	// Detailed information about BFD configured on interface
    22  	Bfd *BfdProperties `json:"bfd,omitempty"`
    23  
    24  	// Corresponds to the interface where local_ip_address is routed.
    25  	EgressInterface string `json:"egress_interface,omitempty"`
    26  
    27  	// Tunnel encap
    28  	Encap string `json:"encap,omitempty"`
    29  
    30  	// Time at which the Tunnel status has been fetched last time.
    31  	LastUpdatedTime int64 `json:"last_updated_time,omitempty"`
    32  
    33  	// Local IP address of tunnel
    34  	LocalIp string `json:"local_ip,omitempty"`
    35  
    36  	// Name of tunnel
    37  	Name string `json:"name,omitempty"`
    38  
    39  	// Remote IP address of tunnel
    40  	RemoteIp string `json:"remote_ip,omitempty"`
    41  
    42  	// UUID of the remote transport node
    43  	RemoteNodeId string `json:"remote_node_id,omitempty"`
    44  
    45  	// Status of tunnel
    46  	Status string `json:"status,omitempty"`
    47  }