diff options
Diffstat (limited to 'src/onaptests/steps/simulator/pnf/pnf_instantiate.py')
-rw-r--r-- | src/onaptests/steps/simulator/pnf/pnf_instantiate.py | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/src/onaptests/steps/simulator/pnf/pnf_instantiate.py b/src/onaptests/steps/simulator/pnf/pnf_instantiate.py deleted file mode 100644 index d9d2620..0000000 --- a/src/onaptests/steps/simulator/pnf/pnf_instantiate.py +++ /dev/null @@ -1,30 +0,0 @@ -"""Base step that runs a PNF simulator.""" -from onaptests.steps.simulator.pnf import utils -from onaptests.steps.base import BaseStep - -class PNFInstanceStep(BaseStep): - """Run PNF simulator containers.""" - - @property - def description(self) -> str: - """Step description.""" - return "Run PNF simulator containers." - - @property - def component(self) -> str: - """Component name.""" - return "Environment" - - @BaseStep.store_state - def execute(self) -> None: - """Run PNF simulator containers.""" - super().execute() - utils.build_image() - utils.bootstrap_simulator() - utils.run_container() - - def cleanup(self) -> None: - """Remove containers and images.""" - utils.stop_container() - utils.remove_simulator() - utils.remove_image() |