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