linkbandwidth_aggregation - openconfig/featureprofiles GitHub Wiki
This test verifies Link-bandwidth (LBW) extended community cumulative feature by DUT.
```
| |
[ 64x eBGP ] --- [ ATE Port 1 ] ---- | DUT | ---- [ ATE Port 2 ]
| |
```
- Configure DUT with 2 routed ports.
- Configure 64x eBGP peers on ATE Port 1 interface
- Configure 64x eBGP peers on DUT Port 1 interface in peering group UPSTREAM.
- Configure a single eBGP peer on ATE Port 2 interface.
- Configure a single eBGP peer on DUT Port 2 interface in peering group DOWNSTREAM.
- Enable BGP LBW receive for peering group UPSTREAM.
- Enable BGP LBW send for peering group DOWNSTREAM.
- Enable Link Bandwidth Cumulative feature on DOWNSTREAM.
TODO: Cumulative Link Bandwidth feature is not currently modeled in OC. Related PR: https://github.com/openconfig/public/pull/1131
- Advertise the same test prefix from ATE from all UPSTREAM peers with LBW community:
- 32 peers - 10Mbps
- 16 peers - 20Mbps
- 8 peers - 40Mbps
- 8 peers - 80Mbps
- Verify that DUT advertises the test route to DOWNSTREAM eBGP peer with cumulative bandwidth community of 1600Mbps.
Using RT-7.6.1 set up conduct following changes:
- Disable 32 peers advertising 10Mpbs bandwidth community.
- Verify that DUT advertises the test route to Upstream peer with cumulative bandwidth community of 1280Mbps.
- Re-enable 32 peers advertising 10Mpbs bandwidth community.
- Verify that DUT advertises the test route to Upstream peer with cumulative bandwidth community of 1600Mbps.
- Reconfigure 64x peers in peering group UPSTREAM to iBGP
- Reconfigure a single peer in peering group DOWNSTREAM to iBGP
- Repeat test RT-7.6.1 for iBGP.
paths:
/network-instances/network-instance/protocols/protocol/bgp/peer-groups/peer-group/afi-safis/afi-safi/use-multiple-paths/ebgp/link-bandwidth-ext-community/config/enabled:
/network-instances/network-instance/protocols/protocol/bgp/peer-groups/peer-group/afi-safis/afi-safi/use-multiple-paths/ibgp/link-bandwidth-ext-community/config/enabled:
# TODO: Add Cumulative LBW path.
rpcs:
gnmi:
gNMI.Set:
union_replace: true
replace: true
gNMI.Subscribe:
on_change: true
- FFF