aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/bash/config
diff options
context:
space:
mode:
Diffstat (limited to 'resources/libraries/bash/config')
-rw-r--r--resources/libraries/bash/config/config5
-rw-r--r--resources/libraries/bash/config/defaults12
2 files changed, 17 insertions, 0 deletions
diff --git a/resources/libraries/bash/config/config b/resources/libraries/bash/config/config
new file mode 100644
index 0000000000..2b71edcc49
--- /dev/null
+++ b/resources/libraries/bash/config/config
@@ -0,0 +1,5 @@
+QEMU_INSTALL_DIR=/opt
+QEMU_INSTALL_VERSION=qemu-2.5.0
+
+DPDK_INSTALL_DIR=/opt
+DPDK_INSTALL_VERSION=dpdk-17.11 \ No newline at end of file
diff --git a/resources/libraries/bash/config/defaults b/resources/libraries/bash/config/defaults
new file mode 100644
index 0000000000..1547452982
--- /dev/null
+++ b/resources/libraries/bash/config/defaults
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+typeset -A cfg
+cfg=( # set default values in config array
+ [QEMU_INSTALL_DIR]="/opt"
+ [QEMU_INSTALL_VERSION]="qemu-2.5.0"
+ [DPDK_INSTALL_DIR]=/opt
+ [DPDK_INSTALL_VERSION]=dpdk-17.11
+ [K8S_CALICO]="${SCRIPT_DIR}/../../templates/kubernetes/calico_v2.6.3.yaml"
+ [K8S_CONTIV_VPP]="https://raw.githubusercontent.com/contiv/vpp/master/k8s/contiv-vpp.yaml"
+ [K8S_CSIT]="${SCRIPT_DIR}/../../templates/kubernetes/csit.yaml"
+) \ No newline at end of file