Bases: quantum.plugins.nicira.nicira_nvp_plugin.api_client.client.NvpApiClient
Eventlet-based implementation of NvpApiClient ABC.
-
acquire_redirect_connection(conn_params, auto_login=True, headers=None)
Check out or create connection to redirected NVP 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.