package
1.0.0-alpha-01-28-2017.10-23-11.UTC
Repository: https://github.com/contiv/netplugin.git
Documentation: pkg.go.dev
# Functions
AddBgp adds to the etcd state.
AllocAddressHandler allocates addresses.
CreateEndpoint creates an endpoint.
CreateEndpointGroup handles creation of endpoint group.
CreateEndpointHandler handles create endpoint requests.
CreateEndpoints creates the endpoints for a given tenant.
CreateEpBindings binds an endpoint to a host by updating host-label info in driver's endpoint configuration.
CreateGlobal sets the global state.
CreateNetwork creates a network from intent.
CreateNetworks creates the necessary virtual networks for the tenant provided by ConfigTenant.
CreateServiceLB adds to the etcd state.
CreateTenant sets the tenant's state according to the passed ConfigTenant.
DeleteBgp deletes from etcd state.
DeleteEndpointGroup handles endpoint group deletes.
DeleteEndpointHandler handles delete endpoint requests.
DeleteEndpointID deletes an endpoint by ID.
DeleteGlobal delete global state.
DeleteNetworkID removes a network by ID.
DeleteNetworks removes all the virtual networks for a given tenant.
DeleteServiceLB deletes from etcd state.
DeleteTenant deletes a tenant from the state store based on its ConfigTenant.
DeleteTenantID deletes a tenant from the state store, by ID.
GetClusterMode gets the cluster mode of the contiv plugin.
GetServiceID returns service id for etcd lookup.
IsAciConfigured returns true if aci is configured on netmaster.
IsDNSEnabled gets the status of whether DNS is enabled.
ListAllocatedIPs returns a string of allocated IPs in a network.
ListAvailableIPs returns a string of available IPs in a network.
PolicyAddRule adds a rule to existing policy.
PolicyAttach attaches a policy to an endpoint and adds associated rules to policyDB.
PolicyDelRule removes a rule from existing policy.
PolicyDetach detaches policy from an endpoint and removes associated rules from policyDB.
ReleaseAddressHandler releases addresses.
RestoreServiceProviderLBDb restores provider and servicelb db.
SetClusterMode sets the cluster mode for the contiv plugin.
SetDNSEnabled sets the status of DNS Enable.
SvcProviderUpdate propagates service provider updates to netplugins.
UpdateEndpointGroup updates the endpointgroups.
UpdateEndpointHandler handles update event from netplugin.
UpdateGlobal updates the global state.
# Constants
GetInfoRESTEndpoint is the REST endpoint to get netmaster info.
GetServiceRESTEndpoint is the REST endpoint to get service info of a service.
GetServicesRESTEndpoint is the REST endpoint to request info of all services.
GetVersionRESTEndpoint is the REST endpoint to get version info.
# Variables
EpgPolicyExists is a well known exported error.
# Structs
AddressAllocRequest is the address request from netplugin.
AddressAllocResponse is the response from netmaster.
AddressReleaseRequest is the release request from netplugin.
CreateEndpointRequest has the endpoint create request from netplugin.
CreateEndpointResponse has the endpoint create response from netmaster.
DeleteEndpointRequest is the delete endpoint request from netplugin.
DeleteEndpointResponse is the delete endpoint response from netmaster.
UpdateEndpointRequest has the update endpoint request from netplugin.
UpdateEndpointResponse is service provider update request from netplugin.