openstack-python-openstackc.../openstackclient/network/v2
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
..
__init__.py Move network stuff to v2 instead of v2_0 2014-07-07 06:08:02 -06:00
floating_ip.py Floating IP: Neutron support for "ip floating list" command 2016-02-14 04:21:08 +00:00
network.py Support "network list" command in nova network 2016-02-17 17:04:43 +08:00
port.py Add "os port show" command 2016-02-02 08:40:05 -06:00
router.py Merge "Minor typo in help text" 2016-02-04 00:43:09 +00:00
security_group.py Refactor security group delete to use SDK 2016-02-02 09:04:51 -06:00
subnet.py Consume openstackclient.common.command in subnet/port 2016-02-02 11:03:07 +09:00