RedHatQE/cfme_tests — pull request #576 by mfalesni (2014-03-24 15:37:21+00:00)
Title: Added miq_soap module.

Enables to operate Infrastructure objects. It has better VM provisioning code. OOP encapsulated.

Some things to do on it:
* create a mgmt_system.py hook that will enable direct access to the machine.
* some sort of caching to speed it up? But probably not needed.

This is because there is no VM coverage yet in the new code yet and I need to access some CFME functionality

To test:
```python
>>> from utils.miq_soap import * # or just MiqVM
>>> vm = MiqVM.provision_from_template("template_name", "vm_name")
>>> vm = MiqVM.provision_from_template("template_name", "vm_name", vlan="rhevm") # fro rhevm
>>> vm.exists
>>> vm.power_off()
...
```

It might spit an error on one of the datastores, if it is picked. Next run will probably go well.