Fix listing of Server in floating-ip-list
Add a translation from instance_id to server_id to accommodate for the adjusted user output. Closes-Bug: #1324857 Change-Id: Ifaa15f6907b5efae7431eb1741b7fae4b3540a8c
This commit is contained in:
parent
6e4823c07c
commit
a3d0057da9
@ -1958,6 +1958,9 @@ def do_clear_password(cs, args):
|
||||
|
||||
|
||||
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'])
|
||||
|
||||
|
||||
|
@ -1543,6 +1543,9 @@ def do_clear_password(cs, args):
|
||||
|
||||
|
||||
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'])
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user