mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 07:48:07 +00:00
tests: Adding test suite bgp_gr_functionality_topo2
1. Test suite has 17 test cases to verify BGP-graceful-restart functionality 2. Execution time is ~20 Mins Signed-off-by: Kuldeep Kashyap <kashyapk@vmware.com>
This commit is contained in:
parent
35ba1e3db8
commit
51582ed8c5
@ -0,0 +1,334 @@
|
|||||||
|
{
|
||||||
|
"ipv4base":"192.168.0.0",
|
||||||
|
"ipv4mask":24,
|
||||||
|
"ipv6base":"fd00::",
|
||||||
|
"ipv6mask":64,
|
||||||
|
"link_ip_start":{"ipv4":"192.168.0.0", "v4mask":24, "ipv6":"fd00::", "v6mask":64},
|
||||||
|
"lo_prefix":{"ipv4":"1.0.", "v4mask":32, "ipv6":"2001:DB8:F::", "v6mask":128},
|
||||||
|
"routers":{
|
||||||
|
"r1":{
|
||||||
|
"links":{
|
||||||
|
"lo": {"ipv4": "auto", "ipv6": "auto", "type": "loopback"},
|
||||||
|
"r2": {"ipv4":"auto", "ipv6":"auto"},
|
||||||
|
"r3": {"ipv4":"auto", "ipv6":"auto"},
|
||||||
|
"r5": {"ipv4":"auto", "ipv6":"auto"},
|
||||||
|
"r6": {"ipv4":"auto", "ipv6":"auto"}
|
||||||
|
},
|
||||||
|
"bgp": {
|
||||||
|
"local_as": "100",
|
||||||
|
"address_family": {
|
||||||
|
"ipv4": {
|
||||||
|
"unicast": {
|
||||||
|
"advertise_networks": [
|
||||||
|
{
|
||||||
|
"network": "101.0.20.1/32",
|
||||||
|
"no_of_network": 5
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"neighbor": {
|
||||||
|
"r2": {
|
||||||
|
"dest_link": {
|
||||||
|
"r1": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"r3": {
|
||||||
|
"dest_link": {
|
||||||
|
"r1": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"r5": {
|
||||||
|
"dest_link": {
|
||||||
|
"r1": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"r6": {
|
||||||
|
"dest_link": {
|
||||||
|
"r1": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ipv6": {
|
||||||
|
"unicast": {
|
||||||
|
"advertise_networks": [
|
||||||
|
{
|
||||||
|
"network": "1::1/128",
|
||||||
|
"no_of_network": 5
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"neighbor": {
|
||||||
|
"r2": {
|
||||||
|
"dest_link": {
|
||||||
|
"r1": {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"r3": {
|
||||||
|
"dest_link": {
|
||||||
|
"r1": {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"r5": {
|
||||||
|
"dest_link": {
|
||||||
|
"r1": {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"r6": {
|
||||||
|
"dest_link": {
|
||||||
|
"r1": {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"r2":{
|
||||||
|
"links":{
|
||||||
|
"lo": {"ipv4": "auto", "ipv6": "auto", "type": "loopback"},
|
||||||
|
"r1": {"ipv4":"auto", "ipv6":"auto"}
|
||||||
|
},
|
||||||
|
"bgp":{
|
||||||
|
"local_as": "200",
|
||||||
|
"address_family": {
|
||||||
|
"ipv4": {
|
||||||
|
"unicast": {
|
||||||
|
"advertise_networks": [
|
||||||
|
{
|
||||||
|
"network": "102.0.20.1/32",
|
||||||
|
"no_of_network": 5
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"neighbor": {
|
||||||
|
"r1": {
|
||||||
|
"dest_link": {
|
||||||
|
"r2": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ipv6": {
|
||||||
|
"unicast": {
|
||||||
|
"advertise_networks": [
|
||||||
|
{
|
||||||
|
"network": "2::1/128",
|
||||||
|
"no_of_network": 5
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"neighbor": {
|
||||||
|
"r1": {
|
||||||
|
"dest_link": {
|
||||||
|
"r2": {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"r3":{
|
||||||
|
"links":{
|
||||||
|
"lo": {"ipv4": "auto", "ipv6": "auto", "type": "loopback"},
|
||||||
|
"r1": {"ipv4":"auto", "ipv6":"auto"},
|
||||||
|
"r4": {"ipv4":"auto", "ipv6":"auto"}
|
||||||
|
},
|
||||||
|
"bgp":{
|
||||||
|
"local_as": "100",
|
||||||
|
"address_family": {
|
||||||
|
"ipv4": {
|
||||||
|
"unicast": {
|
||||||
|
"advertise_networks": [
|
||||||
|
{
|
||||||
|
"network": "103.0.20.1/32",
|
||||||
|
"no_of_network": 5
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"neighbor": {
|
||||||
|
"r1": {
|
||||||
|
"dest_link": {
|
||||||
|
"r3": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"r4": {
|
||||||
|
"dest_link": {
|
||||||
|
"r3": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ipv6": {
|
||||||
|
"unicast": {
|
||||||
|
"advertise_networks": [
|
||||||
|
{
|
||||||
|
"network": "3::1/128",
|
||||||
|
"no_of_network": 5
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"neighbor": {
|
||||||
|
"r1": {
|
||||||
|
"dest_link": {
|
||||||
|
"r3": {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"r4": {
|
||||||
|
"dest_link": {
|
||||||
|
"r3": {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"r4":{
|
||||||
|
"links":{
|
||||||
|
"lo": {"ipv4": "auto", "ipv6": "auto", "type": "loopback"},
|
||||||
|
"r3": {"ipv4":"auto", "ipv6":"auto"}
|
||||||
|
},
|
||||||
|
"bgp":{
|
||||||
|
"local_as": "100",
|
||||||
|
"address_family": {
|
||||||
|
"ipv4": {
|
||||||
|
"unicast": {
|
||||||
|
"advertise_networks": [
|
||||||
|
{
|
||||||
|
"network": "104.0.20.1/32",
|
||||||
|
"no_of_network": 5
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"neighbor": {
|
||||||
|
"r3": {
|
||||||
|
"dest_link": {
|
||||||
|
"r4": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ipv6": {
|
||||||
|
"unicast": {
|
||||||
|
"advertise_networks": [
|
||||||
|
{
|
||||||
|
"network": "4::1/128",
|
||||||
|
"no_of_network": 5
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"neighbor": {
|
||||||
|
"r3": {
|
||||||
|
"dest_link": {
|
||||||
|
"r4": {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"r5":{
|
||||||
|
"links":{
|
||||||
|
"lo": {"ipv4": "auto", "ipv6": "auto", "type": "loopback"},
|
||||||
|
"r1": {"ipv4":"auto", "ipv6":"auto"}
|
||||||
|
},
|
||||||
|
"bgp":{
|
||||||
|
"local_as": "500",
|
||||||
|
"address_family": {
|
||||||
|
"ipv4": {
|
||||||
|
"unicast": {
|
||||||
|
"advertise_networks": [
|
||||||
|
{
|
||||||
|
"network": "105.0.20.1/32",
|
||||||
|
"no_of_network": 5
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"neighbor": {
|
||||||
|
"r1": {
|
||||||
|
"dest_link": {
|
||||||
|
"r5": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ipv6": {
|
||||||
|
"unicast": {
|
||||||
|
"advertise_networks": [
|
||||||
|
{
|
||||||
|
"network": "5::1/128",
|
||||||
|
"no_of_network": 5
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"neighbor": {
|
||||||
|
"r1": {
|
||||||
|
"dest_link": {
|
||||||
|
"r5": {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"r6":{
|
||||||
|
"links":{
|
||||||
|
"lo": {"ipv4": "auto", "ipv6": "auto", "type": "loopback"},
|
||||||
|
"r1": {"ipv4":"auto", "ipv6":"auto"}
|
||||||
|
},
|
||||||
|
"bgp":{
|
||||||
|
"local_as": "600",
|
||||||
|
"address_family": {
|
||||||
|
"ipv4": {
|
||||||
|
"unicast": {
|
||||||
|
"advertise_networks": [
|
||||||
|
{
|
||||||
|
"network": "106.0.20.1/32",
|
||||||
|
"no_of_network": 5
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"neighbor": {
|
||||||
|
"r1": {
|
||||||
|
"dest_link": {
|
||||||
|
"r6": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ipv6": {
|
||||||
|
"unicast": {
|
||||||
|
"advertise_networks": [
|
||||||
|
{
|
||||||
|
"network": "6::1/128",
|
||||||
|
"no_of_network": 5
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"neighbor": {
|
||||||
|
"r1": {
|
||||||
|
"dest_link": {
|
||||||
|
"r6": {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
3085
tests/topotests/bgp_gr_functionality_topo2/test_bgp_gr_functionality_topo2.py
Executable file
3085
tests/topotests/bgp_gr_functionality_topo2/test_bgp_gr_functionality_topo2.py
Executable file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user