Bases: object
Interface for providers of HTTP connections which are responsible for creating and validating connections for their underlying HTTP support.
Determine if the given exception is related to connection failure. Return True if it’s a connection exception and False otherwise.
Create a new http connection for the said cluster and cluster provider. The actual connection should duck type requests.Session http methods (get(), put(), etc.).
A unique string name for this provider.
Validate the said connection for the given endpoint and cluster.
Bases: object
Indicator of overall cluster health with respect to the connectivity of the clusters managed endpoints.
Bases: object
Duck types the major HTTP based methods of a requests.Session such as get(), put(), post(), etc. and transparently proxies those calls to one of its managed NSX manager endpoints.
Bases: object
A single NSX manager endpoint (host) which includes related information such as the endpoint’s provider, state, etc.. A pool is used to hold connections to the endpoint which are doled out when proxying HTTP methods to the underlying connections.
Bases: object
Simple data holder which contains an endpoint and a connection for that endpoint.
Bases: object
Tracks the connectivity state for a said endpoint.
Bases: vmware_nsx.nsxlib.v3.cluster.ClusteredAPI
Extends ClusteredAPI to get conf values and setup the NSX v3 cluster.
Bases: vmware_nsx.nsxlib.v3.cluster.AbstractHTTPProvider
Concrete implementation of AbstractHTTPProvider using requests.Session() as the underlying connection.
Bases: object
Data holder for a provider which has a unique id and a connection URL.