Actor#

class lvmnps.actor.actor.NPSActor(*args, **kwargs)[source]#

Bases: clu.actor.AMQPActor

LVM network power switches base actor.

Subclassed from the AMQPActor class.

classmethod from_config(config, *args, **kwargs)[source]#

Creates an actor from a configuration file.

async start()[source]#

Start the actor and connect the power switches.

async stop()[source]#

Stop the actor and disconnect the power switches.

BASE_CONFIG: ClassVar[str | Dict | None] = None#
parser: ClassVar[click.Group] = <CluGroup parser>#
Parameters
  • args (Any) –

  • kwargs (Any) –

Return type

Any