Documentation ¶
Index ¶
- func MetadataDecoder(raw json.RawMessage) (common.Getter, error)
- type ACLMetadata
- type LRPMetadata
- type LSPMetadata
- type Metadata
- type Probe
- func (p *Probe) OnACLCreate(acl *goovn.ACL)
- func (p *Probe) OnACLDelete(acl *goovn.ACL)
- func (p *Probe) OnDHCPOptionsCreate(*goovn.DHCPOptions)
- func (p *Probe) OnDHCPOptionsDelete(*goovn.DHCPOptions)
- func (p *Probe) OnError(err error)
- func (p *Probe) OnLoadBalancerCreate(*goovn.LoadBalancer)
- func (p *Probe) OnLoadBalancerDelete(*goovn.LoadBalancer)
- func (p *Probe) OnLogicalPortCreate(lp *goovn.LogicalSwitchPort)
- func (p *Probe) OnLogicalPortDelete(lp *goovn.LogicalSwitchPort)
- func (p *Probe) OnLogicalRouterCreate(ls *goovn.LogicalRouter)
- func (p *Probe) OnLogicalRouterDelete(ls *goovn.LogicalRouter)
- func (p *Probe) OnLogicalRouterPortCreate(lp *goovn.LogicalRouterPort)
- func (p *Probe) OnLogicalRouterPortDelete(lp *goovn.LogicalRouterPort)
- func (p *Probe) OnLogicalSwitchCreate(ls *goovn.LogicalSwitch)
- func (p *Probe) OnLogicalSwitchDelete(ls *goovn.LogicalSwitch)
- func (p *Probe) OnQoSCreate(*goovn.QoS)
- func (p *Probe) OnQoSDelete(*goovn.QoS)
- func (p *Probe) Start()
- func (p *Probe) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MetadataDecoder ¶ added in v0.24.0
func MetadataDecoder(raw json.RawMessage) (common.Getter, error)
MetadataDecoder implements a json message raw decoder
Types ¶
type ACLMetadata ¶ added in v0.24.0
type ACLMetadata struct { Action string `json:",omitempty"` Direction string `json:",omitempty"` Log bool `json:",omitempty"` Match string `json:",omitempty"` Priority int64 `json:",omitempty"` }
ACLMetadata describes the information of an OVN ACL easyjson:json gendecoder
type LRPMetadata ¶ added in v0.24.0
type LRPMetadata struct { GatewayChassis []string `json:",omitempty"` IPv6RAConfigs graph.Metadata `json:",omitempty" field:"Metadata"` Networks []string `json:",omitempty"` Peer string `json:",omitempty"` }
LRPMetadata describes the information of an OVN logical router port easyjson:json gendecoder
type LSPMetadata ¶ added in v0.24.0
type LSPMetadata struct { Addresses []string `json:",omitempty"` PortSecurity []string `json:",omitempty"` DHCPv4Options string `json:",omitempty"` DHCPv6Options string `json:",omitempty"` Type string `json:",omitempty"` }
LSPMetadata describes the information of an OVN logical router easyjson:json gendecoder
type Metadata ¶ added in v0.24.0
type Metadata struct { LSPMetadata `json:",omitempty"` LRPMetadata `json:",omitempty"` ACLMetadata `json:",omitempty"` ExtID graph.Metadata `json:",omitempty" field:"Metadata"` Options graph.Metadata `json:",omitempty" field:"Metadata"` }
Metadata describes the information of an OVN object easyjson:json gendecoder
type Probe ¶
type Probe struct { graph.ListenerHandler // contains filtered or unexported fields }
Probe describes an OVN probe
func (*Probe) OnACLCreate ¶
OnACLCreate is called when an ACL is created
func (*Probe) OnACLDelete ¶
OnACLDelete is called when an ACL is deleted
func (*Probe) OnDHCPOptionsCreate ¶
func (p *Probe) OnDHCPOptionsCreate(*goovn.DHCPOptions)
OnDHCPOptionsCreate is called when DHCP options are created
func (*Probe) OnDHCPOptionsDelete ¶
func (p *Probe) OnDHCPOptionsDelete(*goovn.DHCPOptions)
OnDHCPOptionsDelete is called when DHCP options are deleted
func (*Probe) OnLoadBalancerCreate ¶
func (p *Probe) OnLoadBalancerCreate(*goovn.LoadBalancer)
OnLoadBalancerCreate is called when DHCP options are created
func (*Probe) OnLoadBalancerDelete ¶
func (p *Probe) OnLoadBalancerDelete(*goovn.LoadBalancer)
OnLoadBalancerDelete is called when DHCP options are deleted
func (*Probe) OnLogicalPortCreate ¶
func (p *Probe) OnLogicalPortCreate(lp *goovn.LogicalSwitchPort)
OnLogicalPortCreate is called when a logical port is created on a switch
func (*Probe) OnLogicalPortDelete ¶
func (p *Probe) OnLogicalPortDelete(lp *goovn.LogicalSwitchPort)
OnLogicalPortDelete is called when a logical is deleted from a switch
func (*Probe) OnLogicalRouterCreate ¶
func (p *Probe) OnLogicalRouterCreate(ls *goovn.LogicalRouter)
OnLogicalRouterCreate is called when a logical router is created
func (*Probe) OnLogicalRouterDelete ¶
func (p *Probe) OnLogicalRouterDelete(ls *goovn.LogicalRouter)
OnLogicalRouterDelete is called when a logical router is deleted
func (*Probe) OnLogicalRouterPortCreate ¶
func (p *Probe) OnLogicalRouterPortCreate(lp *goovn.LogicalRouterPort)
OnLogicalRouterPortCreate is called when a logical port is created on a router
func (*Probe) OnLogicalRouterPortDelete ¶
func (p *Probe) OnLogicalRouterPortDelete(lp *goovn.LogicalRouterPort)
OnLogicalRouterPortDelete is called when a logical port is removed from a router
func (*Probe) OnLogicalSwitchCreate ¶
func (p *Probe) OnLogicalSwitchCreate(ls *goovn.LogicalSwitch)
OnLogicalSwitchCreate is called when a logical switch is created
func (*Probe) OnLogicalSwitchDelete ¶
func (p *Probe) OnLogicalSwitchDelete(ls *goovn.LogicalSwitch)
OnLogicalSwitchDelete is called when a logical switch is deleted
func (*Probe) OnQoSCreate ¶
OnQoSCreate is called when QoS is created
func (*Probe) OnQoSDelete ¶
OnQoSDelete is called when QoS is deleted