Documentation ¶
Index ¶
- Constants
- Variables
- func FullDatabaseModel() (model.ClientDBModel, error)
- func Schema() ovsdb.DatabaseSchema
- type AutoAttach
- func (a *AutoAttach) CloneModel() model.Model
- func (a *AutoAttach) CloneModelInto(b model.Model)
- func (a *AutoAttach) DeepCopy() *AutoAttach
- func (a *AutoAttach) DeepCopyInto(b *AutoAttach)
- func (a *AutoAttach) Equals(b *AutoAttach) bool
- func (a *AutoAttach) EqualsModel(b model.Model) bool
- func (a *AutoAttach) GetMappings() map[int]int
- func (a *AutoAttach) GetSystemDescription() string
- func (a *AutoAttach) GetSystemName() string
- func (a *AutoAttach) GetUUID() string
- type Bridge
- func (a *Bridge) CloneModel() model.Model
- func (a *Bridge) CloneModelInto(b model.Model)
- func (a *Bridge) DeepCopy() *Bridge
- func (a *Bridge) DeepCopyInto(b *Bridge)
- func (a *Bridge) Equals(b *Bridge) bool
- func (a *Bridge) EqualsModel(b model.Model) bool
- func (a *Bridge) GetAutoAttach() *string
- func (a *Bridge) GetController() []string
- func (a *Bridge) GetDatapathID() *string
- func (a *Bridge) GetDatapathType() string
- func (a *Bridge) GetDatapathVersion() string
- func (a *Bridge) GetExternalIDs() map[string]string
- func (a *Bridge) GetFailMode() *BridgeFailMode
- func (a *Bridge) GetFloodVLANs() []int
- func (a *Bridge) GetFlowTables() map[int]string
- func (a *Bridge) GetIPFIX() *string
- func (a *Bridge) GetMcastSnoopingEnable() bool
- func (a *Bridge) GetMirrors() []string
- func (a *Bridge) GetName() string
- func (a *Bridge) GetNetflow() *string
- func (a *Bridge) GetOtherConfig() map[string]string
- func (a *Bridge) GetPorts() []string
- func (a *Bridge) GetProtocols() []BridgeProtocols
- func (a *Bridge) GetRSTPEnable() bool
- func (a *Bridge) GetRSTPStatus() map[string]string
- func (a *Bridge) GetSTPEnable() bool
- func (a *Bridge) GetSflow() *string
- func (a *Bridge) GetStatus() map[string]string
- func (a *Bridge) GetUUID() string
- type BridgeFailMode
- type BridgeProtocols
- type CTTimeoutPolicy
- func (a *CTTimeoutPolicy) CloneModel() model.Model
- func (a *CTTimeoutPolicy) CloneModelInto(b model.Model)
- func (a *CTTimeoutPolicy) DeepCopy() *CTTimeoutPolicy
- func (a *CTTimeoutPolicy) DeepCopyInto(b *CTTimeoutPolicy)
- func (a *CTTimeoutPolicy) Equals(b *CTTimeoutPolicy) bool
- func (a *CTTimeoutPolicy) EqualsModel(b model.Model) bool
- func (a *CTTimeoutPolicy) GetExternalIDs() map[string]string
- func (a *CTTimeoutPolicy) GetTimeouts() map[string]int
- func (a *CTTimeoutPolicy) GetUUID() string
- type CTTimeoutPolicyTimeouts
- type CTZone
- func (a *CTZone) CloneModel() model.Model
- func (a *CTZone) CloneModelInto(b model.Model)
- func (a *CTZone) DeepCopy() *CTZone
- func (a *CTZone) DeepCopyInto(b *CTZone)
- func (a *CTZone) Equals(b *CTZone) bool
- func (a *CTZone) EqualsModel(b model.Model) bool
- func (a *CTZone) GetExternalIDs() map[string]string
- func (a *CTZone) GetTimeoutPolicy() *string
- func (a *CTZone) GetUUID() string
- type Controller
- func (a *Controller) CloneModel() model.Model
- func (a *Controller) CloneModelInto(b model.Model)
- func (a *Controller) DeepCopy() *Controller
- func (a *Controller) DeepCopyInto(b *Controller)
- func (a *Controller) Equals(b *Controller) bool
- func (a *Controller) EqualsModel(b model.Model) bool
- func (a *Controller) GetConnectionMode() *ControllerConnectionMode
- func (a *Controller) GetControllerBurstLimit() *int
- func (a *Controller) GetControllerQueueSize() *int
- func (a *Controller) GetControllerRateLimit() *int
- func (a *Controller) GetEnableAsyncMessages() *bool
- func (a *Controller) GetExternalIDs() map[string]string
- func (a *Controller) GetInactivityProbe() *int
- func (a *Controller) GetIsConnected() bool
- func (a *Controller) GetLocalGateway() *string
- func (a *Controller) GetLocalIP() *string
- func (a *Controller) GetLocalNetmask() *string
- func (a *Controller) GetMaxBackoff() *int
- func (a *Controller) GetOtherConfig() map[string]string
- func (a *Controller) GetRole() *ControllerRole
- func (a *Controller) GetStatus() map[string]string
- func (a *Controller) GetTarget() string
- func (a *Controller) GetType() *ControllerType
- func (a *Controller) GetUUID() string
- type ControllerConnectionMode
- type ControllerRole
- type ControllerType
- type Datapath
- func (a *Datapath) CloneModel() model.Model
- func (a *Datapath) CloneModelInto(b model.Model)
- func (a *Datapath) DeepCopy() *Datapath
- func (a *Datapath) DeepCopyInto(b *Datapath)
- func (a *Datapath) Equals(b *Datapath) bool
- func (a *Datapath) EqualsModel(b model.Model) bool
- func (a *Datapath) GetCTZones() map[int]string
- func (a *Datapath) GetCapabilities() map[string]string
- func (a *Datapath) GetDatapathVersion() string
- func (a *Datapath) GetExternalIDs() map[string]string
- func (a *Datapath) GetUUID() string
- type FlowSampleCollectorSet
- func (a *FlowSampleCollectorSet) CloneModel() model.Model
- func (a *FlowSampleCollectorSet) CloneModelInto(b model.Model)
- func (a *FlowSampleCollectorSet) DeepCopy() *FlowSampleCollectorSet
- func (a *FlowSampleCollectorSet) DeepCopyInto(b *FlowSampleCollectorSet)
- func (a *FlowSampleCollectorSet) Equals(b *FlowSampleCollectorSet) bool
- func (a *FlowSampleCollectorSet) EqualsModel(b model.Model) bool
- func (a *FlowSampleCollectorSet) GetBridge() string
- func (a *FlowSampleCollectorSet) GetExternalIDs() map[string]string
- func (a *FlowSampleCollectorSet) GetID() int
- func (a *FlowSampleCollectorSet) GetIPFIX() *string
- func (a *FlowSampleCollectorSet) GetUUID() string
- type FlowTable
- func (a *FlowTable) CloneModel() model.Model
- func (a *FlowTable) CloneModelInto(b model.Model)
- func (a *FlowTable) DeepCopy() *FlowTable
- func (a *FlowTable) DeepCopyInto(b *FlowTable)
- func (a *FlowTable) Equals(b *FlowTable) bool
- func (a *FlowTable) EqualsModel(b model.Model) bool
- func (a *FlowTable) GetExternalIDs() map[string]string
- func (a *FlowTable) GetFlowLimit() *int
- func (a *FlowTable) GetGroups() []string
- func (a *FlowTable) GetName() *string
- func (a *FlowTable) GetOverflowPolicy() *FlowTableOverflowPolicy
- func (a *FlowTable) GetPrefixes() []string
- func (a *FlowTable) GetUUID() string
- type FlowTableOverflowPolicy
- type IPFIX
- func (a *IPFIX) CloneModel() model.Model
- func (a *IPFIX) CloneModelInto(b model.Model)
- func (a *IPFIX) DeepCopy() *IPFIX
- func (a *IPFIX) DeepCopyInto(b *IPFIX)
- func (a *IPFIX) Equals(b *IPFIX) bool
- func (a *IPFIX) EqualsModel(b model.Model) bool
- func (a *IPFIX) GetCacheActiveTimeout() *int
- func (a *IPFIX) GetCacheMaxFlows() *int
- func (a *IPFIX) GetExternalIDs() map[string]string
- func (a *IPFIX) GetObsDomainID() *int
- func (a *IPFIX) GetObsPointID() *int
- func (a *IPFIX) GetOtherConfig() map[string]string
- func (a *IPFIX) GetSampling() *int
- func (a *IPFIX) GetTargets() []string
- func (a *IPFIX) GetUUID() string
- type Interface
- func (a *Interface) CloneModel() model.Model
- func (a *Interface) CloneModelInto(b model.Model)
- func (a *Interface) DeepCopy() *Interface
- func (a *Interface) DeepCopyInto(b *Interface)
- func (a *Interface) Equals(b *Interface) bool
- func (a *Interface) EqualsModel(b model.Model) bool
- func (a *Interface) GetAdminState() *InterfaceAdminState
- func (a *Interface) GetBFD() map[string]string
- func (a *Interface) GetBFDStatus() map[string]string
- func (a *Interface) GetCFMFault() *bool
- func (a *Interface) GetCFMFaultStatus() []string
- func (a *Interface) GetCFMFlapCount() *int
- func (a *Interface) GetCFMHealth() *int
- func (a *Interface) GetCFMMpid() *int
- func (a *Interface) GetCFMRemoteMpids() []int
- func (a *Interface) GetCFMRemoteOpstate() *InterfaceCFMRemoteOpstate
- func (a *Interface) GetDuplex() *InterfaceDuplex
- func (a *Interface) GetError() *string
- func (a *Interface) GetExternalIDs() map[string]string
- func (a *Interface) GetIfindex() *int
- func (a *Interface) GetIngressPolicingBurst() int
- func (a *Interface) GetIngressPolicingKpktsBurst() int
- func (a *Interface) GetIngressPolicingKpktsRate() int
- func (a *Interface) GetIngressPolicingRate() int
- func (a *Interface) GetLACPCurrent() *bool
- func (a *Interface) GetLLDP() map[string]string
- func (a *Interface) GetLinkResets() *int
- func (a *Interface) GetLinkSpeed() *int
- func (a *Interface) GetLinkState() *InterfaceLinkState
- func (a *Interface) GetMAC() *string
- func (a *Interface) GetMACInUse() *string
- func (a *Interface) GetMTU() *int
- func (a *Interface) GetMTURequest() *int
- func (a *Interface) GetName() string
- func (a *Interface) GetOfport() *int
- func (a *Interface) GetOfportRequest() *int
- func (a *Interface) GetOptions() map[string]string
- func (a *Interface) GetOtherConfig() map[string]string
- func (a *Interface) GetStatistics() map[string]int
- func (a *Interface) GetStatus() map[string]string
- func (a *Interface) GetType() string
- func (a *Interface) GetUUID() string
- type InterfaceAdminState
- type InterfaceCFMRemoteOpstate
- type InterfaceDuplex
- type InterfaceLinkState
- type Manager
- func (a *Manager) CloneModel() model.Model
- func (a *Manager) CloneModelInto(b model.Model)
- func (a *Manager) DeepCopy() *Manager
- func (a *Manager) DeepCopyInto(b *Manager)
- func (a *Manager) Equals(b *Manager) bool
- func (a *Manager) EqualsModel(b model.Model) bool
- func (a *Manager) GetConnectionMode() *ManagerConnectionMode
- func (a *Manager) GetExternalIDs() map[string]string
- func (a *Manager) GetInactivityProbe() *int
- func (a *Manager) GetIsConnected() bool
- func (a *Manager) GetMaxBackoff() *int
- func (a *Manager) GetOtherConfig() map[string]string
- func (a *Manager) GetStatus() map[string]string
- func (a *Manager) GetTarget() string
- func (a *Manager) GetUUID() string
- type ManagerConnectionMode
- type Mirror
- func (a *Mirror) CloneModel() model.Model
- func (a *Mirror) CloneModelInto(b model.Model)
- func (a *Mirror) DeepCopy() *Mirror
- func (a *Mirror) DeepCopyInto(b *Mirror)
- func (a *Mirror) Equals(b *Mirror) bool
- func (a *Mirror) EqualsModel(b model.Model) bool
- func (a *Mirror) GetExternalIDs() map[string]string
- func (a *Mirror) GetName() string
- func (a *Mirror) GetOutputPort() *string
- func (a *Mirror) GetOutputVLAN() *int
- func (a *Mirror) GetSelectAll() bool
- func (a *Mirror) GetSelectDstPort() []string
- func (a *Mirror) GetSelectSrcPort() []string
- func (a *Mirror) GetSelectVLAN() []int
- func (a *Mirror) GetSnaplen() *int
- func (a *Mirror) GetStatistics() map[string]int
- func (a *Mirror) GetUUID() string
- type NetFlow
- func (a *NetFlow) CloneModel() model.Model
- func (a *NetFlow) CloneModelInto(b model.Model)
- func (a *NetFlow) DeepCopy() *NetFlow
- func (a *NetFlow) DeepCopyInto(b *NetFlow)
- func (a *NetFlow) Equals(b *NetFlow) bool
- func (a *NetFlow) EqualsModel(b model.Model) bool
- func (a *NetFlow) GetActiveTimeout() int
- func (a *NetFlow) GetAddIDToInterface() bool
- func (a *NetFlow) GetEngineID() *int
- func (a *NetFlow) GetEngineType() *int
- func (a *NetFlow) GetExternalIDs() map[string]string
- func (a *NetFlow) GetTargets() []string
- func (a *NetFlow) GetUUID() string
- type OpenvSwitch
- func (a *OpenvSwitch) CloneModel() model.Model
- func (a *OpenvSwitch) CloneModelInto(b model.Model)
- func (a *OpenvSwitch) DeepCopy() *OpenvSwitch
- func (a *OpenvSwitch) DeepCopyInto(b *OpenvSwitch)
- func (a *OpenvSwitch) Equals(b *OpenvSwitch) bool
- func (a *OpenvSwitch) EqualsModel(b model.Model) bool
- func (a *OpenvSwitch) GetBridges() []string
- func (a *OpenvSwitch) GetCurCfg() int
- func (a *OpenvSwitch) GetDatapathTypes() []string
- func (a *OpenvSwitch) GetDatapaths() map[string]string
- func (a *OpenvSwitch) GetDbVersion() *string
- func (a *OpenvSwitch) GetDpdkInitialized() bool
- func (a *OpenvSwitch) GetDpdkVersion() *string
- func (a *OpenvSwitch) GetExternalIDs() map[string]string
- func (a *OpenvSwitch) GetIfaceTypes() []string
- func (a *OpenvSwitch) GetManagerOptions() []string
- func (a *OpenvSwitch) GetNextCfg() int
- func (a *OpenvSwitch) GetOVSVersion() *string
- func (a *OpenvSwitch) GetOtherConfig() map[string]string
- func (a *OpenvSwitch) GetSSL() *string
- func (a *OpenvSwitch) GetStatistics() map[string]string
- func (a *OpenvSwitch) GetSystemType() *string
- func (a *OpenvSwitch) GetSystemVersion() *string
- func (a *OpenvSwitch) GetUUID() string
- type Port
- func (a *Port) CloneModel() model.Model
- func (a *Port) CloneModelInto(b model.Model)
- func (a *Port) DeepCopy() *Port
- func (a *Port) DeepCopyInto(b *Port)
- func (a *Port) Equals(b *Port) bool
- func (a *Port) EqualsModel(b model.Model) bool
- func (a *Port) GetBondActiveSlave() *string
- func (a *Port) GetBondDowndelay() int
- func (a *Port) GetBondFakeIface() bool
- func (a *Port) GetBondMode() *PortBondMode
- func (a *Port) GetBondUpdelay() int
- func (a *Port) GetCVLANs() []int
- func (a *Port) GetExternalIDs() map[string]string
- func (a *Port) GetFakeBridge() bool
- func (a *Port) GetInterfaces() []string
- func (a *Port) GetLACP() *PortLACP
- func (a *Port) GetMAC() *string
- func (a *Port) GetName() string
- func (a *Port) GetOtherConfig() map[string]string
- func (a *Port) GetProtected() bool
- func (a *Port) GetQOS() *string
- func (a *Port) GetRSTPStatistics() map[string]int
- func (a *Port) GetRSTPStatus() map[string]string
- func (a *Port) GetStatistics() map[string]int
- func (a *Port) GetStatus() map[string]string
- func (a *Port) GetTag() *int
- func (a *Port) GetTrunks() []int
- func (a *Port) GetUUID() string
- func (a *Port) GetVLANMode() *PortVLANMode
- type PortBondMode
- type PortLACP
- type PortVLANMode
- type QoS
- func (a *QoS) CloneModel() model.Model
- func (a *QoS) CloneModelInto(b model.Model)
- func (a *QoS) DeepCopy() *QoS
- func (a *QoS) DeepCopyInto(b *QoS)
- func (a *QoS) Equals(b *QoS) bool
- func (a *QoS) EqualsModel(b model.Model) bool
- func (a *QoS) GetExternalIDs() map[string]string
- func (a *QoS) GetOtherConfig() map[string]string
- func (a *QoS) GetQueues() map[int]string
- func (a *QoS) GetType() string
- func (a *QoS) GetUUID() string
- type Queue
- func (a *Queue) CloneModel() model.Model
- func (a *Queue) CloneModelInto(b model.Model)
- func (a *Queue) DeepCopy() *Queue
- func (a *Queue) DeepCopyInto(b *Queue)
- func (a *Queue) Equals(b *Queue) bool
- func (a *Queue) EqualsModel(b model.Model) bool
- func (a *Queue) GetDSCP() *int
- func (a *Queue) GetExternalIDs() map[string]string
- func (a *Queue) GetOtherConfig() map[string]string
- func (a *Queue) GetUUID() string
- type SFlow
- func (a *SFlow) CloneModel() model.Model
- func (a *SFlow) CloneModelInto(b model.Model)
- func (a *SFlow) DeepCopy() *SFlow
- func (a *SFlow) DeepCopyInto(b *SFlow)
- func (a *SFlow) Equals(b *SFlow) bool
- func (a *SFlow) EqualsModel(b model.Model) bool
- func (a *SFlow) GetAgent() *string
- func (a *SFlow) GetExternalIDs() map[string]string
- func (a *SFlow) GetHeader() *int
- func (a *SFlow) GetPolling() *int
- func (a *SFlow) GetSampling() *int
- func (a *SFlow) GetTargets() []string
- func (a *SFlow) GetUUID() string
- type SSL
- func (a *SSL) CloneModel() model.Model
- func (a *SSL) CloneModelInto(b model.Model)
- func (a *SSL) DeepCopy() *SSL
- func (a *SSL) DeepCopyInto(b *SSL)
- func (a *SSL) Equals(b *SSL) bool
- func (a *SSL) EqualsModel(b model.Model) bool
- func (a *SSL) GetBootstrapCaCert() bool
- func (a *SSL) GetCaCert() string
- func (a *SSL) GetCertificate() string
- func (a *SSL) GetExternalIDs() map[string]string
- func (a *SSL) GetPrivateKey() string
- func (a *SSL) GetUUID() string
Constants ¶
const AutoAttachTable = "AutoAttach"
const BridgeTable = "Bridge"
const CTTimeoutPolicyTable = "CT_Timeout_Policy"
const CTZoneTable = "CT_Zone"
const ControllerTable = "Controller"
const DatapathTable = "Datapath"
const FlowSampleCollectorSetTable = "Flow_Sample_Collector_Set"
const FlowTableTable = "Flow_Table"
const IPFIXTable = "IPFIX"
const InterfaceTable = "Interface"
const ManagerTable = "Manager"
const MirrorTable = "Mirror"
const NetFlowTable = "NetFlow"
const OpenvSwitchTable = "Open_vSwitch"
const PortTable = "Port"
const QoSTable = "QoS"
const QueueTable = "Queue"
const SFlowTable = "sFlow"
const SSLTable = "SSL"
Variables ¶
var ( BridgeFailModeStandalone BridgeFailMode = "standalone" BridgeFailModeSecure BridgeFailMode = "secure" BridgeProtocolsOpenflow10 BridgeProtocols = "OpenFlow10" BridgeProtocolsOpenflow11 BridgeProtocols = "OpenFlow11" BridgeProtocolsOpenflow12 BridgeProtocols = "OpenFlow12" BridgeProtocolsOpenflow13 BridgeProtocols = "OpenFlow13" BridgeProtocolsOpenflow14 BridgeProtocols = "OpenFlow14" BridgeProtocolsOpenflow15 BridgeProtocols = "OpenFlow15" )
var ( ControllerConnectionModeInBand ControllerConnectionMode = "in-band" ControllerConnectionModeOutOfBand ControllerConnectionMode = "out-of-band" ControllerRoleOther ControllerRole = "other" ControllerRoleMaster ControllerRole = "master" ControllerRoleSlave ControllerRole = "slave" ControllerTypePrimary ControllerType = "primary" ControllerTypeService ControllerType = "service" )
var ( InterfaceAdminStateUp InterfaceAdminState = "up" InterfaceAdminStateDown InterfaceAdminState = "down" InterfaceCFMRemoteOpstateUp InterfaceCFMRemoteOpstate = "up" InterfaceCFMRemoteOpstateDown InterfaceCFMRemoteOpstate = "down" InterfaceDuplexHalf InterfaceDuplex = "half" InterfaceDuplexFull InterfaceDuplex = "full" InterfaceLinkStateUp InterfaceLinkState = "up" InterfaceLinkStateDown InterfaceLinkState = "down" )
var ( PortBondModeBalanceTCP PortBondMode = "balance-tcp" PortBondModeBalanceSLB PortBondMode = "balance-slb" PortBondModeActiveBackup PortBondMode = "active-backup" PortLACPActive PortLACP = "active" PortLACPPassive PortLACP = "passive" PortLACPOff PortLACP = "off" PortVLANModeTrunk PortVLANMode = "trunk" PortVLANModeAccess PortVLANMode = "access" PortVLANModeNativeTagged PortVLANMode = "native-tagged" PortVLANModeNativeUntagged PortVLANMode = "native-untagged" PortVLANModeDot1qTunnel PortVLANMode = "dot1q-tunnel" )
Functions ¶
func FullDatabaseModel ¶
func FullDatabaseModel() (model.ClientDBModel, error)
FullDatabaseModel returns the DatabaseModel object to be used in libovsdb
func Schema ¶
func Schema() ovsdb.DatabaseSchema
Types ¶
type AutoAttach ¶
type AutoAttach struct { UUID string `ovsdb:"_uuid"` Mappings map[int]int `ovsdb:"mappings"` SystemDescription string `ovsdb:"system_description"` SystemName string `ovsdb:"system_name"` }
AutoAttach defines an object in AutoAttach table
func (*AutoAttach) CloneModel ¶
func (a *AutoAttach) CloneModel() model.Model
func (*AutoAttach) CloneModelInto ¶
func (a *AutoAttach) CloneModelInto(b model.Model)
func (*AutoAttach) DeepCopy ¶
func (a *AutoAttach) DeepCopy() *AutoAttach
func (*AutoAttach) DeepCopyInto ¶
func (a *AutoAttach) DeepCopyInto(b *AutoAttach)
func (*AutoAttach) Equals ¶
func (a *AutoAttach) Equals(b *AutoAttach) bool
func (*AutoAttach) EqualsModel ¶
func (a *AutoAttach) EqualsModel(b model.Model) bool
func (*AutoAttach) GetMappings ¶
func (a *AutoAttach) GetMappings() map[int]int
func (*AutoAttach) GetSystemDescription ¶
func (a *AutoAttach) GetSystemDescription() string
func (*AutoAttach) GetSystemName ¶
func (a *AutoAttach) GetSystemName() string
func (*AutoAttach) GetUUID ¶
func (a *AutoAttach) GetUUID() string
type Bridge ¶
type Bridge struct { UUID string `ovsdb:"_uuid"` AutoAttach *string `ovsdb:"auto_attach"` Controller []string `ovsdb:"controller"` DatapathID *string `ovsdb:"datapath_id"` DatapathType string `ovsdb:"datapath_type"` DatapathVersion string `ovsdb:"datapath_version"` ExternalIDs map[string]string `ovsdb:"external_ids"` FailMode *BridgeFailMode `ovsdb:"fail_mode"` FloodVLANs []int `ovsdb:"flood_vlans"` FlowTables map[int]string `ovsdb:"flow_tables"` IPFIX *string `ovsdb:"ipfix"` McastSnoopingEnable bool `ovsdb:"mcast_snooping_enable"` Mirrors []string `ovsdb:"mirrors"` Name string `ovsdb:"name"` Netflow *string `ovsdb:"netflow"` OtherConfig map[string]string `ovsdb:"other_config"` Ports []string `ovsdb:"ports"` Protocols []BridgeProtocols `ovsdb:"protocols"` RSTPEnable bool `ovsdb:"rstp_enable"` RSTPStatus map[string]string `ovsdb:"rstp_status"` Sflow *string `ovsdb:"sflow"` Status map[string]string `ovsdb:"status"` STPEnable bool `ovsdb:"stp_enable"` }
Bridge defines an object in Bridge table
func (*Bridge) CloneModel ¶
func (*Bridge) CloneModelInto ¶
func (*Bridge) DeepCopyInto ¶
func (*Bridge) GetAutoAttach ¶
func (*Bridge) GetController ¶
func (*Bridge) GetDatapathID ¶
func (*Bridge) GetDatapathType ¶
func (*Bridge) GetDatapathVersion ¶
func (*Bridge) GetExternalIDs ¶
func (*Bridge) GetFailMode ¶
func (a *Bridge) GetFailMode() *BridgeFailMode
func (*Bridge) GetFloodVLANs ¶
func (*Bridge) GetFlowTables ¶
func (*Bridge) GetMcastSnoopingEnable ¶
func (*Bridge) GetMirrors ¶
func (*Bridge) GetNetflow ¶
func (*Bridge) GetOtherConfig ¶
func (*Bridge) GetProtocols ¶
func (a *Bridge) GetProtocols() []BridgeProtocols
func (*Bridge) GetRSTPEnable ¶
func (*Bridge) GetRSTPStatus ¶
func (*Bridge) GetSTPEnable ¶
type BridgeFailMode ¶
type BridgeFailMode = string
type BridgeProtocols ¶
type BridgeProtocols = string
type CTTimeoutPolicy ¶
type CTTimeoutPolicy struct { UUID string `ovsdb:"_uuid"` ExternalIDs map[string]string `ovsdb:"external_ids"` Timeouts map[string]int `ovsdb:"timeouts"` }
CTTimeoutPolicy defines an object in CT_Timeout_Policy table
func (*CTTimeoutPolicy) CloneModel ¶
func (a *CTTimeoutPolicy) CloneModel() model.Model
func (*CTTimeoutPolicy) CloneModelInto ¶
func (a *CTTimeoutPolicy) CloneModelInto(b model.Model)
func (*CTTimeoutPolicy) DeepCopy ¶
func (a *CTTimeoutPolicy) DeepCopy() *CTTimeoutPolicy
func (*CTTimeoutPolicy) DeepCopyInto ¶
func (a *CTTimeoutPolicy) DeepCopyInto(b *CTTimeoutPolicy)
func (*CTTimeoutPolicy) Equals ¶
func (a *CTTimeoutPolicy) Equals(b *CTTimeoutPolicy) bool
func (*CTTimeoutPolicy) EqualsModel ¶
func (a *CTTimeoutPolicy) EqualsModel(b model.Model) bool
func (*CTTimeoutPolicy) GetExternalIDs ¶
func (a *CTTimeoutPolicy) GetExternalIDs() map[string]string
func (*CTTimeoutPolicy) GetTimeouts ¶
func (a *CTTimeoutPolicy) GetTimeouts() map[string]int
func (*CTTimeoutPolicy) GetUUID ¶
func (a *CTTimeoutPolicy) GetUUID() string
type CTTimeoutPolicyTimeouts ¶
type CTTimeoutPolicyTimeouts = string
var ( CTTimeoutPolicyTimeoutsTCPSynSent CTTimeoutPolicyTimeouts = "tcp_syn_sent" CTTimeoutPolicyTimeoutsTCPSynRecv CTTimeoutPolicyTimeouts = "tcp_syn_recv" CTTimeoutPolicyTimeoutsTCPEstablished CTTimeoutPolicyTimeouts = "tcp_established" CTTimeoutPolicyTimeoutsTCPFinWait CTTimeoutPolicyTimeouts = "tcp_fin_wait" CTTimeoutPolicyTimeoutsTCPCloseWait CTTimeoutPolicyTimeouts = "tcp_close_wait" CTTimeoutPolicyTimeoutsTCPLastAck CTTimeoutPolicyTimeouts = "tcp_last_ack" CTTimeoutPolicyTimeoutsTCPTimeWait CTTimeoutPolicyTimeouts = "tcp_time_wait" CTTimeoutPolicyTimeoutsTCPClose CTTimeoutPolicyTimeouts = "tcp_close" CTTimeoutPolicyTimeoutsTCPSynSent2 CTTimeoutPolicyTimeouts = "tcp_syn_sent2" CTTimeoutPolicyTimeoutsTCPRetransmit CTTimeoutPolicyTimeouts = "tcp_retransmit" CTTimeoutPolicyTimeoutsTCPUnack CTTimeoutPolicyTimeouts = "tcp_unack" CTTimeoutPolicyTimeoutsUDPFirst CTTimeoutPolicyTimeouts = "udp_first" CTTimeoutPolicyTimeoutsUDPSingle CTTimeoutPolicyTimeouts = "udp_single" CTTimeoutPolicyTimeoutsUDPMultiple CTTimeoutPolicyTimeouts = "udp_multiple" CTTimeoutPolicyTimeoutsICMPFirst CTTimeoutPolicyTimeouts = "icmp_first" CTTimeoutPolicyTimeoutsICMPReply CTTimeoutPolicyTimeouts = "icmp_reply" )
type CTZone ¶
type CTZone struct { UUID string `ovsdb:"_uuid"` ExternalIDs map[string]string `ovsdb:"external_ids"` TimeoutPolicy *string `ovsdb:"timeout_policy"` }
CTZone defines an object in CT_Zone table
func (*CTZone) CloneModel ¶
func (*CTZone) CloneModelInto ¶
func (*CTZone) DeepCopyInto ¶
func (*CTZone) GetExternalIDs ¶
func (*CTZone) GetTimeoutPolicy ¶
type Controller ¶
type Controller struct { UUID string `ovsdb:"_uuid"` ConnectionMode *ControllerConnectionMode `ovsdb:"connection_mode"` ControllerBurstLimit *int `ovsdb:"controller_burst_limit"` ControllerQueueSize *int `ovsdb:"controller_queue_size"` ControllerRateLimit *int `ovsdb:"controller_rate_limit"` EnableAsyncMessages *bool `ovsdb:"enable_async_messages"` ExternalIDs map[string]string `ovsdb:"external_ids"` InactivityProbe *int `ovsdb:"inactivity_probe"` IsConnected bool `ovsdb:"is_connected"` LocalGateway *string `ovsdb:"local_gateway"` LocalIP *string `ovsdb:"local_ip"` LocalNetmask *string `ovsdb:"local_netmask"` MaxBackoff *int `ovsdb:"max_backoff"` OtherConfig map[string]string `ovsdb:"other_config"` Role *ControllerRole `ovsdb:"role"` Status map[string]string `ovsdb:"status"` Target string `ovsdb:"target"` Type *ControllerType `ovsdb:"type"` }
Controller defines an object in Controller table
func (*Controller) CloneModel ¶
func (a *Controller) CloneModel() model.Model
func (*Controller) CloneModelInto ¶
func (a *Controller) CloneModelInto(b model.Model)
func (*Controller) DeepCopy ¶
func (a *Controller) DeepCopy() *Controller
func (*Controller) DeepCopyInto ¶
func (a *Controller) DeepCopyInto(b *Controller)
func (*Controller) Equals ¶
func (a *Controller) Equals(b *Controller) bool
func (*Controller) EqualsModel ¶
func (a *Controller) EqualsModel(b model.Model) bool
func (*Controller) GetConnectionMode ¶
func (a *Controller) GetConnectionMode() *ControllerConnectionMode
func (*Controller) GetControllerBurstLimit ¶
func (a *Controller) GetControllerBurstLimit() *int
func (*Controller) GetControllerQueueSize ¶
func (a *Controller) GetControllerQueueSize() *int
func (*Controller) GetControllerRateLimit ¶
func (a *Controller) GetControllerRateLimit() *int
func (*Controller) GetEnableAsyncMessages ¶
func (a *Controller) GetEnableAsyncMessages() *bool
func (*Controller) GetExternalIDs ¶
func (a *Controller) GetExternalIDs() map[string]string
func (*Controller) GetInactivityProbe ¶
func (a *Controller) GetInactivityProbe() *int
func (*Controller) GetIsConnected ¶
func (a *Controller) GetIsConnected() bool
func (*Controller) GetLocalGateway ¶
func (a *Controller) GetLocalGateway() *string
func (*Controller) GetLocalIP ¶
func (a *Controller) GetLocalIP() *string
func (*Controller) GetLocalNetmask ¶
func (a *Controller) GetLocalNetmask() *string
func (*Controller) GetMaxBackoff ¶
func (a *Controller) GetMaxBackoff() *int
func (*Controller) GetOtherConfig ¶
func (a *Controller) GetOtherConfig() map[string]string
func (*Controller) GetRole ¶
func (a *Controller) GetRole() *ControllerRole
func (*Controller) GetStatus ¶
func (a *Controller) GetStatus() map[string]string
func (*Controller) GetTarget ¶
func (a *Controller) GetTarget() string
func (*Controller) GetType ¶
func (a *Controller) GetType() *ControllerType
func (*Controller) GetUUID ¶
func (a *Controller) GetUUID() string
type ControllerConnectionMode ¶
type ControllerConnectionMode = string
type ControllerRole ¶
type ControllerRole = string
type ControllerType ¶
type ControllerType = string
type Datapath ¶
type Datapath struct { UUID string `ovsdb:"_uuid"` Capabilities map[string]string `ovsdb:"capabilities"` CTZones map[int]string `ovsdb:"ct_zones"` DatapathVersion string `ovsdb:"datapath_version"` ExternalIDs map[string]string `ovsdb:"external_ids"` }
Datapath defines an object in Datapath table
func (*Datapath) CloneModel ¶
func (*Datapath) CloneModelInto ¶
func (*Datapath) DeepCopyInto ¶
func (*Datapath) GetCTZones ¶
func (*Datapath) GetCapabilities ¶
func (*Datapath) GetDatapathVersion ¶
func (*Datapath) GetExternalIDs ¶
type FlowSampleCollectorSet ¶
type FlowSampleCollectorSet struct { UUID string `ovsdb:"_uuid"` Bridge string `ovsdb:"bridge"` ExternalIDs map[string]string `ovsdb:"external_ids"` ID int `ovsdb:"id"` IPFIX *string `ovsdb:"ipfix"` }
FlowSampleCollectorSet defines an object in Flow_Sample_Collector_Set table
func (*FlowSampleCollectorSet) CloneModel ¶
func (a *FlowSampleCollectorSet) CloneModel() model.Model
func (*FlowSampleCollectorSet) CloneModelInto ¶
func (a *FlowSampleCollectorSet) CloneModelInto(b model.Model)
func (*FlowSampleCollectorSet) DeepCopy ¶
func (a *FlowSampleCollectorSet) DeepCopy() *FlowSampleCollectorSet
func (*FlowSampleCollectorSet) DeepCopyInto ¶
func (a *FlowSampleCollectorSet) DeepCopyInto(b *FlowSampleCollectorSet)
func (*FlowSampleCollectorSet) Equals ¶
func (a *FlowSampleCollectorSet) Equals(b *FlowSampleCollectorSet) bool
func (*FlowSampleCollectorSet) EqualsModel ¶
func (a *FlowSampleCollectorSet) EqualsModel(b model.Model) bool
func (*FlowSampleCollectorSet) GetBridge ¶
func (a *FlowSampleCollectorSet) GetBridge() string
func (*FlowSampleCollectorSet) GetExternalIDs ¶
func (a *FlowSampleCollectorSet) GetExternalIDs() map[string]string
func (*FlowSampleCollectorSet) GetID ¶
func (a *FlowSampleCollectorSet) GetID() int
func (*FlowSampleCollectorSet) GetIPFIX ¶
func (a *FlowSampleCollectorSet) GetIPFIX() *string
func (*FlowSampleCollectorSet) GetUUID ¶
func (a *FlowSampleCollectorSet) GetUUID() string
type FlowTable ¶
type FlowTable struct { UUID string `ovsdb:"_uuid"` ExternalIDs map[string]string `ovsdb:"external_ids"` FlowLimit *int `ovsdb:"flow_limit"` Groups []string `ovsdb:"groups"` Name *string `ovsdb:"name"` OverflowPolicy *FlowTableOverflowPolicy `ovsdb:"overflow_policy"` Prefixes []string `ovsdb:"prefixes"` }
FlowTable defines an object in Flow_Table table
func (*FlowTable) CloneModel ¶
func (*FlowTable) CloneModelInto ¶
func (*FlowTable) DeepCopyInto ¶
func (*FlowTable) GetExternalIDs ¶
func (*FlowTable) GetFlowLimit ¶
func (*FlowTable) GetOverflowPolicy ¶
func (a *FlowTable) GetOverflowPolicy() *FlowTableOverflowPolicy
func (*FlowTable) GetPrefixes ¶
type FlowTableOverflowPolicy ¶
type FlowTableOverflowPolicy = string
var ( FlowTableOverflowPolicyRefuse FlowTableOverflowPolicy = "refuse" FlowTableOverflowPolicyEvict FlowTableOverflowPolicy = "evict" )
type IPFIX ¶
type IPFIX struct { UUID string `ovsdb:"_uuid"` CacheActiveTimeout *int `ovsdb:"cache_active_timeout"` CacheMaxFlows *int `ovsdb:"cache_max_flows"` ExternalIDs map[string]string `ovsdb:"external_ids"` ObsDomainID *int `ovsdb:"obs_domain_id"` ObsPointID *int `ovsdb:"obs_point_id"` OtherConfig map[string]string `ovsdb:"other_config"` Sampling *int `ovsdb:"sampling"` Targets []string `ovsdb:"targets"` }
IPFIX defines an object in IPFIX table
func (*IPFIX) CloneModel ¶
func (*IPFIX) CloneModelInto ¶
func (*IPFIX) DeepCopyInto ¶
func (*IPFIX) GetCacheActiveTimeout ¶
func (*IPFIX) GetCacheMaxFlows ¶
func (*IPFIX) GetExternalIDs ¶
func (*IPFIX) GetObsDomainID ¶
func (*IPFIX) GetObsPointID ¶
func (*IPFIX) GetOtherConfig ¶
func (*IPFIX) GetSampling ¶
func (*IPFIX) GetTargets ¶
type Interface ¶
type Interface struct { UUID string `ovsdb:"_uuid"` AdminState *InterfaceAdminState `ovsdb:"admin_state"` BFD map[string]string `ovsdb:"bfd"` BFDStatus map[string]string `ovsdb:"bfd_status"` CFMFault *bool `ovsdb:"cfm_fault"` CFMFaultStatus []string `ovsdb:"cfm_fault_status"` CFMFlapCount *int `ovsdb:"cfm_flap_count"` CFMHealth *int `ovsdb:"cfm_health"` CFMMpid *int `ovsdb:"cfm_mpid"` CFMRemoteMpids []int `ovsdb:"cfm_remote_mpids"` CFMRemoteOpstate *InterfaceCFMRemoteOpstate `ovsdb:"cfm_remote_opstate"` Duplex *InterfaceDuplex `ovsdb:"duplex"` Error *string `ovsdb:"error"` ExternalIDs map[string]string `ovsdb:"external_ids"` Ifindex *int `ovsdb:"ifindex"` IngressPolicingBurst int `ovsdb:"ingress_policing_burst"` IngressPolicingKpktsBurst int `ovsdb:"ingress_policing_kpkts_burst"` IngressPolicingKpktsRate int `ovsdb:"ingress_policing_kpkts_rate"` IngressPolicingRate int `ovsdb:"ingress_policing_rate"` LACPCurrent *bool `ovsdb:"lacp_current"` LinkResets *int `ovsdb:"link_resets"` LinkSpeed *int `ovsdb:"link_speed"` LinkState *InterfaceLinkState `ovsdb:"link_state"` LLDP map[string]string `ovsdb:"lldp"` MAC *string `ovsdb:"mac"` MACInUse *string `ovsdb:"mac_in_use"` MTU *int `ovsdb:"mtu"` MTURequest *int `ovsdb:"mtu_request"` Name string `ovsdb:"name"` Ofport *int `ovsdb:"ofport"` OfportRequest *int `ovsdb:"ofport_request"` Options map[string]string `ovsdb:"options"` OtherConfig map[string]string `ovsdb:"other_config"` Statistics map[string]int `ovsdb:"statistics"` Status map[string]string `ovsdb:"status"` Type string `ovsdb:"type"` }
Interface defines an object in Interface table
func (*Interface) CloneModel ¶
func (*Interface) CloneModelInto ¶
func (*Interface) DeepCopyInto ¶
func (*Interface) GetAdminState ¶
func (a *Interface) GetAdminState() *InterfaceAdminState
func (*Interface) GetBFDStatus ¶
func (*Interface) GetCFMFault ¶
func (*Interface) GetCFMFaultStatus ¶
func (*Interface) GetCFMFlapCount ¶
func (*Interface) GetCFMHealth ¶
func (*Interface) GetCFMMpid ¶
func (*Interface) GetCFMRemoteMpids ¶
func (*Interface) GetCFMRemoteOpstate ¶
func (a *Interface) GetCFMRemoteOpstate() *InterfaceCFMRemoteOpstate
func (*Interface) GetDuplex ¶
func (a *Interface) GetDuplex() *InterfaceDuplex
func (*Interface) GetExternalIDs ¶
func (*Interface) GetIfindex ¶
func (*Interface) GetIngressPolicingBurst ¶
func (*Interface) GetIngressPolicingKpktsBurst ¶
func (*Interface) GetIngressPolicingKpktsRate ¶
func (*Interface) GetIngressPolicingRate ¶
func (*Interface) GetLACPCurrent ¶
func (*Interface) GetLinkResets ¶
func (*Interface) GetLinkSpeed ¶
func (*Interface) GetLinkState ¶
func (a *Interface) GetLinkState() *InterfaceLinkState
func (*Interface) GetMACInUse ¶
func (*Interface) GetMTURequest ¶
func (*Interface) GetOfportRequest ¶
func (*Interface) GetOptions ¶
func (*Interface) GetOtherConfig ¶
func (*Interface) GetStatistics ¶
type InterfaceAdminState ¶
type InterfaceAdminState = string
type InterfaceCFMRemoteOpstate ¶
type InterfaceCFMRemoteOpstate = string
type InterfaceDuplex ¶
type InterfaceDuplex = string
type InterfaceLinkState ¶
type InterfaceLinkState = string
type Manager ¶
type Manager struct { UUID string `ovsdb:"_uuid"` ConnectionMode *ManagerConnectionMode `ovsdb:"connection_mode"` ExternalIDs map[string]string `ovsdb:"external_ids"` InactivityProbe *int `ovsdb:"inactivity_probe"` IsConnected bool `ovsdb:"is_connected"` MaxBackoff *int `ovsdb:"max_backoff"` OtherConfig map[string]string `ovsdb:"other_config"` Status map[string]string `ovsdb:"status"` Target string `ovsdb:"target"` }
Manager defines an object in Manager table
func (*Manager) CloneModel ¶
func (*Manager) CloneModelInto ¶
func (*Manager) DeepCopyInto ¶
func (*Manager) GetConnectionMode ¶
func (a *Manager) GetConnectionMode() *ManagerConnectionMode
func (*Manager) GetExternalIDs ¶
func (*Manager) GetInactivityProbe ¶
func (*Manager) GetIsConnected ¶
func (*Manager) GetMaxBackoff ¶
func (*Manager) GetOtherConfig ¶
type ManagerConnectionMode ¶
type ManagerConnectionMode = string
var ( ManagerConnectionModeInBand ManagerConnectionMode = "in-band" ManagerConnectionModeOutOfBand ManagerConnectionMode = "out-of-band" )
type Mirror ¶
type Mirror struct { UUID string `ovsdb:"_uuid"` ExternalIDs map[string]string `ovsdb:"external_ids"` Name string `ovsdb:"name"` OutputPort *string `ovsdb:"output_port"` OutputVLAN *int `ovsdb:"output_vlan"` SelectAll bool `ovsdb:"select_all"` SelectDstPort []string `ovsdb:"select_dst_port"` SelectSrcPort []string `ovsdb:"select_src_port"` SelectVLAN []int `ovsdb:"select_vlan"` Snaplen *int `ovsdb:"snaplen"` Statistics map[string]int `ovsdb:"statistics"` }
Mirror defines an object in Mirror table
func (*Mirror) CloneModel ¶
func (*Mirror) CloneModelInto ¶
func (*Mirror) DeepCopyInto ¶
func (*Mirror) GetExternalIDs ¶
func (*Mirror) GetOutputPort ¶
func (*Mirror) GetOutputVLAN ¶
func (*Mirror) GetSelectAll ¶
func (*Mirror) GetSelectDstPort ¶
func (*Mirror) GetSelectSrcPort ¶
func (*Mirror) GetSelectVLAN ¶
func (*Mirror) GetSnaplen ¶
func (*Mirror) GetStatistics ¶
type NetFlow ¶
type NetFlow struct { UUID string `ovsdb:"_uuid"` ActiveTimeout int `ovsdb:"active_timeout"` AddIDToInterface bool `ovsdb:"add_id_to_interface"` EngineID *int `ovsdb:"engine_id"` EngineType *int `ovsdb:"engine_type"` ExternalIDs map[string]string `ovsdb:"external_ids"` Targets []string `ovsdb:"targets"` }
NetFlow defines an object in NetFlow table
func (*NetFlow) CloneModel ¶
func (*NetFlow) CloneModelInto ¶
func (*NetFlow) DeepCopyInto ¶
func (*NetFlow) GetActiveTimeout ¶
func (*NetFlow) GetAddIDToInterface ¶
func (*NetFlow) GetEngineID ¶
func (*NetFlow) GetEngineType ¶
func (*NetFlow) GetExternalIDs ¶
func (*NetFlow) GetTargets ¶
type OpenvSwitch ¶
type OpenvSwitch struct { UUID string `ovsdb:"_uuid"` Bridges []string `ovsdb:"bridges"` CurCfg int `ovsdb:"cur_cfg"` DatapathTypes []string `ovsdb:"datapath_types"` Datapaths map[string]string `ovsdb:"datapaths"` DbVersion *string `ovsdb:"db_version"` DpdkInitialized bool `ovsdb:"dpdk_initialized"` DpdkVersion *string `ovsdb:"dpdk_version"` ExternalIDs map[string]string `ovsdb:"external_ids"` IfaceTypes []string `ovsdb:"iface_types"` ManagerOptions []string `ovsdb:"manager_options"` NextCfg int `ovsdb:"next_cfg"` OtherConfig map[string]string `ovsdb:"other_config"` OVSVersion *string `ovsdb:"ovs_version"` SSL *string `ovsdb:"ssl"` Statistics map[string]string `ovsdb:"statistics"` SystemType *string `ovsdb:"system_type"` SystemVersion *string `ovsdb:"system_version"` }
OpenvSwitch defines an object in Open_vSwitch table
func (*OpenvSwitch) CloneModel ¶
func (a *OpenvSwitch) CloneModel() model.Model
func (*OpenvSwitch) CloneModelInto ¶
func (a *OpenvSwitch) CloneModelInto(b model.Model)
func (*OpenvSwitch) DeepCopy ¶
func (a *OpenvSwitch) DeepCopy() *OpenvSwitch
func (*OpenvSwitch) DeepCopyInto ¶
func (a *OpenvSwitch) DeepCopyInto(b *OpenvSwitch)
func (*OpenvSwitch) Equals ¶
func (a *OpenvSwitch) Equals(b *OpenvSwitch) bool
func (*OpenvSwitch) EqualsModel ¶
func (a *OpenvSwitch) EqualsModel(b model.Model) bool
func (*OpenvSwitch) GetBridges ¶
func (a *OpenvSwitch) GetBridges() []string
func (*OpenvSwitch) GetCurCfg ¶
func (a *OpenvSwitch) GetCurCfg() int
func (*OpenvSwitch) GetDatapathTypes ¶
func (a *OpenvSwitch) GetDatapathTypes() []string
func (*OpenvSwitch) GetDatapaths ¶
func (a *OpenvSwitch) GetDatapaths() map[string]string
func (*OpenvSwitch) GetDbVersion ¶
func (a *OpenvSwitch) GetDbVersion() *string
func (*OpenvSwitch) GetDpdkInitialized ¶
func (a *OpenvSwitch) GetDpdkInitialized() bool
func (*OpenvSwitch) GetDpdkVersion ¶
func (a *OpenvSwitch) GetDpdkVersion() *string
func (*OpenvSwitch) GetExternalIDs ¶
func (a *OpenvSwitch) GetExternalIDs() map[string]string
func (*OpenvSwitch) GetIfaceTypes ¶
func (a *OpenvSwitch) GetIfaceTypes() []string
func (*OpenvSwitch) GetManagerOptions ¶
func (a *OpenvSwitch) GetManagerOptions() []string
func (*OpenvSwitch) GetNextCfg ¶
func (a *OpenvSwitch) GetNextCfg() int
func (*OpenvSwitch) GetOVSVersion ¶
func (a *OpenvSwitch) GetOVSVersion() *string
func (*OpenvSwitch) GetOtherConfig ¶
func (a *OpenvSwitch) GetOtherConfig() map[string]string
func (*OpenvSwitch) GetSSL ¶
func (a *OpenvSwitch) GetSSL() *string
func (*OpenvSwitch) GetStatistics ¶
func (a *OpenvSwitch) GetStatistics() map[string]string
func (*OpenvSwitch) GetSystemType ¶
func (a *OpenvSwitch) GetSystemType() *string
func (*OpenvSwitch) GetSystemVersion ¶
func (a *OpenvSwitch) GetSystemVersion() *string
func (*OpenvSwitch) GetUUID ¶
func (a *OpenvSwitch) GetUUID() string
type Port ¶
type Port struct { UUID string `ovsdb:"_uuid"` BondActiveSlave *string `ovsdb:"bond_active_slave"` BondDowndelay int `ovsdb:"bond_downdelay"` BondFakeIface bool `ovsdb:"bond_fake_iface"` BondMode *PortBondMode `ovsdb:"bond_mode"` BondUpdelay int `ovsdb:"bond_updelay"` CVLANs []int `ovsdb:"cvlans"` ExternalIDs map[string]string `ovsdb:"external_ids"` FakeBridge bool `ovsdb:"fake_bridge"` Interfaces []string `ovsdb:"interfaces"` LACP *PortLACP `ovsdb:"lacp"` MAC *string `ovsdb:"mac"` Name string `ovsdb:"name"` OtherConfig map[string]string `ovsdb:"other_config"` Protected bool `ovsdb:"protected"` QOS *string `ovsdb:"qos"` RSTPStatistics map[string]int `ovsdb:"rstp_statistics"` RSTPStatus map[string]string `ovsdb:"rstp_status"` Statistics map[string]int `ovsdb:"statistics"` Status map[string]string `ovsdb:"status"` Tag *int `ovsdb:"tag"` Trunks []int `ovsdb:"trunks"` VLANMode *PortVLANMode `ovsdb:"vlan_mode"` }
Port defines an object in Port table
func (*Port) CloneModel ¶
func (*Port) CloneModelInto ¶
func (*Port) DeepCopyInto ¶
func (*Port) GetBondActiveSlave ¶
func (*Port) GetBondDowndelay ¶
func (*Port) GetBondFakeIface ¶
func (*Port) GetBondMode ¶
func (a *Port) GetBondMode() *PortBondMode
func (*Port) GetBondUpdelay ¶
func (*Port) GetExternalIDs ¶
func (*Port) GetFakeBridge ¶
func (*Port) GetInterfaces ¶
func (*Port) GetOtherConfig ¶
func (*Port) GetProtected ¶
func (*Port) GetRSTPStatistics ¶
func (*Port) GetRSTPStatus ¶
func (*Port) GetStatistics ¶
func (*Port) GetVLANMode ¶
func (a *Port) GetVLANMode() *PortVLANMode
type PortBondMode ¶
type PortBondMode = string
type PortVLANMode ¶
type PortVLANMode = string
type QoS ¶
type QoS struct { UUID string `ovsdb:"_uuid"` ExternalIDs map[string]string `ovsdb:"external_ids"` OtherConfig map[string]string `ovsdb:"other_config"` Queues map[int]string `ovsdb:"queues"` Type string `ovsdb:"type"` }
QoS defines an object in QoS table
func (*QoS) CloneModel ¶
func (*QoS) CloneModelInto ¶
func (*QoS) DeepCopyInto ¶
func (*QoS) GetExternalIDs ¶
func (*QoS) GetOtherConfig ¶
type Queue ¶
type Queue struct { UUID string `ovsdb:"_uuid"` DSCP *int `ovsdb:"dscp"` ExternalIDs map[string]string `ovsdb:"external_ids"` OtherConfig map[string]string `ovsdb:"other_config"` }
Queue defines an object in Queue table
func (*Queue) CloneModel ¶
func (*Queue) CloneModelInto ¶
func (*Queue) DeepCopyInto ¶
func (*Queue) GetExternalIDs ¶
func (*Queue) GetOtherConfig ¶
type SFlow ¶
type SFlow struct { UUID string `ovsdb:"_uuid"` Agent *string `ovsdb:"agent"` ExternalIDs map[string]string `ovsdb:"external_ids"` Header *int `ovsdb:"header"` Polling *int `ovsdb:"polling"` Sampling *int `ovsdb:"sampling"` Targets []string `ovsdb:"targets"` }
SFlow defines an object in sFlow table
func (*SFlow) CloneModel ¶
func (*SFlow) CloneModelInto ¶
func (*SFlow) DeepCopyInto ¶
func (*SFlow) GetExternalIDs ¶
func (*SFlow) GetPolling ¶
func (*SFlow) GetSampling ¶
func (*SFlow) GetTargets ¶
type SSL ¶
type SSL struct { UUID string `ovsdb:"_uuid"` BootstrapCaCert bool `ovsdb:"bootstrap_ca_cert"` CaCert string `ovsdb:"ca_cert"` Certificate string `ovsdb:"certificate"` ExternalIDs map[string]string `ovsdb:"external_ids"` PrivateKey string `ovsdb:"private_key"` }
SSL defines an object in SSL table