Commit graph

14 commits

Author SHA1 Message Date
Olof hagsand
56f15aeefd SNMP mem tests: increase timeout for walk and table, use single snmp tools macro 2023-02-06 12:46:55 +01: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
05b31508a1 * Fixed: [Non-obvious behavior of clixon_snmp after snmpset command when transaction validation returns an error](https://github.com/clicon/clixon/issues/375)
* Fixed by validating writes on ACTION instead of COMMIT since libnetsnmp seems not to accept commit errors
2022-10-25 16:32:48 +02:00
Olof hagsand
dd1e5966fb Test: killed backend in snmp tests 2022-10-08 17:19:24 +02:00
Olof hagsand
954e5d56fd Fixed: [unneeded trailing zero character on SNMP strings](https://github.com/clicon/clixon/issues/367) 2022-10-03 18:39:32 +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
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
Kristofer Hallin
461ebd38d6 Added snmpwalk tests for system. 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
68eda07cc4 Verify all table elements for system MIB tests. 2022-06-26 11:29:40 +02:00
Kristofer Hallin
6bf9938d75 System tests for SNMP. 2022-06-26 11:28:42 +02:00