cfme.storage.managers module

class cfme.storage.managers.StorageManager(name=None, type=None, hostname=None, ip=None, port=None, credentials=None)[source]

Bases: utils.update.Updateable

Represents the Storage / Storage Managers object. Allows interaction

Parameters:
  • name – Name of the Storage Namager as it appears in the UI.
  • type – Type of the Storage Manager (eg. StorageManager.NETAPP_RS, ...)
  • hostname – Host name of the machine.
  • ip – IP Address of the machine.
  • port – Port of the machine.
  • credentialsdict or StorageManager.Credential
class Credential(username=None, password=None)[source]

Bases: utils.update.Updateable

StorageManager.NETAPP_RS = 'NetApp Remote Service'
StorageManager.add = FormButton('Add this Storage Manager')
StorageManager.create(validate=True, cancel=False)[source]
StorageManager.delete(cancel=False)[source]
StorageManager.exists[source]
StorageManager.form = <cfme.web_ui.Form fields=[('name', <cfme.web_ui.Input _names=('name',), _use_id=False>), ('type', Select('select#sm_type', multi=False)), ('hostname', <cfme.web_ui.Input _names=('hostname',), _use_id=False>), ('ip', <cfme.web_ui.Input _names=('ipaddress',), _use_id=False>), ('port', <cfme.web_ui.Input _names=('port',), _use_id=False>), ('credentials', <cfme.web_ui.Form fields=[('username', <cfme.web_ui.Input _names=('userid',), _use_id=False>), ('password', <cfme.web_ui.MultiFill object at 0x7f4d2325b550>)]>)]>
StorageManager.navigate()[source]
StorageManager.refresh_inventory()[source]
StorageManager.refresh_status()[source]
StorageManager.update(updates, validate=True, cancel=False)[source]
StorageManager.validate = FormButton('Validate the credentials by logging into the Server')
StorageManager.wait_until_updated(num_sec=300)[source]