def _get_vm_ref_from_extraconfig(session, instance_uuid):
    vms = session._call_method(vim_util, "get_objects",
                "VirtualMachine", ['config.extraConfig["nvp.vm-uuid"]'])
    return _get_object_from_results(session, vms, instance_uuid,
                                     _get_object_for_optionvalue)
Get reference to the VM with the uuid specified.
dataset/ETHPy150Open openstack/nova/nova/virt/vmwareapi/vm_util.py/_get_vm_ref_from_extraconfig