Dear vpp devs:
I met a bug while adding 802.1q subif interface into bridge domain via python
api. BVI interface must be the first number of bridge domain, but after I added
a subif into bd, subif took the first position of bd, and the l2 flooding
didn't run well:
here is the infomation:
vpp# show bridge-domain 10 detail
BD-ID Index BSN Age(min) Learning U-Forwrd UU-Flood Flooding
ARP-Term BVI-Intf
10 2 0 60 on on flood on
off loop10
Interface If-idx ISN SHG BVI TxFlood
VLAN-Tag-Rewrite
GigabitEthernet2/0/0.10 8 7 0 - * pop-1
loop10 7 8 0 * * none
GigabitEthernet1/0/0 1 11 0 - * none
I read the code, found vl_api_create_vlan_subif_t_handler and
vl_api_create_subif_t_handler function lacking an assignment of
:template.flood_class = VNET_FLOOD_CLASS_NORMAL;
I think it might be a bug, and create a patch, looking forward the bug to be
fixed:-)
----
Best Regards
Joe Zhou
interface_api.c.patch
Description: Binary data
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12450): https://lists.fd.io/g/vpp-dev/message/12450 Mute This Topic: https://lists.fd.io/mt/30294062/21656 Group Owner: [email protected] Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
