Olof hagsand
f6fe9f6a64
SNMP: fix SNMP set access of table entries
...
[Conversion of ethernet address (PhysAddress) and IP address (IPAddress) crashes agent](https://github.com/clicon/clixon/issues/340 )
Hwaddress and IP adress for scalar and table set should now work
2022-06-26 11:31:28 +02:00
Olof hagsand
10226ceddd
SNMP Tests: Added clixon sanity checks on all tests
...
Ie, CLICON_VALIDATE_STATE_XML=true
Changed symbolic OID to numeric
2022-06-26 11:30:29 +02:00
Olof hagsand
86e6c3cd5e
SNMP test: remove state from snmp_set
2022-06-26 11:29:40 +02:00
Kristofer Hallin
a3d0b74e4b
Validate both numerical and lexical OIDs.
2022-06-26 11:29:40 +02:00
Kristofer Hallin
44d7d898bb
snmpset tests re-written.
2022-06-26 11:29:40 +02:00
Olof hagsand
ff52cad3a8
SNMP frontend: Types and indexes
...
Added timestamp and inet address
First go at index names
2022-06-26 11:29:40 +02:00
Olof hagsand
18ff854e12
SNMP frontend: special case for SnmpAdminString with not null-terminated string
2022-06-26 11:29:40 +02:00
Olof hagsand
7bcecc155a
SNMP Frontend, fixed remaining types: phys-addr, timeticks, binary, objectid
2022-06-26 11:29:40 +02:00
Olof hagsand
6f7a33d196
SNMP frontend, new preli table handling code
...
Skipped data set and use table-helper only
Specialized SNMP error handling
2022-06-26 11:28:42 +02:00
Olof hagsand
6e60287bc0
SNMP frontend: forgot GET detailed type info in last commit
2022-06-26 11:28:42 +02:00
Olof hagsand
a02e78a3c1
SNMP frontend tests: Added more descriptic types of each get/set value and netsnmp instructions
2022-06-26 11:28:42 +02:00
Olof hagsand
8c253cfc61
SNMP test typo in test_snmp_set
2022-06-26 11:28:42 +02:00
Olof hagsand
05f3ebb59e
SNMP frontend: SNMP2YANG type conversion for snmpset
2022-06-26 11:28:42 +02:00
Olof hagsand
46cb21f3e8
SNMP frontend: Generalized type handling for set functions
...
SPlit scalar_handler into get and set subfunctions
2022-06-26 11:28:42 +02:00
Olof hagsand
62a32faf9c
SNMP frontend. New snmp_lib.[ch] and rearranged code into lib
...
Test: renamed WITH_SNMP -> ENABLE_SNMP
2022-06-26 11:28:42 +02:00
Olof hagsand
1f8b82e8e1
SNMP frontend, add int32 + string type for scalars
...
Added get string test
Added set value for netconf test
2022-06-26 11:28:42 +02:00
Olof hagsand
72534e864d
SNNP frontend. Added SMI default value support and deviation for set
2022-06-26 11:28:42 +02:00
Olof hagsand
4ff2ea099c
SNMP frontend table fix: handler called with heartrate, return 0
2022-06-26 11:28:42 +02:00
Olof hagsand
3bb681ffe2
SNMP frontend, main test for config false only, write test move to test_snmp_set.sh
2022-06-26 11:28:42 +02:00