diff options
Diffstat (limited to 'tests/data_plane/configs/vpp_lite_config/basic')
-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 |