aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_acl_plugin_l2l3.py
AgeCommit message (Expand)AuthorFilesLines
2021-05-13tests: move test source to vpp/testDave Wallace1-0/+864
2019-08-22tests: move plugin tests to src/plugins/*/testDave Wallace1-871/+0
2019-08-16acl: fix stats-segment counters validation on acl updateAndrew Yourtchenko1-18/+36
2019-04-11Tests: Refactor tearDown show command logging, add lifecycle markers.Paul Vinciguerra1-13/+14
2019-04-10Tests Cleanup: Fix missing calls to setUpClass/tearDownClass.Paul Vinciguerra1-0/+4
2019-03-29tests: test/vpp_l2.py fix missing name.Paul Vinciguerra1-1/+1
2019-03-14acl-plugin: fix the l2l3 unittest to actually verify the pcapAndrew Yourtchenko1-4/+3
2019-03-11vpp_papi_provider: Remove more wrapper functions.Ole Troan1-5/+5
2019-03-11VPP-1508: Use scapy.compat to manage packet level library differences.Paul Vinciguerra1-3/+6
2019-03-07VPP-1508: test_acl_plugin vapi changes for Python3.Paul Vinciguerra1-8/+8
2018-09-27Test typo fixesjuraj.linkes1-4/+4
2018-09-26acl-plugin: fix the stateful ICMP handling and add testcasesAndrew Yourtchenko1-27/+107
2018-09-25L2 BD: introduce a BD interface on which to send UU packetsNeale Ranns1-1/+3
2018-06-24Revert "Revert "make test: fix broken interfaces""Klement Sekera1-1/+1
2018-06-22Revert "make test: fix broken interfaces"Ole Troan1-1/+1
2018-06-22make test: fix broken interfacesKlement Sekera1-1/+1
2018-04-09make test: fix failure on centosKlement Sekera1-1/+1
2018-03-23acl-plugin: make test: shuffle applied ACLs as part of the testsAndrew Yourtchenko1-1/+79
2017-09-26acl-plugin: test: move the API calls to vpp_papi_provider.pyAndrew Yourtchenko1-61/+25
2017-06-19acl-plugin: bihash-based ACL lookupAndrew Yourtchenko1-0/+3
2017-04-20Clean up old datapath code in ACL plugin.Andrew Yourtchenko1-48/+0
2017-04-06acl-plugin: make the IPv4/IPv6 non-first fragment handling in line with ACL (...Andrew Yourtchenko1-3/+48
2017-03-21ACL plugin 1.2Andrew Yourtchenko1-0/+722
ass="n">l3_bind_cmd::issue(connection& con) { msg_t req(con.ctx(), std::ref(*this)); auto& payload = req.get_request().get_payload(); payload.sw_if_index = m_itf.value(); payload.is_add = 1; payload.is_input = (m_direction == direction_t::INPUT ? 1 : 0); payload.acl_index = m_acl.value(); VAPI_CALL(req.execute()); m_hw_item.set(wait()); return rc_t::OK; } template <> rc_t l3_unbind_cmd::issue(connection& con) { msg_t req(con.ctx(), std::ref(*this)); auto& payload = req.get_request().get_payload(); payload.sw_if_index = m_itf.value(); payload.is_add = 0; payload.is_input = (m_direction == direction_t::INPUT ? 1 : 0); payload.acl_index = m_acl.value(); VAPI_CALL(req.execute()); m_hw_item.set(wait()); return rc_t::OK; } template <> rc_t l3_dump_cmd::issue(connection& con) { m_dump.reset(new msg_t(con.ctx(), std::ref(*this))); auto& payload = m_dump->get_request().get_payload(); payload.sw_if_index = ~0; VAPI_CALL(m_dump->execute()); wait(); return rc_t::OK; } template <> rc_t l2_bind_cmd::issue(connection& con) { msg_t req(con.ctx(), std::ref(*this)); auto& payload = req.get_request().get_payload(); payload.sw_if_index = m_itf.value(); payload.is_add = 1; // payload.is_input = (m_direction == direction_t::INPUT ? 1 : 0); payload.acl_index = m_acl.value(); VAPI_CALL(req.execute()); m_hw_item.set(wait()); return rc_t::OK; } template <> rc_t l2_unbind_cmd::issue(connection& con) { msg_t req(con.ctx(), std::ref(*this)); auto& payload = req.get_request().get_payload(); payload.sw_if_index = m_itf.value(); payload.is_add = 0; // payload.is_input = (m_direction == direction_t::INPUT ? 1 : 0); payload.acl_index = m_acl.value(); VAPI_CALL(req.execute()); m_hw_item.set(wait()); return rc_t::OK; } template <> rc_t l2_dump_cmd::issue(connection& con) { m_dump.reset(new msg_t(con.ctx(), std::ref(*this))); auto& payload = m_dump->get_request().get_payload(); payload.sw_if_index = ~0; VAPI_CALL(m_dump->execute()); wait(); return rc_t::OK; } }; // namespace binding_cmds }; // namespace ACL }; // namespace VOM /* * fd.io coding-style-patch-verification: ON * * Local Variables: * eval: (c-set-style "mozilla") * End: */