pppoe: make pppoe plugin work with dot1q subinterfaces
[vpp.git] / src / plugins / pppoe / pppoe.api
index fcbbf8a..01f4ba4 100644 (file)
@@ -86,6 +86,30 @@ define pppoe_session_details
   vl_api_mac_address_t client_mac;
 };
 
+/** \brief Create PPPOE control plane interface
+    @param client_index - opaque cookie to identify the sender 
+    @param context - sender context, to match reply w/ request
+    @param sw_if_index - software index of the interface
+    @param is_add - to create or to delete 
+*/
+define pppoe_add_del_cp
+{
+  u32 client_index;
+  u32 context;
+  vl_api_interface_index_t sw_if_index;
+  u8 is_add;
+  option vat_help = "[ sw_if_index <intfc> is_add <bool> ]";
+};
+
+/** \brief reply for create PPPOE control plane interface
+    @param retval - return code
+*/
+define pppoe_add_del_cp_reply
+{
+  u32 context;
+  i32 retval;
+};
+
 /*
  * Local Variables:
  * eval: (c-set-style "gnu")