diff options
author | Marek Gradzki <mgradzki@cisco.com> | 2017-12-13 12:25:58 +0100 |
---|---|---|
committer | Marek Gradzki <mgradzki@cisco.com> | 2018-01-08 15:11:17 +0000 |
commit | 686309091cf77d9b35cf5ae19c80172ad29d68b6 (patch) | |
tree | 9c623ddef516d80f2ae981ae0512db8e54e97526 /docker/bgp_demo/init/vpp1.cmd | |
parent | c127a6e1f1f7c37864bf9e11887cb7b84dfad826 (diff) |
BGP-HC docker example
Shows how to announce BGP prefix from one HC instance to another.
Configuration (RESTCONF) is done over builtin docker0 network.
Data plane is using veth pair that connects containers.
BGP is also using veth but via unnumbered tuntap.
Change-Id: Ia18b0729e12a4893ba559d0a68a9e962e58d2a2f
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'docker/bgp_demo/init/vpp1.cmd')
-rw-r--r-- | docker/bgp_demo/init/vpp1.cmd | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docker/bgp_demo/init/vpp1.cmd b/docker/bgp_demo/init/vpp1.cmd new file mode 100644 index 000000000..5760f167b --- /dev/null +++ b/docker/bgp_demo/init/vpp1.cmd @@ -0,0 +1,4 @@ +create host-interface name veth12 +set int state host-veth12 up +set int ip address host-veth12 10.12.1.1/24 +set interface unnumbered tuntap-0 use host-veth12 |