cfme.cloud.instance.openstack module¶
-
class
cfme.cloud.instance.openstack.
AddFloatingIP
(obj, navigate_obj)[source]¶ Bases:
cfme.utils.appliance.implementations.ui.CFMENavigateStep
-
VIEW
¶ alias of
AddFloatingIPView
-
prerequisite
¶ This is a helper descriptor for navigation destinations which are linked to the same class.
For instance, imagine you have an object that has a ‘ViewAll’, destination that needs to be visited before you can click on ‘New’. In this instance, you would need to make the ‘New’ destination use ‘ViewAll’ as a prerequisite. As this would need no other special input, we can use NavigateToSibling as a helper. This will set prerequisite to be a callable that will navigate to the prerequisite step.
-
-
class
cfme.cloud.instance.openstack.
AddFloatingIPView
(parent, logger=None, **kwargs)[source]¶ Bases:
cfme.cloud.instance.CloudInstanceView
-
form
¶ This class handles instantiating and caching of the widgets on view.
It stores the class and the parameters it should be instantiated with. Once it is accessed from the instance of the class where it was defined on, it passes the instance to the widget class followed by args and then kwargs.
It also acts as a counter, so you can then order the widgets by their “creation” stamp.
-
is_displayed
¶
-
-
class
cfme.cloud.instance.openstack.
AttachVolume
(obj, navigate_obj)[source]¶ Bases:
cfme.utils.appliance.implementations.ui.CFMENavigateStep
-
VIEW
¶ alias of
AttachVolumeView
-
prerequisite
¶ This is a helper descriptor for navigation destinations which are linked to the same class.
For instance, imagine you have an object that has a ‘ViewAll’, destination that needs to be visited before you can click on ‘New’. In this instance, you would need to make the ‘New’ destination use ‘ViewAll’ as a prerequisite. As this would need no other special input, we can use NavigateToSibling as a helper. This will set prerequisite to be a callable that will navigate to the prerequisite step.
-
-
class
cfme.cloud.instance.openstack.
AttachVolumeView
(parent, logger=None, **kwargs)[source]¶ Bases:
cfme.cloud.instance.CloudInstanceView
-
form
¶ This class handles instantiating and caching of the widgets on view.
It stores the class and the parameters it should be instantiated with. Once it is accessed from the instance of the class where it was defined on, it passes the instance to the widget class followed by args and then kwargs.
It also acts as a counter, so you can then order the widgets by their “creation” stamp.
-
is_displayed
¶
-
-
class
cfme.cloud.instance.openstack.
DetachVolume
(obj, navigate_obj)[source]¶ Bases:
cfme.utils.appliance.implementations.ui.CFMENavigateStep
-
VIEW
¶ alias of
DetachVolumeView
-
prerequisite
¶ This is a helper descriptor for navigation destinations which are linked to the same class.
For instance, imagine you have an object that has a ‘ViewAll’, destination that needs to be visited before you can click on ‘New’. In this instance, you would need to make the ‘New’ destination use ‘ViewAll’ as a prerequisite. As this would need no other special input, we can use NavigateToSibling as a helper. This will set prerequisite to be a callable that will navigate to the prerequisite step.
-
-
class
cfme.cloud.instance.openstack.
DetachVolumeView
(parent, logger=None, **kwargs)[source]¶ Bases:
cfme.cloud.instance.CloudInstanceView
-
form
¶ This class handles instantiating and caching of the widgets on view.
It stores the class and the parameters it should be instantiated with. Once it is accessed from the instance of the class where it was defined on, it passes the instance to the widget class followed by args and then kwargs.
It also acts as a counter, so you can then order the widgets by their “creation” stamp.
-
is_displayed
¶
-
-
class
cfme.cloud.instance.openstack.
Evacuate
(obj, navigate_obj)[source]¶ Bases:
cfme.utils.appliance.implementations.ui.CFMENavigateStep
-
VIEW
¶ alias of
EvacuateView
-
prerequisite
¶ This is a helper descriptor for navigation destinations which are linked to the same class.
For instance, imagine you have an object that has a ‘ViewAll’, destination that needs to be visited before you can click on ‘New’. In this instance, you would need to make the ‘New’ destination use ‘ViewAll’ as a prerequisite. As this would need no other special input, we can use NavigateToSibling as a helper. This will set prerequisite to be a callable that will navigate to the prerequisite step.
-
-
class
cfme.cloud.instance.openstack.
EvacuateView
(parent, logger=None, **kwargs)[source]¶ Bases:
cfme.cloud.instance.CloudInstanceView
-
form
¶ This class handles instantiating and caching of the widgets on view.
It stores the class and the parameters it should be instantiated with. Once it is accessed from the instance of the class where it was defined on, it passes the instance to the widget class followed by args and then kwargs.
It also acts as a counter, so you can then order the widgets by their “creation” stamp.
-
is_displayed
¶
-
-
class
cfme.cloud.instance.openstack.
Migrate
(obj, navigate_obj)[source]¶ Bases:
cfme.utils.appliance.implementations.ui.CFMENavigateStep
-
VIEW
¶ alias of
MigrateView
-
prerequisite
¶ This is a helper descriptor for navigation destinations which are linked to the same class.
For instance, imagine you have an object that has a ‘ViewAll’, destination that needs to be visited before you can click on ‘New’. In this instance, you would need to make the ‘New’ destination use ‘ViewAll’ as a prerequisite. As this would need no other special input, we can use NavigateToSibling as a helper. This will set prerequisite to be a callable that will navigate to the prerequisite step.
-
-
class
cfme.cloud.instance.openstack.
MigrateView
(parent, logger=None, **kwargs)[source]¶ Bases:
cfme.cloud.instance.CloudInstanceView
-
form
¶ This class handles instantiating and caching of the widgets on view.
It stores the class and the parameters it should be instantiated with. Once it is accessed from the instance of the class where it was defined on, it passes the instance to the widget class followed by args and then kwargs.
It also acts as a counter, so you can then order the widgets by their “creation” stamp.
-
is_displayed
¶
-
-
class
cfme.cloud.instance.openstack.
OpenStackInstance
(name, provider, template_name=None, appliance=None)[source]¶ Bases:
cfme.cloud.instance.Instance
-
DELETE
= 'Delete'¶
-
HARD_REBOOT
= 'Hard Reboot'¶
-
PAUSE
= 'Pause'¶
-
POWER_ON
= 'Start'¶
-
RESTART
= 'Restart'¶
-
SHELVE
= 'Shelve'¶
-
SHELVE_OFFLOAD
= 'Shelve Offload'¶
-
SOFT_REBOOT
= 'Soft Reboot'¶
-
START
= 'Start'¶
-
STATE_ARCHIVED
= 'archived'¶
-
STATE_ERROR
= 'non-operational'¶
-
STATE_OFF
= 'off'¶
-
STATE_ON
= 'on'¶
-
STATE_PAUSED
= 'paused'¶
-
STATE_REBOOTING
= 'reboot_in_progress'¶
-
STATE_SHELVED
= 'shelved'¶
-
STATE_SHELVED_OFFLOAD
= 'shelved_offloaded'¶
-
STATE_SUSPENDED
= 'suspended'¶
-
STATE_TERMINATED
= 'terminated'¶
-
STATE_UNKNOWN
= 'unknown'¶
-
STOP
= 'Stop'¶
-
SUSPEND
= 'Suspend'¶
-
TERMINATE
= 'Delete'¶
-
create
(cancel=False, **prov_fill_kwargs)[source]¶ Provisions an OpenStack instance with the given properties through CFME
Parameters: - cancel – Clicks the cancel button if True, otherwise clicks the submit button (Defaults to False)
- prov_fill_kwargs – dictionary of provisioning field/value pairs
Note
For more optional keyword arguments, see
cfme.cloud.provisioning.ProvisioningForm
-
power_control_from_provider
(option)[source]¶ Power control the instance from the provider
Parameters: option – power control action to take against instance Raises: OptionNotAvailable
– option param must have proper value
-
ui_powerstates_available
¶
-
-
class
cfme.cloud.instance.openstack.
Reconfigure
(obj, navigate_obj)[source]¶ Bases:
cfme.utils.appliance.implementations.ui.CFMENavigateStep
-
VIEW
¶ alias of
ReconfigureView
-
prerequisite
¶ This is a helper descriptor for navigation destinations which are linked to the same class.
For instance, imagine you have an object that has a ‘ViewAll’, destination that needs to be visited before you can click on ‘New’. In this instance, you would need to make the ‘New’ destination use ‘ViewAll’ as a prerequisite. As this would need no other special input, we can use NavigateToSibling as a helper. This will set prerequisite to be a callable that will navigate to the prerequisite step.
-
-
class
cfme.cloud.instance.openstack.
ReconfigureView
(parent, logger=None, **kwargs)[source]¶ Bases:
cfme.cloud.instance.CloudInstanceView
-
form
¶ This class handles instantiating and caching of the widgets on view.
It stores the class and the parameters it should be instantiated with. Once it is accessed from the instance of the class where it was defined on, it passes the instance to the widget class followed by args and then kwargs.
It also acts as a counter, so you can then order the widgets by their “creation” stamp.
-
is_displayed
¶
-
-
class
cfme.cloud.instance.openstack.
RemoveFloatingIP
(obj, navigate_obj)[source]¶ Bases:
cfme.utils.appliance.implementations.ui.CFMENavigateStep
-
VIEW
¶ alias of
RemoveFloatingIPView
-
prerequisite
¶ This is a helper descriptor for navigation destinations which are linked to the same class.
For instance, imagine you have an object that has a ‘ViewAll’, destination that needs to be visited before you can click on ‘New’. In this instance, you would need to make the ‘New’ destination use ‘ViewAll’ as a prerequisite. As this would need no other special input, we can use NavigateToSibling as a helper. This will set prerequisite to be a callable that will navigate to the prerequisite step.
-
-
class
cfme.cloud.instance.openstack.
RemoveFloatingIPView
(parent, logger=None, **kwargs)[source]¶ Bases:
cfme.cloud.instance.CloudInstanceView
-
form
¶ This class handles instantiating and caching of the widgets on view.
It stores the class and the parameters it should be instantiated with. Once it is accessed from the instance of the class where it was defined on, it passes the instance to the widget class followed by args and then kwargs.
It also acts as a counter, so you can then order the widgets by their “creation” stamp.
-
is_displayed
¶
-
-
class
cfme.cloud.instance.openstack.
RightSize
(obj, navigate_obj)[source]¶ Bases:
cfme.utils.appliance.implementations.ui.CFMENavigateStep
-
VIEW
¶ alias of
RightSizeView
-
prerequisite
¶ This is a helper descriptor for navigation destinations which are linked to the same class.
For instance, imagine you have an object that has a ‘ViewAll’, destination that needs to be visited before you can click on ‘New’. In this instance, you would need to make the ‘New’ destination use ‘ViewAll’ as a prerequisite. As this would need no other special input, we can use NavigateToSibling as a helper. This will set prerequisite to be a callable that will navigate to the prerequisite step.
-