NAT: VPP-1531 api cleanup & update
[vpp.git] / extras / vom / vom / gbp_recirc_cmds.hpp
index fe17834..9d95bf1 100644 (file)
@@ -27,8 +27,7 @@ namespace gbp_recirc_cmds {
 /**
 * A command class that creates or updates the GBP recirc
 */
-class create_cmd
-  : public rpc_cmd<HW::item<bool>, rc_t, vapi::Gbp_recirc_add_del>
+class create_cmd : public rpc_cmd<HW::item<bool>, vapi::Gbp_recirc_add_del>
 {
 public:
   /**
@@ -37,7 +36,7 @@ public:
   create_cmd(HW::item<bool>& item,
              const handle_t& itf,
              bool is_ext,
-             epg_id_t epg_id);
+             sclass_t sclass);
 
   /**
    * Issue the command to VPP/HW
@@ -57,14 +56,13 @@ public:
 private:
   const handle_t m_itf;
   bool m_is_ext;
-  const epg_id_t m_epg_id;
+  const sclass_t m_sclass;
 };
 
 /**
  * A cmd class that deletes a GBP recirc
  */
-class delete_cmd
-  : public rpc_cmd<HW::item<bool>, rc_t, vapi::Gbp_recirc_add_del>
+class delete_cmd : public rpc_cmd<HW::item<bool>, vapi::Gbp_recirc_add_del>
 {
 public:
   /**