aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests/steps/onboard/vendor.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/onaptests/steps/onboard/vendor.py')
-rw-r--r--src/onaptests/steps/onboard/vendor.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/onaptests/steps/onboard/vendor.py b/src/onaptests/steps/onboard/vendor.py
new file mode 100644
index 0000000..8a4cb48
--- /dev/null
+++ b/src/onaptests/steps/onboard/vendor.py
@@ -0,0 +1,19 @@
+from onapsdk.configuration import settings
+from onapsdk.sdc.vendor import Vendor
+
+from ..base import BaseStep
+
+
+class VendorOnboardStep(BaseStep):
+ """Vendor onboard step."""
+
+ def execute(self):
+ """Onboard vendor.
+
+ Use settings values:
+ - VENDOR_NAME.
+
+ """
+ super().execute()
+ vendor: Vendor = Vendor(name=settings.VENDOR_NAME)
+ vendor.onboard()