v1.16.7
This commit is contained in:
dayterr
2026-10-09 16:23:35 +03:00
parent 25e2242360
commit 8cde0e9371
80 changed files with 2303 additions and 606 deletions

View File

@@ -112,6 +112,15 @@ type ExternalNetworkPort struct {
// Floating IP
FloatingIP FloatingIP `json:"floating_ip"`
// External network ID
ExternalNetworkID string `json:"external_network_id"`
// ID
ID string `json:"id"`
// Version ID
VersionID uint64 `json:"version_id"`
}
// IPv6 configuration information
@@ -165,7 +174,7 @@ type FloatingIP struct {
CreatedAt string `json:"created_at"`
// External network port
ExternalNetworkPort string `json:"external_network_port"`
ExternalNetworkPort *ExternalNetworkPort `json:"external_network_port"`
// ID
ID string `json:"id"`
@@ -174,11 +183,17 @@ type FloatingIP struct {
LogicalPort LogicalPort `json:"logical_port"`
// Router
Router string `json:"router"`
Router *RoutersModel `json:"router"`
// Updated time
UpdatedAt string `json:"updated_at"`
// Created by
CreatedBy string `json:"created_by"`
// Updated by
UpdatedBy string `json:"updated_by"`
// Version ID
VersionID uint64 `json:"version_id"`
}
@@ -212,6 +227,9 @@ type LogicalPort struct {
// Enabled flag
Enabled bool `json:"enabled"`
// Exclude firewall information
ExcludeFirewall ExcludeFirewall `json:"exclude_firewall"`
// External network ID
ExternalNetworkID string `json:"external_network_id"`
@@ -221,6 +239,9 @@ type LogicalPort struct {
// Hypervisor display name
HypervisorDisplayName string `json:"hypervisor_display_name"`
// Labels
Labels Labels `json:"labels"`
// Live migration target HV
LiveMigrationTargetHV string `json:"live_migration_target_hv"`
@@ -242,8 +263,8 @@ type LogicalPort struct {
// Status information
type Status struct {
// Common status
Common string `json:"common"`
// Operation status
OperationStatus string `json:"operation_status"`
// Hypervisors status list
Hypervisors []HypervisorStatus `json:"hypervisors"`
@@ -251,8 +272,8 @@ type Status struct {
// Hypervisor status information
type HypervisorStatus struct {
// Status
Status string `json:"status"`
// Operation status
OperationStatus string `json:"operation_status"`
// Name
Name string `json:"name"`
@@ -267,6 +288,27 @@ type HypervisorStatus struct {
SyncedAt string `json:"synced_at"`
}
// Exclude firewall information
type ExcludeFirewall struct {
// Exclusion reason
ExclusionReason string `json:"exclusion_reason"`
// Logical port addresses excluded flag
LogicalPortAddressesExcluded bool `json:"logical_port_addresses_excluded"`
// Logical port excluded flag
LogicalPortExcluded bool `json:"logical_port_excluded"`
}
// Labels information
type Labels struct {
// VM ID
VMID string `json:"vm_id"`
// VM name
VMName string `json:"vm_name"`
}
// Bindings information
type Bindings struct {
// ID
@@ -284,9 +326,6 @@ type Bindings struct {
// Address detection flag
AddressDetection bool `json:"address_detection"`
// Is excluded from firewall flag
IsExcludedFromFirewall bool `json:"is_excluded_from_firewall"`
// Version ID
VersionID uint64 `json:"version_id"`
@@ -437,6 +476,9 @@ type Segment struct {
// Logical ports info list
LogicalPortsInfo []LogicalPortInfo `json:"logical_ports_info"`
// L2 connection port information
L2ConnectionPort *L2ConnectionPort `json:"l2_connection_port,omitempty"`
// Routers info list
RoutersInfo []RouterInfo `json:"routers_info"`
@@ -449,6 +491,9 @@ type Segment struct {
// IPv6 subnet
SubnetV6 string `json:"subnet_v6"`
// Type
Type string `json:"type"`
// Updated time
UpdatedAt string `json:"updated_at"`
@@ -521,3 +566,66 @@ type RouterInfo struct {
// ID
ID string `json:"id"`
}
// L2 connection port information
type L2ConnectionPort struct {
// Access group ID
AccessGroupID string `json:"access_group_id"`
// Created time
CreatedAt string `json:"created_at"`
// Created by
CreatedBy string `json:"created_by"`
// ID
ID string `json:"id"`
// L2 external network information
L2ExternalNetwork L2ExternalNetwork `json:"l2_external_network"`
// Updated time
UpdatedAt string `json:"updated_at"`
// Updated by
UpdatedBy string `json:"updated_by"`
// Version ID
VersionID uint64 `json:"version_id"`
}
// L2 external network information
type L2ExternalNetwork struct {
// ID
ID string `json:"id"`
// Display name
DisplayName string `json:"display_name"`
// Description
Description string `json:"description"`
// Bridge network name
BridgeNetworkName string `json:"bridge_network_name"`
// Hypervisors list
Hypervisors []string `json:"hypervisors"`
// VLAN tag
VLANTag uint64 `json:"vlan_tag"`
// Created time
CreatedAt string `json:"created_at"`
// Created by
CreatedBy string `json:"created_by"`
// Updated time
UpdatedAt string `json:"updated_at"`
// Updated by
UpdatedBy string `json:"updated_by"`
// Version ID
VersionID uint64 `json:"version_id"`
}