diff options
author | Filip Tehlar <ftehlar@cisco.com> | 2016-10-06 13:20:58 +0200 |
---|---|---|
committer | Filip Tehlar <ftehlar@cisco.com> | 2016-10-06 14:03:30 +0200 |
commit | abc6884972bc0792f4817a3822f13128d716c889 (patch) | |
tree | 343e9a7170c424dd8774d5f57c9123096a7da91f /tests/data_plane/configs | |
parent | 18b298a6096f95362c4f38270166f335790f4d0b (diff) |
Fix some test issues
* add sleep to v6 eid virt test
* fix failover test
* reuse topology setup at failover test
Change-Id: I7f1234696a9cec7931984c4dcee79c2cf90287d1
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 | 23 | ||||
-rw-r--r-- | tests/data_plane/configs/vpp_lite_config/basic/4o4_failover/vpp2.config | 18 |
2 files changed, 14 insertions, 27 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 index 72ac2ab..318f302 100644 --- 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 @@ -1,15 +1,8 @@ -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 +create_host_iface vpp1 6.0.1.1/24 +create_host_iface intervpp1 6.0.3.1/24 + +lisp_state enable +lisp_locator_set_with_locator ls1 host-intervpp1 1 1 +lisp_local_eid eid 6.0.1.0/24 locator-set ls1 +lisp_map_resolver 6.0.3.199 +lisp_map_resolver 6.0.3.200 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 index 1bac043..de7a679 100644 --- 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 @@ -1,13 +1,7 @@ -create host-interface name vpp2 -set int state host-vpp2 up -set int ip address host-vpp2 6.0.2.1/24 +create_host_iface vpp2 6.0.2.1/24 +create_host_iface intervpp2 6.0.3.2/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 +lisp_state enable +lisp_locator_set_with_locator ls1 host-intervpp2 1 1 +lisp_local_eid eid 6.0.2.0/24 locator-set ls1 +lisp_map_resolver 6.0.3.200 |