Files
python-blazarclient/setup.cfg
Mark Powers f2277b5f7a Add openstackclient support
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
2021-08-05 10:24:28 -05:00

52 lines
2.2 KiB
INI

[metadata]
name = python-blazarclient
summary = Client for OpenStack Reservation Service
description_file = README.rst
license = Apache Software License
python_requires = >=3.6
classifiers =
Programming Language :: Python
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Environment :: OpenStack
Development Status :: 3 - Alpha
Framework :: Setuptools Plugin
Intended Audience :: Information Technology
Intended Audience :: System Administrators
License :: OSI Approved :: Apache Software License
Operating System :: POSIX :: Linux
author = OpenStack
author_email = openstack-discuss@lists.openstack.org
home_page = https://launchpad.net/blazar
[files]
packages =
blazarclient
[entry_points]
console_scripts =
blazar = blazarclient.shell:main
openstack.cli.extension =
reservation = blazarclient.osc.plugin
openstack.reservation.v1 =
reservation_floatingip_create = blazarclient.v1.shell_commands.floatingips:CreateFloatingIP
reservation_floatingip_delete = blazarclient.v1.shell_commands.floatingips:DeleteFloatingIP
reservation_floatingip_list = blazarclient.v1.shell_commands.floatingips:ListFloatingIPs
reservation_floatingip_show = blazarclient.v1.shell_commands.floatingips:ShowFloatingIP
reservation_host_create = blazarclient.v1.shell_commands.hosts:CreateHost
reservation_host_delete = blazarclient.v1.shell_commands.hosts:DeleteHost
reservation_host_list = blazarclient.v1.shell_commands.hosts:ListHosts
reservation_host_set = blazarclient.v1.shell_commands.hosts:UpdateHost
reservation_host_show = blazarclient.v1.shell_commands.hosts:ShowHost
reservation_lease_create = blazarclient.v1.shell_commands.leases:CreateLeaseBase
reservation_lease_delete = blazarclient.v1.shell_commands.leases:DeleteLease
reservation_lease_list = blazarclient.v1.shell_commands.leases:ListLeases
reservation_lease_set = blazarclient.v1.shell_commands.leases:UpdateLease
reservation_lease_show = blazarclient.v1.shell_commands.leases:ShowLease