Support for testing adoption in the standalone job
This change adds a test for adoption. It's off by default because
it's destructive (removes and re-adds a node) and requires reading
(or guessing) the BMC credentials.
Change-Id: I0178c2b906449802ce38059d4191a63b4b317226
diff --git a/ironic_tempest_plugin/config.py b/ironic_tempest_plugin/config.py
index 79b6d18..dc709b6 100644
--- a/ironic_tempest_plugin/config.py
+++ b/ironic_tempest_plugin/config.py
@@ -147,6 +147,11 @@
cfg.BoolOpt('ipxe_enabled',
default=True,
help="Defines if IPXE is enabled"),
+ cfg.BoolOpt('adoption',
+ # Defaults to False since it's a destructive operation AND it
+ # requires the plugin to be able to read ipmi_password.
+ default=False,
+ help="Defines if adoption is enabled"),
]
BaremetalIntrospectionGroup = [