Code Review
/
iec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add Multus with Calico and SRIOV CNI support
[iec.git]
/
src
/
foundation
/
scripts
/
config
diff --git
a/src/foundation/scripts/config
b/src/foundation/scripts/config
index
a1ad323
..
8c4837c
100755
(executable)
--- a/
src/foundation/scripts/config
+++ b/
src/foundation/scripts/config
@@
-29,9
+29,18
@@
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
# 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
+SVC_CIDR=172.16.1.0/24
+#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
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=()