Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/usr/lib/ztp/plugins/snmp
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ class Snmp:
# Extract data from the section which is relevant to the snmp plugin
no_section = True
restart_agent = False
community_ro = None
snmp_location = None
try:
section_data = obj_section.jsonDict.get(section_name)
restart_agent = getField(section_data, 'restart-agent', bool, default_value=False)
Expand Down