_id stringlengths 2 7 | text stringlengths 6 2.61k | title stringclasses 1
value |
|---|---|---|
c8000 | // InspectNameserver returns nameserver state as json string | |
c8001 | // Init initializes the consul client | |
c8002 | // GetObj reads the object | |
c8003 | // ListDir returns a list of keys in a directory | |
c8004 | // SetObj writes an object | |
c8005 | // DelObj deletes an object | |
c8006 | // ClearState removes key from etcd. | |
c8007 | // ReadState reads key into a core.State with the unmarshaling function. | |
c8008 | // ReadAllState Reads all the state from baseKey and returns a list of core.State. | |
c8009 | // AddLink adds a one way link to target object | |
c8010 | // AddLinkSet Aadds a link into linkset. initialize the linkset if required | |
c8011 | // RemoveLinkSet removes a link from linkset | |
c8012 | // WriteObj writes the model to DB | |
c8013 | // ReadObj reads an object from DB | |
c8014 | // DeleteObj deletes and object from DB | |
c8015 | // ReadAllObj reads all objects of a type | |
c8016 | // GetEndpointGroupID returns endpoint group Id for a service
// It autocreates the endpoint group if it doesnt exist | |
c8017 | // getGwCIDR utility that reads the gw information | |
c8018 | // addPolicyContracts adds contracts defined by attached policy
// additionally, it adds contract links from this epg to those contracts | |
c8019 | //CreateAppNw Fill in the Nw spec and launch the nw infra | |
c8020 | //DeleteAppNw deletes the app profile from infra | |
c8021 | // NewLock returns a new lock instance | |
c8022 | // IsReleased Checks if the lock is released | |
c8023 | // createSession creates a consul-session for the lock | |
c8024 | // renewSession keeps the session alive.. If a session expires, it creates new one.. | |
c8025 | // GetEndpoint is a utility that reads the EP oper state | |
c8026 | // NewOvsdbDriver creates a new OVSDB driver instance.
// Create one ovsdb driver instance per OVS bridge that needs to be managed | |
c8027 | // Update updates the ovsdb with the libovsdb.TableUpdates. | |
c8028 | // Create or delete an OVS bridge instance | |
c8029 | // GetPortOrIntfNameFromID gets interface name from id | |
c8030 | // CreatePort creates an OVS port | |
c8031 | // GetInterfacesInPort gets list of interfaces in a port in sorted order | |
c8032 | // GetIntfInfo gets interface information from "Interface" table | |
c8033 | //CreatePortBond creates port bond in OVS | |
c8034 | // DeletePortBond deletes a port bond from OVS | |
c8035 | //UpdatePolicingRate will update the ingress policing rate in interface table. | |
c8036 | // CreateVtep creates a VTEP port on the OVS | |
c8037 | // GetOfpPortNo returns OFP port number for an interface | |
c8038 | // IsVtepPresent checks if VTEP already exists | |
c8039 | // SetClusterMode sets the cluster mode for the contiv plugin | |
c8040 | // CreateGlobal sets the global state | |
c8041 | // DeleteGlobal delete global state | |
c8042 | // DeleteTenant deletes a tenant from the state store based on its ConfigTenant. | |
c8043 | // IsAciConfigured returns true if aci is configured on netmaster. | |
c8044 | // get current version | |
c8045 | // slaveProxyHandler redirects to current master | |
c8046 | // ReadAll reads all state objects for the endpoints. | |
c8047 | // WatchAll fills a channel on each state event related to endpoints. | |
c8048 | // Init initializes the master daemon | |
c8049 | // Find all netplugin nodes and add them to ofnet master | |
c8050 | // getPluginAddress gets the adrress of the netplugin agent given the host name | |
c8051 | // ClearEndpoints clears all the endpoints | |
c8052 | // runLeader runs leader loop | |
c8053 | // runFollower runs the follower FSM loop | |
c8054 | // becomeLeader changes daemon FSM state to master | |
c8055 | // becomeFollower changes FSM state to follower | |
c8056 | // InitServices init watch services | |
c8057 | // RunMasterFsm runs netmaster FSM | |
c8058 | // getMasterInfo returns information about cluster | |
c8059 | // PolicyAttach attaches a policy to an endpoint and adds associated rules to policyDB | |
c8060 | // PolicyDetach detaches policy from an endpoint and removes associated rules from policyDB | |
c8061 | // PolicyAddRule adds a rule to existing policy | |
c8062 | // initStateDriver creates a state driver based on the cluster store URL | |
c8063 | // parseRange parses a string in "1,2-3,4-10" format and returns an array of values | |
c8064 | // processResource handles resource commands | |
c8065 | // execute name space commands | |
c8066 | // execute a batch of namespace commands | |
c8067 | // setUpAPIClient sets up an instance of the k8s api server | |
c8068 | // InitKubServiceWatch initializes the k8s service watch | |
c8069 | // InitCNIServer initializes the k8s cni server | |
c8070 | // epCleanUp deletes the ep from netplugin and netmaster | |
c8071 | // createEP creates the specified EP in contiv | |
c8072 | // getLink is a wrapper that fetches the netlink corresponding to the ifname | |
c8073 | // nsToPID is a utility that extracts the PID from the netns | |
c8074 | // setIfAttrs sets the required attributes for the container interface | |
c8075 | // setDefGw sets the default gateway for the container namespace | |
c8076 | // getEPSpec gets the EP spec using the pod attributes | |
c8077 | // deletePod is the handler for pod deletes | |
c8078 | // freeAddrOnErr deferred function that cleans up on error | |
c8079 | // CreateEndpoints creates the endpoints for a given tenant. | |
c8080 | // DeleteEndpoints deletes the endpoints on a give host | |
c8081 | // DeleteEndpointID deletes an endpoint by ID. | |
c8082 | // CreateEpBindings binds an endpoint to a host by updating host-label info
// in driver's endpoint configuration. | |
c8083 | // Some utility functions to work with the external contracts
// Cleanup external contracts from an epg. | |
c8084 | // Setup external contracts for an epg. | |
c8085 | // ExtContractsGroupCreate creates a new group of external contracts | |
c8086 | // ExtContractsGroupUpdate updates an existing group of contract sets | |
c8087 | // ExtContractsGroupDelete deletes an existing external contracts group | |
c8088 | // MakeHTTPHandler is a simple Wrapper for http handlers | |
c8089 | // UnknownAction is a catchall handler for additional driver functions | |
c8090 | // HTTPPost performs http POST operation | |
c8091 | // HTTPDel performs http DELETE operation | |
c8092 | // NewContivClient creates a new client instance | |
c8093 | // SetAuthToken sets the token used to authenticate with auth_proxy | |
c8094 | // Login performs a login to auth_proxy and returns the response and body | |
c8095 | // addCustomRequestHeader records a custom request header to be added to all outgoing requests | |
c8096 | // processCustomHeaders adds all custom request headers to the target request.
// this function is called before a GET, POST, or DELETE is sent by the client. | |
c8097 | // AciGwPost posts the aciGw object | |
c8098 | // AciGwList lists all aciGw objects | |
c8099 | // AciGwDelete deletes the aciGw object |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.