-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstp_mapping.json
79 lines (79 loc) · 2.08 KB
/
stp_mapping.json
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"metadata": {
"name": "stp_mapping",
"author": "cBackup Team",
"copyright": "Copyright (C) 2017 cBackup Team. All rights reserved.",
"license": "MIT",
"authorName": "Imants Cernovs",
"authorEmail": "[email protected]",
"authorUrl": "http://cbackup.me",
"version": "1.0.0",
"compatibility": "1.0.0",
"description": "Plugin for drawing STP tree based on collected STP data",
"widget": "node"
},
"form" : {
"settings": {
"fields" : [
{
"type": "toggle",
"label": "Check node availability",
"name": "check_node_availability",
"default": "1",
"description": "Check if node is available. SNMP get request will be made during tree generating.",
"toggle": {
"data-on": "Yes",
"data-off": "No"
},
"options": {
"uncheck": "0"
}
},
{
"type": "textInput",
"label": "SNMP timeout",
"name": "snmp_timeout",
"default": "500000",
"description": "The number of microseconds until the first timeout.",
"options": {
"class": "form-control",
"required": true,
"type": "number",
"min": "1"
}
},
{
"type": "textInput",
"label": "SNMP retries",
"name": "snmp_retries",
"default": "2",
"description": "The number of retries in case timeout occurs.",
"options": {
"class": "form-control",
"required": true,
"type": "number",
"min": "1"
}
}
]
},
"widget": {
"fields" : [
{
"type": "toggle",
"label": "Enable widget",
"name": "widget_enabled",
"default": "0",
"description": "Enable widget in node view page.",
"toggle": {
"data-on": "Yes",
"data-off": "No"
},
"options": {
"uncheck": "0"
}
}
]
}
}
}