ONE-4: Add LISP enable/disable API/CLI
[vpp.git] / vnet / vnet / lisp-cp / control.h
index f87a6d5..fad90e6 100644 (file)
@@ -51,6 +51,9 @@ typedef struct
 
 typedef struct
 {
+  /* LISP feature status */
+  u8 is_enabled;
+
   /* eid table */
   gid_dictionary_t mapping_index_by_gid;
 
@@ -169,4 +172,7 @@ vnet_lisp_cp_get_main() {
   return &lisp_control_main;
 }
 
+clib_error_t * vnet_lisp_enable_disable (u8 is_enabled);
+u8 vnet_lisp_enable_disable_status (void);
+
 #endif /* VNET_CONTROL_H_ */