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 some options for IEC installation scripts
[iec.git]
/
src
/
foundation
/
scripts
/
setup-cni.sh
diff --git
a/src/foundation/scripts/setup-cni.sh
b/src/foundation/scripts/setup-cni.sh
index
55953a2
..
b383b97
100755
(executable)
--- a/
src/foundation/scripts/setup-cni.sh
+++ b/
src/foundation/scripts/setup-cni.sh
@@
-36,6
+36,10
@@
install_flannel(){
kubectl apply -f "${SCRIPTS_DIR}/cni/flannel/kube-flannel.yml"
}
kubectl apply -f "${SCRIPTS_DIR}/cni/flannel/kube-flannel.yml"
}
+install_contiv(){
+ # Install the Contiv-vpp
+ echo "World peach!!!!!!!!!!!!!!"
+}
case ${CNI_TYPE} in
'calico')
case ${CNI_TYPE} in
'calico')
@@
-46,6
+50,10
@@
case ${CNI_TYPE} in
echo "Install flannel ..."
install_flannel
;;
echo "Install flannel ..."
install_flannel
;;
+ 'contivvpp')
+ echo "Install Contiv-vpp ..."
+ install_contiv
+ ;;
*)
echo "${CNI_TYPE} does not supportted"
exit 1
*)
echo "${CNI_TYPE} does not supportted"
exit 1