From 5528a69fbda8612c54f13f88e502b6824e1d900e Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Mon, 20 Jun 2016 08:42:21 -0700 Subject: Tests for SMR + RTR with disjoint locators Change-Id: I11aacf00ab68b919c1db8f07a6f0ffd9961ce151 Signed-off-by: Florin Coras --- .../configs/vpp_lite_config/smr_rtr_disjoint/rtr.config | 15 +++++++++++++++ .../configs/vpp_lite_config/smr_rtr_disjoint/vpp1.config | 12 ++++++++++++ .../configs/vpp_lite_config/smr_rtr_disjoint/vpp2.config | 15 +++++++++++++++ 3 files changed, 42 insertions(+) create mode 100644 tests/data_plane/configs/vpp_lite_config/smr_rtr_disjoint/rtr.config create mode 100644 tests/data_plane/configs/vpp_lite_config/smr_rtr_disjoint/vpp1.config create mode 100644 tests/data_plane/configs/vpp_lite_config/smr_rtr_disjoint/vpp2.config (limited to 'tests/data_plane/configs/vpp_lite_config') diff --git a/tests/data_plane/configs/vpp_lite_config/smr_rtr_disjoint/rtr.config b/tests/data_plane/configs/vpp_lite_config/smr_rtr_disjoint/rtr.config new file mode 100644 index 0000000..bb4bcb7 --- /dev/null +++ b/tests/data_plane/configs/vpp_lite_config/smr_rtr_disjoint/rtr.config @@ -0,0 +1,15 @@ +create host-interface name rtr_wan4 +set int state host-rtr_wan4 up +set int ip address host-rtr_wan4 6.0.3.2/24 + +create host-interface name rtr_vpp2 +set int state host-rtr_vpp2 up +set int ip address host-rtr_vpp2 6:0:5::2/64 + +lisp enable + +lisp locator-set add ls1 iface host-rtr_wan4 p 1 w 1 iface host-rtr_vpp2 p 1 w 1 +lisp pitr ls ls1 +comment { lisp pitr disable } +lisp remote-mapping deid 6:0:0::0/32 action send-map-request +lisp map-resolver add 6.0.3.100 diff --git a/tests/data_plane/configs/vpp_lite_config/smr_rtr_disjoint/vpp1.config b/tests/data_plane/configs/vpp_lite_config/smr_rtr_disjoint/vpp1.config new file mode 100644 index 0000000..2fe4b62 --- /dev/null +++ b/tests/data_plane/configs/vpp_lite_config/smr_rtr_disjoint/vpp1.config @@ -0,0 +1,12 @@ +create host-interface name vpp1 +set int state host-vpp1 up +set int ip address host-vpp1 6:0:2::1/64 +create host-interface name vpp1_wan4 +set int state host-vpp1_wan4 up +set int ip address host-vpp1_wan4 6.0.3.1/24 + +lisp enable + +lisp map-resolver add 6.0.3.100 +lisp locator-set add ls1 iface host-vpp1_wan4 p 1 w 1 +lisp eid-table add eid 6:0:2::0/64 locator-set ls1 diff --git a/tests/data_plane/configs/vpp_lite_config/smr_rtr_disjoint/vpp2.config b/tests/data_plane/configs/vpp_lite_config/smr_rtr_disjoint/vpp2.config new file mode 100644 index 0000000..71f3174 --- /dev/null +++ b/tests/data_plane/configs/vpp_lite_config/smr_rtr_disjoint/vpp2.config @@ -0,0 +1,15 @@ +create host-interface name vpp2 +set int state host-vpp2 up +set int ip address host-vpp2 6:0:4::1/64 +create host-interface name vpp2_rtr +set int state host-vpp2_rtr up +set int ip address host-vpp2_rtr 6:0:5::1/64 +create host-interface name vpp2_wan4 +set int state host-vpp2_wan4 up +set int ip address host-vpp2_wan4 6.0.3.3/24 + +lisp enable + +lisp map-resolver add 6:0:5::100 +lisp locator-set add ls1 iface host-vpp2_rtr p 1 w 1 iface host-vpp2_wan4 p 1 w 1 +lisp eid-table add eid 6:0:4::0/64 locator-set ls1 -- cgit 1.2.3-korg