vxlan

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2016 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver struct {
	network.Driver
	// contains filtered or unexported fields
}

func NewDriver

func NewDriver(scope string, vtepdev string) (*Driver, error)

func (*Driver) CreateEndpoint

func (*Driver) CreateNetwork

func (d *Driver) CreateNetwork(r *network.CreateNetworkRequest) error

func (*Driver) DeleteEndpoint

func (d *Driver) DeleteEndpoint(r *network.DeleteEndpointRequest) error

func (*Driver) DeleteNetwork

func (d *Driver) DeleteNetwork(r *network.DeleteNetworkRequest) error

func (*Driver) DiscoverDelete added in v0.7.1

func (d *Driver) DiscoverDelete(r *network.DiscoveryNotification) error

func (*Driver) DiscoverNew added in v0.7.1

func (d *Driver) DiscoverNew(r *network.DiscoveryNotification) error

func (*Driver) EndpointInfo

func (d *Driver) EndpointInfo(r *network.InfoRequest) (*network.InfoResponse, error)

func (*Driver) GetCapabilities

func (d *Driver) GetCapabilities() (*network.CapabilitiesResponse, error)

func (*Driver) Join

func (*Driver) Leave

func (d *Driver) Leave(r *network.LeaveRequest) error

func (*Driver) ProgramExternalConnectivity added in v0.7.1

func (d *Driver) ProgramExternalConnectivity(r *network.ProgramExternalConnectivityRequest) error

The vxlan driver will not expose ports, just respond empty.

func (*Driver) RevokeExternalConnectivity added in v0.7.1

func (d *Driver) RevokeExternalConnectivity(r *network.RevokeExternalConnectivityRequest) error

type NetworkState

type NetworkState struct {
	VXLan    *netlink.Vxlan
	Gateway  string
	IPv4Data []*network.IPAMData
	IPv6Data []*network.IPAMData
}

NetworkState is filled in at network creation time it contains state that we wish to keep for each network

Jump to

Keyboard shortcuts

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