Documentation
¶
Index ¶
- type OVS
- func (o *OVS) BridgeAdd(bridgeName string, mayExist bool) error
- func (o *OVS) BridgeDelete(bridgeName string) error
- func (o *OVS) BridgeExists(bridgeName string) (bool, error)
- func (o *OVS) BridgePortAdd(bridgeName string, portName string, mayExist bool) error
- func (o *OVS) BridgePortDelete(bridgeName string, portName string) error
- func (o *OVS) BridgePortSet(portName string, options ...string) error
- func (o *OVS) Installed() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OVS ¶
type OVS struct{}
OVS command wrapper.
func (*OVS) BridgeDelete ¶
BridgeDelete deletes an OVS bridge.
func (*OVS) BridgeExists ¶
BridgeExists returns true if OVS bridge exists.
func (*OVS) BridgePortAdd ¶
BridgePortAdd adds a port to the bridge (if already attached does nothing).
func (*OVS) BridgePortDelete ¶
BridgePortDelete deletes a port from the bridge (if already detached does nothing).
func (*OVS) BridgePortSet ¶
BridgePortSet sets port options.
Click to show internal directories.
Click to hide internal directories.