python-openstackclient/openstackclient
Dean Troyer 6c8967dc8e Re-implement novaclient bits removed in 10.0
a)

/os-floating-ips was removed in Compute API 2.36 and from novaclient's
Python API in 10.0

Add to api.computev2:
floating_ip_add()
floating_ip_remove()

Convert add floating IP command to nova-net/neutron split:
"server add floating ip"
"server remove floating ip"

b)

/os-hosts was removed in Compute API 2.43 and from novaclient's
Python API in 10.0.

Add to api.computev2:
host_list()
host_set()
host_show()

Convert host commands to use intenal api:
"host list"
"host set"
"host show"

c)

The introduction of the Network-style commands into the server group
broke cliff's autoprogram directive as it executes the get_parser() methods
without fully initializing the Command object.

NOTE: This is really three reviews squashed to get through the gate in one pass.

Closes-Bug: #1745795

Change-Id: I5116086f9a9e4b2b31a744bf8f4558c79f0bfe59
(cherry picked from commit 53e7aab7ed)
2018-04-20 10:08:06 -04:00
..
api Re-implement novaclient bits removed in 10.0 2018-04-20 10:08:06 -04:00
common Clean up W503 and E402 pep8 errors 2018-04-20 10:05:12 -04:00
compute Re-implement novaclient bits removed in 10.0 2018-04-20 10:08:06 -04:00
identity Clean up W503 and E402 pep8 errors 2018-04-20 10:05:12 -04:00
image Clean up W503 and E402 pep8 errors 2018-04-20 10:05:12 -04:00
locale/tr_TR/LC_MESSAGES Imported Translations from Zanata 2017-08-16 07:50:55 +00:00
network Re-implement novaclient bits removed in 10.0 2018-04-20 10:08:06 -04:00
object Allow objects to be streamed to stdout 2017-07-05 20:08:18 -03:00
tests Re-implement novaclient bits removed in 10.0 2018-04-20 10:08:06 -04:00
volume Replace "Display Name" by "Name" in volume list 2017-05-26 11:37:09 +08:00
__init__.py Clean up W503 and E402 pep8 errors 2018-04-20 10:05:12 -04:00
i18n.py Remove log translations 2017-03-21 17:23:09 +08:00
shell.py Useless line of code in shell.py 2017-09-08 06:28:15 +00:00