summaryrefslogtreecommitdiffstats
path: root/mcp/config
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-10-31 16:02:45 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-10-31 16:02:45 +0000
commit4ab45dddc0f2e84250d5d2dfd8eadba17ac03661 (patch)
tree6152e694751f6f78f7b199aed4e9f944efb764da /mcp/config
parent66041473fa5b1a539b8a1fd5b98cf2e94f9fbf49 (diff)
parent36d842cd4938d97d6cd16b3fafe4740aaa4f288e (diff)
Merge "Add odl bgpvpn noha scenario to fuel" into stable/gambia
Diffstat (limited to 'mcp/config')
-rw-r--r--mcp/config/scenario/os-odl-bgpvpn-noha.yaml39
-rwxr-xr-xmcp/config/states/quagga12
2 files changed, 51 insertions, 0 deletions
diff --git a/mcp/config/scenario/os-odl-bgpvpn-noha.yaml b/mcp/config/scenario/os-odl-bgpvpn-noha.yaml
new file mode 100644
index 000000000..1b2e2d0fb
--- /dev/null
+++ b/mcp/config/scenario/os-odl-bgpvpn-noha.yaml
@@ -0,0 +1,39 @@
+##############################################################################
+# Copyright (c) 2018 Intracom Telecom and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+---
+cluster:
+ domain: mcp-odl-noha.local
+ states:
+ - opendaylight
+ - openstack_noha
+ - neutron_gateway
+ - quagga
+ - networks
+virtual:
+ nodes:
+ control:
+ - ctl01
+ - gtw01
+ - odl01
+ compute:
+ - cmp001
+ - cmp002
+ ctl01:
+ vcpus: 4
+ ram: 14336
+ gtw01:
+ ram: 2048
+ odl01:
+ vcpus: 4
+ ram: 16384
+ cmp001:
+ vcpus: 4
+ ram: 16384
+ cmp002:
+ vcpus: 4
+ ram: 16384
diff --git a/mcp/config/states/quagga b/mcp/config/states/quagga
new file mode 100755
index 000000000..e3c9de7da
--- /dev/null
+++ b/mcp/config/states/quagga
@@ -0,0 +1,12 @@
+#!/bin/bash -e
+##############################################################################
+# Copyright (c) 2018 Intracom Telecom and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+CI_DEBUG=${CI_DEBUG:-0}; [[ "${CI_DEBUG}" =~ (false|0) ]] || set -x
+
+salt -I 'quagga:server' state.sls quagga -b 1