Introduce an option for testing binary API
[one.git] / tests / data_plane / configs / vpp_lite_config / smr_rtr_disjoint / vpp2.config
index 71f3174..794ff84 100644 (file)
@@ -1,15 +1,8 @@
-create host-interface name vpp2
-set int state host-vpp2 up
-set int ip address host-vpp2 6:0:4::1/64
-create host-interface name vpp2_rtr
-set int state host-vpp2_rtr up
-set int ip address host-vpp2_rtr 6:0:5::1/64
-create host-interface name vpp2_wan4
-set int state host-vpp2_wan4 up
-set int ip address host-vpp2_wan4 6.0.3.3/24
+create_host_iface vpp2 6:0:4::1/64
+create_host_iface vpp2_rtr 6:0:5::1/64
+create_host_iface vpp2_wan4 6.0.3.3/24
 
-lisp enable
-
-lisp map-resolver add 6:0:5::100
-lisp locator-set add ls1 iface host-vpp2_rtr p 1 w 1 iface host-vpp2_wan4 p 1 w 1
-lisp eid-table add eid 6:0:4::0/64 locator-set ls1
+lisp_state enable
+lisp_ls_multiple_locs ls1 iface host-vpp2_rtr p 1 w 1 iface host-vpp2_wan4 p 1 w 1
+lisp_local_eid eid 6:0:4::0/64 locator-set ls1
+lisp_map_resolver 6.0.3.100