package
1.0.0
Repository: https://github.com/mapuri/netplugin.git
Documentation: pkg.go.dev

# Functions

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.
CreateHost creates a host in the state configuration.
CreateNetworks creates the necessary virtual networks for the tenant provided by ConfigTenant.
CreateTenant sets the tenant's state according to the passed ConfigTenant.
DeleteDelta deletes any existing configuration from netmaster's statestore that is not present in the configuration passed.
DeleteEndpointID deletes an endpoint by ID.
DeleteEndpoints deletes the endpoints for the tenant.
DeleteHost deletes a host by its ConfigHost state.
DeleteHostID deletes a host by ID.
DeleteNetworkID removes a network by ID.
DeleteNetworks removes all the virtual networks for a given tenant.
DeleteTenant deletes a tenant from the state store based on its ConfigTenant.
DeleteTenantID deletes a tenant from the state store, by ID.
ProcessAdditions adds the configuration passed to netmaster's statestore.
ProcessDeletions deletes the configuration passed from netmaster's statestore.

# Constants

AddConfigRESTEndpoint is the REST endpoint to post configuration additions.
DaemonURL is default url used by netmaster to listen for http requests.
DelConfigRESTEndpoint is the REST endpoint to post configuration deletions.
DesiredConfigRESTEndpoint is the REST endpoint to post desired configuration.
GetEndpointRESTEndpoint is the REST endpoint to request info of an endpoint.
GetEndpointsRESTEndpoint is the REST endpoint to request info of all endpoints.
GetNetworkRESTEndpoint is the REST endpoint to request info of a network.
GetNetworksRESTEndpoint is the REST endpoint to request info of all networks.
HostBindingConfigRESTEndpoint is the REST endpoint to post host binding configuration.

# Structs

HostConfig is the state carried for network + host maps.
NwConfig is the network configuration for a given tenant+network.