Commit graph

26 commits

Author SHA1 Message Date
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
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
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
000cb866c2 RFC 8525:
- Change from RFC 7805: Remove revision if empty instead of sending empty revision
RFC 6022
  - Added cli identity to RFC6022 transport
  - Added source-host for natove restconf, bit no other sessions
2023-01-15 22:44:00 +01:00
Olof hagsand
097aeb0320 Test: snmp ifmib typo 2022-10-27 15:50:09 +02:00
Olof Hagsand
4787b3a7b9
Merge pull request #372 from clicon/test_ifxtable
snmpwalk test for ifXTable and augmented MIB.
2022-10-27 15:04:33 +02: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
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
Kristofer Hallin
09694e441c snmpwalk test for ifXTable and augmented MIB. 2022-09-29 12:14:59 +00:00
Olof hagsand
6063d9a147 Fixed: [SNMP smiv2 yang extension doesn't work on augmented nodes](https://github.com/clicon/clixon/issues/366) 2022-09-27 15:47:48 +02:00
Kristofer Hallin
a912105c78 New test for augmented ifTable. 2022-09-26 14:48:33 +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
5962852e9f More table tests for IF-MIB. 2022-06-26 11:30:29 +02:00
Kristofer Hallin
4cece83e32 Tests for IF-MIB::ifRcvAddressTable with double indexes. 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
Kristofer Hallin
7eafd2e400 Test IF-MIB with numerical and textual OIDs + walk. 2022-06-26 11:29:40 +02:00
Kristofer Hallin
4d6672f29c One more entry for IF-MIB tests. 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
Kristofer Hallin
a99d1e189e ifNumber should be enclosed by interface. 2022-06-26 11:28:42 +02:00
Kristofer Hallin
a312bd5806 Test all fields in an ifTable with only single entry, disabled for now. 2022-06-26 11:28:42 +02:00
Olof hagsand
eb8d0c0b3a SNMP frontend: added -z zap command-line option and pid-file exclusive check, fixed mem check 2022-06-26 11:28:42 +02:00
Olof hagsand
c366962054 SNMP frontend: changed default mibyang dir to /share/mib-yangs to be same as repo
Test: new prel test_snmp_ifmib.sh
2022-06-26 11:28:42 +02:00