Since the dawn of time we've labored under the crippling burden of
needing to explicitly request a version via configuration in order to
get a usable handle to the cloud. This is despite the hilarity of the
existence of a system for discovering available versions since basically
the beginning of the entire OpenStack project.
Today we shall be liberated from the tyranny of terrible past life
decisions on the part of our forefathers and shall usher forth the
shining freedom of actually using the discovery system.
Change-Id: I11c16d37d3ab3d77bed3a0bcbd98f1fa33b9555f
Now that the repo is renamed, update all of the references.
While we're at it, remote unused translation config.
Change-Id: Ib9f80eb809317483f83f79952470c2b57b2bb7c6
This patch fixes the file title format inconsistent.
Change-Id: I6ffff6f006cfb5c9b6663713acc55e2b2e30c28a
Signed-off-by: Yuanbin.Chen <cybing4@gmail.com>
There's no good reason to have the shade functions in a cloud attribute.
Go ahead and dive all the way in and make OpenStackCloud a mixin class.
There was one wrapped exception that got removed and thus the test to test
that we were wrapping it.
Change-Id: Iebd80fe5bc511ea879ea71aa88ce7d79c5e8fa58
This caps off a bunch of work to get to the new and improved
Resouce2/Proxy2 interfaces. All of the services have been migrated and
the old classes have been removed. Rename openstack.resource2 to
openstack.resource and openstack.proxy2 to openstack.proxy.
Change-Id: I0b7e1c679358e1f60b5316a255aad3a59fbbc8a9
shade and openstacksdk each have a logging doc and a logging setup helper
function. They both basically do the same thing, and we have a TODO item
about collapsing them.
This moves openstack.utils.enable_logging to openstack.enable_logging
(leaving behind a compat piece at openstack.utils.enable_logging) It
adds the shade functionality to it, and also changes the behavior to
match shade's WRT behavior when no parameters are passed (defaults to
logging to stdout)
Update the codebase to call openstack._log.setup_logging instead of
logging.getLogger directly, as setup_logging attaches a NullHandler by
default.
Collapse the docs into a single document.
There were only two places where openstacksdk was already logging to
something other than 'openstack'. Collapse those down to 'openstack'
until we come up with a reason to break them out more logically.
Change-Id: I45fd5ffd18255450d38a1f56c80f5c157ea19ae3