This adds support for the recommended CLI using the OpenStackClient,
without modifying the existing Blazar shell CLI.
The existing shell command classes are used, by introducing a check in
the base comand class to use either the client passed by Blazar shell,
or the client using the osc_lib client_manager.
The argument --physical-reservation is also removed for the create lease
command when using the OpenStack client.
Implements: blueprint openstackclient-support
Change-Id: I97a7b91f0d05efc887307ac167e5c368276d4f81
For authentication, the community recommends the use of keystoneauth1
instead of python-keystoneclient. Therefore, Blazar should follow
this trend and migrate to keystoneauth1.
This patch enables blazarclient to use keystoneauth1 for authentications
and REST API requests and also enables use of project_id, project_name,
project_domain_id, project_domain_name, user_domain_id and user_domain_name
for authentication.
Change-Id: I08c8b753972c27b4e6bbe07a8aa51e0e72fbc56d
Closes-Bug: #1661215
Move over to the fancy new oslo i18n library.
Removing openstack/common from all OpenStack code in favor of the
Oslo libraries is a project wide goal for the Ocata release.
Change-Id: I6ec6252b01f04f211602369a6ce6a86bf75e77ad
Move over to the fancy new oslo utils library.
Removing openstack/common from all OpenStack code in favor of the
Oslo libraries is a project wide goal for the Ocata release.
Deleted files that were no longer used.
Removed reference to lockutils in tox.ini.
Change-Id: I4e588a6cac86d954a5bb2c10e825de88cf06a777
Move over to the fancy new oslo logging library.
Removing openstack/common from all OpenStack code in favor of the
Oslo libraries is a project wide goal for the Ocata release.
Change-Id: I552af5b9cf8586b32eb45b2c288d3d2a260fbcb5
Update hacking version so that it works with newer pbr releases, other
requirements depend on newer pbr and this causes a conflict.
Add pbr to requirements since it's needed.
Add pep8 ignore for those tests that currently fail.
Rename oslo.config to oslo_config in imports.
Change-Id: I23c0afa855be4773a8799d09d1cda011e85367bd