X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=extras%2Fvom%2Fvom%2Fgbp_subnet_cmds.hpp;h=b78699e5bf54909535e9205e16a6a0f1c32abe6f;hb=7c0eb56f40b3ccf8acd8f04e208aa50231aebeba;hp=3dbc8db2359e56ae691ff45cc6b77c5024daa0e7;hpb=164e5f8c63652028ecb9c3570e1ea8618b163071;p=vpp.git diff --git a/extras/vom/vom/gbp_subnet_cmds.hpp b/extras/vom/vom/gbp_subnet_cmds.hpp index 3dbc8db2359..b78699e5bf5 100644 --- a/extras/vom/vom/gbp_subnet_cmds.hpp +++ b/extras/vom/vom/gbp_subnet_cmds.hpp @@ -25,10 +25,9 @@ namespace VOM { namespace gbp_subnet_cmds { /** -* A command class that creates or updates the GBP subnet -*/ -class create_cmd - : public rpc_cmd, rc_t, vapi::Gbp_subnet_add_del> + * A command class that creates or updates the GBP subnet + */ +class create_cmd : public rpc_cmd, vapi::Gbp_subnet_add_del> { public: /** @@ -37,9 +36,9 @@ public: create_cmd(HW::item& item, route::table_id_t rd, const route::prefix_t& prefix, - bool internal, + const gbp_subnet::type_t& type, const handle_t& itf, - epg_id_t epg_id); + sclass_t sclass); /** * Issue the command to VPP/HW @@ -59,16 +58,15 @@ public: private: const route::table_id_t m_rd; const route::prefix_t m_prefix; - const bool m_internal; + const gbp_subnet::type_t& m_type; const handle_t m_itf; - const epg_id_t m_epg_id; + const sclass_t m_sclass; }; /** * A cmd class that deletes a GBP subnet */ -class delete_cmd - : public rpc_cmd, rc_t, vapi::Gbp_subnet_add_del> +class delete_cmd : public rpc_cmd, vapi::Gbp_subnet_add_del> { public: /**