Merge "Add necessary info to Floating IP list"
This commit is contained in:
commit
528f7a76d0
@ -203,12 +203,16 @@ class ListFloatingIP(common.NetworkAndComputeLister):
|
|||||||
'floating_ip_address',
|
'floating_ip_address',
|
||||||
'fixed_ip_address',
|
'fixed_ip_address',
|
||||||
'port_id',
|
'port_id',
|
||||||
|
'floating_network_id',
|
||||||
|
'project_id',
|
||||||
)
|
)
|
||||||
headers = (
|
headers = (
|
||||||
'ID',
|
'ID',
|
||||||
'Floating IP Address',
|
'Floating IP Address',
|
||||||
'Fixed IP Address',
|
'Fixed IP Address',
|
||||||
'Port',
|
'Port',
|
||||||
|
'Floating Network',
|
||||||
|
'Project',
|
||||||
)
|
)
|
||||||
|
|
||||||
query = {}
|
query = {}
|
||||||
|
@ -237,6 +237,8 @@ class TestListFloatingIPNetwork(TestFloatingIPNetwork):
|
|||||||
'Floating IP Address',
|
'Floating IP Address',
|
||||||
'Fixed IP Address',
|
'Fixed IP Address',
|
||||||
'Port',
|
'Port',
|
||||||
|
'Floating Network',
|
||||||
|
'Project',
|
||||||
)
|
)
|
||||||
|
|
||||||
data = []
|
data = []
|
||||||
@ -246,6 +248,8 @@ class TestListFloatingIPNetwork(TestFloatingIPNetwork):
|
|||||||
ip.floating_ip_address,
|
ip.floating_ip_address,
|
||||||
ip.fixed_ip_address,
|
ip.fixed_ip_address,
|
||||||
ip.port_id,
|
ip.port_id,
|
||||||
|
ip.floating_network_id,
|
||||||
|
ip.tenant_id,
|
||||||
))
|
))
|
||||||
|
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
|
7
releasenotes/notes/bug-1566090_64726dc7df5b1572.yaml
Normal file
7
releasenotes/notes/bug-1566090_64726dc7df5b1572.yaml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
``openstack floating ip`` now provides ``Floating Network`` and
|
||||||
|
``Project`` to identify to which network and project the
|
||||||
|
floating-ip belongs to.
|
||||||
|
[Bug `1566090 <https://bugs.launchpad.net/bugs/1566090>`_]
|
Loading…
Reference in New Issue
Block a user