Fix interface-list got none mac address.
novaclient expect the response json body has a column 'mac_address', but actually is 'mac_addr'. This patch is a quick fix. Just print out "mac_addr" is readable enough. Fix bug: #1199706 Change-Id: I68823a3d719ee2f5d9d8b6227ca8eb858fc270c3
This commit is contained in:
parent
a5558f8780
commit
70e6cd9790
@ -3110,7 +3110,7 @@ def do_evacuate(cs, args):
|
||||
|
||||
def _print_interfaces(interfaces):
|
||||
columns = ['Port State', 'Port ID', 'Net ID', 'IP addresses',
|
||||
'MAC Address']
|
||||
'MAC Addr']
|
||||
|
||||
class FormattedInterface(object):
|
||||
def __init__(self, interface):
|
||||
|
Loading…
x
Reference in New Issue
Block a user