diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-05-21 07:40:17 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-21 07:40:17 -0400 |
| commit | bda6d3729f3af3aa3e45ae62f26a01b7fd13ea19 (patch) | |
| tree | a2f04ba5ff58f01ea9a51e7f01c05272e624d125 /tests/topotests/lib/topojson.py | |
| parent | 080bfc6530b4a21678bad19015cae2ab41aa3d86 (diff) | |
| parent | 1f88794b84d12abc7b4d5de13718c3f57c3360a1 (diff) | |
Merge pull request #6398 from kuldeepkash/bgp_multi_vrf
tests: Add bgp-multi-vrf test suites
Diffstat (limited to 'tests/topotests/lib/topojson.py')
| -rw-r--r-- | tests/topotests/lib/topojson.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/topotests/lib/topojson.py b/tests/topotests/lib/topojson.py index b25317ba7f..24b61981d6 100644 --- a/tests/topotests/lib/topojson.py +++ b/tests/topotests/lib/topojson.py @@ -37,6 +37,7 @@ from lib.common_config import ( create_prefix_lists, create_route_maps, create_bgp_community_lists, + create_vrf_cfg, ) from lib.bgp import create_router_bgp @@ -49,7 +50,6 @@ def build_topo_from_json(tgen, topo): Reads configuration from JSON file. Adds routers, creates interface names dynamically and link routers as defined in JSON to create topology. Assigns IPs dynamically to all interfaces of each router. - * `tgen`: Topogen object * `topo`: json file data """ @@ -203,6 +203,7 @@ def build_config_from_json(tgen, topo, save_bkup=True): func_dict = OrderedDict( [ + ("vrfs", create_vrf_cfg), ("links", create_interfaces_cfg), ("static_routes", create_static_routes), ("prefix_lists", create_prefix_lists), |
