Skip to content
This repository has been archived by the owner on Mar 7, 2018. It is now read-only.

Commit

Permalink
Add community attr (ro/rw)
Browse files Browse the repository at this point in the history
Perhaps should also check if defined as expected?
  • Loading branch information
mirceaulinic committed Jan 12, 2017
1 parent 322d561 commit c8bb74a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion napalm_eos/templates/delete_snmp_config.j2
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ no snmp-server chassis-id "{{chassis_id}}"
{% if (community is defined) and community %}
{%- if community is mapping -%}
{% for comm_name, comm_details in community.iteritems() %}
no snmp-server community {{comm_name}}
no snmp-server community {{comm_name}} {{comm_details}}
{% endfor %}
{%- elif community is string -%}
no snmp-server community {{community}}
Expand Down

0 comments on commit c8bb74a

Please sign in to comment.