Gabriel Oginski 95875774bc vpp-swan: Add scripts for testing
Added scripts to reparing setups for testing

To prepare and run containers:
sudo ./extras/strongswan/vpp_sswan/docker/run.sh prepare_containers

To prepare setups:
sudo ./extras/strongswan/vpp_sswan/docker/run.sh config

To clean-up settups:
sudo ./extras/strongswan/vpp_sswan/docker/run.sh clean

To deleted all containers and images in Docker:
sudo ./extras/strongswan/vpp_sswan/docker/run.sh deleted

Type: feature
Signed-off-by: Gabriel Oginski <gabrielx.oginski@intel.com>
Change-Id: I77f01c0419dccc95f610046c8552ae825f2c7e12
2022-09-28 17:46:04 +00:00

9 lines
333 B
Plaintext

create host-interface name docker_1_eth2
lcp create host-docker_1_eth2 host-if eth2
set interface state host-docker_1_eth2 up
set interface ip address host-docker_1_eth2 192.168.0.2/24
create host-interface name docker_1a_eth1
set interface state host-docker_1a_eth1 up
set interface ip address host-docker_1a_eth1 192.168.200.1/24