ovsinfravnet

package
v1.5.21 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OVSInfraVnetClient

type OVSInfraVnetClient struct {
	ContainerInfraVethName string
	// contains filtered or unexported fields
}

func NewInfraVnetClient

func NewInfraVnetClient(hostIfName, contIfName string, nl netlink.NetlinkInterface, plc platform.ExecClient) OVSInfraVnetClient

func (*OVSInfraVnetClient) ConfigureInfraVnetContainerInterface

func (client *OVSInfraVnetClient) ConfigureInfraVnetContainerInterface(infraIP net.IPNet) error

func (*OVSInfraVnetClient) CreateInfraVnetEndpoint

func (client *OVSInfraVnetClient) CreateInfraVnetEndpoint(bridgeName string) error

func (*OVSInfraVnetClient) CreateInfraVnetRules

func (client *OVSInfraVnetClient) CreateInfraVnetRules(
	bridgeName string,
	infraIP net.IPNet,
	hostPrimaryMac string,
	hostPort string,
) error

func (*OVSInfraVnetClient) DeleteInfraVnetEndpoint

func (client *OVSInfraVnetClient) DeleteInfraVnetEndpoint() error

func (*OVSInfraVnetClient) DeleteInfraVnetRules

func (client *OVSInfraVnetClient) DeleteInfraVnetRules(
	bridgeName string,
	infraIP net.IPNet,
	hostPort string,
)

func (*OVSInfraVnetClient) MoveInfraEndpointToContainerNS

func (client *OVSInfraVnetClient) MoveInfraEndpointToContainerNS(netnsPath string, nsID uintptr) error

func (*OVSInfraVnetClient) SetupInfraVnetContainerInterface

func (client *OVSInfraVnetClient) SetupInfraVnetContainerInterface() error

Jump to

Keyboard shortcuts

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