def METHOD_NAME(self) -> list:
    if (struct_cfgs := self._extract_and_apply_struct_cfg_from_list_of_dicts(self._hostvars.get("ethernet_interfaces"), "name")) == []:
        return []
    return [{"ethernet_interfaces": struct_cfgs}]