Multi-context - add/update/delete - l2bd instances test case - add 10, del 5, add new 10, del 15.
L2BD Multi-instance Test Case HLD:
*NOTES:*
- higher number of pg-l2 interfaces causes problems => only 15 pg-l2 \
interfaces in 5 bridge domains are tested - more then 1 host per pg-l2 interface in configuration with 15 l2-pg \
interfaces leads to problems too
*config 1*
- add 15 pg-l2 interfaces
- configure one host per pg-l2 interface
- configure 5 bridge domains (BD)
- add 3 pg-l2 interfaces per BD
*test 1*
- send L2 MAC frames between all pg-l2 interfaces of all BDs
*verify 1*
- check BD data by parsing output of bridge_domain_dump API command
- all packets received correctly
*config 2*
- update data of 5 BD
- disable learning, forwarding, flooding and uu_flooding for BD1
- disable forwarding for BD2
- disable flooding for BD3
- disable uu_flooding for BD4
- disable learning for BD5
*verify 2*
- check BD data by parsing output of bridge_domain_dump API command
*config 3*
- delete 2 BDs
*test 3*
- send L2 MAC frames between all pg-l2 interfaces of all BDs
- send L2 MAC frames between all pg-l2 interfaces formerly assigned to \
deleted BDs
*verify 3*
- check BD data by parsing output of bridge_domain_dump API command
- all packets received correctly on all 3 pg-l2 interfaces assigned to BDs
- no packet received on all 3 pg-l2 interfaces of all deleted BDs
*config 4*
- add 2 BDs
- add 3 pg-l2 interfaces per BD
*test 4*
- send L2 MAC frames between all pg-l2 interfaces of all BDs
*verify 4*
- check BD data by parsing output of bridge_domain_dump API command
- all packets received correctly
*config 5*
- delete 5 BDs
*verify 5*
- check BD data by parsing output of bridge_domain_dump API command