diff options
author | Filip Tehlar <ftehlar@cisco.com> | 2016-07-22 10:42:41 +0200 |
---|---|---|
committer | Filip Tehlar <ftehlar@cisco.com> | 2016-07-22 13:11:56 +0200 |
commit | f9c4cfa7d6c7a90541601041fb7886e5e5f15ed3 (patch) | |
tree | 3ddb9ee7077274954a0f8e965e07b955c79833c4 /tests/data_plane/configs | |
parent | 05479d8750d11d46a939c31ca78e99ecc310dc7a (diff) |
Add map resolver failover test
Change-Id: Ic4d5a553950e7d3dee36a818f4b06f69890b1719
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'tests/data_plane/configs')
-rw-r--r-- | tests/data_plane/configs/vpp_lite_config/basic/4o4_failover/vpp1.config | 15 | ||||
-rw-r--r-- | tests/data_plane/configs/vpp_lite_config/basic/4o4_failover/vpp2.config | 13 |
2 files changed, 28 insertions, 0 deletions
diff --git a/tests/data_plane/configs/vpp_lite_config/basic/4o4_failover/vpp1.config b/tests/data_plane/configs/vpp_lite_config/basic/4o4_failover/vpp1.config new file mode 100644 index 0000000..72ac2ab --- /dev/null +++ b/tests/data_plane/configs/vpp_lite_config/basic/4o4_failover/vpp1.config @@ -0,0 +1,15 @@ +create host-interface name vpp1 +set int state host-vpp1 up +set int ip address host-vpp1 6.0.1.1/24 + +create host-interface name intervpp1 +set int state host-intervpp1 up +set int ip address host-intervpp1 6.0.3.1/24 + +lisp enable + +lisp locator-set add ls1 iface host-intervpp1 p 1 w 1 +lisp eid-table add eid 6.0.1.0/24 locator-set ls1 + +lisp map-resolver add 6.0.3.99 +lisp map-resolver add 6.0.3.100 diff --git a/tests/data_plane/configs/vpp_lite_config/basic/4o4_failover/vpp2.config b/tests/data_plane/configs/vpp_lite_config/basic/4o4_failover/vpp2.config new file mode 100644 index 0000000..1bac043 --- /dev/null +++ b/tests/data_plane/configs/vpp_lite_config/basic/4o4_failover/vpp2.config @@ -0,0 +1,13 @@ +create host-interface name vpp2 +set int state host-vpp2 up +set int ip address host-vpp2 6.0.2.1/24 + +create host-interface name intervpp2 +set int state host-intervpp2 up +set int ip address host-intervpp2 6.0.3.2/24 + +lisp enable + +lisp locator-set add ls1 iface host-intervpp2 p 1 w 1 +lisp eid-table add eid 6.0.2.0/24 locator-set ls1 +lisp map-resolver add 6.0.3.100 |