nbdb

package
v0.0.0-...-f30a8d1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2024 License: Apache-2.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

View Source
const ACLTable = "ACL"
View Source
const AddressSetTable = "Address_Set"
View Source
const BFDTable = "BFD"
View Source
const ChassisTemplateVarTable = "Chassis_Template_Var"
View Source
const ConnectionTable = "Connection"
View Source
const CoppTable = "Copp"
View Source
const DHCPOptionsTable = "DHCP_Options"
View Source
const DHCPRelayTable = "DHCP_Relay"
View Source
const DNSTable = "DNS"
View Source
const ForwardingGroupTable = "Forwarding_Group"
View Source
const GatewayChassisTable = "Gateway_Chassis"
View Source
const HAChassisGroupTable = "HA_Chassis_Group"
View Source
const HAChassisTable = "HA_Chassis"
View Source
const LoadBalancerGroupTable = "Load_Balancer_Group"
View Source
const LoadBalancerHealthCheckTable = "Load_Balancer_Health_Check"
View Source
const LoadBalancerTable = "Load_Balancer"
View Source
const LogicalRouterPolicyTable = "Logical_Router_Policy"
View Source
const LogicalRouterPortTable = "Logical_Router_Port"
View Source
const LogicalRouterStaticRouteTable = "Logical_Router_Static_Route"
View Source
const LogicalRouterTable = "Logical_Router"
View Source
const LogicalSwitchPortTable = "Logical_Switch_Port"
View Source
const LogicalSwitchTable = "Logical_Switch"
View Source
const MeterBandTable = "Meter_Band"
View Source
const MeterTable = "Meter"
View Source
const MirrorTable = "Mirror"
View Source
const NATTable = "NAT"
View Source
const NBGlobalTable = "NB_Global"
View Source
const PortGroupTable = "Port_Group"
View Source
const QoSTable = "QoS"
View Source
const SSLTable = "SSL"
View Source
const SampleCollectorTable = "Sample_Collector"
View Source
const SampleTable = "Sample"
View Source
const SamplingAppTable = "Sampling_App"
View Source
const StaticMACBindingTable = "Static_MAC_Binding"

Variables

View Source
var (
	ACLActionAllow          ACLAction    = "allow"
	ACLActionAllowRelated   ACLAction    = "allow-related"
	ACLActionAllowStateless ACLAction    = "allow-stateless"
	ACLActionDrop           ACLAction    = "drop"
	ACLActionReject         ACLAction    = "reject"
	ACLActionPass           ACLAction    = "pass"
	ACLDirectionFromLport   ACLDirection = "from-lport"
	ACLDirectionToLport     ACLDirection = "to-lport"
	ACLSeverityAlert        ACLSeverity  = "alert"
	ACLSeverityWarning      ACLSeverity  = "warning"
	ACLSeverityNotice       ACLSeverity  = "notice"
	ACLSeverityInfo         ACLSeverity  = "info"
	ACLSeverityDebug        ACLSeverity  = "debug"
)
View Source
var (
	LoadBalancerProtocolTCP           LoadBalancerProtocol        = "tcp"
	LoadBalancerProtocolUDP           LoadBalancerProtocol        = "udp"
	LoadBalancerProtocolSCTP          LoadBalancerProtocol        = "sctp"
	LoadBalancerSelectionFieldsEthSrc LoadBalancerSelectionFields = "eth_src"
	LoadBalancerSelectionFieldsEthDst LoadBalancerSelectionFields = "eth_dst"
	LoadBalancerSelectionFieldsIPSrc  LoadBalancerSelectionFields = "ip_src"
	LoadBalancerSelectionFieldsIPDst  LoadBalancerSelectionFields = "ip_dst"
	LoadBalancerSelectionFieldsTpSrc  LoadBalancerSelectionFields = "tp_src"
	LoadBalancerSelectionFieldsTpDst  LoadBalancerSelectionFields = "tp_dst"
)
View Source
var (
	MirrorFilterFromLport MirrorFilter = "from-lport"
	MirrorFilterToLport   MirrorFilter = "to-lport"
	MirrorFilterBoth      MirrorFilter = "both"
	MirrorTypeGre         MirrorType   = "gre"
	MirrorTypeErspan      MirrorType   = "erspan"
	MirrorTypeLocal       MirrorType   = "local"
)
View Source
var (
	QoSActionDSCP         QoSAction    = "dscp"
	QoSActionMark         QoSAction    = "mark"
	QoSBandwidthRate      QoSBandwidth = "rate"
	QoSBandwidthBurst     QoSBandwidth = "burst"
	QoSDirectionFromLport QoSDirection = "from-lport"
	QoSDirectionToLport   QoSDirection = "to-lport"
)

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 ACL

type ACL struct {
	UUID        string            `ovsdb:"_uuid"`
	Action      ACLAction         `ovsdb:"action"`
	Direction   ACLDirection      `ovsdb:"direction"`
	ExternalIDs map[string]string `ovsdb:"external_ids"`
	Label       int               `ovsdb:"label"`
	Log         bool              `ovsdb:"log"`
	Match       string            `ovsdb:"match"`
	Meter       *string           `ovsdb:"meter"`
	Name        *string           `ovsdb:"name"`
	Options     map[string]string `ovsdb:"options"`
	Priority    int               `ovsdb:"priority"`
	SampleEst   *string           `ovsdb:"sample_est"`
	SampleNew   *string           `ovsdb:"sample_new"`
	Severity    *ACLSeverity      `ovsdb:"severity"`
	Tier        int               `ovsdb:"tier"`
}

ACL defines an object in ACL table

func (*ACL) CloneModel

func (a *ACL) CloneModel() model.Model

func (*ACL) CloneModelInto

func (a *ACL) CloneModelInto(b model.Model)

func (*ACL) DeepCopy

func (a *ACL) DeepCopy() *ACL

func (*ACL) DeepCopyInto

func (a *ACL) DeepCopyInto(b *ACL)

func (*ACL) Equals

func (a *ACL) Equals(b *ACL) bool

func (*ACL) EqualsModel

func (a *ACL) EqualsModel(b model.Model) bool

func (*ACL) GetAction

func (a *ACL) GetAction() ACLAction

func (*ACL) GetDirection

func (a *ACL) GetDirection() ACLDirection

func (*ACL) GetExternalIDs

func (a *ACL) GetExternalIDs() map[string]string

func (*ACL) GetLabel

func (a *ACL) GetLabel() int

func (*ACL) GetLog

func (a *ACL) GetLog() bool

func (*ACL) GetMatch

func (a *ACL) GetMatch() string

func (*ACL) GetMeter

func (a *ACL) GetMeter() *string

func (*ACL) GetName

func (a *ACL) GetName() *string

func (*ACL) GetOptions

func (a *ACL) GetOptions() map[string]string

func (*ACL) GetPriority

func (a *ACL) GetPriority() int

func (*ACL) GetSampleEst

func (a *ACL) GetSampleEst() *string

func (*ACL) GetSampleNew

func (a *ACL) GetSampleNew() *string

func (*ACL) GetSeverity

func (a *ACL) GetSeverity() *ACLSeverity

func (*ACL) GetTier

func (a *ACL) GetTier() int

func (*ACL) GetUUID

func (a *ACL) GetUUID() string

type ACLAction

type ACLAction = string

type ACLDirection

type ACLDirection = string

type ACLSeverity

type ACLSeverity = string

type AddressSet

type AddressSet struct {
	UUID        string            `ovsdb:"_uuid"`
	Addresses   []string          `ovsdb:"addresses"`
	ExternalIDs map[string]string `ovsdb:"external_ids"`
	Name        string            `ovsdb:"name"`
}

AddressSet defines an object in Address_Set table

func (*AddressSet) CloneModel

func (a *AddressSet) CloneModel() model.Model

func (*AddressSet) CloneModelInto

func (a *AddressSet) CloneModelInto(b model.Model)

func (*AddressSet) DeepCopy

func (a *AddressSet) DeepCopy() *AddressSet

func (*AddressSet) DeepCopyInto

func (a *AddressSet) DeepCopyInto(b *AddressSet)

func (*AddressSet) Equals

func (a *AddressSet) Equals(b *AddressSet) bool

func (*AddressSet) EqualsModel

func (a *AddressSet) EqualsModel(b model.Model) bool

func (*AddressSet) GetAddresses

func (a *AddressSet) GetAddresses() []string

func (*AddressSet) GetExternalIDs

func (a *AddressSet) GetExternalIDs() map[string]string

func (*AddressSet) GetName

func (a *AddressSet) GetName() string

func (*AddressSet) GetUUID

func (a *AddressSet) GetUUID() string

type BFD

