remote

package
v5.4.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2019 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupVeth

func SetupVeth(containerInfo map[string]string) error

SetupVeth creates a veth pair and brings them up

Types

type NuageRemoteDriver

type NuageRemoteDriver struct {
	sync.Mutex
	// contains filtered or unexported fields
}

NuageRemoteDriver remote driver handler structure

func NewNuageRemoteDriver

func NewNuageRemoteDriver(config *nuageConfig.NuageLibNetworkConfig, channels *nuageApi.NuageLibNetworkChannels, serveMux *http.ServeMux) (*NuageRemoteDriver, error)

NewNuageRemoteDriver factory method for remote driver

func (*NuageRemoteDriver) AllocateNetwork

func (nuageremote *NuageRemoteDriver) AllocateNetwork(w http.ResponseWriter, req *http.Request)

AllocateNetwork creates a new Network and links it to an Existing network based on the Options given

func (*NuageRemoteDriver) CreateEndpoint

func (nuageremote *NuageRemoteDriver) CreateEndpoint(w http.ResponseWriter, req *http.Request)

CreateEndpoint creates a new MACVLAN Endpoint

func (*NuageRemoteDriver) CreateNetwork

func (nuageremote *NuageRemoteDriver) CreateNetwork(w http.ResponseWriter, req *http.Request)

CreateNetwork creates a new Network and links it to an Existing network based on the Options given

func (*NuageRemoteDriver) DeleteEndpoint

func (nuageremote *NuageRemoteDriver) DeleteEndpoint(w http.ResponseWriter, req *http.Request)

DeleteEndpoint deletes a Nuage Endpoint

func (*NuageRemoteDriver) DeleteNetwork

func (nuageremote *NuageRemoteDriver) DeleteNetwork(w http.ResponseWriter, req *http.Request)

DeleteNetwork deletes a network kn Libnetwork. The corresponding network in Nuage VSD is NOT deleted.

func (*NuageRemoteDriver) DiscoverDelete

func (nuageremote *NuageRemoteDriver) DiscoverDelete(w http.ResponseWriter, req *http.Request)

DiscoverDelete is not used by local scoped drivers

func (*NuageRemoteDriver) DiscoverNew

func (nuageremote *NuageRemoteDriver) DiscoverNew(w http.ResponseWriter, req *http.Request)

DiscoverNew is not used by local scoped drivers

func (*NuageRemoteDriver) EndpointInfo

func (nuageremote *NuageRemoteDriver) EndpointInfo(w http.ResponseWriter, req *http.Request)

EndpointInfo returns informatoin about a Nuage endpoint

func (*NuageRemoteDriver) FreeNetwork

func (nuageremote *NuageRemoteDriver) FreeNetwork(w http.ResponseWriter, req *http.Request)

FreeNetwork deletes a network. The corresponding network in Nuage VSD is NOT deleted.

func (*NuageRemoteDriver) GetCapabilities

func (nuageremote *NuageRemoteDriver) GetCapabilities(w http.ResponseWriter, req *http.Request)

GetCapabilities tells libnetwork this driver is local scope

func (*NuageRemoteDriver) Join

func (nuageremote *NuageRemoteDriver) Join(w http.ResponseWriter, req *http.Request)

Join creates a Nuage interface to be moved to the container netns

func (*NuageRemoteDriver) Leave

func (nuageremote *NuageRemoteDriver) Leave(w http.ResponseWriter, req *http.Request)

Leave removes a Nuage Endpoint from a container

func (*NuageRemoteDriver) ProgramExternalConnectivity

func (nuageremote *NuageRemoteDriver) ProgramExternalConnectivity(w http.ResponseWriter, req *http.Request)

ProgramExternalConnectivity programs external connectivity to container

func (*NuageRemoteDriver) RevokeExternalConnectivity

func (nuageremote *NuageRemoteDriver) RevokeExternalConnectivity(w http.ResponseWriter, req *http.Request)

RevokeExternalConnectivity revokes external connectivity of container

Jump to

Keyboard shortcuts

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