Skip to content

Commit

Permalink
Merge pull request #5196 from kuldeepkash/testcases
Browse files Browse the repository at this point in the history
tests: Enhance bgp-path-attributes-topo1 test suite
  • Loading branch information
mwinter-osr authored Nov 6, 2019
2 parents b3bce3a + 4a252f7 commit 566c5d2
Show file tree
Hide file tree
Showing 4 changed files with 1,088 additions and 206 deletions.
143 changes: 143 additions & 0 deletions tests/topotests/bgp-path-attributes-topo1/bgp_path_attributes.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,53 @@
"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": {
"ipv4": {
"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": {
Expand Down Expand Up @@ -65,6 +102,27 @@
}
}
}
},
"ipv6": {
"unicast": {
"neighbor": {
"r1": {
"dest_link": {
"r2": {}
}
},
"r3": {
"dest_link": {
"r2": {}
}
},
"r4": {
"dest_link": {
"r2-link1": {}
}
}
}
}
}
}
}
Expand Down Expand Up @@ -99,6 +157,27 @@
}
}
}
},
"ipv6": {
"unicast": {
"neighbor": {
"r1": {
"dest_link": {
"r3": {}
}
},
"r2": {
"dest_link": {
"r3": {}
}
},
"r5": {
"dest_link": {
"r3": {}
}
}
}
}
}
}
}
Expand Down Expand Up @@ -128,6 +207,22 @@
}
}
}
},
"ipv6": {
"unicast": {
"neighbor": {
"r2": {
"dest_link": {
"r4-link1": {}
}
},
"r6": {
"dest_link": {
"r4": {}
}
}
}
}
}
}
}
Expand Down Expand Up @@ -156,6 +251,22 @@
}
}
}
},
"ipv6": {
"unicast": {
"neighbor": {
"r3": {
"dest_link": {
"r5": {}
}
},
"r7": {
"dest_link": {
"r5": {}
}
}
}
}
}
}
}
Expand Down Expand Up @@ -184,6 +295,22 @@
}
}
}
},
"ipv6": {
"unicast": {
"neighbor": {
"r4": {
"dest_link": {
"r6": {}
}
},
"r7": {
"dest_link": {
"r6": {}
}
}
}
}
}
}
}
Expand Down Expand Up @@ -212,6 +339,22 @@
}
}
}
},
"ipv6": {
"unicast": {
"neighbor": {
"r5": {
"dest_link": {
"r7": {}
}
},
"r6": {
"dest_link": {
"r7": {}
}
}
}
}
}
}
}
Expand Down
Loading

0 comments on commit 566c5d2

Please sign in to comment.