summaryrefslogtreecommitdiffstats
path: root/tests/data_plane/configs/vpp_lite_config/rtr_two_iface_two_customers/6o46/vpp1.config
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data_plane/configs/vpp_lite_config/rtr_two_iface_two_customers/6o46/vpp1.config')
-rw-r--r--tests/data_plane/configs/vpp_lite_config/rtr_two_iface_two_customers/6o46/vpp1.config23
1 files changed, 11 insertions, 12 deletions
diff --git a/tests/data_plane/configs/vpp_lite_config/rtr_two_iface_two_customers/6o46/vpp1.config b/tests/data_plane/configs/vpp_lite_config/rtr_two_iface_two_customers/6o46/vpp1.config
index 5b5452e..2b80070 100644
--- a/tests/data_plane/configs/vpp_lite_config/rtr_two_iface_two_customers/6o46/vpp1.config
+++ b/tests/data_plane/configs/vpp_lite_config/rtr_two_iface_two_customers/6o46/vpp1.config
@@ -1,13 +1,12 @@
-create host-interface name vpp1_cus1
-set int state host-vpp1_cus1 up
-set interface ip6 table host-vpp1_cus1 100
-set int ip address host-vpp1_cus1 6:0:2::1/64
+create_host_iface_vrf_v6 vpp1_cus1 6:0:2::1/64 100
+create_host_iface_vrf_v6 vpp1_cus2 6:0:2::1/64 200
+create_host_iface vpp1_rtr 6.0.3.1/24
-create host-interface name vpp1_cus2
-set int state host-vpp1_cus2 up
-set interface ip6 table host-vpp1_cus2 200
-set int ip address host-vpp1_cus2 6:0:2::1/64
-
-create host-interface name vpp1_rtr
-set int state host-vpp1_rtr up
-set int ip address host-vpp1_rtr 6.0.3.1/24
+lisp_state enable
+lisp_locator_set_with_locator ls1 host-vpp1_rtr 1 1
+lisp_eid_map_vrf 100 100
+lisp_local_eid vni 100 eid 6:0:2::0/64 locator-set ls1
+lisp_locator_set_with_locator ls2 host-vpp1_rtr 1 1
+lisp_eid_map_vrf 200 200
+lisp_local_eid vni 200 eid 6:0:2::0/64 locator-set ls2
+lisp_map_resolver 6.0.3.100