24
|
1 |
# ModuleSpecs
|
|
2 |
modulespec guqos= {
|
|
3 |
STRING module = guqos.prt
|
|
4 |
INTEGER id=368
|
|
5 |
INTEGER flags = 1
|
|
6 |
}
|
|
7 |
|
|
8 |
# FlowSpecs
|
|
9 |
flowspec override = {
|
|
10 |
INTEGER token_rate_uplink = 1500
|
|
11 |
}
|
|
12 |
|
|
13 |
flowspec default_flow_spec = {
|
|
14 |
INTEGER max_transfer_rate_uplink = 1500
|
|
15 |
INTEGER token_rate_uplink = 1500
|
|
16 |
INTEGER token_bucket_size_uplink = 3000
|
|
17 |
INTEGER max_packet_size_uplink = 1500
|
|
18 |
INTEGER min_policed_unit_uplink = 1500
|
|
19 |
INTEGER priority_uplink = 1
|
|
20 |
INTEGER drop_mode_uplink = 8
|
|
21 |
INTEGER max_transfer_rate_downlink = 1500
|
|
22 |
INTEGER token_rate_downlink = 1500
|
|
23 |
INTEGER token_bucket_size_downlink = 3000
|
|
24 |
INTEGER max_packet_size_downlink = 1500
|
|
25 |
INTEGER min_policed_unit_downlink = 1500
|
|
26 |
INTEGER priority_downlink = 1
|
|
27 |
INTEGER drop_mode_downlink = 8
|
|
28 |
}
|
|
29 |
|
|
30 |
# UMTS Specs
|
|
31 |
|
|
32 |
# Default APN should always be specified!
|
|
33 |
extension_spec default_extension_spec = {
|
|
34 |
INTEGER type = 5
|
|
35 |
INTEGER extension_type = 5
|
|
36 |
INTEGER TrafficClassRequested = 4
|
|
37 |
INTEGER MaxBitrateUplinkRequested = 2048
|
|
38 |
INTEGER MaxBitrateDownlinkRequested = 2048
|
|
39 |
INTEGER GuaBitrateUplinkRequested = 1024
|
|
40 |
INTEGER GuaBitrateDownlinkRequested = 1024
|
|
41 |
INTEGER HeaderCompressionRequested = 1
|
|
42 |
}
|
|
43 |
|
|
44 |
extension_spec guqos_default = {
|
|
45 |
INTEGER type = 5
|
|
46 |
INTEGER extension_type = 5
|
|
47 |
# Subscribed
|
|
48 |
INTEGER TrafficClassRequested = 1
|
|
49 |
# Subscribed
|
|
50 |
INTEGER TrafficClassMinimum = 1
|
|
51 |
# Subscribed
|
|
52 |
INTEGER DeliveryOrderRequested = 1
|
|
53 |
# Subscribed
|
|
54 |
INTEGER DeliveryOrderMinimum = 1
|
|
55 |
# Subscribed
|
|
56 |
INTEGER DeliveryOfErroneusSduRequested = 1
|
|
57 |
# Subscribed
|
|
58 |
INTEGER DeliveryOfErroneusSduMinimum = 1
|
|
59 |
# Subscribed
|
|
60 |
INTEGER MaxSduSizeRequested = 0
|
|
61 |
# Subscribed
|
|
62 |
INTEGER MaxSduSizeMinimum = 0
|
|
63 |
# Subscribed
|
|
64 |
INTEGER MaxBitrateUplinkRequested = 0
|
|
65 |
# Subscribed
|
|
66 |
INTEGER MaxBitrateDownlinkRequested = 0
|
|
67 |
# Subscribed
|
|
68 |
INTEGER MaxBitrateUplinkMinimum = 0
|
|
69 |
# Subscribed
|
|
70 |
INTEGER MaxBitrateDownlinkMinimum = 0
|
|
71 |
# iReqBER Subscribed
|
|
72 |
INTEGER ResidualBerRequested = 1
|
|
73 |
# iMaxBER Subscribed
|
|
74 |
INTEGER ResidualBerMinimum = 1
|
|
75 |
# ReqSDUErrorratio Subscribed
|
|
76 |
INTEGER ErrorRatioRequested = 1
|
|
77 |
# MaxSDUErrorratio Subscribed
|
|
78 |
INTEGER ErrorRatioMinimum =1
|
|
79 |
INTEGER PriorityRequested = 1
|
|
80 |
INTEGER PriorityMinimum = 1
|
|
81 |
# Subscribed
|
|
82 |
INTEGER TransferDelayRequested = 0
|
|
83 |
# Subscribed
|
|
84 |
INTEGER TransferDelayMinimum = 0
|
|
85 |
# Subscribed
|
|
86 |
INTEGER GuaBitrateUplinkRequested = 0
|
|
87 |
# Subscribed
|
|
88 |
INTEGER GuaBitrateUplinkMinimum = 0
|
|
89 |
# Subscribed
|
|
90 |
INTEGER GuaBitrateDownlinkRequested = 0
|
|
91 |
# Subscribed
|
|
92 |
INTEGER GuaBitrateDownlinkMinimum = 0
|
|
93 |
}
|
|
94 |
|
|
95 |
|
|
96 |
|
|
97 |
# Default APN should always be specified!
|
|
98 |
extension_spec web = {
|
|
99 |
INTEGER type = 5
|
|
100 |
INTEGER extension_type = 5
|
|
101 |
INTEGER TrafficClassRequested = 3
|
|
102 |
INTEGER MaxBitrateUplinkRequested = 2048
|
|
103 |
INTEGER MaxBitrateDownlinkRequested = 2048
|
|
104 |
INTEGER GuaBitrateUplinkRequested = 1024
|
|
105 |
INTEGER GuaBitrateDownlinkRequested = 1024
|
|
106 |
INTEGER HeaderCompressionRequested = 1
|
|
107 |
}
|
|
108 |
|
|
109 |
|
|
110 |
# Module selectors (none)
|
|
111 |
#module_policy dst_port 0 dst_port_max 65535 priority 1 = { guqos }
|
|
112 |
|
|
113 |
# Flowspec selectors
|
|
114 |
#flowspec_policy dst_port 9 priority 1 = { default_flow_spec }
|
|
115 |
#flowspec_policy dst_port 0 dst_port_max 65535 priority 2 = { override }
|
|
116 |
#flowspec_policy dst_port 0 priority 0 = { default }
|
|
117 |
|
|
118 |
# GPRS selectors
|
|
119 |
# extension_policy src_port 0 src_port_max 65535 priority 0 = { default_extension_spec }
|
|
120 |
|
|
121 |
# guqos_default
|
|
122 |
extension_policy src_port 0 src_port_max 65535 priority 0 = { guqos_default }
|