python-openstackclient/openstackclient/tests/unit/compute/v2
Dean Troyer 53e7aab7ed 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.

Depends-on: Id6de87211d6c4ea8fd14aa9203d8d5b17e9e2f04
Change-Id: I5116086f9a9e4b2b31a744bf8f4558c79f0bfe59
2018-03-13 09:10:45 -05:00
..
__init__.py move unit tests to new "unit" test module 2016-09-08 15:19:50 -07:00
fakes.py Re-implement novaclient bits removed in 10.0 2018-03-13 09:10:45 -05:00
test_agent.py move unit tests to new "unit" test module 2016-09-08 15:19:50 -07:00
test_aggregate.py Support "--no" option in aggregate set 2016-09-24 15:59:13 +08:00
test_console.py Use public and unified method get_console_url() 2017-02-14 03:22:03 +00:00
test_flavor.py Overwrite/Clear Flavor property 2017-02-13 15:16:09 +00:00
test_host.py Re-implement novaclient bits removed in 10.0 2018-03-13 09:10:45 -05:00
test_hypervisor.py Add --long option and more columns to the hypervisor list command 2016-10-27 04:33:47 -07:00
test_hypervisor_stats.py move unit tests to new "unit" test module 2016-09-08 15:19:50 -07:00
test_keypair.py Use flake8-import-order plugin 2017-08-17 06:55:00 +00:00
test_server.py Re-implement novaclient bits removed in 10.0 2018-03-13 09:10:45 -05:00
test_server_backup.py Replace 'MagicMock' with 'Mock' 2016-09-14 17:59:31 +08:00
test_server_event.py Add server event list and show commands 2017-03-07 15:25:43 +08:00
test_server_group.py Remove hard-coded policy choices for creating a server group 2017-11-19 18:45:28 -05:00
test_server_image.py Replace 'MagicMock' with 'Mock' 2016-09-14 17:59:31 +08:00
test_service.py Replace 'MagicMock' with 'Mock' 2016-09-14 17:59:31 +08:00
test_usage.py Use flake8-import-order plugin 2017-08-17 06:55:00 +00:00