cfme.utils.appliance.plugin module

class cfme.utils.appliance.plugin.AppliancePlugin(appliance)[source]

Bases: object

Base class for all appliance plugins.

Usage:

.. code-block:: python

    class IPAppliance(object):
        # ...

        foo = FooPlugin.declare(parameter='value')

Instance of such plugin is then created upon first access.

__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.

appliance = Attribute(name='appliance', default=NOTHING, validator=None, repr=False, cmp=True, hash=None, init=True, convert=<built-in function proxy>, metadata=mappingproxy({}))
classmethod declare(**kwargs)[source]
logger
class cfme.utils.appliance.plugin.AppliancePluginDescriptor(cls, args, kwargs)[source]

Bases: object

__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.

args
cache
cls
kwargs
exception cfme.utils.appliance.plugin.AppliancePluginException[source]

Bases: exceptions.Exception

Base class for all custom exceptions raised from plugins.