8 Commits

Author SHA1 Message Date
Viacheslav Klimov
e52ac96c62 Implement SNMP v3 security support, remove traps support 2021-04-21 07:38:01 +03:00
Viacheslav Klimov
61341a7caf Refactor, implement SNMP traps, add support for SNMP v3 targets 2021-04-02 10:50:05 +03:00
Viacheslav Klimov
306ace040c Refactor 2021-03-25 10:06:06 +02:00
Viacheslav Klimov
afab5150b8 Provide SNMP transport configuration validation; refactor 2021-03-24 16:43:28 +02:00
Viacheslav Klimov
0532d22d9d Refactor 2021-03-24 16:43:07 +02:00
Viacheslav Klimov
8f2438d6ab
SNMP devices balancing (#4254)
* Fix merge errors

* Implement SNMP transports balancing

* Refactor; implement transport device cache

* Refactor

* Finish up device lifecycle handling implementing; refactor

* Refactor

* Change base image to thingsboard/openjdk11 for msa snmp transport

* Refactor

* Change transport services names to upper-case
2021-03-22 17:17:42 +02:00
Viacheslav Klimov
37b88908fd Fix merge errors 2021-03-15 12:43:42 +02:00
vkukhtyn
5a72479951
[WIP] SNMP initial implementation (#3755)
* Add SNMP type to transport profiles

* Update reference config for transport profiles

* Initial implementation to retrieve a value using SNMP GET message

* Fix license header

* Move config files

* Use async handler for SNMP response

* Send SNMP agent response to attributes and telemetry

* UI: add SNMP option for device profile

* UI: use JSON field to set SNMP profile configuration

* Handle device profile update event

* Use concurrent hash map for SNMP device sessions

* UI: Add device transport configuration control

* Cancel async request to avoid memory leak and timeout handling

* Start SNMP pooling after application started

* Move OID per profile mapping to SNMP transport context

* Fix build after merge with 3.2.1-SNAPSHOT

* Init device sessions on TB start

* Fix build error, refactoring

* Update session context on device update

* Set device info on session context creating

* Refresh pooling params on device or profile update

* Update license header

* Process device and profile transport config update

* Process SNMP response asynchronously

* Change polling implementation
2021-03-10 14:56:25 +02:00