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 |
+----+---------------------+------------------+-----------+--------+
Reviewed: https:/ /review. openstack. org/280535 /git.openstack. org/cgit/ openstack/ python- openstackclient /commit/ ?id=ca34aa15872 12ce5ac456a988f d6b442e646ed16
Committed: https:/
Submitter: Jenkins
Branch: master
commit ca34aa1587212ce 5ac456a988fd6b4 42e646ed16
Author: Tang Chen <email address hidden>
Date: Tue Feb 16 14:33:31 2016 +0800
Floating IP: Fix "ip floating list" in neutron network
The implementation of "ip floating list" in the commit below
is incorrect:
Change-Id: I253f66f6bc6447 0e1a18ffea50604 8eb53f67d5c
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:
+-- ------- ------- ------- ------- ------- -+----- ------- ------- --+---- ------- ------- +------ + ------- ------- ------- ------- ------- -+----- ------- ------- --+---- ------- ------- +------ + e66a-4f96- 81bd-c6ffee6407 f1 | 172.24.4.3 | None | None | ------- ------- ------- ------- ------- -+----- ------- ------- --+---- ------- ------- +------ +
| ID | Floating IP Address | Fixed IP Address | Port |
+--
| 1976df86-
+--
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: I1295e922df6954 14511d9a07ca4a8 e2428040064
Partial-Bug: 1519502
Related-to: blueprint neutron-client