_id
stringlengths
2
7
title
stringclasses
1 value
partition
stringclasses
3 values
text
stringlengths
6
2.61k
language
stringclasses
1 value
meta_information
dict
c7900
train
// Create a policy object
{ "resource": "" }
c7901
train
// Return a pointer to policy from collection
{ "resource": "" }
c7902
train
// Delete a policy object
{ "resource": "" }
c7903
train
// Validate a policy object
{ "resource": "" }
c7904
train
// Create a rule object
{ "resource": "" }
c7905
train
// Return a pointer to rule from collection
{ "resource": "" }
c7906
train
// Delete a rule object
{ "resource": "" }
c7907
train
// Validate a rule object
{ "resource": "" }
c7908
train
// Get a serviceLBOper object
{ "resource": "" }
c7909
train
// Create a serviceLB object
{ "resource": "" }
c7910
train
// Return a pointer to serviceLB from collection
{ "resource": "" }
c7911
train
// Delete a serviceLB object
{ "resource": "" }
c7912
train
// Validate a serviceLB object
{ "resource": "" }
c7913
train
// Get a tenantOper object
{ "resource": "" }
c7914
train
// Create a tenant object
{ "resource": "" }
c7915
train
// Return a pointer to tenant from collection
{ "resource": "" }
c7916
train
// Delete a tenant object
{ "resource": "" }
c7917
train
// Validate a tenant object
{ "resource": "" }
c7918
train
// Create a volume object
{ "resource": "" }
c7919
train
// Return a pointer to volume from collection
{ "resource": "" }
c7920
train
// Delete a volume object
{ "resource": "" }
c7921
train
// Validate a volume object
{ "resource": "" }
c7922
train
// Create a volumeProfile object
{ "resource": "" }
c7923
train
// Return a pointer to volumeProfile from collection
{ "resource": "" }
c7924
train
// Delete a volumeProfile object
{ "resource": "" }
c7925
train
// Validate a volumeProfile object
{ "resource": "" }
c7926
train
// NewAgent creates a new netplugin agent
{ "resource": "" }
c7927
train
// ProcessCurrentState processes current state as read from stateStore
{ "resource": "" }
c7928
train
// PostInit post initialization
{ "resource": "" }
c7929
train
// HandleEvents handles events
{ "resource": "" }
c7930
train
// serveRequests serve REST api requests
{ "resource": "" }
c7931
train
// ReclaimEndpointHandler reclaims endpoint
{ "resource": "" }
c7932
train
// applyConfig applies the netctl config to the specified ContivClient
{ "resource": "" }
c7933
train
// configPath returns the full path to the user's netctl config file
{ "resource": "" }
c7934
train
// writeConfig writes out the netctl config file, creating the directory and file as necessary
{ "resource": "" }
c7935
train
// getDockerHost returns the docker socket based on Environment settings
{ "resource": "" }
c7936
train
// AddLbService adds a LB service in non-multi tenant record
{ "resource": "" }
c7937
train
// DelLbService deletes LB service from non-multi tenant record
{ "resource": "" }
c7938
train
// InspectState returns state
{ "resource": "" }
c7939
train
// NsLookup returns name record,called from ofnet agent
{ "resource": "" }
c7940
train
// Init to start name server
{ "resource": "" }
c7941
train
//AddBgp adds to the etcd state
{ "resource": "" }
c7942
train
//DeleteBgp deletes from etcd state
{ "resource": "" }
c7943
train
// NewLock Create a new lock
{ "resource": "" }
c7944
train
// We couldnt acquire lock, Wait for changes on the lock
{ "resource": "" }
c7945
train
// Watch for changes on the lock
{ "resource": "" }
c7946
train
// initHelper initializes the NetPlugin by mapping driver names to // configuration, then it imports the configuration.
{ "resource": "" }
c7947
train
// NewStateDriver instantiates a 'named' state-driver with specified configuration
{ "resource": "" }
c7948
train
// GetStateDriver returns the singleton instance of the state-driver
{ "resource": "" }
c7949
train
// NewNetworkDriver instantiates a 'named' network-driver with specified configuration
{ "resource": "" }
c7950
train
// BuildNetworkFlags CLI networking flags for given binary
{ "resource": "" }
c7951
train
// BuildLogFlags CLI logging flags for given binary
{ "resource": "" }
c7952
train
// InitLogging initiates logging from CLI options
{ "resource": "" }
c7953
train
// ValidateDBOptions returns error if db options are not valid
{ "resource": "" }
c7954
train
// ValidateNetworkOptions returns error if network options are not valid
{ "resource": "" }
c7955
train
// FlattenFlags concatenate slices of flags into one slice
{ "resource": "" }
c7956
train
// FilterEmpty filters empty string from string slices
{ "resource": "" }
c7957
train
// FetchSysAttrs would read the system attributes and store them in the // exported vars for the plugin to use; some of the attributes may need OS // spefici methods to fetch, thus the first attribute to fetch is the OS type
{ "resource": "" }
c7958
train
// NewNodeProxy creates an instance of the node proxy
{ "resource": "" }
c7959
train
// DeleteLocalIP removes an entry from the localIP map
{ "resource": "" }
c7960
train
// AddLocalIP adds an entry to the localIP map
{ "resource": "" }
c7961
train
// AddSvcSpec adds a service to the proxy
{ "resource": "" }
c7962
train
// DelSvcSpec deletes a service from the proxy
{ "resource": "" }
c7963
train
// readLoginCredentials prompts for a username and password and returns them. // password input is not echoed back to the user for security reasons.
{ "resource": "" }
c7964
train
//addBgp is a netctl interface routine to add //bgp config
{ "resource": "" }
c7965
train
//deleteBgp is a netctl interface routine to delete //bgp config
{ "resource": "" }
c7966
train
//listBgpNeighbors is netctl interface routine to list //Bgp neighbor configs for a given host
{ "resource": "" }
c7967
train
//createServiceLB is a netctl interface routine to delete //service object
{ "resource": "" }
c7968
train
//deleteServiceLB is a netctl interface routine to delete //service object
{ "resource": "" }
c7969
train
//listServiceLB is a netctl interface routine to list //service object
{ "resource": "" }
c7970
train
// GetService gets all instances of a service
{ "resource": "" }
c7971
train
// WatchService watches for service instance changes
{ "resource": "" }
c7972
train
// DeregisterService deregisters a service instance
{ "resource": "" }
c7973
train
// getServiceInstances gets the current list of service instances
{ "resource": "" }
c7974
train
// DeleteEndpointGroup handles endpoint group deletes
{ "resource": "" }
c7975
train
//UpdateEndpointGroup updates the endpointgroups
{ "resource": "" }
c7976
train
//SvcProviderUpdate propagates service provider updates to netplugins
{ "resource": "" }
c7977
train
// ErrIfKeyExists checks if the error message contains "key not found".
{ "resource": "" }
c7978
train
// ReadAll the state for this resource.
{ "resource": "" }
c7979
train
// Allocate a resource.
{ "resource": "" }
c7980
train
// Deallocate the resource.
{ "resource": "" }
c7981
train
// ReadAll state for this path.
{ "resource": "" }
c7982
train
//DeleteHostAccPort deletes the access port
{ "resource": "" }
c7983
train
// CreateHostAccPort creates an access port
{ "resource": "" }
c7984
train
// Deinit performs cleanup prior to destruction of the OvsDriver
{ "resource": "" }
c7985
train
// CreateNetwork creates a network by named identifier
{ "resource": "" }
c7986
train
// DeleteNetwork deletes a network by named identifier
{ "resource": "" }
c7987
train
//UpdateEndpointGroup updates the epg
{ "resource": "" }
c7988
train
// DeleteEndpoint deletes an endpoint by named identifier.
{ "resource": "" }
c7989
train
// AddPeerHost adds VTEPs if necessary
{ "resource": "" }
c7990
train
// DeletePeerHost deletes associated VTEP
{ "resource": "" }
c7991
train
// AddBgp adds bgp config by named identifier
{ "resource": "" }
c7992
train
// DeleteBgp deletes bgp config by named identifier
{ "resource": "" }
c7993
train
// convSvcSpec converts core.ServiceSpec to ofnet.ServiceSpec
{ "resource": "" }
c7994
train
// AddSvcSpec invokes switch api
{ "resource": "" }
c7995
train
// DelSvcSpec invokes switch api
{ "resource": "" }
c7996
train
// GetEndpointStats gets all endpoints from all ovs instances
{ "resource": "" }
c7997
train
// InspectState returns driver state as json string
{ "resource": "" }
c7998
train
// InspectBgp returns bgp state as json string
{ "resource": "" }
c7999
train
// GlobalConfigUpdate sets the global level configs like arp-mode
{ "resource": "" }