aboutsummaryrefslogtreecommitdiffstats
path: root/extras/strongswan/vpp_sswan/docker/scripts/run_vpp.sh
blob: 0497d8aec38da17bc13aa8bbccdab4288961225c (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_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