Documentation ¶
Index ¶
Constants ¶
View Source
const ( ErrOvnService = errors.Error("ovn controller") ErrOvnConfig = errors.Error("ovn controller configuration") )
Variables ¶
This section is empty.
Functions ¶
func HasOvnSupport ¶
func HasOvnSupport() bool
func InitOvn ¶
func InitOvn(opts SOvnOptions) (err error)
func MustGetOvnVersion ¶
func MustGetOvnVersion() string
func OvnControllerInsideContainer ¶
func OvnControllerInsideContainer() bool
Types ¶
type SOvnOptions ¶
type SOvnOptions struct { OvnSouthDatabase string `help:"address for accessing ovn south database" default:"$HOST_OVN_SOUTH_DATABASE|unix:/var/run/openvswitch/ovnsb_db.sock"` OvnIntegrationBridge string `help:"name of integration bridge for logical ports" default:"$HOST_OVN_INTEGRATION_BRIDGE|brvpc"` OvnEncapIpDetectionMethod string `help:"detection method for ovn_encap_ip" default:"$HOST_OVN_ENCAP_IP_DETECTION_METHOD"` OvnEncapIp string `help:"encap ip for ovn datapath. Default to src address of default route" default:"$HOST_OVN_ENCAP_IP"` OvnUnderlayMtu int `help:"mtu of ovn underlay network" default:"1500"` OvnMappedBridge string `help:"name of bridge for mapped traffic management" default:"$HOST_OVN_MAPPED_BRIDGE|brmapped"` OvnEipBridge string `help:"name of bridge for eip traffic management" default:"$HOST_OVN_EIP_BRIDGE|breip"` }
Click to show internal directories.
Click to hide internal directories.