diff options
| author | Kuldeep Kashyap <kashyapk@vmware.com> | 2019-09-25 11:24:56 +0000 |
|---|---|---|
| committer | Kuldeep Kashyap <kashyapk@vmware.com> | 2019-09-26 10:06:16 +0000 |
| commit | 9920237e4fbf4f335037ada9d5b2e811318ffcbf (patch) | |
| tree | 434804f1a4b32e5dfd42038b02c576edd11dbca0 | |
| parent | 7f55cb6a8899be80746dcd663566c0e8bc90e1d9 (diff) | |
tests: Add route-map to initial config creation from JSON
To enable route-map config build from JSON
Signed-off-by: Kuldeep Kashyap <kashyapk@vmware.com>
| -rw-r--r-- | tests/topotests/lib/topojson.py | 2 |
1 files changed, 2 insertions, 0 deletions
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) ]) |