type BFD struct {
	UUID        string            `ovsdb:"_uuid"`
	DetectMult  *int              `ovsdb:"detect_mult"`
	DstIP       string            `ovsdb:"dst_ip"`
	ExternalIDs map[string]string `ovsdb:"external_ids"`
	LogicalPort string            `ovsdb:"logical_port"`
	MinRx       *int              `ovsdb:"min_rx"`
	MinTx       *int              `ovsdb:"min_tx"`
	Options     map[string]string `ovsdb:"options"`
	Status      *BFDStatus        `ovsdb:"status"`
}

BFD defines an object in BFD table

func (*BFD) CloneModel

func (a *BFD) CloneModel() model.Model

func (*BFD) CloneModelInto

func (a *BFD) CloneModelInto(b model.Model)

func (*BFD) DeepCopy

func (a *BFD) DeepCopy() *BFD

func (*BFD) DeepCopyInto

func (a *BFD) DeepCopyInto(b *BFD)

func (*BFD) Equals

func (a *BFD) Equals(b *BFD) bool

func (*BFD) EqualsModel

func (a *BFD) EqualsModel(b model.Model) bool

func (*BFD) GetDetectMult

func (a *BFD) GetDetectMult() *int

func (*BFD) GetDstIP

func (a *BFD) GetDstIP() string

func (*BFD) GetExternalIDs

func (a *BFD) GetExternalIDs() map[string]string

func (*BFD) GetLogicalPort

func (a *BFD) GetLogicalPort() string

func (*BFD) GetMinRx

func (a *BFD) GetMinRx() *int

func (*BFD) GetMinTx

func (a *BFD) GetMinTx() *int

func (*BFD) GetOptions

func (a *BFD) GetOptions() map[string]string

func (*BFD) GetStatus

func (a *BFD) GetStatus() *BFDStatus

func (*BFD) GetUUID

func (a *BFD) GetUUID() string

type BFDStatus

type BFDStatus = string
var (
	BFDStatusDown      BFDStatus = "down"
	BFDStatusInit      BFDStatus = "init"
	BFDStatusUp        BFDStatus = "up"
	BFDStatusAdminDown BFDStatus = "admin_down"
)

type ChassisTemplateVar

type ChassisTemplateVar struct {
	UUID        string            `ovsdb:"_uuid"`
	Chassis     string            `ovsdb:"chassis"`
	ExternalIDs map[string]string `ovsdb:"external_ids"`
	Variables   map[string]string `ovsdb:"variables"`
}

ChassisTemplateVar defines an object in Chassis_Template_Var table

func (*ChassisTemplateVar) CloneModel

func (a *ChassisTemplateVar) CloneModel() model.Model

func (*ChassisTemplateVar) CloneModelInto

func (a *ChassisTemplateVar) CloneModelInto(b model.Model)

func (*ChassisTemplateVar) DeepCopy

func (a *ChassisTemplateVar) DeepCopy() *ChassisTemplateVar

func (*ChassisTemplateVar) DeepCopyInto

func (a *ChassisTemplateVar) DeepCopyInto(b *ChassisTemplateVar)

func (*ChassisTemplateVar) Equals

func (*ChassisTemplateVar) EqualsModel

func (a *ChassisTemplateVar) EqualsModel(b model.Model) bool

func (*ChassisTemplateVar) GetChassis

func (a *ChassisTemplateVar) GetChassis() string

func (*ChassisTemplateVar) GetExternalIDs

func (a *ChassisTemplateVar) GetExternalIDs() map[string]string

func (*ChassisTemplateVar) GetUUID

func (a *ChassisTemplateVar) GetUUID() string

func (*ChassisTemplateVar) GetVariables

func (a *ChassisTemplateVar) GetVariables() map[string]string

type Connection

type Connection struct {
	UUID            string            `ovsdb:"_uuid"`
	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"`
}

Connection defines an object in Connection table

func (*Connection) CloneModel

func (a *Connection) CloneModel() model.Model

func (*Connection) CloneModelInto

func (a *Connection) CloneModelInto(b model.Model)

func (*Connection) DeepCopy

func (a *Connection) DeepCopy() *Connection

func (*Connection) DeepCopyInto

func (a *Connection) DeepCopyInto(b *Connection)

func (*Connection) Equals

func (a *Connection) Equals(b *Connection) bool

func (*Connection) EqualsModel

func (a *Connection) EqualsModel(b model.Model) bool

func (*Connection) GetExternalIDs

func (a *Connection) GetExternalIDs() map[string]string

func (*Connection) GetInactivityProbe

func (a *Connection) GetInactivityProbe() *int

func (*Connection) GetIsConnected

func (a *Connection) GetIsConnected() bool

func (*Connection) GetMaxBackoff

func (a *Connection) GetMaxBackoff() *int

func (*Connection) GetOtherConfig

func (a *Connection) GetOtherConfig() map[string]string

func (*Connection) GetStatus

func (a *Connection) GetStatus() map[string]string

func (*Connection) GetTarget

func (a *Connection) GetTarget() string

func (*Connection) GetUUID

func (a *Connection) GetUUID() string

type Copp

type Copp struct {
	UUID        string            `ovsdb:"_uuid"`
	ExternalIDs map[string]string `ovsdb:"external_ids"`
	Meters      map[string]string `ovsdb:"meters"`
	Name        string            `ovsdb:"name"`
}

Copp defines an object in Copp table

func (*Copp) CloneModel

func (a *Copp) CloneModel() model.Model

func (*Copp) CloneModelInto

func (a *Copp) CloneModelInto(b model.Model)

func (*Copp) DeepCopy

func (a *Copp) DeepCopy() *Copp

func (*Copp) DeepCopyInto

func (a *Copp) DeepCopyInto(b *Copp)

func (*Copp) Equals

func (a *Copp) Equals(b *Copp) bool

func (*Copp) EqualsModel

func (a *Copp) EqualsModel(b model.Model) bool

func (*Copp) GetExternalIDs

func (a *Copp) GetExternalIDs() map[string]string

func (*Copp) GetMeters

func (a *Copp) GetMeters() map[string]string

func (*Copp) GetName

func (a *Copp) GetName() string

func (*Copp) GetUUID

func (a *Copp) GetUUID() string

type DHCPOptions

type DHCPOptions struct {
	UUID        string            `ovsdb:"_uuid"`
	Cidr        string            `ovsdb:"cidr"`
	ExternalIDs map[string]string `ovsdb:"external_ids"`
	Options     map[string]string `ovsdb:"options"`
}

DHCPOptions defines an object in DHCP_Options table

func (*DHCPOptions) CloneModel

func (a *DHCPOptions) CloneModel() model.Model

func (*DHCPOptions) CloneModelInto

func (a *DHCPOptions) CloneModelInto(b model.Model)

func (*DHCPOptions) DeepCopy

func (a *DHCPOptions) DeepCopy() *DHCPOptions

func (*DHCPOptions) DeepCopyInto

func (a *DHCPOptions) DeepCopyInto(b *DHCPOptions)

func (*DHCPOptions) Equals

func (a *DHCPOptions) Equals(b *DHCPOptions) bool

func (*DHCPOptions) EqualsModel

func (a *DHCPOptions) EqualsModel(b model.Model) bool

func (*DHCPOptions) GetCidr

func (a *DHCPOptions) GetCidr() string

func (*DHCPOptions) GetExternalIDs

func (a *DHCPOptions) GetExternalIDs() map[string]string

func (*DHCPOptions) GetOptions

func (a *DHCPOptions) GetOptions() map[string]string

func (*DHCPOptions) GetUUID

func (a *DHCPOptions) GetUUID() string

type DHCPRelay

type DHCPRelay struct {
	UUID        string            `ovsdb:"_uuid"`
	ExternalIDs map[string]string `ovsdb:"external_ids"`
	Name        string            `ovsdb:"name"`
	Options     map[string]string `ovsdb:"options"`
	Servers     *string           `ovsdb:"servers"`
}

DHCPRelay defines an object in DHCP_Relay table

func (*DHCPRelay) CloneModel

func (a *DHCPRelay) CloneModel() model.Model

func (*DHCPRelay) CloneModelInto

func (a *DHCPRelay) CloneModelInto(b model.Model)

func (*DHCPRelay) DeepCopy

func (a *DHCPRelay) DeepCopy() *DHCPRelay

func (*DHCPRelay) DeepCopyInto

func (a *DHCPRelay) DeepCopyInto(b *DHCPRelay)

func (*DHCPRelay) Equals

func (a *DHCPRelay) Equals(b *DHCPRelay) bool

func (*DHCPRelay) EqualsModel

func (a *DHCPRelay) EqualsModel(b model.Model) bool

func (*DHCPRelay) GetExternalIDs

func (a *DHCPRelay) GetExternalIDs() map[string]string

func (*DHCPRelay) GetName

func (a *DHCPRelay) GetName() string

