-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.json
More file actions
115 lines (115 loc) · 2.82 KB
/
plugin.json
File metadata and controls
115 lines (115 loc) · 2.82 KB
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"author": "NetScout-Go",
"category": "Performance",
"description": "Simulate network conditions and test Quality of Service using Linux Traffic Control (tc)",
"icon": "tune",
"id": "tc_controller",
"license": "MIT",
"name": "Traffic Control (QoS)",
"parameters": [
{
"default": "eth0",
"description": "Network interface to apply traffic control rules",
"id": "interface",
"name": "Network Interface",
"required": true,
"type": "string"
},
{
"default": "bandwidth",
"description": "Traffic control mode",
"id": "mode",
"name": "Mode",
"options": [
{
"label": "Bandwidth Limit",
"value": "bandwidth"
},
{
"label": "Latency",
"value": "latency"
},
{
"label": "Packet Loss",
"value": "packet_loss"
},
{
"label": "Jitter",
"value": "jitter"
},
{
"label": "Combined Conditions",
"value": "combination"
},
{
"label": "Reset All Rules",
"value": "reset"
}
],
"required": true,
"type": "select"
},
{
"condition": "mode=='bandwidth' || mode=='combination'",
"default": 1000,
"description": "Maximum bandwidth in Kbps (1000 = 1Mbps)",
"id": "bandwidth",
"max": 1000000,
"min": 32,
"name": "Bandwidth Limit (Kbps)",
"required": false,
"step": 32,
"type": "number"
},
{
"condition": "mode=='latency' || mode=='combination'",
"default": 100,
"description": "Added latency in milliseconds",
"id": "latency",
"max": 5000,
"min": 1,
"name": "Latency (ms)",
"required": false,
"step": 1,
"type": "number"
},
{
"condition": "mode=='packet_loss' || mode=='combination'",
"default": 1,
"description": "Percentage of packets to drop",
"id": "packet_loss",
"max": 100,
"min": 0.1,
"name": "Packet Loss (%)",
"required": false,
"step": 0.1,
"type": "number"
},
{
"condition": "mode=='jitter' || mode=='combination'",
"default": 20,
"description": "Latency variation in milliseconds",
"id": "jitter",
"max": 1000,
"min": 1,
"name": "Jitter (ms)",
"required": false,
"step": 1,
"type": "number"
},
{
"condition": "mode!='reset'",
"default": 60,
"description": "Duration to apply traffic control rules (0 for indefinite)",
"id": "duration",
"max": 3600,
"min": 0,
"name": "Duration (seconds)",
"required": false,
"step": 1,
"type": "number"
}
],
"repository": "https://github.com/NetScout-Go/Plugin_tc_controller",
"version": "1.0.0"
}