Add 'Id' column to floating-ip-list
Currently nova floating-ip-list doesn't show the ip's id, though the id is return from the server. This patch adds the 'Id' column. Change-Id: I8680fb6344bf8f6862a476cdb95c936a5fbab965 Closes-bug: #1404091
This commit is contained in:
parent
e422109eb3
commit
c8ac6883c3
@ -2323,7 +2323,8 @@ def _print_floating_ip_list(floating_ips):
|
||||
convert = [('instance_id', 'server_id')]
|
||||
_translate_keys(floating_ips, convert)
|
||||
|
||||
utils.print_list(floating_ips, ['Ip', 'Server Id', 'Fixed Ip', 'Pool'])
|
||||
utils.print_list(floating_ips,
|
||||
['Id', 'Ip', 'Server Id', 'Fixed Ip', 'Pool'])
|
||||
|
||||
|
||||
@cliutils.arg('server', metavar='<server>', help=_('Name or ID of server.'))
|
||||
|
Loading…
x
Reference in New Issue
Block a user