Modified the code to use oslo vmware lib