Methods provision_hosts, delete_hosts and to_host
were moved to provider.py as they can be easily
shared among the providers.
Added missing methods to provider.py to share
same structure. Not implemented methods will throw
a NotImplementedError() and they are ment to be
implmented per provider.
Moved host count to initialization of openstack
provider to set poll sleeps based on this.
For all providers moved STATUS_MAP to class
so from now on it is a class attribute.
Openstack's wait_till_provisioned now uses
instance and not only id to match inherited method.
Added optional username parameter to to_host method.
Methods provision_hosts, delete_hosts and to_host were moved to provider.py as they can be easily shared among the providers.
Added missing methods to provider.py to share same structure. Not implemented methods will throw a NotImplementedError() and they are ment to be implmented per provider.
Moved host count to initialization of openstack provider to set poll sleeps based on this.
For all providers moved STATUS_MAP to class so from now on it is a class attribute.
Openstack's wait_till_provisioned now uses instance and not only id to match inherited method.
Added optional username parameter to to_host method.
Signed-off-by: Tibor Dudlák tdudlak@redhat.com