def METHOD_NAME():
    output = json.loads(r2.vtysh_cmd("show bgp all json"))
    expected = {
        "ipv4Unicast": {
            "routes": {
                "10.0.0.0/31": [
                    {
                        "metric": 1,
                        "origin": "IGP",
                    }
                ],
                "10.0.0.2/32": [
                    {
                        "metric": 2,
                        "origin": "incomplete",
                    }
                ],
            }
        },
        "ipv6Unicast": {
            "routes": {
                "2001:db8::1/128": [
                    {
                        "metric": 1,
                        "origin": "IGP",
                    }
                ],
                "2001:db8:1::/56": [
                    {
                        "metric": 2,
                        "origin": "incomplete",
                    }
                ],
            }
        },
    }
    return topotest.json_cmp(output, expected)