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.

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

Check equality and either forward a NotImplemented or return the result negated.

__repr__()

Automatically created by attrs.

classmethod declare(**kwargs)[source]
logger
class cfme.utils.appliance.plugin.AppliancePluginDescriptor(cls, args, kwargs)[source]

Bases: object

__ge__(other)

Automatically created by attrs.

__getstate__()

Automatically created by attrs.

__gt__(other)

Automatically created by attrs.

__le__(other)

Automatically created by attrs.

__lt__(other)

Automatically created by attrs.

__ne__(other)

Check equality and either forward a NotImplemented or return the result negated.

__repr__()

Automatically created by attrs.

__setstate__(state)

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.