v15.6.0
This commit is contained in:
@@ -181,55 +181,39 @@ type L2ExternalNetwork struct {
|
||||
VLANTag *int `json:"vlan_tag"`
|
||||
}
|
||||
|
||||
type ExternalNetworkPorts []ExternalNetworkPort
|
||||
|
||||
// Info about an external network port
|
||||
type ExternalNetworkPorts struct {
|
||||
type ExternalNetworkPort struct {
|
||||
// Access group ID
|
||||
AccessGroupID string `json:"access_group_id"`
|
||||
|
||||
// Access group name
|
||||
AccessGroupName string `json:"access_group_name"`
|
||||
|
||||
// Bridge network name
|
||||
BridgeNetworkName string `json:"bridge_network_name"`
|
||||
// Comment
|
||||
Comment string `json:"comment"`
|
||||
|
||||
// Default gateway for IPv4
|
||||
DefaultGatewayIPv4 string `json:"default_gateway_ipv4"`
|
||||
// The name displayed
|
||||
DisplayName string `json:"display_name"`
|
||||
|
||||
// Default gateway for IPv6
|
||||
DefaultGatewayIPv6 string `json:"default_gateway_ipv6"`
|
||||
// Whether the port is enabled
|
||||
Enabled bool `json:"enabled"`
|
||||
|
||||
// Description
|
||||
Description string `json:"description"`
|
||||
|
||||
// Details of external network ports
|
||||
ExternalNetworkPorts ExternalNetworkPortsField `json:"external_network_ports"`
|
||||
|
||||
// Hypervisors
|
||||
Hypervisors []string `json:"hypervisors"`
|
||||
// The ID of the external network
|
||||
ExternalNetworkID string `json:"external_network_id"`
|
||||
|
||||
// ID of an external network port
|
||||
ID string `json:"id"`
|
||||
|
||||
// Status
|
||||
Status Status `json:"status"`
|
||||
// IP of version 4
|
||||
IPv4 string `json:"ipv4"`
|
||||
|
||||
// Version ID
|
||||
VersionID uint64 `json:"version_id"`
|
||||
|
||||
// Subnet for V4
|
||||
SubnetV4 string `json:"subnet_v4"`
|
||||
|
||||
// Subnet for V6
|
||||
SubnetV6 string `json:"subnet_v6"`
|
||||
|
||||
// Created at
|
||||
CreatedAt string `json:"created_at"`
|
||||
|
||||
// Updated at
|
||||
UpdatedAt string `json:"updated_at"`
|
||||
|
||||
// VLAN Tag
|
||||
VLANTag int `json:"vlan_tag"`
|
||||
// MAC
|
||||
MAC string `json:"mac"`
|
||||
}
|
||||
|
||||
// Info about a logical port
|
||||
|
||||
Reference in New Issue
Block a user