python-openstackclient/openstackclient
Tang Chen ca34aa1587 Floating IP: Fix "ip floating list" in neutron network
The implementation of "ip floating list" in the commit below
is incorrect:

    Change-Id: I253f66f6bc64470e1a18ffea506048eb53f67d5c

This is because the FloatingIP objects returned from Nova and
Neutron network are different. They need different handling.

This patch fixes this problem.

The output for Neutron network would be:

+--------------------------------------+---------------------+------------------+------+
| ID                                   | Floating IP Address | Fixed IP Address | Port |
+--------------------------------------+---------------------+------------------+------+
| 1976df86-e66a-4f96-81bd-c6ffee6407f1 | 172.24.4.3          | None             | None |
+--------------------------------------+---------------------+------------------+------+

The output for Neutron network would be:

+----+---------------------+------------------+-----------+--------+
| ID | Floating IP Address | Fixed IP Address | Server ID | Pool   |
+----+---------------------+------------------+-----------+--------+
|  1 | 172.24.4.1          | None             | None      | public |
+----+---------------------+------------------+-----------+--------+

Change-Id: I1295e922df695414511d9a07ca4a8e2428040064
Partial-Bug: 1519502
Related-to: blueprint neutron-client
2016-02-19 11:10:53 +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 Merge "Refactor security group rule delete to use SDK" 2016-02-18 09:03:27 +00:00
identity Merge "Return names in list role assignments" 2016-02-17 22:23:51 +00: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 Floating IP: Fix "ip floating list" in neutron network 2016-02-19 11:10:53 +08:00
object Add recursive object delete for containers 2016-02-05 11:18:46 -07:00
tests Floating IP: Fix "ip floating list" in neutron network 2016-02-19 11:10:53 +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 Fix 'openstack --help' fails if clouds.yaml cannot be read 2016-02-14 22:08:01 +09:00