API to manage images and VM in openstack