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/310197 /git.openstack. org/cgit/ openstack/ python- fuelclient/ commit/ ?id=05055066c19 0a38c25877b9d59 0f71678660233a
Committed: https:/
Submitter: Jenkins
Branch: master
commit 05055066c190a38 c25877b9d590f71 678660233a
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