def get_bondethernets(yaml):
    """Return a list of all bondethernets."""
    ret = []
    if "bondethernets" in yaml:
        for ifname, _iface in yaml["bondethernets"].items():
            ret.append(ifname)
    return ret