From 4c605ed3c8a2bfb70e6ff1432a6f1ca9ad863234 Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Fri, 26 Jul 2019 07:10:01 -0700 Subject: l2-bindings not required, they are created by the gbp_bridge_domain Change-Id: I0f36eba8e52a565c17b329f0d883ccc68d6533a1 Signed-off-by: Neale Ranns --- src/VppEndPointGroupManager.cpp | 8 -------- src/test/VppManager_test.cpp | 6 ------ 2 files changed, 14 deletions(-) diff --git a/src/VppEndPointGroupManager.cpp b/src/VppEndPointGroupManager.cpp index 9310e38..f66aeef 100644 --- a/src/VppEndPointGroupManager.cpp +++ b/src/VppEndPointGroupManager.cpp @@ -228,12 +228,6 @@ EndPointGroupManager::mk_bvi(Runtime &r, } OM::write(key, *bvi); - /* - * Add the BVI to the BD - */ - l2_binding l2_bvi(*bvi, bd); - OM::write(key, l2_bvi); - /* * the bridge is not in learning mode. So add an L2FIB entry for the BVI */ @@ -406,8 +400,6 @@ EndPointGroupManager::mk_group(Runtime &runtime, vt_mc = mk_mcast_tunnel( runtime, key, bd_vnid.get(), bd_mcast.get()); - l2_binding l2_vxbd(*vt_mc, bd); - OM::write(key, l2_vxbd); std::shared_ptr grd = mk_gbp_rd(runtime, key, rd, rd_vnid.get()); diff --git a/src/test/VppManager_test.cpp b/src/test/VppManager_test.cpp index ae2e12e..4ef06c9 100644 --- a/src/test/VppManager_test.cpp +++ b/src/test/VppManager_test.cpp @@ -735,11 +735,6 @@ BOOST_FIXTURE_TEST_CASE(endpoint_group_add_del, VppStitchedManagerFixture) WAIT_FOR_MATCH(*v_bvi_epg0); - /* - * the BVI is put in the bridge-domain - */ - WAIT_FOR_MATCH(l2_binding(*v_bvi_epg0, v_bd_epg0)); - /* * The EPG uplink interface, also bound to BD=1 */ @@ -1215,7 +1210,6 @@ BOOST_FIXTURE_TEST_CASE(trans_endpoint_group_add_del, vxlan_tunnel vt_bd_mcast( host, bd_mcast, 0xAA, v_sub, vxlan_tunnel::mode_t::GBP_L2); WAIT_FOR_MATCH(vt_bd_mcast); - WAIT_FOR_MATCH(l2_binding(vt_bd_mcast, v_bd)); igmp_binding igmp_b(v_sub); WAIT_FOR_MATCH(igmp_b); -- cgit 1.2.3-korg