Kristofer Hallin
|
d76843fec1
|
New test for entPhysicalVendorType
|
2022-06-26 11:30:29 +02:00 |
|
Olof hagsand
|
05615c2ee5
|
SNMP: Translate AutonomousType to oid
|
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
|
b5d17d643a
|
SNMP: Started register table entries dynamically
Compile-time constant: SNMP_TABLE_DYNAMIC
Added MIB SNMP erroir handling
|
2022-06-26 11:30:29 +02:00 |
|
Kristofer Hallin
|
cb3aef450d
|
More tests for ENTITY-MIB.
|
2022-06-26 11:29:40 +02:00 |
|
Kristofer Hallin
|
461ebd38d6
|
Added snmpwalk tests for system.
|
2022-06-26 11:29:40 +02:00 |
|
Kristofer Hallin
|
7eafd2e400
|
Test IF-MIB with numerical and textual OIDs + walk.
|
2022-06-26 11:29:40 +02:00 |
|
Kristofer Hallin
|
c5d2d54fd3
|
Change nsIETFWGName type to integer.
|
2022-06-26 11:29:40 +02:00 |
|
Olof hagsand
|
86e6c3cd5e
|
SNMP test: remove state from snmp_set
|
2022-06-26 11:29:40 +02:00 |
|
Kristofer Hallin
|
3c82f1668f
|
MIB changes.
|
2022-06-26 11:29:40 +02:00 |
|
Olof hagsand
|
78c070b65b
|
SNMP frontend: String table index
|
2022-06-26 11:29:40 +02:00 |
|
Olof hagsand
|
a0e6536bab
|
Added Siklu sponsorship text
|
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
|
2e529290ea
|
Added snmpbulkget.
|
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
|
44d7d898bb
|
snmpset tests re-written.
|
2022-06-26 11:29:40 +02:00 |
|
Kristofer Hallin
|
d15879890d
|
test_snmp_types.sh are now test_snmp_get.sh
|
2022-06-26 11:29:40 +02:00 |
|
Kristofer Hallin
|
868da39aba
|
No copy
|
2022-06-26 11:29:40 +02:00 |
|
Kristofer Hallin
|
9615254d70
|
Some variables and functions now live in lib.sh
|
2022-06-26 11:29:40 +02:00 |
|
Kristofer Hallin
|
09e18ace3b
|
Copy Clixon MIB from test/mib/ to system MIB directory.
|
2022-06-26 11:29:40 +02:00 |
|
Kristofer Hallin
|
9031f535fe
|
Modified the CLIXON-TYPES-MIB to use other OID, avoid collisions.
|
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 |
|
Kristofer Hallin
|
9be8cc51b3
|
Moved generic SNMP functions to lib.sh
|
2022-06-26 11:29:40 +02:00 |
|
Kristofer Hallin
|
dd23c800a0
|
Re-structured entity tests.
|
2022-06-26 11:29:40 +02:00 |
|
Kristofer Hallin
|
53cd1fdf09
|
Install the needed MIB for our Docker tests and wait a few seconds for snmpd to start.
|
2022-06-26 11:29:40 +02:00 |
|
Kristofer Hallin
|
9d5a14ef99
|
Added MIBs needed for tests.
|
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 |
|
Kristofer Hallin
|
68eda07cc4
|
Verify all table elements for system MIB tests.
|
2022-06-26 11:29:40 +02:00 |
|
Kristofer Hallin
|
f65271315a
|
Losts of new tests for ENTITY-MIB.
|
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
|
b3a6700fd5
|
SNMP frontend, forgot add some files in last commit
|
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 |
|
Kristofer Hallin
|
a0541483d4
|
Initial entity tests.
|
2022-06-26 11:28:42 +02:00 |
|
Kristofer Hallin
|
fc3a0e1d7e
|
Don't load any of the MIBs we want to test, we will register the OIDs ourselves.
|
2022-06-26 11:28:42 +02:00 |
|
Kristofer Hallin
|
6bf9938d75
|
System tests for SNMP.
|
2022-06-26 11:28:42 +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
|
468a0aa4ae
|
Removed test_snmp.sh, replaced by other tests.
|
2022-06-26 11:28:42 +02:00 |
|
Kristofer Hallin
|
baf60e5468
|
Added test/mibs/ for Clixon specific MIBs.
|
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 |
|
Kristofer Hallin
|
a99d1e189e
|
ifNumber should be enclosed by interface.
|
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 |
|
Kristofer Hallin
|
76ce6bf8d7
|
Test integer max and -1.
|
2022-06-26 11:28:42 +02:00 |
|
Olof hagsand
|
aa95ead1cc
|
SNMP frontend: Reworked types for GET types translation
YANG enum type, split up enum to int into two functions
|
2022-06-26 11:28:42 +02:00 |
|
Kristofer Hallin
|
31fea9e6c8
|
SNMP type tests.
|
2022-06-26 11:28:42 +02:00 |
|