ovssubnet

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2015 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FlowController

type FlowController interface {
	Setup(localSubnet, globalSubnet string) error
	AddOFRules(minionIP, localSubnet, localIP string) error
	DelOFRules(minionIP, localIP string) error
}

type OvsController

type OvsController struct {
	// contains filtered or unexported fields
}

func NewController

func NewController(sub api.SubnetRegistry, hostname string, selfIP string, ready chan struct{}) (*OvsController, error)

func NewDefaultController

func NewDefaultController(sub api.SubnetRegistry, hostname string, selfIP string, ready chan struct{}) (*OvsController, error)

func NewKubeController

func NewKubeController(sub api.SubnetRegistry, hostname string, selfIP string, ready chan struct{}) (*OvsController, error)

func (*OvsController) AddNode

func (oc *OvsController) AddNode(minion string) error

func (*OvsController) DeleteNode

func (oc *OvsController) DeleteNode(minion string) error

func (*OvsController) ServeExistingMinions

func (oc *OvsController) ServeExistingMinions() error

func (*OvsController) StartMaster

func (oc *OvsController) StartMaster(sync bool, containerNetwork string, containerSubnetLength uint) error

func (*OvsController) StartNode

func (oc *OvsController) StartNode(sync, skipsetup bool) error

func (*OvsController) Stop

func (oc *OvsController) Stop()

Directories

Path Synopsis
lbr

Jump to

Keyboard shortcuts

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