/
tunnel_properties.go
47 lines (31 loc) · 1.27 KB
/
tunnel_properties.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/* Copyright © 2017 VMware, Inc. All Rights Reserved.
SPDX-License-Identifier: BSD-2-Clause
Generated by: https://github.com/swagger-api/swagger-codegen.git */
package manager
import (
"github.com/vmware/go-vmware-nsxt/common"
)
type TunnelProperties struct {
// The server will populate this field when returing the resource. Ignored on PUT and POST.
Links []common.ResourceLink `json:"_links,omitempty"`
Schema string `json:"_schema,omitempty"`
Self *common.SelfResourceLink `json:"_self,omitempty"`
// Detailed information about BFD configured on interface
Bfd *BfdProperties `json:"bfd,omitempty"`
// Corresponds to the interface where local_ip_address is routed.
EgressInterface string `json:"egress_interface,omitempty"`
// Tunnel encap
Encap string `json:"encap,omitempty"`
// Time at which the Tunnel status has been fetched last time.
LastUpdatedTime int64 `json:"last_updated_time,omitempty"`
// Local IP address of tunnel
LocalIp string `json:"local_ip,omitempty"`
// Name of tunnel
Name string `json:"name,omitempty"`
// Remote IP address of tunnel
RemoteIp string `json:"remote_ip,omitempty"`
// UUID of the remote transport node
RemoteNodeId string `json:"remote_node_id,omitempty"`
// Status of tunnel
Status string `json:"status,omitempty"`
}