def METHOD_NAME():
    "Test OSPF kernel route installation"
    tgen = get_topogen()
    if tgen.routers_have_failure():
        pytest.skip("skipped because of router(s) failure")
    rlist = tgen.routers().values()
    for router in rlist:
        logger.info('Checking OSPF IPv4 kernel routes in "%s"', router.name)
        for vrf in ["default", "neno", "ray"]:
            reffile = os.path.join(CWD, "{}/zebra-vrf-{}.txt".format(router.name, vrf))
            if vrf == "default" or os.path.exists(reffile):
                expected = open(reffile).read()
                # Run test function until we get an result. Wait at most 80 seconds.
                test_func = partial(
                    compare_show_ip_route_vrf, router.name, expected, vrf
                )
                result, diff = topotest.run_and_expect(
                    test_func, "", count=80, wait=1
                )
                assertmsg = 'OSPF IPv4 route mismatch in router "{}": {}'.format(
                    router.name, diff
                )
                assert result, assertmsg