blob: f2639abc1271207d7773c18ebeb2a81351cc742a [file] [log] [blame]
Harshada Chaundkardcd1b142019-03-25 17:27:44 -04001/*
2 * Copyright 2018-present Open Networking Foundation
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package org.onosproject.packetthrottle;
18
19/**
20 * Constants for default values of configurable properties.
21 */
22public final class OsgiPropertyConstants {
23
24 private OsgiPropertyConstants() {}
25
26 public static final String PROP_PPS_ARP = "ppsArp";
27 public static final int PPS_ARP_DEFAULT = 100;
28
29 public static final String PROP_PPS_DHCP = "ppsDhcp";
30 public static final int PPS_DHCP_DEFAULT = 100;
31
32 public static final String PROP_PPS_NS = "ppsNs";
33 public static final int PPS_NS_DEFAULT = 100;
34
35 public static final String PROP_PPS_NA = "ppsNa";
36 public static final int PPS_NA_DEFAULT = 100;
37
38 public static final String PROP_PPS_DHCP6_DIRECT = "ppsDhcp6Direct";
39 public static final int PPS_DHCP6_DIRECT_DEFAULT = 100;
40
41 public static final String PROP_PPS_DHCP6_INDIRECT = "ppsDhcp6Indirect";
42 public static final int PPS_DHCP6_INDIRECT_DEFAULT = 100;
43
44 public static final String PROP_PPS_ICMP = "ppsIcmp";
45 public static final int PPS_ICMP_DEFAULT = 100;
46
47 public static final String PROP_PPS_ICMP6 = "ppsIcmp6";
48 public static final int PPS_ICMP6_DEFAULT = 100;
49
50 public static final String PROP_WIN_SIZE_ARP_MS = "winSizeArp";
51 public static final int WIN_SIZE_ARP_MS_DEFAULT = 500;
52
53 public static final String PROP_WIN_SIZE_DHCP_MS = "winSizeDhcp";
54 public static final int WIN_SIZE_DHCP_MS_DEFAULT = 500;
55
56 public static final String PROP_WIN_SIZE_NA_MS = "winSizeNa";
57 public static final int WIN_SIZE_NA_MS_DEFAULT = 500;
58
59 public static final String PROP_WIN_SIZE_NS_MS = "winSizeNs";
60 public static final int WIN_SIZE_NS_MS_DEFAULT = 500;
61
62 public static final String PROP_WIN_SIZE_DHCP6_DIRECT_MS = "winSizeDhcp6Direct";
63 public static final int WIN_SIZE_DHCP6_DIRECT_MS_DEFAULT = 500;
64
65 public static final String PROP_WIN_SIZE_DHCP6_INDIRECT_MS = "winSizeDhcp6Indirect";
66 public static final int WIN_SIZE_DHCP6_INDIRECT_MS_DEFAULT = 500;
67
68 public static final String PROP_WIN_SIZE_ICMP_MS = "winSizeIcmp";
69 public static final int WIN_SIZE_ICMP_MS_DEFAULT = 500;
70
71 public static final String PROP_WIN_SIZE_ICMP6_MS = "winSizeIcmp6";
72 public static final int WIN_SIZE_ICMP6_MS_DEFAULT = 500;
73
74 public static final String PROP_GUARD_TIME_ARP_SEC = "guardTimeArp";
75 public static final int GUARD_TIME_ARP_SEC_DEFAULT = 10;
76
77 public static final String PROP_GUARD_TIME_DHCP_SEC = "guardTimeDhcp";
78 public static final int GUARD_TIME_DHCP_SEC_DEFAULT = 10;
79
80 public static final String PROP_GUARD_TIME_NS_SEC = "guardTimeNs";
81 public static final int GUARD_TIME_NS_SEC_DEFAULT = 10;
82
83 public static final String PROP_GUARD_TIME_NA_SEC = "guardTimeNa";
84 public static final int GUARD_TIME_NA_SEC_DEFAULT = 10;
85
86 public static final String PROP_GUARD_TIME_DHCP6_DIRECT_SEC = "guardTimeDhcp6Direct";
87 public static final int GUARD_TIME_DHCP6_DIRECT_SEC_DEFAULT = 10;
88
89 public static final String PROP_GUARD_TIME_DHCP6_INDIRECT_SEC = "guardTimeDhcp6Indirect";
90 public static final int GUARD_TIME_DHCP6_INDIRECT_SEC_DEFAULT = 10;
91
92 public static final String PROP_GUARD_TIME_ICMP_SEC = "guardTimeIcmp";
93 public static final int GUARD_TIME_ICMP_SEC_DEFAULT = 10;
94
95 public static final String PROP_GUARD_TIME_ICMP6_SEC = "guardTimeIcmp6";
96 public static final int GUARD_TIME_ICMP6_SEC_DEFAULT = 10;
97
98 public static final String PROP_WIN_THRES_ARP = "winThresArp";
99 public static final int WIN_THRES_ARP_DEFAULT = 10;
100
101 public static final String PROP_WIN_THRES_DHCP = "winThresDhcp";
102 public static final int WIN_THRES_DHCP_DEFAULT = 10;
103
104 public static final String PROP_WIN_THRES_NS = "winThresNs";
105 public static final int WIN_THRES_NS_DEFAULT = 10;
106
107 public static final String PROP_WIN_THRES_NA = "winThresNa";
108 public static final int WIN_THRES_NA_DEFAULT = 10;
109
110 public static final String PROP_WIN_THRES_DHCP6_DIRECT = "winThresDhcp6Direct";
111 public static final int WIN_THRES_DHCP6_DIRECT_DEFAULT = 10;
112
113 public static final String PROP_WIN_THRES_DHCP6_INDIRECT = "winThresDhcp6Indirect";
114 public static final int WIN_THRES_DHCP6_INDIRECT_DEFAULT = 10;
115
116 public static final String PROP_WIN_THRES_ICMP = "winThresIcmp";
117 public static final int WIN_THRES_ICMP_DEFAULT = 10;
118
119 public static final String PROP_WIN_THRES_ICMP6 = "winThresIcmp6";
120 public static final int WIN_THRES_ICMP6_DEFAULT = 10;
121
122}