vpp-swan: Add scripts for testing
[vpp.git] / extras / strongswan / vpp_sswan / docker / scripts / run_vpp.sh
1 #!/bin/bash
2
3 cd /root/vpp/
4 make run-release STARTUP_CONF=/root/vpp_sswan/docker/configs/startup.conf &
5
6 sleep 5
7
8 sudo systemctl restart strongswan.service
9
10 sleep 2
11
12 echo "### Checking connections between VPP and Strongswan"
13 /root/vpp/build-root/build-vpp-native/vpp/bin/vppctl -s /run/vpp/cli.sock sh api client