summaryrefslogtreecommitdiffstats
path: root/extras/strongswan/vpp_sswan/docker/scripts/run_vpp.sh
blob: e21d92503ebf07eb7401b3c95025cb77caedad43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

cd /root/vpp/
make run-release STARTUP_CONF=/root/vpp/extras/strongswan/vpp_sswan/docker/configs/startup.conf &

sleep 5

sudo systemctl restart strongswan.service

sleep 2

echo "### Checking connections between VPP and Strongswan"
/root/vpp/build-root/build-vpp-native/vpp/bin/vppctl -s /run/vpp/cli.sock sh api client