cfme.base package¶
Submodules¶
Module contents¶
-
class
cfme.base.Region(parent, number=0)[source]¶ Bases:
cfme.modeling.base.BaseEntity,sentaku.modeling.ElementMixin-
__eq__(other)¶ Automatically created by attrs.
-
__ge__(other)¶ Automatically created by attrs.
-
__gt__(other)¶ Automatically created by attrs.
-
__le__(other)¶ Automatically created by attrs.
-
__lt__(other)¶ Automatically created by attrs.
-
__ne__(other)¶ Automatically created by attrs.
-
__repr__()¶ Automatically created by attrs.
-
number= Attribute(name='number', default=0, validator=None, repr=True, cmp=True, hash=None, init=True, convert=None, metadata=mappingproxy({}))¶
-
replication¶
-
settings_string¶
-
-
class
cfme.base.RegionCollection(parent, filters=NOTHING)[source]¶ Bases:
cfme.modeling.base.BaseCollection,sentaku.modeling.ElementMixin-
__eq__(other)¶ Automatically created by attrs.
-
__ge__(other)¶ Automatically created by attrs.
-
__gt__(other)¶ Automatically created by attrs.
-
__le__(other)¶ Automatically created by attrs.
-
__lt__(other)¶ Automatically created by attrs.
-
__ne__(other)¶ Automatically created by attrs.
-
__repr__()¶ Automatically created by attrs.
-
-
class
cfme.base.Server(parent, name, sid=1)[source]¶ Bases:
cfme.modeling.base.BaseEntity,sentaku.modeling.ElementMixin-
__eq__(other)¶ Automatically created by attrs.
-
__ge__(other)¶ Automatically created by attrs.
-
__gt__(other)¶ Automatically created by attrs.
-
__le__(other)¶ Automatically created by attrs.
-
__lt__(other)¶ Automatically created by attrs.
-
__ne__(other)¶ Automatically created by attrs.
-
__repr__()¶ Automatically created by attrs.
-
address¶ descriptor for implementing context sensitive methods and registration of their implementations
class Example(Element): action = ContextualMethod() @action.implemented_for("db") def action(self): pass @action.implemented_for("test") def action(self): pass
-
authentication¶
-
collect_logs¶
-
current_full_name¶ descriptor for implementing context sensitive methods and registration of their implementations
class Example(Element): action = ContextualMethod() @action.implemented_for("db") def action(self): pass @action.implemented_for("test") def action(self): pass
-
current_username¶ descriptor for implementing context sensitive methods and registration of their implementations
class Example(Element): action = ContextualMethod() @action.implemented_for("db") def action(self): pass @action.implemented_for("test") def action(self): pass
-
logged_in¶ descriptor for implementing context sensitive methods and registration of their implementations
class Example(Element): action = ContextualMethod() @action.implemented_for("db") def action(self): pass @action.implemented_for("test") def action(self): pass
-
login¶ descriptor for implementing context sensitive methods and registration of their implementations
class Example(Element): action = ContextualMethod() @action.implemented_for("db") def action(self): pass @action.implemented_for("test") def action(self): pass
-
login_admin¶ descriptor for implementing context sensitive methods and registration of their implementations
class Example(Element): action = ContextualMethod() @action.implemented_for("db") def action(self): pass @action.implemented_for("test") def action(self): pass
-
logout¶ descriptor for implementing context sensitive methods and registration of their implementations
class Example(Element): action = ContextualMethod() @action.implemented_for("db") def action(self): pass @action.implemented_for("test") def action(self): pass
-
name= Attribute(name='name', default=NOTHING, validator=None, repr=True, cmp=True, hash=None, init=True, convert=None, metadata=mappingproxy({}))¶
-
settings¶
-
sid= Attribute(name='sid', default=1, validator=None, repr=True, cmp=True, hash=None, init=True, convert=None, metadata=mappingproxy({}))¶
-
slave_servers¶
-
update_password¶ descriptor for implementing context sensitive methods and registration of their implementations
class Example(Element): action = ContextualMethod() @action.implemented_for("db") def action(self): pass @action.implemented_for("test") def action(self): pass
-
zone¶
-
-
class
cfme.base.ServerCollection(parent, filters=NOTHING)[source]¶ Bases:
cfme.modeling.base.BaseCollection,sentaku.modeling.ElementMixin-
__eq__(other)¶ Automatically created by attrs.
-
__ge__(other)¶ Automatically created by attrs.
-
__gt__(other)¶ Automatically created by attrs.
-
__le__(other)¶ Automatically created by attrs.
-
__lt__(other)¶ Automatically created by attrs.
-
__ne__(other)¶ Automatically created by attrs.
-
__repr__()¶ Automatically created by attrs.
-
-
class
cfme.base.Zone(parent, name='default', description='Default Zone', id=None, smartproxy_ip=None, ntp_servers=None, max_scans=None, user=None)[source]¶ Bases:
cfme.utils.pretty.Pretty,cfme.modeling.base.BaseEntity,sentaku.modeling.ElementMixinConfigure/Configuration/Region/Zones functionality
Create/Read/Update/Delete functionality.
-
__eq__(other)¶ Automatically created by attrs.
-
__ge__(other)¶ Automatically created by attrs.
-
__gt__(other)¶ Automatically created by attrs.
-
__le__(other)¶ Automatically created by attrs.
-
__lt__(other)¶ Automatically created by attrs.
-
__ne__(other)¶ Automatically created by attrs.
-
__repr__()¶ Automatically created by attrs.
-
collect_logs¶
-
delete¶ descriptor for implementing context sensitive methods and registration of their implementations
class Example(Element): action = ContextualMethod() @action.implemented_for("db") def action(self): pass @action.implemented_for("test") def action(self): pass
-
description= Attribute(name='description', default='Default Zone', validator=None, repr=True, cmp=True, hash=None, init=True, convert=None, metadata=mappingproxy({}))¶
-
exists¶
-
id= Attribute(name='id', default=None, validator=None, repr=True, cmp=True, hash=None, init=True, convert=None, metadata=mappingproxy({}))¶
-
max_scans= Attribute(name='max_scans', default=None, validator=None, repr=True, cmp=True, hash=None, init=True, convert=None, metadata=mappingproxy({}))¶
-
name= Attribute(name='name', default='default', validator=None, repr=True, cmp=True, hash=None, init=True, convert=None, metadata=mappingproxy({}))¶
-
ntp_servers= Attribute(name='ntp_servers', default=None, validator=None, repr=True, cmp=True, hash=None, init=True, convert=None, metadata=mappingproxy({}))¶
-
pretty_attrs= ['name', 'description', 'smartproxy_ip', 'ntp_servers', 'max_scans', 'user']¶
-
region¶
-
smartproxy_ip= Attribute(name='smartproxy_ip', default=None, validator=None, repr=True, cmp=True, hash=None, init=True, convert=None, metadata=mappingproxy({}))¶
-
update¶ descriptor for implementing context sensitive methods and registration of their implementations
class Example(Element): action = ContextualMethod() @action.implemented_for("db") def action(self): pass @action.implemented_for("test") def action(self): pass
-
user= Attribute(name='user', default=None, validator=None, repr=True, cmp=True, hash=None, init=True, convert=None, metadata=mappingproxy({}))¶
-
-
class
cfme.base.ZoneCollection(parent, filters=NOTHING, region=None)[source]¶ Bases:
cfme.modeling.base.BaseCollection,sentaku.modeling.ElementMixin-
__eq__(other)¶ Automatically created by attrs.
-
__ge__(other)¶ Automatically created by attrs.
-
__gt__(other)¶ Automatically created by attrs.
-
__le__(other)¶ Automatically created by attrs.
-
__lt__(other)¶ Automatically created by attrs.
-
__ne__(other)¶ Automatically created by attrs.
-
__repr__()¶ Automatically created by attrs.
-
create¶ descriptor for implementing context sensitive methods and registration of their implementations
class Example(Element): action = ContextualMethod() @action.implemented_for("db") def action(self): pass @action.implemented_for("test") def action(self): pass
-
region= Attribute(name='region', default=None, validator=None, repr=True, cmp=True, hash=None, init=True, convert=None, metadata=mappingproxy({}))¶
-