summaryrefslogtreecommitdiffstats
path: root/examples/docker/bgp_demo/run_terminals.sh
blob: e2f7e3e1285fb562b2995dc057cffaeb40dc527d (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash

# Opens connections to hc2vpp containers

xfce4-terminal --title=vpp1 --command="docker exec -it vpp1 \
  bash -c '/hc2vpp/bgp_demo/init/init.sh 1; exec $SHELL'"

xfce4-terminal --title=vpp2 --command="docker exec -it vpp2 \
  bash -c '/hc2vpp/bgp_demo/init/init.sh 2; exec $SHELL'"