func (*DHCPRelay) GetOptions

func (a *DHCPRelay) GetOptions() map[string]string

func (*DHCPRelay) GetServers

func (a *DHCPRelay) GetServers() *string

func (*DHCPRelay) GetUUID

func (a *DHCPRelay) GetUUID() string

type DNS

type DNS struct {
	UUID        string            `ovsdb:"_uuid"`
	ExternalIDs map[string]string `ovsdb:"external_ids"`
	Options     map[string]string `ovsdb:"options"`
	Records     map[string]string `ovsdb:"records"`
}

DNS defines an object in DNS table

func (*DNS) CloneModel

func (a *DNS) CloneModel() model.Model

func (*DNS) CloneModelInto

func (a *DNS) CloneModelInto(b model.Model)

func (*DNS) DeepCopy

func (a *DNS) DeepCopy() *DNS

func (*DNS) DeepCopyInto

func (a *DNS) DeepCopyInto(b *DNS)

func (*DNS) Equals

func (a *DNS) Equals(b *DNS) bool

func (*DNS) EqualsModel

func (a *DNS) EqualsModel(b model.Model) bool

func (*DNS) GetExternalIDs

func (a *DNS) GetExternalIDs() map[string]string

func (*DNS) GetOptions

func (a *DNS) GetOptions() map[string]string

func (*DNS) GetRecords

func (a *DNS) GetRecords() map[string]string

func (*DNS) GetUUID

func (a *DNS) GetUUID() string

type ForwardingGroup

type ForwardingGroup struct {
	UUID        string            `ovsdb:"_uuid"`
	ChildPort   []string          `ovsdb:"child_port"`
	ExternalIDs map[string]string `ovsdb:"external_ids"`
	Liveness    bool              `ovsdb:"liveness"`
	Name        string            `ovsdb:"name"`
	Vip         string            `ovsdb:"vip"`
	Vmac        string            `ovsdb:"vmac"`
}

ForwardingGroup defines an object in Forwarding_Group table

func (*ForwardingGroup) CloneModel

func (a *ForwardingGroup) CloneModel() model.Model

func (*ForwardingGroup) CloneModelInto

func (a *ForwardingGroup) CloneModelInto(b model.Model)

func (*ForwardingGroup) DeepCopy

func (a *ForwardingGroup) DeepCopy() *ForwardingGroup

func (*ForwardingGroup) DeepCopyInto

func (a *ForwardingGroup) DeepCopyInto(b *ForwardingGroup)

func (*ForwardingGroup) Equals

func (a *ForwardingGroup) Equals(b *ForwardingGroup) bool

func (*ForwardingGroup) EqualsModel

func (a *ForwardingGroup) EqualsModel(b model.Model) bool

func (*ForwardingGroup) GetChildPort

func (a *ForwardingGroup) GetChildPort() []string

func (*ForwardingGroup) GetExternalIDs

func (a *ForwardingGroup) GetExternalIDs() map[string]string

func (*ForwardingGroup) GetLiveness

func (a *ForwardingGroup) GetLiveness() bool

func (*ForwardingGroup) GetName

func (a *ForwardingGroup) GetName() string

func (*ForwardingGroup) GetUUID

func (a *ForwardingGroup) GetUUID() string

func (*ForwardingGroup) GetVip

func (a *ForwardingGroup) GetVip() string

func (*ForwardingGroup) GetVmac

func (a *ForwardingGroup) GetVmac() string

type GatewayChassis

type GatewayChassis struct {
	UUID        string            `ovsdb:"_uuid"`
	ChassisName string            `ovsdb:"chassis_name"`
	ExternalIDs map[string]string `ovsdb:"external_ids"`
	Name        string            `ovsdb:"name"`
	Options     map[string]string `ovsdb:"options"`
	Priority    int               `ovsdb:"priority"`
}

GatewayChassis defines an object in Gateway_Chassis table

func (*GatewayChassis) CloneModel

func (a *GatewayChassis) CloneModel() model.Model

func (*GatewayChassis) CloneModelInto

func (a *GatewayChassis) CloneModelInto(b model.Model)

func (*GatewayChassis) DeepCopy

func (a *GatewayChassis) DeepCopy() *GatewayChassis

func (*GatewayChassis) DeepCopyInto

func (a *GatewayChassis) DeepCopyInto(b *GatewayChassis)

func (*GatewayChassis) Equals

func (a *GatewayChassis) Equals(b *GatewayChassis) bool

func (*GatewayChassis) EqualsModel

func (a *GatewayChassis) EqualsModel(b model.Model) bool

func (*GatewayChassis) GetChassisName

func (a *GatewayChassis) GetChassisName() string

func (*GatewayChassis) GetExternalIDs

func (a *GatewayChassis) GetExternalIDs() map[string]string

func (*GatewayChassis) GetName

func (a *GatewayChassis) GetName() string

func (*GatewayChassis) GetOptions

func (a *GatewayChassis) GetOptions() map[string]string

func (*GatewayChassis) GetPriority

func (a *GatewayChassis) GetPriority() int

func (*GatewayChassis) GetUUID

func (a *GatewayChassis) GetUUID() string

type HAChassis

type HAChassis struct {
	UUID        string            `ovsdb:"_uuid"`
	ChassisName string            `ovsdb:"chassis_name"`
	ExternalIDs map[string]string `ovsdb:"external_ids"`
	Priority    int               `ovsdb:"priority"`
}

HAChassis defines an object in HA_Chassis table

func (*HAChassis) CloneModel

func (a *HAChassis) CloneModel() model.Model

func (*HAChassis) CloneModelInto

func (a *HAChassis) CloneModelInto(b model.Model)

func (*HAChassis) DeepCopy

func (a *HAChassis) DeepCopy() *HAChassis

func (*HAChassis) DeepCopyInto

func (a *HAChassis) DeepCopyInto(b *HAChassis)

func (*HAChassis) Equals

func (a *HAChassis) Equals(b *HAChassis) bool

func (*HAChassis) EqualsModel

func (a *HAChassis) EqualsModel(b model.Model) bool

func (*HAChassis) GetChassisName

func (a *HAChassis) GetChassisName() string

func (*HAChassis) GetExternalIDs

func (a *HAChassis) GetExternalIDs() map[string]string

func (*HAChassis) GetPriority

func (a *HAChassis) GetPriority() int

func (*HAChassis) GetUUID

func (a *HAChassis) GetUUID() string

type HAChassisGroup

type HAChassisGroup struct {
	UUID        string            `ovsdb:"_uuid"`
	ExternalIDs map[string]string `ovsdb:"external_ids"`
	HaChassis   []string          `ovsdb:"ha_chassis"`
	Name        string            `ovsdb:"name"`
}

HAChassisGroup defines an object in HA_Chassis_Group table

func (*HAChassisGroup) CloneModel

func (a *HAChassisGroup) CloneModel() model.Model

func (*HAChassisGroup) CloneModelInto

func (a *HAChassisGroup) CloneModelInto(b model.Model)

func (*HAChassisGroup) DeepCopy

func (a *HAChassisGroup) DeepCopy() *HAChassisGroup

func (*HAChassisGroup) DeepCopyInto

func (a *HAChassisGroup) DeepCopyInto(b *HAChassisGroup)

func (*HAChassisGroup) Equals

func (a *HAChassisGroup) Equals(b *HAChassisGroup) bool

func (*HAChassisGroup) EqualsModel

func (a *HAChassisGroup) EqualsModel(b model.Model) bool

func (*HAChassisGroup) GetExternalIDs

func (a *HAChassisGroup) GetExternalIDs() map[string]string

func (*HAChassisGroup) GetHaChassis

func (a *HAChassisGroup) GetHaChassis() []string

func (*HAChassisGroup) GetName

func (a *HAChassisGroup) GetName() string

func (*HAChassisGroup) GetUUID

func (a *HAChassisGroup) GetUUID() string

type LoadBalancer

type LoadBalancer struct {
	UUID            string                        `ovsdb:"_uuid"`
	ExternalIDs     map[string]string             `ovsdb:"external_ids"`
	HealthCheck     []string                      `ovsdb:"health_check"`
	IPPortMappings  map[string]string             `ovsdb:"ip_port_mappings"`
	Name            string                        `ovsdb:"name"`
	Options         map[string]string             `ovsdb:"options"`
	Protocol        *LoadBalancerProtocol         `ovsdb:"protocol"`
	SelectionFields []LoadBalancerSelectionFields `ovsdb:"selection_fields"`
	Vips            map[string]string             `ovsdb:"vips"`
}

LoadBalancer defines an object in Load_Balancer table

func (*LoadBalancer) CloneModel

func (a *LoadBalancer) CloneModel() model.Model

func (*LoadBalancer) CloneModelInto

func (a *LoadBalancer) CloneModelInto(b model.Model)

