updated jinja template for snmp contact python2 vs python3 issue (#9949)
This commit is contained in:
parent
84a986bc27
commit
05791708f1
@ -82,7 +82,7 @@ sysLocation {{ SNMP.LOCATION.Location }}
|
|||||||
sysLocation public
|
sysLocation public
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if SNMP is defined and SNMP.CONTACT is defined %}
|
{% if SNMP is defined and SNMP.CONTACT is defined %}
|
||||||
sysContact {{ SNMP.CONTACT.keys()[0] }} {{ SNMP.CONTACT.values()[0] }}
|
sysContact {{ SNMP.CONTACT.keys() | first }} {{ SNMP.CONTACT.values() | first }}
|
||||||
{% else %}
|
{% else %}
|
||||||
sysContact Azure Cloud Switch vteam <linuxnetdev@microsoft.com>
|
sysContact Azure Cloud Switch vteam <linuxnetdev@microsoft.com>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user