-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlookups.py
More file actions
38 lines (38 loc) · 767 Bytes
/
Copy pathlookups.py
File metadata and controls
38 lines (38 loc) · 767 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
lookup_table = [
{
"match_str": "Timeticks",
"regexp": r'Timeticks: \((\d+)\)',
"group": 1,
"type": int
},
{
"match_str": "Counter32",
"regexp": r'Counter32: (\d+)',
"group": 1,
"type": int
},
{
"match_str": "Counter64",
"regexp": r'Counter64: (\d+)',
"group": 1,
"type": int
},
{
"match_str": "INTEGER",
"regexp": r'INTEGER: (\d+)',
"group": 1,
"type": int
},
{
"match_str": "Gauge32",
"regexp": r'Gauge32: (\d+)',
"group": 1,
"type": int
},
{
"match_str": "Gauge64",
"regexp": r'Gauge64: (\d+)',
"group": 1,
"type": int
},
]