diff options
author | Neale Ranns <neale.ranns@cisco.com> | 2017-11-14 08:40:43 -0800 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2017-11-14 19:25:54 +0000 |
commit | 10e7a9f8d8c8572be16f9b3f0395da6f8eff22ec (patch) | |
tree | 76cad881f5bd9a2c1c3ec664a880c3d0ba299961 /src/vpp-api/vom/bridge_domain_cmds.hpp | |
parent | a161a6dedb1aa3aba00109d325d2909051a3c987 (diff) |
VOM: bridge-domain learning mode and route help commands
Change-Id: I2fa219d6530f1e7a3b8ae32d35a0c60ba57c5129
Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
Diffstat (limited to 'src/vpp-api/vom/bridge_domain_cmds.hpp')
-rw-r--r-- | src/vpp-api/vom/bridge_domain_cmds.hpp | 9 |
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; }; /** |