Remove APIClient singleton from fuelclient library
Fuelclient connection configuration was hardcoded
and it was impossible to create clients for
multiple fuel servers.
User should be able to use multiple connections.
This patches introduces fuelclient.connect()
function which returns conneciton object that
can be used as a parameter to fuelclient.get_client()
function.
Reviewed: https:/ /review. openstack. org/354177 /git.openstack. org/cgit/ openstack/ python- fuelclient/ commit/ ?id=fd6e2dc601a 77cfcb9422ab87a de49065d108cc3
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit fd6e2dc601a77cf cb9422ab87ade49 065d108cc3
Author: Alexander Saprykin <email address hidden>
Date: Tue Apr 26 11:49:47 2016 +0200
Remove APIClient singleton from fuelclient library
Fuelclient connection configuration was hardcoded
and it was impossible to create clients for
multiple fuel servers.
User should be able to use multiple connections. connect( ) get_client( )
This patches introduces fuelclient.
function which returns conneciton object that
can be used as a parameter to fuelclient.
function.
Closes-Bug: #1454347 e9cbeac0543c3a7 125d97c1152
Change-Id: I81f630a2bd8464