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
|
# counter name tcp dport map {443 : "cnt1", 80 : "cnt2", 22 : "cnt1"}
[
{
"counter": {
"map": {
"key": {
"payload": {
"field": "dport",
"protocol": "tcp"
}
},
"data": {
"set": [
[
22,
"cnt1"
],
[
80,
"cnt2"
],
[
443,
"cnt1"
]
]
}
}
}
}
]
# quota name tcp dport map {443 : "qt1", 80 : "qt2", 22 : "qt1"}
[
{
"quota": {
"map": {
"key": {
"payload": {
"field": "dport",
"protocol": "tcp"
}
},
"data": {
"set": [
[
22,
"qt1"
],
[
80,
"qt2"
],
[
443,
"qt1"
]
]
}
}
}
}
]
|