Merge "Make the floating ip can be show in netinfo command"
This commit is contained in:
commit
6ed8dd3ffc
@ -532,7 +532,7 @@ class ShowServerNetworkInfo(command.Lister):
|
|||||||
)
|
)
|
||||||
data = bc_client.server.get_server_nics(server.uuid)
|
data = bc_client.server.get_server_nics(server.uuid)
|
||||||
columns = ('network_id', 'port_id', 'mac_address', 'fixed_ips',
|
columns = ('network_id', 'port_id', 'mac_address', 'fixed_ips',
|
||||||
'floatingip', 'port_type')
|
'floating_ip', 'port_type')
|
||||||
formatters = {'fixed_ips': lambda s: json.dumps(s, indent=4)}
|
formatters = {'fixed_ips': lambda s: json.dumps(s, indent=4)}
|
||||||
return (columns,
|
return (columns,
|
||||||
(utils.get_item_properties(
|
(utils.get_item_properties(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user