Implements a hierarchical SNMP community configuration system where settings can be defined at the organization level (global default), overridden at the site level, or overridden at the equipment level. Changes: - Migration: Add snmp_version and snmp_community to organizations and sites - Organization schema: Add SNMP fields with default version "2c" - Site schema: Add SNMP fields that override organization defaults - Equipment context: Add get_snmp_config/1 with hierarchical fallback logic - Discovery: Use Equipment.get_snmp_config instead of equipment.snmp_community - PollerWorker: Use Equipment.get_snmp_config instead of equipment.snmp_community The fallback order is: 1. Equipment-level (highest priority) 2. Site-level 3. Organization-level (default) All 785 tests passing. |
||
|---|---|---|
| .. | ||
| towerops | ||
| towerops_web | ||
| towerops.ex | ||
| towerops_web.ex | ||