Add the workflow for cookieshape-mcp-ocata-dvr-vxlan
The workflow 'cookieshape-mcp-ocata-dvr-vxlan' is used to
generate the model with specific options using the
latest cookiecutter templates, and try to deploy the environment
using this model.
Change-Id: Ibf72967e638938680fce9866eec4fd165e012d6e
Reviewed-on: https://review.gerrithub.io/375325
Reviewed-by: Dennis Dmitriev <dis.xcom@gmail.com>
Tested-by: Dennis Dmitriev <dis.xcom@gmail.com>
diff --git a/tcp_tests/settings_oslo.py b/tcp_tests/settings_oslo.py
index 9013df9..86ef7b8 100644
--- a/tcp_tests/settings_oslo.py
+++ b/tcp_tests/settings_oslo.py
@@ -30,6 +30,8 @@
_default_salt_steps = pkg_resources.resource_filename(
__name__, 'templates/{0}/salt.yaml'.format(settings.LAB_CONFIG_NAME))
+_default_environment_template_dir = pkg_resources.resource_filename(
+ __name__, 'environment/')
_default_common_services_steps = pkg_resources.resource_filename(
__name__,
'templates/{0}/common-services.yaml'.format(
@@ -118,6 +120,9 @@
ct.Cfg('salt_steps_path', ct.String(),
help="Path to YAML with steps to deploy salt",
default=_default_salt_steps),
+ ct.Cfg('environment_template_dir', ct.String(),
+ help="Path to directory with Environment template and inventory",
+ default=_default_environment_template_dir),
]
salt_opts = [
ct.Cfg('salt_master_host', ct.IPAddress(),