]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: multiple vlan aware bridge data structure and related changes
authorSharath Ramamurthy <sramamurthy@nvidia.com>
Tue, 27 Jul 2021 08:58:59 +0000 (14:28 +0530)
committerStephen Worley <sworley@nvidia.com>
Mon, 13 Feb 2023 23:12:04 +0000 (18:12 -0500)
commit239b26f932e5b78828dce8f7fe628c12b7ddbd9f
tree670abbd743f13e7daceb5ea652fcb2d0073b3cb7
parent131a9a2eeddab0f528b4ad6d29f0f4081cf8d8fe
zebra: multiple vlan aware bridge data structure and related changes

Multiple vlan aware bridge data structure changes and its corresponding bridge
handling changes.
A new vlan-table is maintained for each bridge which records the zebra_l2_bridge_vlan
entry. zebra_l2_bridge_vlan maps vlan to access_bd associated to this bridge.

Existing zebra_evpn_access_bd structure is vlan aware which is now modified to be
(vlan, bridge) aware.

Whenever a new access_bd is instantiated, a corresponding entry is also recorded
in the zebra l2 bridge for the vlan.
When the access_bd is dereferenced or whenever a bridge is deleted, the
association is cleaned up.

Signed-off-by: Sharath Ramamurthy <sramamurthy@nvidia.com>
zebra/subdir.am
zebra/zebra_evpn_mh.c
zebra/zebra_evpn_mh.h
zebra/zebra_l2_bridge_if.c [new file with mode: 0644]
zebra/zebra_l2_bridge_if.h [new file with mode: 0644]
zebra/zebra_vty.c