diff --git a/novaclient/v1_1/shell.py b/novaclient/v1_1/shell.py index 92025182d..67d60ae0d 100644 --- a/novaclient/v1_1/shell.py +++ b/novaclient/v1_1/shell.py @@ -1950,6 +1950,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']) diff --git a/novaclient/v3/shell.py b/novaclient/v3/shell.py index 1c4d09080..f24e2917c 100644 --- a/novaclient/v3/shell.py +++ b/novaclient/v3/shell.py @@ -1554,6 +1554,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'])