def _translate_vif_summary_view(_context, vif):
 d = {}
 d['id'] = vif['uuid']
 d['mac_address'] = vif['address']
 return d

def _translate_vif_summary_view ( _context , vif ) : d = { } d [ 'id' ] = vif [ 'uuid' ] d [ 'mac_address' ] = vif [ 'address' ] return d
maps keys for vif summary view .