summaryrefslogtreecommitdiff
path: root/openstackclient/network
diff options
context:
space:
mode:
authorReedip <reedip.banerjee@nectechnologies.in>2016-10-04 16:25:07 +0530
committerReedip <reedip.banerjee@nectechnologies.in>2016-10-16 05:04:38 +0000
commit8f8a8448a4adc1d250c253738688ff46e6456616 (patch)
treef47731a0b8d9a14672db1a893fab837df5d82fc9 /openstackclient/network
parentbfeecd50fdb8f1475d51ac662eb09514a1754345 (diff)
downloadpython-openstackclient-8f8a8448a4adc1d250c253738688ff46e6456616.tar.gz
Add necessary info to Floating IP list
This patch adds the Network ID and Project ID for the listed floating IPs when Neutron is enabled for OpenstackClient. Change-Id: I823090f2e6d30acd72247d30956f48f4d7672a50 Closes-Bug:#1566090
Diffstat (limited to 'openstackclient/network')
-rw-r--r--openstackclient/network/v2/floating_ip.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/openstackclient/network/v2/floating_ip.py b/openstackclient/network/v2/floating_ip.py
index bb75540c..e8057628 100644
--- a/openstackclient/network/v2/floating_ip.py
+++ b/openstackclient/network/v2/floating_ip.py
@@ -203,12 +203,16 @@ class ListFloatingIP(common.NetworkAndComputeLister):
'floating_ip_address',
'fixed_ip_address',
'port_id',
+ 'floating_network_id',
+ 'project_id',
)
headers = (
'ID',
'Floating IP Address',
'Fixed IP Address',
'Port',
+ 'Floating Network',
+ 'Project',
)
query = {}