def METHOD_NAME(request):
    "Setup/Teardown the environment and provide tgen argument to tests"
    topodef = {
        "s1": ("r1", "r2"),
        "s2": ("r1", "r3")
    }
    METHOD_NAME = Topogen(topodef, request.module.__name__)
    METHOD_NAME.start_topology()
    router_list = METHOD_NAME.routers()
    for router_name, router in router_list.items():
        router.load_config(TopoRouter.RD_BFD, "bfdd.conf")
        router.load_config(TopoRouter.RD_RIP, "ripd.conf")
        router.load_config(TopoRouter.RD_ZEBRA, "zebra.conf")
        if router_name in ["r2", "r3"]:
            router.load_config(TopoRouter.RD_STATIC, "staticd.conf")
    METHOD_NAME.start_router()
    yield METHOD_NAME
    METHOD_NAME.stop_topology()