/
logical_router_loopback_port.go
68 lines (45 loc) · 2.94 KB
/
logical_router_loopback_port.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
/* 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 LogicalRouterLoopbackPort 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"`
// The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected.
Revision int64 `json:"_revision"`
// Timestamp of resource creation
CreateTime int64 `json:"_create_time,omitempty"`
// ID of the user who created this resource
CreateUser string `json:"_create_user,omitempty"`
// Timestamp of last modification
LastModifiedTime int64 `json:"_last_modified_time,omitempty"`
// ID of the user who last modified this resource
LastModifiedUser string `json:"_last_modified_user,omitempty"`
// Indicates system owned resource
SystemOwned bool `json:"_system_owned,omitempty"`
// Description of this resource
Description string `json:"description,omitempty"`
// Defaults to ID if not set
DisplayName string `json:"display_name,omitempty"`
// Unique identifier of this resource
Id string `json:"id,omitempty"`
// LogicalRouterUpLinkPort is allowed only on TIER0 logical router. It is the north facing port of the logical router. LogicalRouterLinkPortOnTIER0 is allowed only on TIER0 logical router. This is the port where the LogicalRouterLinkPortOnTIER1 of TIER1 logical router connects to. LogicalRouterLinkPortOnTIER1 is allowed only on TIER1 logical router. This is the port using which the user connected to TIER1 logical router for upwards connectivity via TIER0 logical router. Connect this port to the LogicalRouterLinkPortOnTIER0 of the TIER0 logical router. LogicalRouterDownLinkPort is for the connected subnets on the logical router. LogicalRouterLoopbackPort is a loopback port for logical router component which is placed on chosen edge cluster member.
ResourceType string `json:"resource_type"`
// Opaque identifiers meaningful to the API user
Tags []common.Tag `json:"tags,omitempty"`
// Identifier for logical router on which this port is created
LogicalRouterId string `json:"logical_router_id"`
// MAC address
MacAddress string `json:"mac_address,omitempty"`
// Service Bindings
ServiceBindings []ServiceBinding `json:"service_bindings,omitempty"`
// Member index of the edge node on the cluster
EdgeClusterMemberIndex []int64 `json:"edge_cluster_member_index"`
// Loopback port subnets
Subnets []IpSubnet `json:"subnets"`
}