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