Bases: vmware_nsx.api_client.base.ApiClientBase
Eventlet-based implementation of NSX ApiClient ABC.
-
acquire_redirect_connection(conn_params, auto_login=True, headers=None)
Check out or create connection to redirected NSX API server.
- Args:
- conn_params: tuple specifying target of redirect, see
- self._conn_params()
auto_login: returned connection should have valid session cookie
headers: headers to pass on if auto_login
- Returns: An available HTTPConnection instance corresponding to the
- specified conn_params. If a connection did not previously
exist, new connections are created with the highest prioity
in the connection pool and one of these new connections
returned.