Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ADInfo ¶
type ADInfo struct {
LACPActive string `json:"lacp_active"`
LACPRate string `json:"lacp_rate"`
MinLinks string `json:"min_links"`
ADSelect string `json:"ad_select"`
SystemPriority string `json:"system_priority"`
SystemMACAddress string `json:"system_mac_address"`
ActiveAggregatorInfo ActiveAggregatorInfo `json:"active_aggregator_info"`
}
type ActiveAggregatorInfo ¶
type Bonding ¶
type Bonding struct {
Name string `json:"name"`
BondingMode string `json:"bonding_mode"`
SlavesList SlavesList `json:"slaves_list"`
TransmitHashPolicy string `json:"transmit_hash_policy"`
AddrList []string `json:"addr_list"`
MIIStatus string `json:"mii_status"`
MIIPollingInterval string `json:"mii_polling_interval"`
ADInfo ADInfo `json:"ad_info"`
SlaveInterface []SlaveInterface `json:"slave_interface"`
}
type LibvirtDomain ¶
type LibvirtDomain struct {
DomainName string `json:"domain_name"`
DomainUUID string `json:"domain_uuid"`
Interfaces []libvirtxml.DomainInterface `json:"interfaces"`
}
type LibvirtNet ¶
type LibvirtNet struct {
Domains []LibvirtDomain `json:"domains"`
}
type Network ¶
type Network struct {
NetworkSubsystem _NetworkSubsystem `json:"network_subsystem"`
VirtualNetwork VirtualNetwork `json:"virtual_network"`
}
type OVSBridge ¶
type OVSBridge struct {
AutoAttach any `json:"auto_attach"`
Controller any `json:"controller"`
DatapathID string `json:"datapath_id"`
DatapathType string `json:"datapath_type"`
DatapathVersion string `json:"datapath_version"`
ExternalIds []any `json:"external_ids"`
FailMode any `json:"fail_mode"`
FloodVlans any `json:"flood_vlans"`
FlowTables []any `json:"flow_tables"`
Ipfix any `json:"ipfix"`
McastSnoopingEnable bool `json:"mcast_snooping_enable"`
Mirrors any `json:"mirrors"`
Name string `json:"name"`
Netflow any `json:"netflow"`
OtherConfig []any `json:"other_config"`
Ports []string `json:"ports"`
Protocols any `json:"protocols"`
RstpEnable bool `json:"rstp_enable"`
RstpStatus []any `json:"rstp_status"`
Sflow any `json:"sflow"`
Status []any `json:"status"`
StpEnable bool `json:"stp_enable"`
UUID string `json:"uuid"`
Version string `json:"version"`
}
type SlaveInterface ¶
type SlavesList ¶
type VirtualNetwork ¶
type VirtualNetwork struct {
OVS []OVSBridge `json:"ovs"`
LibvirtNet LibvirtNet `json:"libvirt_net"`
}
Click to show internal directories.
Click to hide internal directories.