From 1a0a80e60a07bf5dbd7580a1945eb3d92ccb0971 Mon Sep 17 00:00:00 2001 From: Ruby Loo Date: Tue, 17 Apr 2018 20:00:55 +0000 Subject: [PATCH] Add comments for [deploy|rescue]_interface Add comments to explain how deploy_interface and rescue_interface variables are used in the standalone tests. Change-Id: I1b9175fdc52c4594445d47235ed11a5f6635a02e --- .../tests/scenario/baremetal_standalone_manager.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/ironic_tempest_plugin/tests/scenario/baremetal_standalone_manager.py b/ironic_tempest_plugin/tests/scenario/baremetal_standalone_manager.py index 50eea65..9eb5d7f 100644 --- a/ironic_tempest_plugin/tests/scenario/baremetal_standalone_manager.py +++ b/ironic_tempest_plugin/tests/scenario/baremetal_standalone_manager.py @@ -314,10 +314,16 @@ class BaremetalStandaloneScenarioTest(BaremetalStandaloneManager): # The node driver to use in the test driver = None - # The deploy interface to use by the HW type + # The deploy interface to use by the HW type. The deploy interface of + # the node used in the test will be set to this value. If set to None, + # the node will retain its existing deploy_interface value (which may have + # been set via a different test). deploy_interface = None - # The rescue interface to use by the HW type + # The rescue interface to use by the HW type. The rescue interface of + # the node used in the test will be set to this value. If set to None, + # the node will retain its existing rescue_interface value (which may have + # been set via a different test). rescue_interface = None # User image ref to boot node with.