def _get_nics(self, context):
    netids = context.get('network_id', None)
    if netids:
        return [{'net-id': netid, 'v4-fixed-ip': ''} for netid in netids]
    else:
        return None
def _get_nics(self, context):
    netids = context.get('network_id', None)
    if netids:
        return [{'net-id': netid, 'v4-fixed-ip': } for netid in netids]
    else:
        return None