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 /test/ext | |
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 'test/ext')
-rw-r--r-- | test/ext/vom_test.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ext/vom_test.cpp b/test/ext/vom_test.cpp index 5bec3a49583..788208376ef 100644 --- a/test/ext/vom_test.cpp +++ b/test/ext/vom_test.cpp @@ -760,7 +760,7 @@ BOOST_AUTO_TEST_CASE(test_bridge) { bridge_domain bd1(33); HW::item<uint32_t> hw_bd(33, rc_t::OK); - ADD_EXPECT(bridge_domain_cmds::create_cmd(hw_bd)); + ADD_EXPECT(bridge_domain_cmds::create_cmd(hw_bd, bridge_domain::learning_mode_t::ON)); TRY_CHECK_RC(OM::write(franz, bd1)); @@ -858,10 +858,10 @@ BOOST_AUTO_TEST_CASE(test_vxlan) { TRY_CHECK_RC(OM::write(franz, vxt)); // bridge-domain create - bridge_domain bd1(33); + bridge_domain bd1(33, bridge_domain::learning_mode_t::OFF); HW::item<uint32_t> hw_bd(33, rc_t::OK); - ADD_EXPECT(bridge_domain_cmds::create_cmd(hw_bd)); + ADD_EXPECT(bridge_domain_cmds::create_cmd(hw_bd, bridge_domain::learning_mode_t::OFF)); TRY_CHECK_RC(OM::write(franz, bd1)); |