avocado_i2n.states.vmnet module

Module for the VMNet state management backend.

SUMMARY

Copyright: Intra2net AG

INTERFACE

class avocado_i2n.states.vmnet.VMNetBackend[source]

Bases: StateBackend

Backend manipulating network states as VMNet operations.

network_class

alias of VMNetwork

classmethod show(params: Params, object: Any = None) list[str][source]

Return a list of available states of a specific type.

All arguments match the base class.

classmethod get(params: Params, object: Any = None) None[source]

Retrieve a state disregarding the current changes.

All arguments match the base class.

classmethod set(params: Params, object: Any = None) None[source]

Store a state saving the current changes.

All arguments match the base class.

classmethod unset(params: Params, object: Any = None) None[source]

Remove a state with previous changes.

All arguments match the base class.

classmethod check_root(params: Params, object: Any = None) bool[source]

Check whether a root state or essentially the object exists.

All arguments match the base class.

classmethod unset_root(params: Params, object: Any = None) None[source]

Unset a root state to prevent object existence.

All arguments match the base class and in addition: