Documentation ¶
Index ¶
- type NuageIPAMDriver
- func (nuageipam *NuageIPAMDriver) GateWayAddressRequest(r *ipam.RequestAddressRequest) (*ipam.RequestAddressResponse, error)
- func (nuageipam *NuageIPAMDriver) GetCapabilities(w http.ResponseWriter, req *http.Request)
- func (nuageipam *NuageIPAMDriver) GetDefaultAddressSpaces(w http.ResponseWriter, req *http.Request)
- func (nuageipam *NuageIPAMDriver) ReleaseAddress(w http.ResponseWriter, req *http.Request)
- func (nuageipam *NuageIPAMDriver) ReleasePool(w http.ResponseWriter, req *http.Request)
- func (nuageipam *NuageIPAMDriver) RequestAddress(w http.ResponseWriter, req *http.Request)
- func (nuageipam *NuageIPAMDriver) RequestPool(w http.ResponseWriter, req *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NuageIPAMDriver ¶
NuageIPAMDriver Ipam Driver structure
func NewNuageIPAMDriver ¶
func NewNuageIPAMDriver(config *nuageConfig.NuageLibNetworkConfig, channels *nuageApi.NuageLibNetworkChannels, serveMux *http.ServeMux) (*NuageIPAMDriver, error)
NewNuageIPAMDriver factory method for IPAM Driver
func (*NuageIPAMDriver) GateWayAddressRequest ¶
func (nuageipam *NuageIPAMDriver) GateWayAddressRequest(r *ipam.RequestAddressRequest) (*ipam.RequestAddressResponse, error)
GateWayAddressRequest function takes of gateway and default ip assignment
func (*NuageIPAMDriver) GetCapabilities ¶
func (nuageipam *NuageIPAMDriver) GetCapabilities(w http.ResponseWriter, req *http.Request)
GetCapabilities return capabilities
func (*NuageIPAMDriver) GetDefaultAddressSpaces ¶
func (nuageipam *NuageIPAMDriver) GetDefaultAddressSpaces(w http.ResponseWriter, req *http.Request)
GetDefaultAddressSpaces returns the default address space
func (*NuageIPAMDriver) ReleaseAddress ¶
func (nuageipam *NuageIPAMDriver) ReleaseAddress(w http.ResponseWriter, req *http.Request)
ReleaseAddress releases an ip address TODO: Donot do anything if it is gateway address
func (*NuageIPAMDriver) ReleasePool ¶
func (nuageipam *NuageIPAMDriver) ReleasePool(w http.ResponseWriter, req *http.Request)
ReleasePool releases a pool of ip addresses
func (*NuageIPAMDriver) RequestAddress ¶
func (nuageipam *NuageIPAMDriver) RequestAddress(w http.ResponseWriter, req *http.Request)
RequestAddress allocates an ip address
func (*NuageIPAMDriver) RequestPool ¶
func (nuageipam *NuageIPAMDriver) RequestPool(w http.ResponseWriter, req *http.Request)
RequestPool allocates a new pool
Click to show internal directories.
Click to hide internal directories.