func (*LoadBalancer) DeepCopy

func (a *LoadBalancer) DeepCopy() *LoadBalancer

func (*LoadBalancer) DeepCopyInto

func (a *LoadBalancer) DeepCopyInto(b *LoadBalancer)

func (*LoadBalancer) Equals

func (a *LoadBalancer) Equals(b *LoadBalancer) bool

func (*LoadBalancer) EqualsModel

func (a *LoadBalancer) EqualsModel(b model.Model) bool

func (*LoadBalancer) GetExternalIDs

func (a *LoadBalancer) GetExternalIDs() map[string]string

func (*LoadBalancer) GetHealthCheck

func (a *LoadBalancer) GetHealthCheck() []string

func (*LoadBalancer) GetIPPortMappings

func (a *LoadBalancer) GetIPPortMappings() map[string]string

func (*LoadBalancer) GetName

func (a *LoadBalancer) GetName() string

func (*LoadBalancer) GetOptions

func (a *LoadBalancer) GetOptions() map[string]string

func (*LoadBalancer) GetProtocol

func (a *LoadBalancer) GetProtocol() *LoadBalancerProtocol

func (*LoadBalancer) GetSelectionFields

func (a *LoadBalancer) GetSelectionFields() []LoadBalancerSelectionFields

func (*LoadBalancer) GetUUID

func (a *LoadBalancer) GetUUID() string

func (*LoadBalancer) GetVips

func (a *LoadBalancer) GetVips() map[string]string

type LoadBalancerGroup

type LoadBalancerGroup struct {
	UUID         string   `ovsdb:"_uuid"`
	LoadBalancer []string `ovsdb:"load_balancer"`
	Name         string   `ovsdb:"name"`
}

LoadBalancerGroup defines an object in Load_Balancer_Group table

func (*LoadBalancerGroup) CloneModel

func (a *LoadBalancerGroup) CloneModel() model.Model

func (*LoadBalancerGroup) CloneModelInto

func (a *LoadBalancerGroup) CloneModelInto(b model.Model)

func (*LoadBalancerGroup) DeepCopy

func (a *LoadBalancerGroup) DeepCopy() *LoadBalancerGroup

func (*LoadBalancerGroup) DeepCopyInto

func (a *LoadBalancerGroup) DeepCopyInto(b *LoadBalancerGroup)

func (*LoadBalancerGroup) Equals

func (*LoadBalancerGroup) EqualsModel

func (a *LoadBalancerGroup) EqualsModel(b model.Model) bool

func (*LoadBalancerGroup) GetLoadBalancer

func (a *LoadBalancerGroup) GetLoadBalancer() []string

func (*LoadBalancerGroup) GetName

func (a *LoadBalancerGroup) GetName() string

func (*LoadBalancerGroup) GetUUID

func (a *LoadBalancerGroup) GetUUID() string

type LoadBalancerHealthCheck

type LoadBalancerHealthCheck struct {
	UUID        string            `ovsdb:"_uuid"`
	ExternalIDs map[string]string `ovsdb:"external_ids"`
	Options     map[string]string `ovsdb:"options"`
	Vip         string            `ovsdb:"vip"`
}

LoadBalancerHealthCheck defines an object in Load_Balancer_Health_Check table

func (*LoadBalancerHealthCheck) CloneModel

func (a *LoadBalancerHealthCheck) CloneModel() model.Model

func (*LoadBalancerHealthCheck) CloneModelInto

func (a *LoadBalancerHealthCheck) CloneModelInto(b model.Model)

func (*LoadBalancerHealthCheck) DeepCopy

func (*LoadBalancerHealthCheck) DeepCopyInto

func (*LoadBalancerHealthCheck) Equals

func (*LoadBalancerHealthCheck) EqualsModel

func (a *LoadBalancerHealthCheck) EqualsModel(b model.Model) bool

func (*LoadBalancerHealthCheck) GetExternalIDs

func (a *LoadBalancerHealthCheck) GetExternalIDs() map[string]string

func (*LoadBalancerHealthCheck) GetOptions

func (a *LoadBalancerHealthCheck) GetOptions() map[string]string

func (*LoadBalancerHealthCheck) GetUUID

func (a *LoadBalancerHealthCheck) GetUUID() string

func (*LoadBalancerHealthCheck) GetVip

func (a *LoadBalancerHealthCheck) GetVip() string

type LoadBalancerProtocol

type LoadBalancerProtocol = string

type LoadBalancerSelectionFields

type LoadBalancerSelectionFields = string

type LogicalRouter

type LogicalRouter struct {
	UUID              string            `ovsdb:"_uuid"`
	Copp              *string           `ovsdb:"copp"`
	Enabled           *bool             `ovsdb:"enabled"`
	ExternalIDs       map[string]string `ovsdb:"external_ids"`
	LoadBalancer      []string          `ovsdb:"load_balancer"`
	LoadBalancerGroup []string          `ovsdb:"load_balancer_group"`
	Name              string            `ovsdb:"name"`
	Nat               []string          `ovsdb:"nat"`
	Options           map[string]string `ovsdb:"options"`
	Policies          []string          `ovsdb:"policies"`
	Ports             []string          `ovsdb:"ports"`
	StaticRoutes      []string          `ovsdb:"static_routes"`
}

LogicalRouter defines an object in Logical_Router table

func (*LogicalRouter) CloneModel

func (a *LogicalRouter) CloneModel() model.Model

func (*LogicalRouter) CloneModelInto

func (a *LogicalRouter) CloneModelInto(b model.Model)

func (*LogicalRouter) DeepCopy

func (a *LogicalRouter) DeepCopy() *LogicalRouter

func (*LogicalRouter) DeepCopyInto

func (a *LogicalRouter) DeepCopyInto(b *LogicalRouter)

func (*LogicalRouter) Equals

func (a *LogicalRouter) Equals(b *LogicalRouter) bool

func (*LogicalRouter) EqualsModel

func (a *LogicalRouter) EqualsModel(b model.Model) bool

func (*LogicalRouter) GetCopp

func (a *LogicalRouter) GetCopp() *string

func (*LogicalRouter) GetEnabled

func (a *LogicalRouter) GetEnabled() *bool

func (*LogicalRouter) GetExternalIDs

func (a *LogicalRouter) GetExternalIDs() map[string]string

func (*LogicalRouter) GetLoadBalancer

func (a *LogicalRouter) GetLoadBalancer() []string

func (*LogicalRouter) GetLoadBalancerGroup

func (a *LogicalRouter) GetLoadBalancerGroup() []string

func (*LogicalRouter) GetName

func (a *LogicalRouter) GetName() string

func (*LogicalRouter) GetNat

func (a *LogicalRouter) GetNat() []string

func (*LogicalRouter) GetOptions

func (a *LogicalRouter) GetOptions() map[string]string

func (*LogicalRouter) GetPolicies

func (a *LogicalRouter) GetPolicies() []string

func (*LogicalRouter) GetPorts

func (a *LogicalRouter) GetPorts() []string

func (*LogicalRouter) GetStaticRoutes

func (a *LogicalRouter) GetStaticRoutes() []string

func (*LogicalRouter) GetUUID

func (a *LogicalRouter) GetUUID() string

type LogicalRouterPolicy

type LogicalRouterPolicy struct {
	UUID        string                    `ovsdb:"_uuid"`
	Action      LogicalRouterPolicyAction `ovsdb:"action"`
	BFDSessions []string                  `ovsdb:"bfd_sessions"`
	ExternalIDs map[string]string         `ovsdb:"external_ids"`
	Match       string                    `ovsdb:"match"`
	Nexthop     *string                   `ovsdb:"nexthop"`
	Nexthops    []string                  `ovsdb:"nexthops"`
	Options     map[string]string         `ovsdb:"options"`
	Priority    int                       `ovsdb:"priority"`
}

LogicalRouterPolicy defines an object in Logical_Router_Policy table

func (*LogicalRouterPolicy) CloneModel

func (a *LogicalRouterPolicy) CloneModel() model.Model

func (*LogicalRouterPolicy) CloneModelInto

func (a *LogicalRouterPolicy) CloneModelInto(b model.Model)

func (*LogicalRouterPolicy) DeepCopy

func (*LogicalRouterPolicy) DeepCopyInto

func (a *LogicalRouterPolicy) DeepCopyInto(b *LogicalRouterPolicy)

func (*LogicalRouterPolicy) Equals

func (*LogicalRouterPolicy) EqualsModel

func (a *LogicalRouterPolicy) EqualsModel(b model.Model) bool

func (*LogicalRouterPolicy) GetAction

func (*LogicalRouterPolicy) GetBFDSessions

func (a *LogicalRouterPolicy) GetBFDSessions() []string

func (*LogicalRouterPolicy) GetExternalIDs

