0e0e5503c9ee6b99187b5f91cce777d1acccf659
[usecase-ui.git] /
1 /*******
2     title /MUST/: MARK THE ITEM NAME,
3     key /MUST/:  MARK THE ITEM KEY,
4     type /MUST/: MARKE THE ITEM TYPE, CAN BE ADDED IF NECESSARY: input/select/radio/city-select/select/table-radio/endpoint
5     required /MUST/: IF REQUIRED, 
6     disable /MUST/: IF DISABLED,
7     placeholder: IF PLACEHOLDER, CAN BE EMITTED IF NOT
8     options: IF ITEM NEEDS OPTIONS, CAN BE EMITTED IF NOT
9 ********/
10
11 // Tn
12 export const TRANSFRER_FORM_ITEMS = [
13         {
14                 title: "S-NSSAI",
15                 key: "sliceProfile_TN_BH_sNSSAI",
16                 required: true,
17                 type: "input",
18                 disable: true,
19         },
20         {
21                 title: "Latency (ms)",
22                 key: "tn_bh_latency",
23                 required: true,
24                 type: "input",
25                 disable: false,
26         },
27         {
28                 title: "Jitter",
29                 key: "sliceProfile_TN_BH_jitte",
30                 required: false,
31                 type: "input",
32                 disable: false,
33         },
34         {
35                 title: "MaxBandwidth",
36                 key: "tn_bh_bandwidth",
37                 required: true,
38                 type: "input",
39                 disable: false,
40         },
41         {
42                 title: "Resource Sharing Level", // select
43                 key: "sliceProfile_TN_resourceSharingLevel", // :new
44                 required: true,
45                 disable: true,
46                 type: "radio",
47                 options: [
48                         {
49                                 title: "Shared",
50                                 key: "shared",
51                         },
52                         {
53                                 title: "Non-shared",
54                                 key: "non-shared",
55                         },
56                 ],
57         },
58         {
59                 title: "Connection Links", // table
60                 key: "tn_connection_links", // :new
61                 required: false, // combined
62                 type: "table-radio",
63                 disable: false,
64         },
65         {
66                 title: "AN Endpoint", // input group
67                 key: "an_Endpoint",
68                 type: "endpoint",
69                 required: false,
70                 disable: false,
71                 options: [
72                         {
73                                 title: "ip_address",
74                                 key: "sliceProfile_AN_ipAddress",
75                                 holder: "IpAddress",
76                         },
77                         {
78                                 title: "logical_link",
79                                 key: "sliceProfile_AN_logicInterfaceId",
80                                 holder: "LogicId",
81                         },
82                         {
83                                 title: "nexthop_info",
84                                 key: "sliceProfile_AN_nextHopInfo",
85                                 holder: "NextHop",
86                         },
87                 ],
88         },
89         {
90                 title: "CN Endpoint",
91                 key: "cn_Endpoint",
92                 type: "endpoint",
93                 required: false,
94                 disable: false,
95                 options: [
96                         {
97                                 title: "ip_address",
98                                 key: "sliceProfile_CN_ipAddress",
99                                 holder: "IpAddress",
100                         },
101                         {
102                                 title: "logical_link",
103                                 key: "sliceProfile_CN_logicInterfaceId",
104                                 holder: "LogicId",
105                         },
106                         {
107                                 title: "nexthop_info",
108                                 key: "sliceProfile_CN_nextHopInfo",
109                                 holder: "NextHop",
110                         },
111                 ],
112         },
113 ];
114
115 // An and Cn
116 export const CORE_FORM_ITEMS = {
117         An: [
118                 {
119                         title: "S-NSSAI",
120                         key: "sliceProfile_AN_sNSSAI",
121                         required: true,
122                         type: "input",
123                         disable: "true",
124                 },
125                 {
126                         title: "Resource Sharing Level",
127                         key: "sliceProfile_AN_resourceSharingLevel",
128                         required: true,
129                         type: "radio",
130                         disable: false,
131                         options: [
132                                 {
133                                         title: "Shared",
134                                         key: "shared",
135                                 },
136                                 {
137                                         title: "Non-shared",
138                                         key: "non-shared",
139                                 },
140                         ],
141                 },
142                 {
143                         title: "Mobility",
144                         key: "sliceProfile_AN_uEMobilityLevel",
145                         required: true,
146                         type: "select",
147                         disable: false,
148                         options: [
149                                 {
150                                         title: "Stationary",
151                                         key: "stationary",
152                                 },
153                                 {
154                                         title: "Nomadic",
155                                         key: "nomadic",
156                                 },
157                                 {
158                                         title: "Spatially Restricted Mobility",
159                                         key: "spatially restricted mobility",
160                                 },
161                                 {
162                                         title: "Fully Mobility",
163                                         key: "fully mobility",
164                                 },
165                         ],
166                 },
167                 {
168                         title: "Latency (ms)",
169                         key: "an_latency",
170                         required: true,
171                         type: "input",
172                         disable: false,
173                 },
174                 {
175                         title: "Max Number of PUD Session",
176                         key: "sliceProfile_AN_maxNumberofPDUSession",
177                         required: true,
178                         type: "input",
179                         disable: false,
180                 },
181                 {
182                         title: "Max Number of UEs",
183                         key: "sliceProfile_AN_maxNumberofUEs",
184                         required: true,
185                         type: "input",
186                         disable: false,
187                 },
188                 {
189                         title: "Activity Factor (%)",
190                         key: "sliceProfile_AN_activityFactor",
191                         required: true,
192                         type: "input",
193                         disable: false,
194                 },
195                 {
196                         title: "User Downlink Experience Rate(Mbps)",
197                         key: "sliceProfile_AN_expDataRateDL",
198                         required: true,
199                         type: "input",
200                         disable: false,
201                 },
202                 {
203                         title: "User Uplink Experience Rate(Mbps)",
204                         key: "sliceProfile_AN_expDataRateUL",
205                         required: true,
206                         type: "input",
207                         disable: false,
208                 },
209                 {
210                         title: "Downlink Regional Traffic Density(Mbps/km )",
211                         key: "sliceProfile_AN_areaTrafficCapDL",
212                         required: false,
213                         type: "input",
214                         disable: false,
215                 },
216                 {
217                         title: "Uplink Regional Traffic Density(Mbps/km )",
218                         key: "sliceProfile_AN_areaTrafficCapUL",
219                         required: false,
220                         type: "input",
221                         disable: false,
222                 },
223                 {
224                         title: "Script Name",
225                         key: "an_script_name",
226                         required: false,
227                         type: "input",
228                         disable: false,
229                 },
230                 {
231                         title: "Overall User Density",
232                         key: "sliceProfile_AN_overallUserDensity",
233                         required: false,
234                         type: "input",
235                         disable: false,
236                 },
237                 {
238                         title: "Coverage Area Ta List",
239                         key: "an_coverage_area_ta_list",
240                         required: true,
241                         type: "city-select",
242                         disable: false,
243                 },
244         ],
245         Cn: [
246                 {
247                         title: "S-NSSAI",
248                         key: "cn_service_snssai",
249                         required: true,
250                         type: "input",
251                         disable: true,
252                 },
253                 {
254                         title: "Resource Sharing Level",
255                         key: "cn_resource_sharing_level",
256                         required: true,
257                         type: "radio",
258                         disable: false,
259                         options: [
260                                 {
261                                         title: "Shared",
262                                         key: "shared",
263                                 },
264                                 {
265                                         title: "Non-shared",
266                                         key: "non-shared",
267                                 },
268                         ],
269                 },
270                 {
271                         title: "Mobility",
272                         key: "cn_ue_mobility_level",
273                         required: true,
274                         type: "select",
275                         disable: false,
276                         options: [
277                                 {
278                                         title: "Stationary",
279                                         key: "stationary",
280                                 },
281                                 {
282                                         title: "Nomadic",
283                                         key: "nomadic",
284                                 },
285                                 {
286                                         title: "Spatially Restricted Mobility",
287                                         key: "spatially restricted mobility",
288                                 },
289                                 {
290                                         title: "Fully Mobility",
291                                         key: "fully mobility",
292                                 },
293                         ],
294                 },
295                 {
296                         title: "Latency (ms)",
297                         key: "cn_latency",
298                         required: true,
299                         type: "input",
300                         disable: false,
301                 },
302                 {
303                         title: "Max Number of UEs",
304                         key: "cn_max_number_of_ues",
305                         required: true,
306                         type: "input",
307                         disable: false,
308                 },
309                 {
310                         title: "Activity Factor (%)",
311                         key: "cn_activity_factor",
312                         required: true,
313                         type: "input",
314                         disable: false,
315                 },
316                 {
317                         title: "User Downlink Experience Rate(Mbps)",
318                         key: "cn_exp_data_rate_dl",
319                         required: true,
320                         type: "input",
321                         disable: false,
322                 },
323                 {
324                         title: "User Uplink Experience Rate(Mbps)",
325                         key: "cn_exp_data_rate_ul",
326                         required: true,
327                         type: "input",
328                         disable: false,
329                 },
330                 {
331                         title: "Downlink Regional Traffic Density(Mbps/km )",
332                         key: "cn_area_traffic_cap_dl",
333                         required: false,
334                         type: "input",
335                         disable: false,
336                 },
337                 {
338                         title: "Uplink Regional Traffic Density(Mbps/km )",
339                         key: "cn_area_traffic_cap_ul",
340                         required: false,
341                         type: "input",
342                         disable: false,
343                 },
344                 {
345                         title: "Script Name",
346                         key: "cn_script_name",
347                         required: false,
348                         type: "input",
349                         disable: false,
350                 },
351                 {
352                         title: "Max Number of PUD Session",
353                         key: "sliceProfile_CN_maxNumberofPDUSession",
354                         required: true,
355                         type: "input",
356                         disable: false,
357                 },
358                 {
359                         title: "OverAll User Density",
360                         key: "sliceProfile_CN_overallUserDensity",
361                         required: false,
362                         type: "input",
363                         disable: false,
364                 },
365         ],
366 };