_id
stringlengths
2
7
text
stringlengths
6
2.61k
title
stringclasses
1 value
c7800
// InitPolicyMgr initializes the policy manager
c7801
// NewEpgPolicy creates a new policy instance attached to an endpoint group
c7802
// restoreEpgPolicies restores all EPG policies from state store
c7803
// Delete deletes the epg policy
c7804
// AddRule adds a rule to epg policy
c7805
// DelRule removes a rule from epg policy
c7806
// parse and save env. variables
c7807
// parse labels from network_info
c7808
// send response received from netplugin to stdout
c7809
// send error response & return code
c7810
// handle http req & response to netplugin
c7811
// initialize netplugin client
c7812
// Get gets the version information
c7813
// StringFromInfo prints the versioning details
c7814
// InitDockPlugin initializes the docker plugin
c7815
// deactivate the plugin
c7816
// activate the plugin and register it as a network driver.
c7817
// GetDockerNetworkName gets network name from network UUID
c7818
// FindGroupFromTag finds the group that has matching tag
c7819
// FindNetworkFromTag finds the network that has matching tag
c7820
// createNetworkHelper creates the association between docker network and contiv network // if tag is given map docker net to epg or network, else create a contiv network
c7821
// deleteNetworkHelper removes the association between docker network // and contiv network. We have to remove docker network state before // remove network in contiv.
c7822
// Handles docker events monitored by dockerclient. Currently we only handle // container start and die event
c7823
//getLabelsFromContainerInspect returns the labels associated with the container
c7824
//getTenantFromContainerInspect returns the tenant the container belongs to.
c7825
// Init is not implemented.
c7826
// DeleteEndpoint is not implemented.
c7827
// AddPeerHost is not implemented.
c7828
// GlobalConfigUpdate is not implemented
c7829
// ReleaseAddressHandler releases addresses
c7830
// CreateEndpointHandler handles create endpoint requests
c7831
// DeleteEndpointHandler handles delete endpoint requests
c7832
// parse & save labels
c7833
// InitPlugin registers REST endpoints to handle requests from Mesos CNI plugins
c7834
// RegisterPlugin Register a plugin
c7835
// GetPlugin returns the plugin by name
c7836
// InitClient aims to support multi endpoints
c7837
// NewClient Create a new conf store
c7838
// GetDocknetName trims default tenant from network name
c7839
// UpdateDockerV2PluginName update the docker v2 plugin name
c7840
// DeleteDockNet deletes a network in docker daemon
c7841
// CreateDockNetState creates an entry in the docknet state store
c7842
// DeleteDockNetState delete the docknet entry from state store
c7843
// GetDocknetState gets the docknet entry from state store
c7844
// FindDocknetByUUID find the docknet by UUID
c7845
// GetK8SConfig reads and parses the contivKubeCfgFile
c7846
// SetUpK8SClient init K8S client
c7847
// getDefaultToken gets the token to access kubernetes API Server // from the secrets loaded on the container
c7848
// CreateNetworks creates the necessary virtual networks for the tenant // provided by ConfigTenant.
c7849
// DeleteNetworkID removes a network by ID.
c7850
// DeleteNetworks removes all the virtual networks for a given tenant.
c7851
// networkReleaseAddress release the ip address
c7852
// Add a master node
c7853
// delete master node
c7854
// getMasterLockHolder returns the IP of current master lock hoder
c7855
// MasterPostReq makes a POST request to master node
c7856
// Register netplugin with service registry
c7857
// Main loop to discover peer hosts and masters
c7858
// Init initializes the cluster module
c7859
// RunLoop registers netplugin service with cluster store and runs peer discovery
c7860
// Simple Wrapper for http handlers
c7861
// Get a aciGwOper object
c7862
// Create a aciGw object
c7863
// Return a pointer to aciGw from collection
c7864
// Delete a aciGw object
c7865
// Validate a aciGw object
c7866
// Create a appProfile object
c7867
// Return a pointer to appProfile from collection
c7868
// Delete a appProfile object
c7869
// Validate a appProfile object
c7870
// Get a BgpOper object
c7871
// Create a Bgp object
c7872
// Return a pointer to Bgp from collection
c7873
// Delete a Bgp object
c7874
// Validate a Bgp object
c7875
// Get a endpointOper object
c7876
// Get a endpointGroupOper object
c7877
// Create a endpointGroup object
c7878
// Return a pointer to endpointGroup from collection
c7879
// Delete a endpointGroup object
c7880
// Validate a endpointGroup object
c7881
// Create a extContractsGroup object
c7882
// Return a pointer to extContractsGroup from collection
c7883
// Delete a extContractsGroup object
c7884
// Validate a extContractsGroup object
c7885
// Get a globalOper object
c7886
// Create a global object
c7887
// Return a pointer to global from collection
c7888
// Delete a global object
c7889
// Validate a global object
c7890
// Create a netprofile object
c7891
// Return a pointer to netprofile from collection
c7892
// Delete a netprofile object
c7893
// Validate a netprofile object
c7894
// Get a networkOper object
c7895
// Create a network object
c7896
// Return a pointer to network from collection
c7897
// Delete a network object
c7898
// Validate a network object
c7899
// Get a policyOper object