python-openstackclient/openstackclient/tests
Tang Chen ddc97c6dc5 Support "network list" command in nova network
"network list" command is not implemented in nova network.
This patch implements it.

The Network object in novaclient is quite different from
the one in sdk. And the output of "network list" using
Nova network is also quite different from using Neutron.

It is like this:

# openstack network list
+--------------------------------------+---------+-------------+
| ID                                   | Name    | Subnet      |
+--------------------------------------+---------+-------------+
| 96a98ec4-31f6-45f6-99e6-9384569b3bb5 | private | 10.0.0.0/24 |
+--------------------------------------+---------+-------------+

--long and --external options have not been implemented because
the attrs in Network object in novaclient is too much different.

This patch also introduces a new FakeNetwork class in compute/v2/fake.py
to fake nova network.

Change-Id: Id1fdf81fb2fa8b39f2c76b7bae37ac4fecafd0f7
Depends-On: I1b59264cd40aaf1062f4e8db233ccb7fd0e95f0e
partial-Bug: 1543672
2016-02-17 17:04:43 +08:00
..
api when fetching object store properties use lower() 2015-12-14 12:23:44 -05:00
common Fix DisplayCommandBase comments for cliff Lister subclass tests 2016-02-09 20:28:18 +08:00
compute Support "network list" command in nova network 2016-02-17 17:04:43 +08:00
identity Identity: Fix DisplayCommandBase comments for cliff ShowOne subclass tests 2016-02-10 23:11:58 +08:00
image Fix DisplayCommandBase comments for cliff ShowOne subclass tests 2016-02-10 13:31:38 +08:00
network Support "network list" command in nova network 2016-02-17 17:04:43 +08:00
object Fix DisplayCommandBase comments for cliff ShowOne subclass tests 2016-02-10 13:31:38 +08:00
volume Fix DisplayCommandBase comments for cliff ShowOne subclass tests 2016-02-10 13:31:38 +08:00
__init__.py Remove copyright from empty files 2014-01-20 17:28:13 +04:00
fakes.py Refactor network endpoint enablement checking 2016-01-04 13:49:49 -06:00
test_shell.py Add all regions to cloud configuration 2015-12-23 12:48:45 -06:00
utils.py Check volume status before extending size 2015-02-06 09:05:41 -08:00