diff options
author | Mohsin Kazmi <sykazmi@cisco.com> | 2019-02-12 21:56:49 +0100 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2019-02-13 04:52:36 -0800 |
commit | d3125833d5f93116a88468d532da123d061a7cd1 (patch) | |
tree | 4aa5980ce4e0f1c3c8949b7735874f66f247dea0 /extras/vom/vom/l2_binding.hpp | |
parent | b4cfd55f25cb87acff732fc40633d055cfedd816 (diff) |
vom: Add support for vtr in xconnect
Change-Id: Ib168a1d20c4609e4e64f472f75e9463161638e3e
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'extras/vom/vom/l2_binding.hpp')
-rw-r--r-- | extras/vom/vom/l2_binding.hpp | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/extras/vom/vom/l2_binding.hpp b/extras/vom/vom/l2_binding.hpp index 0a30a0cc894..19082892f5b 100644 --- a/extras/vom/vom/l2_binding.hpp +++ b/extras/vom/vom/l2_binding.hpp @@ -20,6 +20,7 @@ #include "vom/hw.hpp" #include "vom/inspect.hpp" #include "vom/interface.hpp" +#include "vom/l2_vtr.hpp" #include "vom/object_base.hpp" #include "vom/om.hpp" #include "vom/singular_db.hpp" @@ -37,25 +38,6 @@ public: */ typedef interface::key_t key_t; - struct l2_vtr_op_t : public enum_base<l2_vtr_op_t> - { - l2_vtr_op_t(const l2_vtr_op_t& l) = default; - ~l2_vtr_op_t() = default; - - const static l2_vtr_op_t L2_VTR_DISABLED; - const static l2_vtr_op_t L2_VTR_PUSH_1; - const static l2_vtr_op_t L2_VTR_PUSH_2; - const static l2_vtr_op_t L2_VTR_POP_1; - const static l2_vtr_op_t L2_VTR_POP_2; - const static l2_vtr_op_t L2_VTR_TRANSLATE_1_1; - const static l2_vtr_op_t L2_VTR_TRANSLATE_1_2; - const static l2_vtr_op_t L2_VTR_TRANSLATE_2_1; - const static l2_vtr_op_t L2_VTR_TRANSLATE_2_2; - - private: - l2_vtr_op_t(int v, const std::string s); - }; - struct l2_port_type_t : public enum_base<l2_port_type_t> { l2_port_type_t(const l2_port_type_t& l) = default; |