Documentation ¶
Index ¶
- func SetupVeth(containerInfo map[string]string) error
- type NuageRemoteDriver
- func (nuageremote *NuageRemoteDriver) AllocateNetwork(w http.ResponseWriter, req *http.Request)
- func (nuageremote *NuageRemoteDriver) CreateEndpoint(w http.ResponseWriter, req *http.Request)
- func (nuageremote *NuageRemoteDriver) CreateNetwork(w http.ResponseWriter, req *http.Request)
- func (nuageremote *NuageRemoteDriver) DeleteEndpoint(w http.ResponseWriter, req *http.Request)
- func (nuageremote *NuageRemoteDriver) DeleteNetwork(w http.ResponseWriter, req *http.Request)
- func (nuageremote *NuageRemoteDriver) DiscoverDelete(w http.ResponseWriter, req *http.Request)
- func (nuageremote *NuageRemoteDriver) DiscoverNew(w http.ResponseWriter, req *http.Request)
- func (nuageremote *NuageRemoteDriver) EndpointInfo(w http.ResponseWriter, req *http.Request)
- func (nuageremote *NuageRemoteDriver) FreeNetwork(w http.ResponseWriter, req *http.Request)
- func (nuageremote *NuageRemoteDriver) GetCapabilities(w http.ResponseWriter, req *http.Request)
- func (nuageremote *NuageRemoteDriver) Join(w http.ResponseWriter, req *http.Request)
- func (nuageremote *NuageRemoteDriver) Leave(w http.ResponseWriter, req *http.Request)
- func (nuageremote *NuageRemoteDriver) ProgramExternalConnectivity(w http.ResponseWriter, req *http.Request)
- func (nuageremote *NuageRemoteDriver) RevokeExternalConnectivity(w http.ResponseWriter, req *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NuageRemoteDriver ¶
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