diff options
author | Neale Ranns <nranns@cisco.com> | 2019-07-26 07:10:01 -0700 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2019-07-26 07:10:01 -0700 |
commit | 4c605ed3c8a2bfb70e6ff1432a6f1ca9ad863234 (patch) | |
tree | 487bf1c95c57cb92e6a273a05cb04a885ccce198 | |
parent | 89152472b9c28406329d01bbb4b05181303ee2de (diff) |
l2-bindings not required, they are created by the gbp_bridge_domain
Change-Id: I0f36eba8e52a565c17b329f0d883ccc68d6533a1
Signed-off-by: Neale Ranns <nranns@cisco.com>
-rw-r--r-- | src/VppEndPointGroupManager.cpp | 8 | ||||
-rw-r--r-- | src/test/VppManager_test.cpp | 6 |
2 files changed, 0 insertions, 14 deletions
diff --git a/src/VppEndPointGroupManager.cpp b/src/VppEndPointGroupManager.cpp index 9310e38..f66aeef 100644 --- a/src/VppEndPointGroupManager.cpp +++ b/src/VppEndPointGroupManager.cpp @@ -229,12 +229,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 */ bridge_domain_entry be(bd, bvi->l2_address().to_mac(), *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<VOM::gbp_route_domain> 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 @@ -736,11 +736,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 */ interface v_phy("opflex-itf", @@ -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); |