def METHOD_NAME(host):
    if isinstance(host, EosHost):
        return "Arista"
    for line in host.command("show platform summary")["stdout_lines"]:
        if "Platform" == line.split(":")[0]:
            return line.split(":")[1].strip()
    pytest.fail("No platform was found.")