Code drop for supporting KVM/VMware based virtualization in rest api interface