Introduce an option for testing binary API
[one.git] / tests / data_plane / configs / vpp_lite_config / eid_virt / 6o4 / vpp1.config
index fb877ba..bbadffe 100644 (file)
@@ -1,13 +1,11 @@
-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 intervpp1 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 intervpp1
-set int state host-intervpp1 up
-set int ip address host-intervpp1 6.0.3.1/24
+lisp_state enable
+lisp_map_resolver 6.0.3.100
+lisp_locator_set_with_locator ls1 host-intervpp1 1 1
+lisp_eid_map_vrf 100 100
+lisp_eid_map_vrf 200 200
+lisp_local_eid vni 100 eid 6:0:2::0/64 locator-set ls1
+lisp_local_eid vni 200 eid 6:0:2::0/64 locator-set ls1