@app.route("/admin/report_metadata", methods=['POST'])
def report_metadata():
    zk_path = str(request.form.getlist('zk_path')[0])
    mode = str(request.form.getlist('mode')[0])
    notification_timestamp = float(request.form.getlist('notification_timestamp')[0])
    modification_timestamp = float(request.form.getlist('modification_timestamp')[0])

    if mode == 'SERVERSET':
        hashsum = int(request.form.getlist('hashsum')[0])
        num_endpoints = int(request.form.getlist('num_endpoints')[0])
        try:
            _SERVERSET_METADATA[zk_path].update({"hashsum": hashsum,
                                                "num_endpoints": num_endpoints,
                                                "notification_timestamp": notification_timestamp})
        except:
            log.error("Serverset {} is not loaded into dict but metadata is being reported".format(zk_path))
    else:
        version = int(request.form.getlist('version')[0])
        try:
            _PATH_TO_DATA[zk_path].update({"version": version,
                                           "notification_timestamp": notification_timestamp})
        except:
            log.error("Config {} is not loaded into dict but metadata is being reported".format(zk_path))

    _update_modification_timestamp_for_flask(mode, zk_path, modification_timestamp)
    return ""
Get reference to the VM with the uuid specified.
dataset/ETHPy150Open pinterest/kingpin/kingpin/zk_update_monitor/zk_update_monitor.py/report_metadata--crossover with--dataset/ETHPy150Open openstack/nova/nova/virt/vmwareapi/vm_util.py/_get_vm_ref_from_uuid