func (a *LogicalRouterPolicy) GetExternalIDs() map[string]string

func (*LogicalRouterPolicy) GetMatch

func (a *LogicalRouterPolicy) GetMatch() string

func (*LogicalRouterPolicy) GetNexthop

func (a *LogicalRouterPolicy) GetNexthop() *string

func (*LogicalRouterPolicy) GetNexthops

func (a *LogicalRouterPolicy) GetNexthops() []string

func (*LogicalRouterPolicy) GetOptions

func (a *LogicalRouterPolicy) GetOptions() map[string]string

func (*LogicalRouterPolicy) GetPriority

func (a *LogicalRouterPolicy) GetPriority() int

func (*LogicalRouterPolicy) GetUUID

func (a *LogicalRouterPolicy) GetUUID() string

type LogicalRouterPolicyAction

type LogicalRouterPolicyAction = string
var (
	LogicalRouterPolicyActionAllow   LogicalRouterPolicyAction = "allow"
	LogicalRouterPolicyActionDrop    LogicalRouterPolicyAction = "drop"
	LogicalRouterPolicyActionReroute LogicalRouterPolicyAction = "reroute"
)

type LogicalRouterPort

type LogicalRouterPort struct {
	UUID           string            `ovsdb:"_uuid"`
	DhcpRelay      *string           `ovsdb:"dhcp_relay"`
	Enabled        *bool             `ovsdb:"enabled"`
	ExternalIDs    map[string]string `ovsdb:"external_ids"`
	GatewayChassis []string          `ovsdb:"gateway_chassis"`
	HaChassisGroup *string           `ovsdb:"ha_chassis_group"`
	Ipv6Prefix     []string          `ovsdb:"ipv6_prefix"`
	Ipv6RaConfigs  map[string]string `ovsdb:"ipv6_ra_configs"`
	MAC            string            `ovsdb:"mac"`
	Name           string            `ovsdb:"name"`
	Networks       []string          `ovsdb:"networks"`
	Options        map[string]string `ovsdb:"options"`
	Peer           *string           `ovsdb:"peer"`
	Status         map[string]string `ovsdb:"status"`
}

LogicalRouterPort defines an object in Logical_Router_Port table

func (*LogicalRouterPort) CloneModel

func (a *LogicalRouterPort) CloneModel() model.Model

func (*LogicalRouterPort) CloneModelInto

func (a *LogicalRouterPort) CloneModelInto(b model.Model)

func (*LogicalRouterPort) DeepCopy

func (a *LogicalRouterPort) DeepCopy() *LogicalRouterPort

func (*LogicalRouterPort) DeepCopyInto

func (a *LogicalRouterPort) DeepCopyInto(b *LogicalRouterPort)

func (*LogicalRouterPort) Equals

func (*LogicalRouterPort) EqualsModel

func (a *LogicalRouterPort) EqualsModel(b model.Model) bool

func (*LogicalRouterPort) GetDhcpRelay

func (a *LogicalRouterPort) GetDhcpRelay() *string

func (*LogicalRouterPort) GetEnabled

func (a *LogicalRouterPort) GetEnabled() *bool

func (*LogicalRouterPort) GetExternalIDs

func (a *LogicalRouterPort) GetExternalIDs() map[string]string

func (*LogicalRouterPort) GetGatewayChassis

func (a *LogicalRouterPort) GetGatewayChassis() []string

func (*LogicalRouterPort) GetHaChassisGroup

func (a *LogicalRouterPort) GetHaChassisGroup() *string

func (*LogicalRouterPort) GetIpv6Prefix

func (a *LogicalRouterPort) GetIpv6Prefix() []string

func (*LogicalRouterPort) GetIpv6RaConfigs

func (a *LogicalRouterPort) GetIpv6RaConfigs() map[string]string

func (*LogicalRouterPort) GetMAC

func (a *LogicalRouterPort) GetMAC() string

func (*LogicalRouterPort) GetName

func (a *LogicalRouterPort) GetName() string

func (*LogicalRouterPort) GetNetworks

func (a *LogicalRouterPort) GetNetworks() []string

func (*LogicalRouterPort) GetOptions

func (a *LogicalRouterPort) GetOptions() map[string]string

func (*LogicalRouterPort) GetPeer

func (a *LogicalRouterPort) GetPeer() *string

func (*LogicalRouterPort) GetStatus

func (a *LogicalRouterPort) GetStatus() map[string]string

func (*LogicalRouterPort) GetUUID

func (a *LogicalRouterPort) GetUUID() string

type LogicalRouterStaticRoute

type LogicalRouterStaticRoute struct {
	UUID        string                          `ovsdb:"_uuid"`
	BFD         *string                         `ovsdb:"bfd"`
	ExternalIDs map[string]string               `ovsdb:"external_ids"`
	IPPrefix    string                          `ovsdb:"ip_prefix"`
	Nexthop     string                          `ovsdb:"nexthop"`
	Options     map[string]string               `ovsdb:"options"`
	OutputPort  *string                         `ovsdb:"output_port"`
	Policy      *LogicalRouterStaticRoutePolicy `ovsdb:"policy"`
	RouteTable  string                          `ovsdb:"route_table"`
}

LogicalRouterStaticRoute defines an object in Logical_Router_Static_Route table

func (*LogicalRouterStaticRoute) CloneModel

func (a *LogicalRouterStaticRoute) CloneModel() model.Model

func (*LogicalRouterStaticRoute) CloneModelInto

func (a *LogicalRouterStaticRoute) CloneModelInto(b model.Model)

func (*LogicalRouterStaticRoute) DeepCopy

func (*LogicalRouterStaticRoute) DeepCopyInto

func (*LogicalRouterStaticRoute) Equals

func (*LogicalRouterStaticRoute) EqualsModel

func (a *LogicalRouterStaticRoute) EqualsModel(b model.Model) bool

func (*LogicalRouterStaticRoute) GetBFD

func (a *LogicalRouterStaticRoute) GetBFD() *string

func (*LogicalRouterStaticRoute) GetExternalIDs

func (a *LogicalRouterStaticRoute) GetExternalIDs() map[string]string

func (*LogicalRouterStaticRoute) GetIPPrefix

func (a *LogicalRouterStaticRoute) GetIPPrefix() string

func (*LogicalRouterStaticRoute) GetNexthop

func (a *LogicalRouterStaticRoute) GetNexthop() string

func (*LogicalRouterStaticRoute) GetOptions

func (a *LogicalRouterStaticRoute) GetOptions() map[string]string

func (*LogicalRouterStaticRoute) GetOutputPort

func (a *LogicalRouterStaticRoute) GetOutputPort() *string

func (*LogicalRouterStaticRoute) GetPolicy

func (*LogicalRouterStaticRoute) GetRouteTable

func (a *LogicalRouterStaticRoute) GetRouteTable() string

func (*LogicalRouterStaticRoute) GetUUID

func (a *LogicalRouterStaticRoute) GetUUID() string

type LogicalRouterStaticRoutePolicy

type LogicalRouterStaticRoutePolicy = string
var (
	LogicalRouterStaticRoutePolicySrcIP LogicalRouterStaticRoutePolicy = "src-ip"
	LogicalRouterStaticRoutePolicyDstIP LogicalRouterStaticRoutePolicy = "dst-ip"
)

type LogicalSwitch

type LogicalSwitch struct {
	UUID              string            `ovsdb:"_uuid"`
	ACLs              []string          `ovsdb:"acls"`
	Copp              *string           `ovsdb:"copp"`
	DNSRecords        []string          `ovsdb:"dns_records"`
	ExternalIDs       map[string]string `ovsdb:"external_ids"`
	ForwardingGroups  []string          `ovsdb:"forwarding_groups"`
	LoadBalancer      []string          `ovsdb:"load_balancer"`
	LoadBalancerGroup []string          `ovsdb:"load_balancer_group"`
	Name              string            `ovsdb:"name"`
	OtherConfig       map[string]string `ovsdb:"other_config"`
	Ports             []string          `ovsdb:"ports"`
	QOSRules          []string          `ovsdb:"qos_rules"`
}

LogicalSwitch defines an object in Logical_Switch table

func (*LogicalSwitch) CloneModel

func (a *LogicalSwitch) CloneModel() model.Model

func (*LogicalSwitch) CloneModelInto

func (a *LogicalSwitch) CloneModelInto(b model.Model)

func (*LogicalSwitch) DeepCopy

func (a *LogicalSwitch) DeepCopy() *LogicalSwitch

func (*LogicalSwitch) DeepCopyInto

func (a *LogicalSwitch) DeepCopyInto(b *LogicalSwitch)

func (*LogicalSwitch) Equals

func (a *LogicalSwitch) Equals(b *LogicalSwitch) bool

func (*LogicalSwitch) EqualsModel

