WIP: Aruba switches #103

Draft
jeltz wants to merge 10 commits from aruba into master
Showing only changes of commit c070990b0c - Show all commits

View file

@ -37,17 +37,13 @@ no cdp run
lldp run
{%
set lldp_enabled =
aruba__interfaces
set lldp_disabled =
aruba__interfaces.keys()
| difference(aruba__interfaces
| dict2items
| selectattr("value.lldp", "defined")
| selectattr("value.lldp", "==", True)
| map(attribute="key")
%}
{%
set lldp_disabled =
aruba__interfaces.keys()
| difference(lldp_enabled)
| map(attribute="key"))
| list
%}
{% if lldp_disabled %}