diff options
| author | Chirag Shah <chirag@nvidia.com> | 2023-05-18 22:43:08 -0700 |
|---|---|---|
| committer | Chirag Shah <chirag@nvidia.com> | 2023-05-19 14:45:49 -0700 |
| commit | ff8bebd2a659551ff33a7ee44f3d329001feb022 (patch) | |
| tree | 03445616e2d395ffbdec8dd5a6feb544b265958b /tests/topotests/ospf_basic_functionality/test_ospf_p2mp.py | |
| parent | cd845be6a7e32d6b65bcf6fda64df03f688a4f54 (diff) | |
bgpd: fix aggregate route display
Based on RFC-4760, if NEXT_HOP attribute is not
suppose to be set if MP_REACH_NLRI NLRI is used.
for IPv4 aggregate route only NEXT_HOP attribute
with ipv4 prefixlen needs to be set.
Testing Done:
Before fix:
----------
aggregate route:
*> 184.123.0.0/16 ::(TORC11) 0 32768 i
After fix:
---------
aggregate route:
*> 184.123.0.0/16 0.0.0.0(TORC11) 0 32768 i
* i peerlink-3 0 100 0 i
* uplink1 0 4435 5546 i
184.123.1.0/24 0.0.0.0(TORC11) 0 32768 i
s> 184.123.8.0/22 0.0.0.0(TORC11) 0 32768 i
Signed-off-by: Chirag Shah <chirag@nvidia.com>
Diffstat (limited to 'tests/topotests/ospf_basic_functionality/test_ospf_p2mp.py')
0 files changed, 0 insertions, 0 deletions