func (a *LogicalSwitch) EqualsModel(b model.Model) bool

func (*LogicalSwitch) GetACLs

func (a *LogicalSwitch) GetACLs() []string

func (*LogicalSwitch) GetCopp

func (a *LogicalSwitch) GetCopp() *string

func (*LogicalSwitch) GetDNSRecords

func (a *LogicalSwitch) GetDNSRecords() []string

func (*LogicalSwitch) GetExternalIDs

func (a *LogicalSwitch) GetExternalIDs() map[string]string

func (*LogicalSwitch) GetForwardingGroups

func (a *LogicalSwitch) GetForwardingGroups() []string

func (*LogicalSwitch) GetLoadBalancer

func (a *LogicalSwitch) GetLoadBalancer() []string

func (*LogicalSwitch) GetLoadBalancerGroup

func (a *LogicalSwitch) GetLoadBalancerGroup() []string

func (*LogicalSwitch) GetName

func (a *LogicalSwitch) GetName() string

func (*LogicalSwitch) GetOtherConfig

func (a *LogicalSwitch) GetOtherConfig() map[string]string

func (*LogicalSwitch) GetPorts

func (a *LogicalSwitch) GetPorts() []string

func (*LogicalSwitch) GetQOSRules

func (a *LogicalSwitch) GetQOSRules() []string

func (*LogicalSwitch) GetUUID

func (a *LogicalSwitch) GetUUID() string

type LogicalSwitchPort

type LogicalSwitchPort struct {
	UUID             string            `ovsdb:"_uuid"`
	Addresses        []string          `ovsdb:"addresses"`
	Dhcpv4Options    *string           `ovsdb:"dhcpv4_options"`
	Dhcpv6Options    *string           `ovsdb:"dhcpv6_options"`
	DynamicAddresses *string           `ovsdb:"dynamic_addresses"`
	Enabled          *bool             `ovsdb:"enabled"`
	ExternalIDs      map[string]string `ovsdb:"external_ids"`
	HaChassisGroup   *string           `ovsdb:"ha_chassis_group"`
	MirrorRules      []string          `ovsdb:"mirror_rules"`
	Name             string            `ovsdb:"name"`
	Options          map[string]string `ovsdb:"options"`
	ParentName       *string           `ovsdb:"parent_name"`
	PortSecurity     []string          `ovsdb:"port_security"`
	Tag              *int              `ovsdb:"tag"`
	TagRequest       *int              `ovsdb:"tag_request"`
	Type             string            `ovsdb:"type"`
	Up               *bool             `ovsdb:"up"`
}

LogicalSwitchPort defines an object in Logical_Switch_Port table

func (*LogicalSwitchPort) CloneModel

func (a *LogicalSwitchPort) CloneModel() model.Model

func (*LogicalSwitchPort) CloneModelInto

func (a *LogicalSwitchPort) CloneModelInto(b model.Model)

func (*LogicalSwitchPort) DeepCopy

func (a *LogicalSwitchPort) DeepCopy() *LogicalSwitchPort

func (*LogicalSwitchPort) DeepCopyInto

func (a *LogicalSwitchPort) DeepCopyInto(b *LogicalSwitchPort)

func (*LogicalSwitchPort) Equals

func (*LogicalSwitchPort) EqualsModel

func (a *LogicalSwitchPort) EqualsModel(b model.Model) bool

func (*LogicalSwitchPort) GetAddresses

func (a *LogicalSwitchPort) GetAddresses() []string

func (*LogicalSwitchPort) GetDhcpv4Options

func (a *LogicalSwitchPort) GetDhcpv4Options() *string

func (*LogicalSwitchPort) GetDhcpv6Options

func (a *LogicalSwitchPort) GetDhcpv6Options() *string

func (*LogicalSwitchPort) GetDynamicAddresses

func (a *LogicalSwitchPort) GetDynamicAddresses() *string

func (*LogicalSwitchPort) GetEnabled

func (a *LogicalSwitchPort) GetEnabled() *bool

func (*LogicalSwitchPort) GetExternalIDs

func (a *LogicalSwitchPort) GetExternalIDs() map[string]string

func (*LogicalSwitchPort) GetHaChassisGroup

func (a *LogicalSwitchPort) GetHaChassisGroup() *string

func (*LogicalSwitchPort) GetMirrorRules

func (a *LogicalSwitchPort) GetMirrorRules() []string

func (*LogicalSwitchPort) GetName

func (a *LogicalSwitchPort) GetName() string

func (*LogicalSwitchPort) GetOptions

func (a *LogicalSwitchPort) GetOptions() map[string]string

func (*LogicalSwitchPort) GetParentName

func (a *LogicalSwitchPort) GetParentName() *string

func (*LogicalSwitchPort) GetPortSecurity

func (a *LogicalSwitchPort) GetPortSecurity() []string

func (*LogicalSwitchPort) GetTag

func (a *LogicalSwitchPort) GetTag() *int

func (*LogicalSwitchPort) GetTagRequest

func (a *LogicalSwitchPort) GetTagRequest() *int

func (*LogicalSwitchPort) GetType

func (a *LogicalSwitchPort) GetType() string

func (*LogicalSwitchPort) GetUUID

func (a *LogicalSwitchPort) GetUUID() string

func (*LogicalSwitchPort) GetUp

func (a *LogicalSwitchPort) GetUp() *bool

type Meter

type Meter struct {
	UUID        string            `ovsdb:"_uuid"`
	Bands       []string          `ovsdb:"bands"`
	ExternalIDs map[string]string `ovsdb:"external_ids"`
	Fair        *bool             `ovsdb:"fair"`
	Name        string            `ovsdb:"name"`
	Unit        MeterUnit         `ovsdb:"unit"`
}

Meter defines an object in Meter table

func (*Meter) CloneModel

func (a *Meter) CloneModel() model.Model

func (*Meter) CloneModelInto

func (a *Meter) CloneModelInto(b model.Model)

func (*Meter) DeepCopy

func (a *Meter) DeepCopy() *Meter

func (*Meter) DeepCopyInto

func (a *Meter) DeepCopyInto(b *Meter)

func (*Meter) Equals

func (a *Meter) Equals(b *Meter) bool

func (*Meter) EqualsModel

func (a *Meter) EqualsModel(b model.Model) bool

func (*Meter) GetBands

func (a *Meter) GetBands() []string

func (*Meter) GetExternalIDs

func (a *Meter) GetExternalIDs() map[string]string

func (*Meter) GetFair

func (a *Meter) GetFair() *bool

func (*Meter) GetName

func (a *Meter) GetName() string

func (*Meter) GetUUID

func (a *Meter) GetUUID() string

func (*Meter) GetUnit

func (a *Meter) GetUnit() MeterUnit

type MeterBand

type MeterBand struct {
	UUID        string            `ovsdb:"_uuid"`
	Action      MeterBandAction   `ovsdb:"action"`
	BurstSize   int               `ovsdb:"burst_size"`
	ExternalIDs map[string]string `ovsdb:"external_ids"`
	Rate        int               `ovsdb:"rate"`
}

MeterBand defines an object in Meter_Band table

func (*MeterBand) CloneModel

func (a *MeterBand) CloneModel() model.Model

func (*MeterBand) CloneModelInto

func (a *MeterBand) CloneModelInto(b model.Model)

func (*MeterBand) DeepCopy

func (a *MeterBand) DeepCopy() *MeterBand

func (*MeterBand) DeepCopyInto

func (a *MeterBand) DeepCopyInto(b *MeterBand)

func (*MeterBand) Equals

func (a *MeterBand) Equals(b *MeterBand) bool

func (*MeterBand) EqualsModel

func (a *MeterBand) EqualsModel(b model.Model) bool

func (*MeterBand) GetAction

func (a *MeterBand) GetAction() MeterBandAction

func (*MeterBand) GetBurstSize

func (a *MeterBand) GetBurstSize() int

func (*MeterBand) GetExternalIDs

func (a *MeterBand) GetExternalIDs() map[string]string

func (*MeterBand) GetRate

func (a *MeterBand) GetRate() int

func (*MeterBand) GetUUID

func (a *MeterBand) GetUUID() string

type MeterBandAction

type MeterBandAction = string
var (
	MeterBandActionDrop MeterBandAction = "drop"
)

type MeterUnit

type MeterUnit = string
var (
	MeterUnitKbps  MeterUnit = "kbps"
	MeterUnitPktps MeterUnit = "pktps"
)

type Mirror

type Mirror struct {
	UUID        string            `ovsdb:"_uuid"`
	ExternalIDs map[string]string `ovsdb:"external_ids"`
	Filter      MirrorFilter      `ovsdb:"filter"`
	Index       int               `ovsdb:"index"`
	Name        string            `ovsdb:"name"`
	Sink        string            `ovsdb:"sink"`
	Type        MirrorType        `ovsdb:"type"`
}

