Commit graph

21 commits

Author SHA1 Message Date
Mico Micic
d40cfdce8f Fix tests 2024-02-29 11:30:54 +01:00
Olof hagsand
16a7fa3837 SNMP union leak (see https://github.com/clicon/clixon/pull/461)
Added docker-snmp-mem test
2023-11-02 16:26:21 +01:00
Philip Prindeville
951aa71d56 Make /var directory tree owned by $CLICON_GROUP 2023-10-03 23:41:47 +02:00
stass
3436a19ee4 Scalars do not have a .0 suffix
See https://github.com/clicon/clixon/issues/401
2023-02-06 10:47:03 +01:00
Olof hagsand
923b998774 * Fixed: Initialized session-id to 1 instead of 0 following ietf-netconf.yang
* Clearer debug levels `clicon_debug()`:
  1: Logical debug message
  2: Input and output packets
  3: Message dump in hex, xpath parse trees
2023-01-18 15:51:31 +01:00
Olof hagsand
d84c529ff1 [Code formatting: Change indentation style to space](https://github.com/clicon/clixon/issues/379)
* Applies to all c/h/y/l/sh files and .editorconfig
2022-10-27 14:21:17 +02:00
Olof hagsand
aff69127b6 Fixed: [Trying to change the "config false" node through snmpset](https://github.com/clicon/clixon/issues/377)
* Fixed by returning `SNMP_ERR_NOTWRITABLE` when trying to reserve object
2022-10-09 11:59:26 +02:00
Olof hagsand
dd1e5966fb Test: killed backend in snmp tests 2022-10-08 17:19:24 +02:00
Olof hagsand
5e2643c382 Test: remove testdir also if skip test 2022-09-03 13:07:26 +02:00
Olof hagsand
49d19b263c SNMP: Internal cache handling for rowstatus
Test: prefix SN=0 instead of CS=0 for override clixon_snmp start
2022-07-11 10:07:48 +02:00
Kristofer Hallin
a0e266befb New MIB and implementation with clixonInetTable. 2022-07-04 17:12:40 +02:00
Kristofer Hallin
4cece83e32 Tests for IF-MIB::ifRcvAddressTable with double indexes. 2022-06-26 11:30:29 +02:00
Kristofer Hallin
a768e8db5d Don't use the NetSNMP names from the old MIB. 2022-06-26 11:30:29 +02:00
Olof hagsand
e3857396c7 SNMP Test: some clixon mib table tests 2022-06-26 11:30:29 +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
Olof hagsand
ef640772df SNMP Frontend, fix handling of snmpd down and memory leaks
If snmpd is down, clixon_snmp does not start
If snmpd stops, clixon_snmp quits
Mem leaks fixed
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
5bc8f978da Only run certain tests if snmp_debug is set. 2022-06-26 11:29:40 +02:00
Kristofer Hallin
736eca3e3b First set of tests using bulkget. 2022-06-26 11:29:40 +02:00
Kristofer Hallin
54cd943933 SNMP get tests for various types. 2022-06-26 11:29:40 +02:00