Integrate contiv/vpp CNI into IEC
[iec.git] / src / foundation / scripts / config
index a1ad323..f4c27b0 100755 (executable)
@@ -29,9 +29,17 @@ K8S_WORKER_GROUP=(
 # K8s parameter
 CLUSTER_IP=172.16.1.136 # Align with the value in our K8s setup script
 POD_NETWORK_CIDR=192.168.0.0/16
-#CNI type: flannel/calico/contivvpp
+#IEC support three kinds network solution for Kubernetes: calico,flannel,contivpp
 CNI_TYPE=calico
 #kubernetes-cni version 0.7.5/ 0.6.0
 CNI_VERSION=0.6.0
 #kubernetes version: 1.15.2/ 1.13.0
 KUBE_VERSION=1.13.0
+
+# DEV_NAME is an associative array, list network interface device names used by contivpp,
+# Use IP address of K8S_WORKER_GROUP as key, for example
+#  DEV_NAME=(
+#  [10.169.40.106]="enp137s0f0"
+#  )
+declare -A DEV_NAME
+DEV_NAME=()