Page MenuHomePhabricator

SNMP add listen-address validator
Closed, ResolvedPublicFEATURE REQUEST

Description

Right now you can configure any listen address for the SNMP service.

If only one listen address is configured, and it is not assigned to the system, SNMP will fail to start and the user won't know, why.

User python vyos.validate.is_addr_assigned() intruduced some weeks ago (https://github.com/vyos/vyos-1x/blob/current/python/vyos/validate.py#L41-L63) and add a section to snmp.py:validate().

This glitch was reported by @masterit

Details

Difficulty level
Easy (less than an hour)
Version
-
Why the issue appeared?
Will be filled on close
c-po created this task.Sep 15 2018, 7:49 AM
c-po claimed this task.
c-po changed Difficulty level from Unknown (require assessment) to Easy (less than an hour).
c-po closed this task as Resolved.Sep 16 2018, 7:24 PM
c-po triaged this task as Normal priority.
c-po edited projects, added VyOS 1.2.x (VyOS 1.2.0-rc1); removed VyOS 1.2.x.