Introduce an option for testing binary API
[one.git] / tests / data_plane / configs / vpp_lite_config / eid_virt / 4o6 / vpp1.config
index f657fa9..550f472 100644 (file)
@@ -1,13 +1,11 @@
-create host-interface name vpp1_cus1
-set int state host-vpp1_cus1 up
-set interface ip table host-vpp1_cus1 100
-set int ip address host-vpp1_cus1 6.0.2.1/24
+create_host_iface_vrf vpp1_cus1 6.0.2.1/24 100
+create_host_iface_vrf vpp1_cus2 6.0.2.1/24 200
+create_host_iface intervpp1 6:0:3::1/64
 
-create host-interface name vpp1_cus2
-set int state host-vpp1_cus2 up
-set interface ip table host-vpp1_cus2 200
-set int ip address host-vpp1_cus2 6.0.2.1/24
-
-create host-interface name intervpp1
-set int state host-intervpp1 up
-set int ip address host-intervpp1 6:0:3::1/64
+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/24 locator-set ls1
+lisp_local_eid vni 200 eid 6.0.2.0/24 locator-set ls1