avocado_i2n.cartgraph.object module¶
INTERFACE¶
-
class
avocado_i2n.cartgraph.object.
TestObject
(suffix, config)[source]¶ Bases:
object
A wrapper for a test object used in one or more test nodes.
-
params
¶ Parameters (cache) property.
-
final_restr
¶ Final restriction to make the object parsing variant unique.
-
long_suffix
¶ Sufficiently unique suffix to identify a variantless test object.
-
id
¶ Unique ID to identify a test object.
-
__init__
(suffix, config)[source]¶ Construct a test object (vm) for any test nodes (tests).
Parameters: - name (str) – name of the test object
- config (
param.Reparsable
) – variant configuration for the test object
-
is_permanent
()[source]¶ If the test object is permanent, it can only be created manually (possibly through the use of manual setup steps).
On states on permanent test object are treated differently than on states on normal test object since they are preserved through test runs and even host shutdowns.
-
-
class
avocado_i2n.cartgraph.object.
NetObject
(name, config)[source]¶ Bases:
avocado_i2n.cartgraph.object.TestObject
A Net wrapper for a test object used in one or more test nodes.
-
class
avocado_i2n.cartgraph.object.
VMObject
(name, config)[source]¶ Bases:
avocado_i2n.cartgraph.object.TestObject
A VM wrapper for a test object used in one or more test nodes.
-
class
avocado_i2n.cartgraph.object.
ImageObject
(name, config)[source]¶ Bases:
avocado_i2n.cartgraph.object.TestObject
An image wrapper for a test object used in one or more test nodes.
-
id
¶ Sufficiently unique ID to identify a test object.
-