commit effb2a7d65afa545d6fd4d55b6b4647d2df77816
Author: Brian Curtin <email address hidden>
Date: Tue Nov 3 14:36:10 2015 -0600
Refactor os-client-config usage in from_config
This change allows the from_config factory function to better support
two angles from which it will most commonly be used.
1. When SDK is being used from within OSC, OSC will have obtained
configuration data from OCC and is better served by passing it directly
into SDK rather than SDK additionally accessing that data.
2. Direct users of the SDK, such as customer applications, are less
likely to have dealt directly with OCC and are better served by just
passing in the name of the configuration they want to run with.
Reviewed: https:/ /review. openstack. org/242641 /git.openstack. org/cgit/ openstack/ python- openstacksdk/ commit/ ?id=effb2a7d65a fa545d6fd4d55b6 b4647d2df77816
Committed: https:/
Submitter: Jenkins
Branch: master
commit effb2a7d65afa54 5d6fd4d55b6b464 7d2df77816
Author: Brian Curtin <email address hidden>
Date: Tue Nov 3 14:36:10 2015 -0600
Refactor os-client-config usage in from_config
This change allows the from_config factory function to better support
two angles from which it will most commonly be used.
1. When SDK is being used from within OSC, OSC will have obtained
configuration data from OCC and is better served by passing it directly
into SDK rather than SDK additionally accessing that data.
2. Direct users of the SDK, such as customer applications, are less
likely to have dealt directly with OCC and are better served by just
passing in the name of the configuration they want to run with.
Closes- Bug:1513920
Change-Id: I06f871b822e4b8 b0cc8cc8db9e7cc ff91f918e5a