mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 10:14:50 +00:00
tests: Enhance BGP Path attribute test cases
1. Added steps to modify BGP path attributes and verify best path is changed Signed-off-by: Kuldeep Kashyap <kashyapkas@gmail.com>
This commit is contained in:
parent
c7bb8a05ff
commit
4a252f7205
@ -12,6 +12,17 @@
|
||||
"r2":{"ipv4":"auto", "ipv6":"auto"},
|
||||
"r3":{"ipv4":"auto", "ipv6":"auto"}
|
||||
},
|
||||
"route_maps": {
|
||||
"rmap_global": [{
|
||||
"action": "permit",
|
||||
"set": {
|
||||
"ipv6": {
|
||||
"nexthop": "prefer-global"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"bgp":{
|
||||
"local_as":"555",
|
||||
"address_family": {
|
||||
@ -19,9 +30,35 @@
|
||||
"unicast": {
|
||||
"neighbor": {
|
||||
"r2": {
|
||||
"dest_link": {
|
||||
"r1": {
|
||||
"route_maps": [{
|
||||
"name": "rmap_global",
|
||||
"direction": "in"
|
||||
}]
|
||||
}
|
||||
}
|
||||
},
|
||||
"r3": {
|
||||
"dest_link": {
|
||||
"r1": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"ipv6": {
|
||||
"unicast": {
|
||||
"neighbor": {
|
||||
"r2": {
|
||||
"dest_link": {
|
||||
"r1": {
|
||||
"route_maps": [{
|
||||
"name": "rmap_global",
|
||||
"direction": "in"
|
||||
}]
|
||||
}
|
||||
}
|
||||
},
|
||||
"r3": {
|
||||
"dest_link": {
|
||||
@ -65,6 +102,27 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"ipv6": {
|
||||
"unicast": {
|
||||
"neighbor": {
|
||||
"r1": {
|
||||
"dest_link": {
|
||||
"r2": {}
|
||||
}
|
||||
},
|
||||
"r3": {
|
||||
"dest_link": {
|
||||
"r2": {}
|
||||
}
|
||||
},
|
||||
"r4": {
|
||||
"dest_link": {
|
||||
"r2-link1": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -99,6 +157,27 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"ipv6": {
|
||||
"unicast": {
|
||||
"neighbor": {
|
||||
"r1": {
|
||||
"dest_link": {
|
||||
"r3": {}
|
||||
}
|
||||
},
|
||||
"r2": {
|
||||
"dest_link": {
|
||||
"r3": {}
|
||||
}
|
||||
},
|
||||
"r5": {
|
||||
"dest_link": {
|
||||
"r3": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -128,6 +207,22 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"ipv6": {
|
||||
"unicast": {
|
||||
"neighbor": {
|
||||
"r2": {
|
||||
"dest_link": {
|
||||
"r4-link1": {}
|
||||
}
|
||||
},
|
||||
"r6": {
|
||||
"dest_link": {
|
||||
"r4": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -156,6 +251,22 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"ipv6": {
|
||||
"unicast": {
|
||||
"neighbor": {
|
||||
"r3": {
|
||||
"dest_link": {
|
||||
"r5": {}
|
||||
}
|
||||
},
|
||||
"r7": {
|
||||
"dest_link": {
|
||||
"r5": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -184,6 +295,22 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"ipv6": {
|
||||
"unicast": {
|
||||
"neighbor": {
|
||||
"r4": {
|
||||
"dest_link": {
|
||||
"r6": {}
|
||||
}
|
||||
},
|
||||
"r7": {
|
||||
"dest_link": {
|
||||
"r6": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -212,6 +339,22 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"ipv6": {
|
||||
"unicast": {
|
||||
"neighbor": {
|
||||
"r5": {
|
||||
"dest_link": {
|
||||
"r7": {}
|
||||
}
|
||||
},
|
||||
"r6": {
|
||||
"dest_link": {
|
||||
"r7": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user