def get_predictions_file_name(model, path):
    if isinstance(model, dict) and 'resource' in model:
        model = model['resource']
    return "%s%s%s_%s" % (path,
                          os.sep,
                          model.replace("/", "_"),
                          PREDICTIONS_FILE_SUFFIX)
Sync ports by deleting extraneous ones from VSM.
dataset/ETHPy150Open bigmlcom/python/bigml/util.py/get_predictions_file_name--crossover with--dataset/ETHPy150Open openstack/networking-cisco/networking_cisco/plugins/ml2/drivers/cisco/n1kv/n1kv_sync.py/N1kvSyncDriver._sync_delete_ports