aboutsummaryrefslogtreecommitdiffstats
path: root/src/vpp-api/vom/bridge_domain_cmds.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vpp-api/vom/bridge_domain_cmds.hpp')
-rw-r--r--src/vpp-api/vom/bridge_domain_cmds.hpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/vpp-api/vom/bridge_domain_cmds.hpp b/src/vpp-api/vom/bridge_domain_cmds.hpp
index c6226fd339b..f263b323e41 100644
--- a/src/vpp-api/vom/bridge_domain_cmds.hpp
+++ b/src/vpp-api/vom/bridge_domain_cmds.hpp
@@ -34,7 +34,8 @@ public:
/**
* Constructor
*/
- create_cmd(HW::item<uint32_t>& item);
+ create_cmd(HW::item<uint32_t>& item,
+ const bridge_domain::learning_mode_t& lmode);
/**
* Issue the command to VPP/HW
@@ -49,6 +50,12 @@ public:
* Comparison operator - only used for UT
*/
bool operator==(const create_cmd& i) const;
+
+private:
+ /**
+ * the learning mode for the bridge
+ */
+ bridge_domain::learning_mode_t m_learning_mode;
};
/**