Mirror defines an object in Mirror table

func (*Mirror) CloneModel

func (a *Mirror) CloneModel() model.Model

func (*Mirror) CloneModelInto

func (a *Mirror) CloneModelInto(b model.Model)

func (*Mirror) DeepCopy

func (a *Mirror) DeepCopy() *Mirror

func (*Mirror) DeepCopyInto

func (a *Mirror) DeepCopyInto(b *Mirror)

func (*Mirror) Equals

func (a *Mirror) Equals(b *Mirror) bool

func (*Mirror) EqualsModel

func (a *Mirror) EqualsModel(b model.Model) bool

func (*Mirror) GetExternalIDs

func (a *Mirror) GetExternalIDs() map[string]string

func (*Mirror) GetFilter

func (a *Mirror) GetFilter() MirrorFilter

func (*Mirror) GetIndex

func (a *Mirror) GetIndex() int

func (*Mirror) GetName

func (a *Mirror) GetName() string

func (*Mirror) GetSink

func (a *Mirror) GetSink() string

func (*Mirror) GetType

func (a *Mirror) GetType() MirrorType

func (*Mirror) GetUUID

func (a *Mirror) GetUUID() string

type MirrorFilter

type MirrorFilter = string

type MirrorType

type MirrorType = string

type NAT

type NAT struct {
	UUID              string            `ovsdb:"_uuid"`
	AllowedExtIPs     *string           `ovsdb:"allowed_ext_ips"`
	ExemptedExtIPs    *string           `ovsdb:"exempted_ext_ips"`
	ExternalIDs       map[string]string `ovsdb:"external_ids"`
	ExternalIP        string            `ovsdb:"external_ip"`
	ExternalMAC       *string           `ovsdb:"external_mac"`
	ExternalPortRange string            `ovsdb:"external_port_range"`
	GatewayPort       *string           `ovsdb:"gateway_port"`
	LogicalIP         string            `ovsdb:"logical_ip"`
	LogicalPort       *string           `ovsdb:"logical_port"`
	Match             string            `ovsdb:"match"`
	Options           map[string]string `ovsdb:"options"`
	Priority          int               `ovsdb:"priority"`
	Type              NATType           `ovsdb:"type"`
}

NAT defines an object in NAT table

func (*NAT) CloneModel

func (a *NAT) CloneModel() model.Model

func (*NAT) CloneModelInto

func (a *NAT) CloneModelInto(b model.Model)

func (*NAT) DeepCopy

func (a *NAT) DeepCopy() *NAT

func (*NAT) DeepCopyInto

func (a *NAT) DeepCopyInto(b *NAT)

func (*NAT) Equals

func (a *NAT) Equals(b *NAT) bool

func (*NAT) EqualsModel

func (a *NAT) EqualsModel(b model.Model) bool

func (*NAT) GetAllowedExtIPs

func (a *NAT) GetAllowedExtIPs() *string

func (*NAT) GetExemptedExtIPs

func (a *NAT) GetExemptedExtIPs() *string

func (*NAT) GetExternalIDs

func (a *NAT) GetExternalIDs() map[string]string

func (*NAT) GetExternalIP

func (a *NAT) GetExternalIP() string

func (*NAT) GetExternalMAC

func (a *NAT) GetExternalMAC() *string

func (*NAT) GetExternalPortRange

func (a *NAT) GetExternalPortRange() string

func (*NAT) GetGatewayPort

func (a *NAT) GetGatewayPort() *string

func (*NAT) GetLogicalIP

func (a *NAT) GetLogicalIP() string

func (*NAT) GetLogicalPort

func (a *NAT) GetLogicalPort() *string

func (*NAT) GetMatch

func (a *NAT) GetMatch() string

func (*NAT) GetOptions

func (a *NAT) GetOptions() map[string]string

func (*NAT) GetPriority

func (a *NAT) GetPriority() int

func (*NAT) GetType

func (a *NAT) GetType() NATType

func (*NAT) GetUUID

func (a *NAT) GetUUID() string

type NATType

type NATType = string
var (
	NATTypeDNAT        NATType = "dnat"
	NATTypeSNAT        NATType = "snat"
	NATTypeDNATAndSNAT NATType = "dnat_and_snat"
)

type NBGlobal

type NBGlobal struct {
	UUID           string            `ovsdb:"_uuid"`
	Connections    []string          `ovsdb:"connections"`
	ExternalIDs    map[string]string `ovsdb:"external_ids"`
	HvCfg          int               `ovsdb:"hv_cfg"`
	HvCfgTimestamp int               `ovsdb:"hv_cfg_timestamp"`
	Ipsec          bool              `ovsdb:"ipsec"`
	Name           string            `ovsdb:"name"`
	NbCfg          int               `ovsdb:"nb_cfg"`
	NbCfgTimestamp int               `ovsdb:"nb_cfg_timestamp"`
	Options        map[string]string `ovsdb:"options"`
	SbCfg          int               `ovsdb:"sb_cfg"`
	SbCfgTimestamp int               `ovsdb:"sb_cfg_timestamp"`
	SSL            *string           `ovsdb:"ssl"`
}

NBGlobal defines an object in NB_Global table

func (*NBGlobal) CloneModel

func (a *NBGlobal) CloneModel() model.Model

func (*NBGlobal) CloneModelInto

func (a *NBGlobal) CloneModelInto(b model.Model)

func (*NBGlobal) DeepCopy

func (a *NBGlobal) DeepCopy() *NBGlobal

func (*NBGlobal) DeepCopyInto

func (a *NBGlobal) DeepCopyInto(b *NBGlobal)

func (*NBGlobal) Equals

func (a *NBGlobal) Equals(b *NBGlobal) bool

func (*NBGlobal) EqualsModel

func (a *NBGlobal) EqualsModel(b model.Model) bool

func (*NBGlobal) GetConnections

func (a *NBGlobal) GetConnections() []string

func (*NBGlobal) GetExternalIDs

func (a *NBGlobal) GetExternalIDs() map[string]string

func (*NBGlobal) GetHvCfg

func (a *NBGlobal) GetHvCfg() int

func (*NBGlobal) GetHvCfgTimestamp

func (a *NBGlobal) GetHvCfgTimestamp() int

func (*NBGlobal) GetIpsec

func (a *NBGlobal) GetIpsec() bool

func (*NBGlobal) GetName

func (a *NBGlobal) GetName() string

func (*NBGlobal) GetNbCfg

func (a *NBGlobal) GetNbCfg() int

func (*NBGlobal) GetNbCfgTimestamp

func (a *NBGlobal) GetNbCfgTimestamp() int

func (*NBGlobal) GetOptions

func (a *NBGlobal) GetOptions() map[string]string

func (*NBGlobal) GetSSL

func (a *NBGlobal) GetSSL() *string

func (*NBGlobal) GetSbCfg

func (a *NBGlobal) GetSbCfg() int

func (*NBGlobal) GetSbCfgTimestamp

func (a *NBGlobal) GetSbCfgTimestamp() int

func (*NBGlobal) GetUUID

func (a *NBGlobal) GetUUID() string

type PortGroup

type PortGroup struct {
	UUID        string            `ovsdb:"_uuid"`
	ACLs        []string          `ovsdb:"acls"`
	ExternalIDs map[string]string `ovsdb:"external_ids"`
	Name        string            `ovsdb:"name"`
	Ports       []string          `ovsdb:"ports"`
}

PortGroup defines an object in Port_Group table

func (*PortGroup) CloneModel

func (a *PortGroup) CloneModel() model.Model

func (*PortGroup) CloneModelInto

func (a *PortGroup) CloneModelInto(b model.Model)

func (*PortGroup) DeepCopy

func (a *PortGroup) DeepCopy() *PortGroup

func (*PortGroup) DeepCopyInto

func (a *PortGroup) DeepCopyInto(b *PortGroup)

func (*PortGroup) Equals

func (a *PortGroup) Equals(b *PortGroup) bool

func (*PortGroup) EqualsModel

func (a *PortGroup) EqualsModel(b model.Model) bool

func (*PortGroup) GetACLs

func (a *PortGroup) GetACLs() []string

func (*PortGroup) GetExternalIDs

func (a *PortGroup) GetExternalIDs() map[string]string

func (*PortGroup) GetName

func (a *PortGroup) GetName() string

func (*PortGroup) GetPorts

func (a *PortGroup) GetPorts() []string

func (*PortGroup) GetUUID

func (a *PortGroup) GetUUID() string

type QoS

