-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathz_struct_interface.go
More file actions
27 lines (25 loc) · 1.06 KB
/
z_struct_interface.go
File metadata and controls
27 lines (25 loc) · 1.06 KB
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
package maas
type Interface struct {
Obj
SystemId string `json:"system_id"`
Id int `json:"id"`
Name string `json:"name"`
Vlan Vlan `json:"vlan"`
Type string `json:"type"`
MacAddress string `json:"mac_address"`
Parents []string `json:"parents"`
Children []string `json:"children"`
Tags []string `json:"tags"`
Enabled bool `json:"enabled"`
Links UndefinedType `json:"links"`
Params UndefinedType `json:"params"`
Discovered UndefinedType `json:"discovered"`
EffectiveMtu int `json:"effective_mtu"`
Vendor UndefinedType `json:"vendor"`
Product string `json:"product"`
FirmwareVersion UndefinedType `json:"firmware_version"`
LinkConnected bool `json:"link_connected"`
InterfaceSpeed int `json:"interface_speed"`
LinkSpeed int `json:"link_speed"`
SriovMaxVf UndefinedType `json:"sriov_max_vf"`
}