From 9920237e4fbf4f335037ada9d5b2e811318ffcbf Mon Sep 17 00:00:00 2001 From: Kuldeep Kashyap Date: Wed, 25 Sep 2019 11:24:56 +0000 Subject: [PATCH] tests: Add route-map to initial config creation from JSON To enable route-map config build from JSON Signed-off-by: Kuldeep Kashyap --- tests/topotests/lib/topojson.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/topotests/lib/topojson.py b/tests/topotests/lib/topojson.py index 7a00fe4c50..fff5a1e82f 100644 --- a/tests/topotests/lib/topojson.py +++ b/tests/topotests/lib/topojson.py @@ -35,6 +35,7 @@ from lib.common_config import ( create_static_routes, create_prefix_lists, create_route_maps, + create_bgp_community_lists ) from lib.bgp import create_router_bgp @@ -179,6 +180,7 @@ def build_config_from_json(tgen, topo, save_bkup=True): ("links", create_interfaces_cfg), ("static_routes", create_static_routes), ("prefix_lists", create_prefix_lists), + ("bgp_community_list", create_bgp_community_lists), ("route_maps", create_route_maps), ("bgp", create_router_bgp) ])