'Force adds another network to a project.'

def add_network_to_project(self, context, project_id, network_uuid=None):

    LOG.debug('Add    network    %s    to    project    %s', network_uuid, project_id)
    if (network_uuid is not None):
        network_id = self.get_network(context, network_uuid).id
    else:
        network_id = None
    objects.Network.associate(context, project_id, network_id, force=True)
