def refresh_vm(context, vm):
    vapp = vm.getVirtualAppliance()
    return vapp.getVirtualMachine(vm.getId())
Refresh the given virtual machine
dataset/ETHPy150Open nacx/kahuna/kahuna/plugins/virtualmachine/helper.py/refresh_vm