From 04def7418b649a94e32149ee924a3743358b5c84 Mon Sep 17 00:00:00 2001 From: Mohsin Kazmi Date: Wed, 7 Mar 2018 19:53:51 +0100 Subject: VOM: acl: Add support for acl ethertype unbind and dump Change-Id: I667b9ccabe54c8f9cff5b1a2e63864965f5064f5 Signed-off-by: Mohsin Kazmi --- test/ext/vom_test.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/ext') diff --git a/test/ext/vom_test.cpp b/test/ext/vom_test.cpp index 9f7cfd6f208..435d8fdf9c4 100644 --- a/test/ext/vom_test.cpp +++ b/test/ext/vom_test.cpp @@ -294,6 +294,10 @@ public: { rc = handle_derived(f_exp, f_act); } + else if (typeid(*f_exp) == typeid(ACL::acl_ethertype_cmds::unbind_cmd)) + { + rc = handle_derived(f_exp, f_act); + } else if (typeid(*f_exp) == typeid(ACL::list_cmds::l3_update_cmd)) { rc = handle_derived(f_exp, f_act); @@ -1095,6 +1099,7 @@ BOOST_AUTO_TEST_CASE(test_acl) { ADD_EXPECT(ACL::binding_cmds::l3_unbind_cmd(hw_binding, direction_t::INPUT, hw_ifh.data(), hw_acl.data())); ADD_EXPECT(ACL::list_cmds::l3_delete_cmd(hw_acl)); + ADD_EXPECT(ACL::acl_ethertype_cmds::unbind_cmd(ae_binding, hw_ifh.data())); ADD_EXPECT(interface_cmds::state_change_cmd(hw_as_down, hw_ifh)); ADD_EXPECT(interface_cmds::af_packet_delete_cmd(hw_ifh, itf1_name)); -- cgit 1.2.3-korg