I noticed that (on 2.0/trunk) we have the following DISPLAYED_MACHINE_FIELDS in api/machines.py:
('interface_set', ( 'id', 'name', 'type', 'vlan', 'mac_address', 'parents', 'children', 'tags', 'enabled', 'links', 'params', 'discovered', 'effective_mtu', )),
In devices.py, we only have:
'macaddress_set',
Prior to MAAS 1.9, macaddress_set would have been correct. It looks like when we moved to the new networking model in MAAS 1.9, we missed changing the displayed API fields for devices.
I noticed that (on 2.0/trunk) we have the following DISPLAYED_ MACHINE_ FIELDS in api/machines.py:
('interface _set', (
'mac_address' ,
'discovered' ,
'effective_ mtu',
'id',
'name',
'type',
'vlan',
'parents',
'children',
'tags',
'enabled',
'links',
'params',
)),
In devices.py, we only have:
'macaddress _set',
Prior to MAAS 1.9, macaddress_set would have been correct. It looks like when we moved to the new networking model in MAAS 1.9, we missed changing the displayed API fields for devices.