Introduce an option for testing binary API
[one.git] / tests / data_plane / configs / vpp_lite_config / rtr_single_iface / 6o4 / vpp2.config
index 0f3e4ab..240993a 100644 (file)
@@ -1,13 +1,7 @@
-create host-interface name vpp2
-set int state host-vpp2 up
-set int ip address host-vpp2 6:0:4::1/64
+create_host_iface vpp2 6:0:4::1/64
+create_host_iface xtr_rtr3 6.0.3.2/24
 
-create host-interface name xtr_rtr3
-set int state host-xtr_rtr3 up
-set int ip address host-xtr_rtr3 6.0.3.2/24
-
-lisp enable
-
-lisp map-resolver add 6.0.3.100
-lisp locator-set add ls1 iface host-xtr_rtr3 p 1 w 1
-lisp eid-table add eid 6:0:4::0/64 locator-set ls1
+lisp_state enable
+lisp_locator_set_with_locator ls1 host-xtr_rtr3 1 1
+lisp_local_eid eid 6:0:4::0/64 locator-set ls1
+lisp_map_resolver 6.0.3.100