Documentation ¶
Index ¶
- func AddFlow(brName, containerA, ifA, containerB, ifB string)
- func AddPortToContainer(brName, ifName, containerName string, settings ovsdocker.PortSettings, ...)
- func ClearPortsFromContainer(brName, containerName string)
- func CreateBridge(name string)
- func DelPortFromContainer(brName, ifName, containerName string)
- func DeleteBridge(name string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddPortToContainer ¶
func AddPortToContainer(brName, ifName, containerName string, settings ovsdocker.PortSettings, hostIf *ovsdocker.OVSInterface, bridge bool)
AddPortToContainer links a container to an OVS bridge, creating an interface on the container network namespace using a veth pair.
func ClearPortsFromContainer ¶
func ClearPortsFromContainer(brName, containerName string)
ClearPortsFromContainer removes all OVS ports from a container
func CreateBridge ¶
func CreateBridge(name string)
func DelPortFromContainer ¶
func DelPortFromContainer(brName, ifName, containerName string)
DelPortFromContainer removes an OVS port from a container
func DeleteBridge ¶
func DeleteBridge(name string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.