Skip to content

Commit

Permalink
install appropriate services for different products
Browse files Browse the repository at this point in the history
  • Loading branch information
goldenrye committed Dec 8, 2019
1 parent 2341f85 commit ea9d84b
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,13 @@ if [ "$MODE" == "pcn-iptables" ]; then
-DENABLE_SERVICE_PBFORWARDER=OFF \
-DENABLE_SERVICE_ROUTER=OFF \
-DENABLE_SERVICE_SIMPLEBRIDGE=OFF \
-DENABLE_SERVICE_SIMPLEFORWARDER=OFF
-DENABLE_SERVICE_SIMPLEFORWARDER=OFF \
-DENABLE_SERVICE_TRANSPARENTHELLOWORLD=OFF \
-DENABLE_SERVICE_SYNFLOOD=OFF \
-DENABLE_SERVICE_PACKETCAPTURE=OFF
elif [ "$MODE" == "pcn-k8s" ]; then
cmake .. -DENABLE_SERVICE_BRIDGE=OFF \
-DENABLE_SERVICE_DDOSMITIGATOR=OFF \
-DENABLE_SERVICE_DDOSMITIGATOR=ON \
-DENABLE_SERVICE_FIREWALL=ON \
-DENABLE_SERVICE_HELLOWORLD=OFF \
-DENABLE_SERVICE_IPTABLES=OFF \
Expand All @@ -114,7 +117,10 @@ elif [ "$MODE" == "pcn-k8s" ]; then
-DENABLE_SERVICE_PBFORWARDER=OFF \
-DENABLE_SERVICE_ROUTER=OFF \
-DENABLE_SERVICE_SIMPLEBRIDGE=OFF \
-DENABLE_SERVICE_SIMPLEFORWARDER=OFF
-DENABLE_SERVICE_SIMPLEFORWARDER=OFF \
-DENABLE_SERVICE_TRANSPARENTHELLOWORLD=OFF \
-DENABLE_SERVICE_SYNFLOOD=OFF \
-DENABLE_SERVICE_PACKETCAPTURE=ON
else
cmake .. -DENABLE_PCN_IPTABLES=ON
fi
Expand Down

0 comments on commit ea9d84b

Please sign in to comment.