type QoS struct {
	UUID        string            `ovsdb:"_uuid"`
	Action      map[string]int    `ovsdb:"action"`
	Bandwidth   map[string]int    `ovsdb:"bandwidth"`
	Direction   QoSDirection      `ovsdb:"direction"`
	ExternalIDs map[string]string `ovsdb:"external_ids"`
	Match       string            `ovsdb:"match"`
	Priority    int               `ovsdb:"priority"`
}

QoS defines an object in QoS table

func (*QoS) CloneModel

func (a *QoS) CloneModel() model.Model

func (*QoS) CloneModelInto

func (a *QoS) CloneModelInto(b model.Model)

func (*QoS) DeepCopy

func (a *QoS) DeepCopy() *QoS

func (*QoS) DeepCopyInto

func (a *QoS) DeepCopyInto(b *QoS)

func (*QoS) Equals

func (a *QoS) Equals(b *QoS) bool

func (*QoS) EqualsModel

func (a *QoS) EqualsModel(b model.Model) bool

func (*QoS) GetAction

func (a *QoS) GetAction() map[string]int

func (*QoS) GetBandwidth

func (a *QoS) GetBandwidth() map[string]int

func (*QoS) GetDirection

func (a *QoS) GetDirection() QoSDirection

func (*QoS) GetExternalIDs

func (a *QoS) GetExternalIDs() map[string]string

func (*QoS) GetMatch

func (a *QoS) GetMatch() string

func (*QoS) GetPriority

func (a *QoS) GetPriority() int

func (*QoS) GetUUID

func (a *QoS) GetUUID() string

type QoSAction

type QoSAction = string

type QoSBandwidth

type QoSBandwidth = string

type QoSDirection

type QoSDirection = string

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"`
	SSLCiphers      string            `ovsdb:"ssl_ciphers"`
	SSLProtocols    string            `ovsdb:"ssl_protocols"`
}

SSL defines an object in SSL table

func (*SSL) CloneModel

func (a *SSL) CloneModel() model.Model

func (*SSL) CloneModelInto

func (a *SSL) CloneModelInto(b model.Model)

func (*SSL) DeepCopy

func (a *SSL) DeepCopy() *SSL

func (*SSL) DeepCopyInto

func (a *SSL) DeepCopyInto(b *SSL)

func (*SSL) Equals

func (a *SSL) Equals(b *SSL) bool

func (*SSL) EqualsModel

func (a *SSL) EqualsModel(b model.Model) bool

func (*SSL) GetBootstrapCaCert

func (a *SSL) GetBootstrapCaCert() bool

func (*SSL) GetCaCert

func (a *SSL) GetCaCert() string

func (*SSL) GetCertificate

func (a *SSL) GetCertificate() string

func (*SSL) GetExternalIDs

func (a *SSL) GetExternalIDs() map[string]string

func (*SSL) GetPrivateKey

func (a *SSL) GetPrivateKey() string

func (*SSL) GetSSLCiphers

func (a *SSL) GetSSLCiphers() string

func (*SSL) GetSSLProtocols

func (a *SSL) GetSSLProtocols() string

func (*SSL) GetUUID

func (a *SSL) GetUUID() string

type Sample

type Sample struct {
	UUID       string   `ovsdb:"_uuid"`
	Collectors []string `ovsdb:"collectors"`
	Metadata   int      `ovsdb:"metadata"`
}

Sample defines an object in Sample table

func (*Sample) CloneModel

func (a *Sample) CloneModel() model.Model

func (*Sample) CloneModelInto

func (a *Sample) CloneModelInto(b model.Model)

func (*Sample) DeepCopy

func (a *Sample) DeepCopy() *Sample

func (*Sample) DeepCopyInto

func (a *Sample) DeepCopyInto(b *Sample)

func (*Sample) Equals

func (a *Sample) Equals(b *Sample) bool

func (*Sample) EqualsModel

func (a *Sample) EqualsModel(b model.Model) bool

func (*Sample) GetCollectors

func (a *Sample) GetCollectors() []string

func (*Sample) GetMetadata

func (a *Sample) GetMetadata() int

func (*Sample) GetUUID

func (a *Sample) GetUUID() string

type SampleCollector

type SampleCollector struct {
	UUID        string            `ovsdb:"_uuid"`
	ExternalIDs map[string]string `ovsdb:"external_ids"`
	ID          int               `ovsdb:"id"`
	Name        string            `ovsdb:"name"`
	Probability int               `ovsdb:"probability"`
	SetID       int               `ovsdb:"set_id"`
}

SampleCollector defines an object in Sample_Collector table

func (*SampleCollector) CloneModel

func (a *SampleCollector) CloneModel() model.Model

func (*SampleCollector) CloneModelInto

func (a *SampleCollector) CloneModelInto(b model.Model)

func (*SampleCollector) DeepCopy

func (a *SampleCollector) DeepCopy() *SampleCollector

func (*SampleCollector) DeepCopyInto

func (a *SampleCollector) DeepCopyInto(b *SampleCollector)

func (*SampleCollector) Equals

func (a *SampleCollector) Equals(b *SampleCollector) bool

func (*SampleCollector) EqualsModel

func (a *SampleCollector) EqualsModel(b model.Model) bool

func (*SampleCollector) GetExternalIDs

func (a *SampleCollector) GetExternalIDs() map[string]string

func (*SampleCollector) GetID

func (a *SampleCollector) GetID() int

func (*SampleCollector) GetName

func (a *SampleCollector) GetName() string

func (*SampleCollector) GetProbability

func (a *SampleCollector) GetProbability() int

func (*SampleCollector) GetSetID

func (a *SampleCollector) GetSetID() int

func (*SampleCollector) GetUUID

func (a *SampleCollector) GetUUID() string

type SamplingApp

type SamplingApp struct {
	UUID        string            `ovsdb:"_uuid"`
	ExternalIDs map[string]string `ovsdb:"external_ids"`
	ID          int               `ovsdb:"id"`
	Type        SamplingAppType   `ovsdb:"type"`
}

SamplingApp defines an object in Sampling_App table

func (*SamplingApp) CloneModel

func (a *SamplingApp) CloneModel() model.Model

func (*SamplingApp) CloneModelInto

func (a *SamplingApp) CloneModelInto(b model.Model)

func (*SamplingApp) DeepCopy

func (a *SamplingApp) DeepCopy() *SamplingApp

func (*SamplingApp) DeepCopyInto

func (a *SamplingApp) DeepCopyInto(b *SamplingApp)

func (*SamplingApp) Equals

func (a *SamplingApp) Equals(b *SamplingApp) bool

func (*SamplingApp) EqualsModel

func (a *SamplingApp) EqualsModel(b model.Model) bool

func (*SamplingApp) GetExternalIDs

func (a *SamplingApp) GetExternalIDs() map[string]string

func (*SamplingApp) GetID

func (a *SamplingApp) GetID() int

func (*SamplingApp) GetType

func (a *SamplingApp) GetType() SamplingAppType

func (*SamplingApp) GetUUID

func (a *SamplingApp) GetUUID() string

type SamplingAppType

type SamplingAppType = string
var (
	SamplingAppTypeDrop   SamplingAppType = "drop"
	SamplingAppTypeACLNew SamplingAppType = "acl-new"
	SamplingAppTypeACLEst SamplingAppType = "acl-est"
)

type StaticMACBinding

type StaticMACBinding struct {
	UUID               string `ovsdb:"_uuid"`
	IP                 string `ovsdb:"ip"`
	LogicalPort        string `ovsdb:"logical_port"`
	MAC                string `ovsdb:"mac"`
	OverrideDynamicMAC bool   `ovsdb:"override_dynamic_mac"`
}

StaticMACBinding defines an object in Static_MAC_Binding table

func (*StaticMACBinding) CloneModel

func (a *StaticMACBinding) CloneModel() model.Model

func (*StaticMACBinding) CloneModelInto

func (a *StaticMACBinding) CloneModelInto(b model.Model)

func (*StaticMACBinding) DeepCopy

func (a *StaticMACBinding) DeepCopy() *StaticMACBinding

func (*StaticMACBinding) DeepCopyInto

func (a *StaticMACBinding) DeepCopyInto(b *StaticMACBinding)

func (*StaticMACBinding) Equals

func (a *StaticMACBinding) Equals(b *StaticMACBinding) bool

func (*StaticMACBinding) EqualsModel

func (a *StaticMACBinding) EqualsModel(b model.Model) bool

func (*StaticMACBinding) GetIP

func (a *StaticMACBinding) GetIP() string

func (*StaticMACBinding) GetLogicalPort

func (a *StaticMACBinding) GetLogicalPort() string

func (*StaticMACBinding) GetMAC

func (a *StaticMACBinding) GetMAC() string

func (*StaticMACBinding) GetOverrideDynamicMAC

func (a *StaticMACBinding) GetOverrideDynamicMAC() bool

func (*StaticMACBinding) GetUUID

func (a *StaticMACBinding) GetUUID() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL