fix: Allow line returns in snmprec files with the 4x data type (#6443)

* fix: Allow line returns in snmprec files with the 4x data type
Fill in IOS data files
IOS-XE discovery fails, fix that

* Restore IOS-XE, unsure if it can be removed
This commit is contained in:
Tony Murray
2017-04-18 16:28:48 -05:00
committed by Neil Lathwood
parent c88c677a16
commit 963f444f17
10 changed files with 20 additions and 11 deletions

View File

@@ -524,6 +524,7 @@ List of SNMP data types:
| Type | Value |
| ----------------- | ------------- |
| OCTET STRING | 4 |
| HEX STRING | 4x |
| Integer32 | 2 |
| NULL | 5 |
| OBJECT IDENTIFIER | 6 |
@@ -534,5 +535,7 @@ List of SNMP data types:
| Opaque | 68 |
| Counter64 | 70 |
Hex encoded strings (4x) should be used for any strings that contain line returns
You can run `./scripts/pre-commit.php -u` to run the unit tests to check your code.
If you would like to run tests locally against a full snmpsim instance, run `./scripts/pre-commit.php -u --snmpsim`.