9ba0c4caee47350a5ef9923af2686401c00dbf51
[vfc/nfvo/resmanagement.git] /
1 /*
2  * Copyright 2016-2017 Huawei Technologies Co., Ltd.
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
17 package org.openo.nfvo.resmanagement.common.constant;
18
19 /**
20  * <br/>
21  * <p>
22  * Contstant for System interactive.
23  * </p>
24  *
25  * @author
26  * @version NFVO 0.5 2016-3-17
27  */
28 public class ParamConstant {
29
30     /**
31      * param key: vimId.
32      */
33     public static final String PARAM_VIMID = "vimId";
34
35     /**
36      * param key: vimName
37      */
38     public static final String PARAM_VIMNAME = "vimName";
39
40     /**
41      * param key: tenantId.
42      */
43     public static final String PARAM_TENANTID = "tenantId";
44
45     public static final String TOTAL_CPU = "totalCPU";
46
47     public static final String USED_CPU = "usedCPU";
48
49     public static final String TOTAL_MEMORY = "totalMemory";
50
51     public static final String USED_MEMORY = "usedMemory";
52
53     public static final String TOTAL_DISK = "totalDisk";
54
55     public static final String USED_DISK = "usedDisk";
56
57     /**
58      * param key: data.
59      */
60     public static final String PARAM_DATA = "data";
61
62     /**
63      * param key: id.
64      */
65     public static final String PARAM_ID = "id";
66
67     /**
68      * param key: vimId
69      */
70     public static final String PARAM_IP = "ip";
71
72     /**
73      * param key: role.
74      */
75     public static final String PARAM_ROLE = "role";
76
77     /**
78      * param key: roleId.
79      */
80     public static final String PARAM_ROLEID = "roleId";
81
82     /**
83      * param key: total.
84      */
85     public static final String PARAM_TOTAL = "total";
86
87     /**
88      * param key: used.
89      */
90     public static final String PARAM_USED = "used";
91
92     /**
93      * param key: vcpus.
94      */
95     public static final String PARAM_VCPUS = "vcpus";
96
97     /**
98      * param key: disk.
99      */
100     public static final String PARAM_DISK = "disk";
101
102     /**
103      * param key: cpumhz.
104      */
105     public static final String PARAM_CPUMHZ = "cpumhz";
106
107     /**
108      * param key: countyr
109      */
110     public static final String PARAM_COUNTRY = "country";
111
112     /**
113      * param key: vendorId
114      */
115     public static final String PARAM_VENDORID = "vendorId";
116
117     /**
118      * param key: vendorName
119      */
120     public static final String PARAM_VENDORNAME = "vendorName";
121
122     /**
123      * param key: memory.
124      */
125     public static final String PARAM_MEMORY = "memory";
126
127     /**
128      * param key: name.
129      */
130     public static final String PARAM_NAME = "name";
131
132     /**
133      * param key: status.
134      */
135     public static final String PARAM_STATUS = "status";
136
137     /**
138      * param key: parent.
139      */
140     public static final String PARAM_PARENT = "parent";
141
142     /**
143      * param key: location.
144      */
145     public static final String PARAM_LOCATION = "location";
146
147     /**
148      * param key: siteName.
149      */
150     public static final String PARAM_SITENAME = "siteName";
151
152     /**
153      * param key: vendor.
154      */
155     public static final String PARAM_VENDOR = "vendor";
156
157     /**
158      * param key: vendors.
159      */
160     public static final String PARAM_VENDORS = "vendors";
161
162     /**
163      * param key: tenantSites.
164      */
165     public static final String PARAM_TENANTSITES = "tenantSites";
166
167     /**
168      * param key: siteId.
169      */
170     public static final String PARAM_SITEID = "siteId";
171
172     /**
173      * param key: resArbitration.
174      */
175     public static final String PARAM_RESARBITRATION = "resArbitration";
176
177     /**
178      * param key: userRole.
179      */
180     public static final String PARAM_USERROLE = "userRole";
181
182     /**
183      * param key: admin.
184      */
185     public static final String PARAM_ADMIN = "admin";
186
187     /**
188      * param key: tenant.
189      */
190     public static final String PARAM_TENANT = "tenant";
191
192     /**
193      * param key: type.
194      */
195     public static final String PARAM_TYPE = "type";
196
197     /**
198      * param key: action.
199      */
200     public static final String PARAM_ACTION = "action";
201
202     /**
203      * param key: offline.
204      */
205     public static final String PARAM_OFFLINE = "offline";
206
207     /**
208      * param key: online.
209      */
210     public static final String PARAM_ONLINE = "online";
211
212     /**
213      * param key: drexecute.
214      */
215     public static final String PARAM_DREXECUTE = "drexecute";
216
217     /**
218      * param key: drRollBack.
219      */
220     public static final String PARAM_DRROLLBACK = "drrollback";
221
222     /**
223      * param key: scaleOut.
224      */
225     public static final String PARAM_SCALEOUT = "scaleout";
226
227     /**
228      * param key: scaleIn.
229      */
230     public static final String PARAM_SCALEIN = "scalein";
231
232     /**
233      * param key: network.
234      */
235     public static final String PARAM_NETWORK = "networks";
236
237     /**
238      * param key: host.
239      */
240     public static final String PARAM_HOST = "hosts";
241
242     /**
243      * param key: network.
244      */
245     public static final String PARAM_PORT = "ports";
246
247     /**
248      * param key: providernetworks.
249      */
250     public static final String PARAM_PROVIDERNETWORKS = "providernetworks";
251
252     /**
253      * param key: vims.
254      */
255     public static final String PARAM_VIMS = "vims";
256
257     /**
258      * param key: vms.
259      */
260     public static final String PARAM_VMS = "vms";
261
262     /**
263      * param key: vapps.
264      */
265     public static final String PARAM_VAPPS = "vapps";
266
267     /**
268      * param key: vapp.
269      */
270     public static final String PARAM_VAPP = "vapp";
271
272     /**
273      * param key: sites.
274      */
275     public static final String PARAM_SITES = "sites";
276
277     /**
278      * param key: vduId.
279      */
280     public static final String PARAM_VDUID = "vduId";
281
282     /**
283      * param key: vappId.
284      */
285     public static final String PARAM_VAPPID = "vappId";
286
287     /**
288      * param key: hostId.
289      */
290     public static final String PARAM_HOSTID = "hostId";
291
292     /**
293      * param key: projectId.
294      */
295     public static final String PARAM_PROJECTID = "projectId";
296
297     /**
298      * param key: vnfmId.
299      */
300     public static final String PARAM_VNFMID = "vnfmId";
301
302     /**
303      * param key: params.
304      */
305     public static final String PARAM_PARAMS = "params";
306
307     /**
308      * param key: url.
309      */
310     public static final String PARAM_URL = "url";
311
312     /**
313      * param key: post.
314      */
315     public static final String PARAM_POST = "post";
316
317     /**
318      * param key: put.
319      */
320     public static final String PARAM_PUT = "put";
321
322     /**
323      * param key: del.
324      */
325     public static final String PARAM_DEL = "del";
326
327     /**
328      * param key: get.
329      */
330     public static final String PARAM_GET = "get";
331
332     /**
333      * param key: retCode.
334      */
335     public static final String PARAM_RETCODE = "retCode";
336
337     /**
338      * param key: ADD.
339      */
340     public static final String PARAM_ADD = "add";
341
342     /**
343      * param key: active.
344      */
345     public static final String PARAM_ACTIVE = "active";
346
347     /**
348      * param key: deleted.
349      */
350     public static final String PARAM_DELETED = "deleted";
351
352     /**
353      * param key: deleting.
354      */
355     public static final String PARAM_DELETING = "deleting";
356
357     /**
358      * param key: response
359      */
360     public static final String PARAM_RESPONSE = "response";
361
362     /**
363      * param key: info
364      */
365     public static final String PARAM_INFO = "info";
366
367     private ParamConstant() {
368         // private constructor
369     }
370 }