Merge "Fix listing of Server in floating-ip-list"
This commit is contained in:
commit
ddb9749599
@ -1950,6 +1950,9 @@ def do_clear_password(cs, args):
|
|||||||
|
|
||||||
|
|
||||||
def _print_floating_ip_list(floating_ips):
|
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, ['Ip', 'Server Id', 'Fixed Ip', 'Pool'])
|
||||||
|
|
||||||
|
|
||||||
|
@ -1554,6 +1554,9 @@ def do_clear_password(cs, args):
|
|||||||
|
|
||||||
|
|
||||||
def _print_floating_ip_list(floating_ips):
|
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, ['Ip', 'Server Id', 'Fixed Ip', 'Pool'])
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user