-
Notifications
You must be signed in to change notification settings - Fork 70
/
controller_interface.go
46 lines (32 loc) · 2.69 KB
/
controller_interface.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
// Copyright 2021 VMware, Inc.
// SPDX-License-Identifier: Apache License 2.0
package models
// This file is auto-generated.
// ControllerInterface controller interface
// swagger:model ControllerInterface
type ControllerInterface struct {
// IPv4 default gateway of the interface. Field introduced in 21.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
Gateway *IPAddr `json:"gateway,omitempty"`
// IPv6 default gateway of the interface. Field introduced in 22.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
Gateway6 *IPAddr `json:"gateway6,omitempty"`
// Interface name. Field introduced in 21.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
IfName *string `json:"if_name,omitempty"`
// IPv4 prefix of the interface. Field introduced in 21.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
IP *IPAddrPrefix `json:"ip,omitempty"`
// IPv6 prefix of the interface. Field introduced in 22.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
Ip6 *IPAddrPrefix `json:"ip6,omitempty"`
// Interface label like mgmt, secure channel or HSM. Enum options - MGMT, SE_SECURE_CHANNEL, HSM. Field introduced in 21.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
Labels []string `json:"labels,omitempty"`
// Mac address of interface. Field introduced in 21.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
MacAddress *string `json:"mac_address,omitempty"`
// IPv4 address mode DHCP/STATIC. Enum options - DHCP, STATIC, VIP, DOCKER_HOST, MODE_MANUAL. Field introduced in 21.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
Mode *string `json:"mode,omitempty"`
// IPv6 address mode STATIC. Enum options - DHCP, STATIC, VIP, DOCKER_HOST, MODE_MANUAL. Field introduced in 22.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
Mode6 *string `json:"mode6,omitempty"`
// Public IP of interface. Field introduced in 21.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
PublicIPOrName *IPAddr `json:"public_ip_or_name,omitempty"`
// Enable V4 IP on this interface. Field introduced in 30.2.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
V4Enabled *bool `json:"v4_enabled,omitempty"`
// Enable V6 IP on this interface. Field introduced in 30.2.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
V6Enabled *bool `json:"v6_enabled,omitempty"`
}