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