X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=extras%2Fvom%2Fvom%2Fl2_vtr_cmds.hpp;h=14477fd43f47ebb40c56f84dfae2ec70eb228f00;hb=7c0eb56f4;hp=d26b71958171ddee0e964fb4d84be1dd442494e6;hpb=d3125833d5f93116a88468d532da123d061a7cd1;p=vpp.git diff --git a/extras/vom/vom/l2_vtr_cmds.hpp b/extras/vom/vom/l2_vtr_cmds.hpp index d26b7195817..14477fd43f4 100644 --- a/extras/vom/vom/l2_vtr_cmds.hpp +++ b/extras/vom/vom/l2_vtr_cmds.hpp @@ -20,23 +20,20 @@ #include "vom/rpc_cmd.hpp" #include -#include namespace VOM { - +namespace l2_vtr_cmds { /** * A cmd class sets the VTR operation */ -class set_vtr_op_cmd - : public rpc_cmd, vapi::L2_interface_vlan_tag_rewrite> +class set_cmd : public rpc_cmd, + vapi::L2_interface_vlan_tag_rewrite> { public: /** * Constructor */ - set_vtr_op_cmd(HW::item& item, - const handle_t& itf, - uint16_t tag); + set_cmd(HW::item& item, const handle_t& itf, uint16_t tag); /** * Issue the command to VPP/HW @@ -51,7 +48,7 @@ public: /** * Comparison operator - only used for UT */ - bool operator==(const set_vtr_op_cmd& i) const; + bool operator==(const set_cmd& i) const; private: /** @@ -65,6 +62,7 @@ private: uint16_t m_tag; }; +}; // namespace vtr_cmds }; // namespace VOM /*