python-openstackclient/openstackclient
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 Fix a spell typos 2016-02-03 15:47:25 +05:30
common Allow custom log levels for other loggers 2016-02-05 11:07:50 +00:00
compute Floating IP: Neutron support for "ip floating list" command 2016-02-14 04:21:08 +00:00
identity log take_action parameters in a single place 2016-02-02 09:58:32 +09:00
image Add --marker option to "image list" command 2016-02-03 14:04:50 +08:00
locale Update translation setup 2016-01-29 08:18:50 +09:00
network Support "network list" command in nova network 2016-02-17 17:04:43 +08:00
object Add recursive object delete for containers 2016-02-05 11:18:46 -07:00
tests Support "network list" command in nova network 2016-02-17 17:04:43 +08:00
volume log take_action parameters in a single place 2016-02-02 09:58:32 +09:00
__init__.py Change version reporting to use pbr 2013-08-02 12:11:49 -05:00
i18n.py Update translation setup 2016-01-29 08:18:50 +09:00
shell.py The format_exc method does not take an exception 2015-12-08 09:23:47 -07:00