refactored opennebula rpc calls to work with newer opennebula versions