Browse Source

Install new sunstone views

Ref: #24202
Daniel Dehennin 11 months ago
parent
commit
ec5a11c6c9

+ 17
- 7
dicos/99_one-frontend.xml View File

@@ -4,13 +4,23 @@
4 4
         <service>opennebula-sunstone</service>
5 5
         <file filelist='onefrontend' name='/etc/one/sunstone-server.conf'/>
6 6
         <file filelist='onefrontend' name='/etc/one/sunstone-logos.yaml'/>
7
-        <file filelist='onefrontend' name='/etc/one/sunstone-views/admin.yaml'/>
8
-        <file filelist='onefrontend' name='/etc/one/sunstone-views/cloud.yaml'/>
9
-        <file filelist='onefrontend' name='/etc/one/sunstone-views/admin_vcenter.yaml'/>
10
-        <file filelist='onefrontend' name='/etc/one/sunstone-views/groupadmin.yaml'/>
11
-        <file filelist='onefrontend' name='/etc/one/sunstone-views/user.yaml'/>
12
-        <file filelist='onefrontend' name='/etc/one/sunstone-views/cloud_vcenter.yaml'/>
13
-        <file filelist='onefrontend' name='/etc/one/sunstone-views/groupadmin_vcenter.yaml'/>
7
+
8
+        <file filelist='onefrontend' name='/etc/one/sunstone-views/kvm/admin.yaml' source='kvm-admin.yaml'/>
9
+        <file filelist='onefrontend' name='/etc/one/sunstone-views/kvm/cloud.yaml' source='kvm-cloud.yaml'/>
10
+        <file filelist='onefrontend' name='/etc/one/sunstone-views/kvm/groupadmin.yaml' source='kvm-groupadmin.yaml'/>
11
+        <file filelist='onefrontend' name='/etc/one/sunstone-views/kvm/user.yaml' source='kvm-user.yaml'/>
12
+
13
+        <file filelist='onefrontend' name='/etc/one/sunstone-views/mixed/admin.yaml' source='mixed-admin.yaml'/>
14
+        <file filelist='onefrontend' name='/etc/one/sunstone-views/mixed/cloud.yaml' source='mixed-cloud.yaml'/>
15
+        <file filelist='onefrontend' name='/etc/one/sunstone-views/mixed/groupadmin.yaml' source='mixed-groupadmin.yaml'/>
16
+        <file filelist='onefrontend' name='/etc/one/sunstone-views/mixed/user.yaml' source='mixed-user.yaml'/>
17
+
18
+        <file filelist='onefrontend' name='/etc/one/sunstone-views/vcenter/admin.yaml' source='vcenter-admin.yaml'/>
19
+        <file filelist='onefrontend' name='/etc/one/sunstone-views/vcenter/cloud.yaml' source='vcenter-cloud.yaml'/>
20
+        <file filelist='onefrontend' name='/etc/one/sunstone-views/vcenter/groupadmin.yaml' source='vcenter-groupadmin.yaml'/>
21
+        <file filelist='onefrontend' name='/etc/one/sunstone-views/vcenter/user.yaml' source='vcenter-user.yaml'/>
22
+
23
+
14 24
         <file filelist='onefrontend' name='/etc/nginx/sites-available/nebula.conf' source='nginx-nebula.conf'/>
15 25
         <file filelist='appmarket' name='/etc/one/sunstone-appmarket.conf' rm='True'/>
16 26
         <service_access service='sunstoneHttps'>

+ 858
- 0
tmpl/kvm-admin.yaml View File

@@ -0,0 +1,858 @@
1
+%set oneflow = %%getVar('activer_oneflow','non') == 'oui'
2
+small_logo: images/opennebula-5.0.png
3
+provision_logo: images/opennebula-5.0.png
4
+link_logo:
5
+text_link_logo:
6
+confirm_vms: false
7
+filter-view: true
8
+enabled_tabs:
9
+    - dashboard-tab
10
+    - instances-top-tab
11
+    - vms-tab
12
+%if %%oneflow
13
+    - oneflow-services-tab
14
+%end if
15
+    - vrouters-tab
16
+    - templates-top-tab
17
+    - templates-tab
18
+%if %%oneflow
19
+    - oneflow-templates-tab
20
+%end if
21
+    - vrouter-templates-tab
22
+    - storage-top-tab
23
+    - datastores-tab
24
+    - images-tab
25
+    - files-tab
26
+    - marketplaces-tab
27
+    - marketplaceapps-tab
28
+    - network-top-tab
29
+    - vnets-tab
30
+    - vnets-topology-tab
31
+    - secgroups-tab
32
+    - infrastructure-top-tab
33
+    - clusters-tab
34
+    - hosts-tab
35
+    - zones-tab
36
+    - system-top-tab
37
+    - users-tab
38
+    - groups-tab
39
+    - vdcs-tab
40
+    - acls-tab
41
+    - settings-tab
42
+    # Do not enable external checking
43
+    # - support-tab
44
+    # - upgrade-top-tab
45
+    - vmgroup-tab
46
+features:
47
+    # True to show showback monthly reports, and VM cost
48
+    showback: true
49
+
50
+    # Allows to change the security groups for each network interface
51
+    # on the VM creation dialog
52
+    secgroups: true
53
+
54
+    # True to hide the CPU setting in the VM creation dialog
55
+    instantiate_hide_cpu: false
56
+
57
+    # False to not scale the CPU. Number to scale from VCPU
58
+    instantiate_cpu_factor: false
59
+
60
+    # True to show the option to make an instance persistent
61
+    instantiate_persistent: true
62
+
63
+    # True to show the datastore datatable to instantiate VM
64
+    show_ds_instantiate: true
65
+
66
+    # True to show the vmgroup datatable to instantiate VM
67
+    show_vmgroup_instantiate: true
68
+
69
+    # True to show the vnet datatable to instantiate VM
70
+    show_vnet_instantiate: true
71
+
72
+    # True to show the host datatable to instantiate VM
73
+    show_host_instantiate: true
74
+
75
+    # True to show an input to specify the the VMs and Template path/folder where a vCenter VM will
76
+    # deployed to
77
+    vcenter_vm_folder: false
78
+
79
+    # True to show the monitoring info (VM & VRouters)
80
+    show_monitoring_info: true
81
+
82
+    # True to show the attributes info (VM & VRouters)
83
+    show_attributes_info: true
84
+
85
+    # True to show the user datatable to instantiate VM
86
+    show_as_uid_instantiate: true
87
+
88
+    # True to show the group datatable to instantiate VM
89
+    show_as_gid_instantiate: true
90
+tabs:
91
+    dashboard-tab:
92
+        # The following widgets can be used inside any of the '_per_row' settings
93
+        # bellow. As the name suggest, the widgets will be scaled to fit one,
94
+        # two, or three per row. The footer uses the widgets at full size, i.e.
95
+        # one per row.
96
+        #
97
+        # - storage
98
+        # - users
99
+        # - network
100
+        # - hosts
101
+        # - vms
102
+        # - groupquotas
103
+        # - quotas
104
+        panel_tabs:
105
+        actions:
106
+            Dashboard.refresh: false
107
+            Sunstone.toggle_top: false
108
+        widgets_one_per_row:
109
+            - hosts
110
+        widgets_three_per_row:
111
+        widgets_two_per_row:
112
+            - vms
113
+            - users
114
+            - storage
115
+            - network
116
+        widgets_one_footer:
117
+    system-top-tab:
118
+        panel_tabs:
119
+        actions:
120
+    users-tab:
121
+        panel_tabs:
122
+            user_info_tab: true
123
+            user_quotas_tab: true
124
+            user_groups_tab: true
125
+            user_accounting_tab: true
126
+            user_showback_tab: true
127
+            user_auth_tab: true
128
+        table_columns:
129
+            - 0         # Checkbox
130
+            - 1         # ID
131
+            - 2         # Name
132
+            - 3         # Group
133
+            - 4         # Auth driver
134
+            #- 5        # Password
135
+            - 6         # VMs
136
+            - 7         # Memory
137
+            - 8         # CPU
138
+            #- 9        # Group ID
139
+            #- 10       # Hidden User Data
140
+            #- 11       # Labels
141
+            #- 12       # Search data
142
+        actions:
143
+            User.refresh: true
144
+            User.create_dialog: true
145
+            User.update_password: true
146
+            User.login_token: true
147
+            User.quotas_dialog: true
148
+            User.groups_dialog: true
149
+            User.chgrp: true
150
+            User.change_authentication: true
151
+            User.delete: true
152
+            User.edit_labels: true
153
+            User.menu_labels: true
154
+    groups-tab:
155
+        panel_tabs:
156
+            group_info_tab: true
157
+            group_users_tab: true
158
+            group_quotas_tab: true
159
+            group_accounting_tab: true
160
+            group_showback_tab: true
161
+        table_columns:
162
+            - 0         # Checkbox
163
+            - 1         # ID
164
+            - 2         # Name
165
+            - 3         # Users
166
+            - 4         # VMs
167
+            - 5         # Memory
168
+            - 6         # CPU
169
+            #- 7         # Labels
170
+        actions:
171
+            Group.refresh: true
172
+            Group.create_dialog: true
173
+            Group.update_dialog: true
174
+            Group.quotas_dialog: true
175
+            Group.delete: true
176
+            Group.edit_admins: true
177
+            Group.edit_labels: true
178
+            Group.menu_labels: true
179
+    vdcs-tab:
180
+        panel_tabs:
181
+            vdc_info_tab: true
182
+            vdc_groups_tab: true
183
+            vdc_resources_tab: true
184
+        table_columns:
185
+            - 0         # Checkbox
186
+            - 1         # ID
187
+            - 2         # Name
188
+            - 3         # Groups
189
+            - 4         # Clusters
190
+            - 5         # Hosts
191
+            - 6         # VNets
192
+            - 7         # Datastores
193
+            #- 8        # Labels
194
+        actions:
195
+            Vdc.refresh: true
196
+            Vdc.create_dialog: true
197
+            Vdc.update_dialog: true
198
+            Vdc.rename: true
199
+            Vdc.delete: true
200
+            Vdc.edit_labels: true
201
+            Vdc.menu_labels: true
202
+    acls-tab:
203
+        panel_tabs:
204
+        table_columns:
205
+            - 0         # Checkbox
206
+            - 1         # ID
207
+            - 2         # Applies to
208
+            - 3         # Affected resources
209
+            - 4         # Resource ID / Owned by
210
+            - 5         # Allowed operations
211
+            - 6         # Zone
212
+            #- 7        # ACL String
213
+        actions:
214
+            Acl.refresh: true
215
+            Acl.create_dialog: true
216
+            Acl.delete: true
217
+    templates-top-tab:
218
+        panel_tabs:
219
+        actions:
220
+    templates-tab:
221
+        panel_tabs:
222
+            template_info_tab: true
223
+            template_template_tab: true
224
+        table_columns:
225
+            - 0         # Checkbox
226
+            - 1         # ID
227
+            - 2         # Name
228
+            - 3         # Owner
229
+            - 4         # Group
230
+            - 5         # Registration time
231
+            #- 6        # Labels
232
+            #- 7        # Search data
233
+        actions:
234
+            Template.refresh: true
235
+            Template.create_dialog: true
236
+            Template.import_dialog: false
237
+            Template.update_dialog: true
238
+            Template.instantiate_vms: true
239
+            Template.rename: true
240
+            Template.chown: true
241
+            Template.chgrp: true
242
+            Template.chmod: true
243
+            Template.clone_dialog: true
244
+            Template.delete_dialog: true
245
+            Template.share: true
246
+            Template.unshare: true
247
+            Template.edit_labels: true
248
+            Template.menu_labels: true
249
+        template_creation_tabs:
250
+            general: true
251
+            storage: true
252
+            network: true
253
+            os_booting: true
254
+            features: true
255
+            input_output: true
256
+            context: true
257
+            actions: true
258
+            scheduling: true
259
+            hybrid: true
260
+            vmgroup: true
261
+            other: true
262
+    oneflow-templates-tab:
263
+        panel_tabs:
264
+            service_template_info_tab: true
265
+            service_template_roles_tab: true
266
+            service_template_template_tab: true
267
+        table_columns:
268
+            - 0         # Checkbox
269
+            - 1         # ID
270
+            - 2         # Name
271
+            - 3         # Owner
272
+            - 4         # Group
273
+            #- 5        # Labels
274
+            #- 6        # Search data
275
+        actions:
276
+            ServiceTemplate.refresh: true
277
+            ServiceTemplate.create_dialog: true
278
+            ServiceTemplate.update_dialog: true
279
+            ServiceTemplate.instantiate: true
280
+            ServiceTemplate.chown: true
281
+            ServiceTemplate.chgrp: true
282
+            ServiceTemplate.chmod: true
283
+            ServiceTemplate.rename: true
284
+            ServiceTemplate.clone_dialog: true
285
+            ServiceTemplate.delete: true
286
+            ServiceTemplate.edit_labels: true
287
+            ServiceTemplate.menu_labels: true
288
+    vrouter-templates-tab:
289
+        panel_tabs:
290
+            vrouter_template_info_tab: true
291
+            vrouter_template_template_tab: true
292
+        table_columns:
293
+            - 0         # Checkbox
294
+            - 1         # ID
295
+            - 2         # Name
296
+            - 3         # Owner
297
+            - 4         # Group
298
+            - 5         # Registration time
299
+            #- 6        # Labels
300
+            #- 7        # Search data
301
+        actions:
302
+            VirtualRouterTemplate.refresh: true
303
+            VirtualRouterTemplate.create_dialog: true
304
+            VirtualRouterTemplate.update_dialog: true
305
+            VirtualRouterTemplate.instantiate_dialog: true
306
+            VirtualRouterTemplate.rename: true
307
+            VirtualRouterTemplate.chown: true
308
+            VirtualRouterTemplate.chgrp: true
309
+            VirtualRouterTemplate.chmod: true
310
+            VirtualRouterTemplate.clone_dialog: true
311
+            VirtualRouterTemplate.delete_dialog: true
312
+            VirtualRouterTemplate.share: true
313
+            VirtualRouterTemplate.unshare: true
314
+            VirtualRouterTemplate.edit_labels: true
315
+            VirtualRouterTemplate.menu_labels: true
316
+        template_creation_tabs:
317
+            general: true
318
+            storage: true
319
+            network: true
320
+            os_booting: true
321
+            features: true
322
+            input_output: true
323
+            context: true
324
+            scheduling: true
325
+            hybrid: true
326
+            other: true
327
+    instances-top-tab:
328
+        panel_tabs:
329
+        actions:
330
+    vms-tab:
331
+        panel_tabs:
332
+            vm_info_tab: true
333
+            vm_capacity_tab: true
334
+            vm_storage_tab: true
335
+            vm_network_tab: true
336
+            vm_snapshot_tab: true
337
+            vm_placement_tab: true
338
+            vm_actions_tab: true
339
+            vm_conf_tab: true
340
+            vm_template_tab: true
341
+            vm_log_tab: true
342
+        table_columns:
343
+            - 0       # Checkbox
344
+            - 1       # ID
345
+            - 2       # Name
346
+            - 3       # Owner
347
+            - 4       # Group
348
+            - 5       # Status
349
+            #- 6      # Used CPU
350
+            #- 7      # Used Memory
351
+            - 8       # Host
352
+            - 9       # IPs
353
+            #- 10     # Start Time
354
+            - 11      # VNC
355
+            #- 12     # Hidden Template
356
+            #- 13     # Labels
357
+            #- 14     # Search data
358
+        actions:
359
+            VM.refresh: true
360
+            VM.create_dialog: true
361
+            VM.rename: true
362
+            VM.chown: true
363
+            VM.chgrp: true
364
+            VM.chmod: true
365
+            VM.deploy: true
366
+            VM.migrate: true
367
+            VM.migrate_live: true
368
+            VM.hold: true
369
+            VM.release: true
370
+            VM.suspend: true
371
+            VM.resume: true
372
+            VM.stop: true
373
+            VM.recover: true
374
+            VM.reboot: true
375
+            VM.reboot_hard: true
376
+            VM.poweroff: true
377
+            VM.poweroff_hard: true
378
+            VM.undeploy: true
379
+            VM.undeploy_hard: true
380
+            VM.terminate: true
381
+            VM.terminate_hard: true
382
+            VM.resize: true
383
+            VM.disk_resize: true
384
+            VM.attachdisk: true
385
+            VM.detachdisk: true
386
+            VM.disk_saveas: true
387
+            VM.attachnic: true
388
+            VM.detachnic: true
389
+            VM.snapshot_create: true
390
+            VM.snapshot_revert: true
391
+            VM.snapshot_delete: true
392
+            VM.disk_snapshot_create: true
393
+            VM.disk_snapshot_revert: true
394
+            VM.disk_snapshot_delete: true
395
+            VM.resched: true
396
+            VM.unresched: true
397
+            VM.save_as_template: true
398
+            VM.updateconf: true
399
+            VM.edit_labels: true
400
+            VM.menu_labels: true
401
+    oneflow-services-tab:
402
+        panel_tabs:
403
+            service_info_tab: true
404
+            service_roles_tab: true
405
+            service_log_tab: true
406
+        panel_tabs_actions:
407
+            service_roles_tab:
408
+                Role.scale: true
409
+                Role.hold: true
410
+                Role.release: true
411
+                Role.suspend: true
412
+                Role.resume: true
413
+                Role.stop: true
414
+                Role.reboot: true
415
+                Role.reboot_hard: true
416
+                Role.poweroff: true
417
+                Role.poweroff_hard: true
418
+                Role.undeploy: true
419
+                Role.undeploy_hard: true
420
+                Role.terminate: true
421
+                Role.terminate_hard: true
422
+                RoleVM.hold: true
423
+                RoleVM.release: true
424
+                RoleVM.suspend: true
425
+                RoleVM.resume: true
426
+                RoleVM.stop: true
427
+                RoleVM.reboot: true
428
+                RoleVM.reboot_hard: true
429
+                RoleVM.poweroff: true
430
+                RoleVM.poweroff_hard: true
431
+                RoleVM.undeploy: true
432
+                RoleVM.undeploy_hard: true
433
+                RoleVM.terminate: true
434
+                RoleVM.terminate_hard: true
435
+                RoleVM.resched: true
436
+                RoleVM.unresched: true
437
+                RoleVM.recover: true
438
+        table_columns:
439
+            - 0         # Checkbox
440
+            - 1         # ID
441
+            - 2         # Name
442
+            - 3         # Owner
443
+            - 4         # Group
444
+            - 5         # State
445
+            #- 6        # Labels
446
+            #- 7        # Search data
447
+        actions:
448
+            Service.refresh: true
449
+            Service.create_dialog: true
450
+            Service.chown: true
451
+            Service.chgrp: true
452
+            Service.chmod: true
453
+            Service.rename: true
454
+            Service.shutdown: true
455
+            Service.recover: true
456
+            Service.delete: true
457
+            Service.edit_labels: true
458
+            Service.menu_labels: true
459
+    vrouters-tab:
460
+        panel_tabs:
461
+            virtual_router_info_tab: true
462
+            virtual_router_vms_tab: true
463
+        table_columns:
464
+            - 0         # Checkbox
465
+            - 1         # ID
466
+            - 2         # Owner
467
+            - 3         # Group
468
+            - 4         # Name
469
+            #- 5        # Labels
470
+            #- 6        # Search data
471
+        actions:
472
+            VirtualRouter.refresh: true
473
+            VirtualRouter.create_dialog: true
474
+            VirtualRouter.rename: true
475
+            VirtualRouter.chown: true
476
+            VirtualRouter.chgrp: true
477
+            VirtualRouter.chmod: true
478
+            VirtualRouter.delete: true
479
+            VirtualRouter.attachnic: true
480
+            VirtualRouter.detachnic: true
481
+            VirtualRouter.edit_labels: true
482
+            VirtualRouter.menu_labels: true
483
+    infrastructure-top-tab:
484
+        panel_tabs:
485
+        actions:
486
+    clusters-tab:
487
+        panel_tabs:
488
+            cluster_info_tab: true
489
+            cluster_host_tab: true
490
+            cluster_vnet_tab: true
491
+            cluster_datastore_tab: true
492
+        table_columns:
493
+            - 0         # Checkbox
494
+            - 1         # ID
495
+            - 2         # Name
496
+            - 3         # Hosts
497
+            - 4         # VNets
498
+            - 5         # Datastores
499
+            #- 6        # Labels
500
+        actions:
501
+            Cluster.refresh: true
502
+            Cluster.create_dialog: true
503
+            Cluster.update_dialog: true
504
+            Cluster.delete: true
505
+            Cluster.rename: true
506
+            Cluster.edit_labels: true
507
+            Cluster.menu_labels: true
508
+    hosts-tab:
509
+        panel_tabs:
510
+            host_info_tab: true
511
+            host_monitoring_tab: true
512
+            host_vms_tab: true
513
+            host_wilds_tab: true
514
+            host_zombies_tab: true
515
+            host_esx_tab: true
516
+            host_pci_tab: true
517
+        table_columns:
518
+            - 0         # Checkbox
519
+            - 1         # ID
520
+            - 2         # Name
521
+            - 3         # Cluster
522
+            - 4         # RVMs
523
+            #- 5        # Real CPU
524
+            - 6         # Allocated CPU
525
+            #- 7        # Real MEM
526
+            - 8         # Allocated MEM
527
+            - 9         # Status
528
+            #- 10       # IM MAD
529
+            #- 11       # VM MAD
530
+            #- 12       # Last monitored on
531
+            #- 13       # Labels
532
+            #- 14       # Search data
533
+        actions:
534
+            Host.refresh: true
535
+            Host.create_dialog: true
536
+            Host.addtocluster: true
537
+            Host.rename: true
538
+            Host.enable: true
539
+            Host.disable: true
540
+            Host.offline: true
541
+            Host.delete: true
542
+            Host.edit_labels: true
543
+            Host.menu_labels: true
544
+    zones-tab:
545
+        panel_tabs:
546
+            zone_info_tab: true
547
+        table_columns:
548
+            - 0         # Checkbox
549
+            - 1         # ID
550
+            - 2         # Name
551
+            - 3         # Endpoint
552
+            #- 4        # Labels
553
+        actions:
554
+            Zone.refresh: true
555
+            Zone.create_dialog: true
556
+            Zone.rename: true
557
+            Zone.delete: true
558
+            Zone.edit_labels: true
559
+            Zone.menu_labels: true
560
+    storage-top-tab:
561
+        panel_tabs:
562
+        actions:
563
+    datastores-tab:
564
+        panel_tabs:
565
+            datastore_info_tab: true
566
+            datastore_image_tab: true
567
+            datastore_clusters_tab: true
568
+        table_columns:
569
+            - 0         # Checkbox
570
+            - 1         # ID
571
+            - 2         # Name
572
+            - 3         # Owner
573
+            - 4         # Group
574
+            - 5         # Capacity
575
+            - 6         # Cluster
576
+            #- 7        # Basepath
577
+            #- 8        # TM
578
+            #- 9        # DS
579
+            - 10        # Type
580
+            - 11        # Status
581
+            #- 12       # Labels
582
+            #- 13       # Search data
583
+        actions:
584
+            Datastore.refresh: true
585
+            Datastore.create_dialog: true
586
+            Datastore.import_dialog: false
587
+            Datastore.addtocluster: true
588
+            Datastore.rename: true
589
+            Datastore.chown: true
590
+            Datastore.chgrp: true
591
+            Datastore.chmod: true
592
+            Datastore.delete: true
593
+            Datastore.enable: true
594
+            Datastore.disable: true
595
+            Datastore.edit_labels: true
596
+            Datastore.menu_labels: true
597
+    images-tab:
598
+        panel_tabs:
599
+            image_info_tab: true
600
+            image_vms_tab: true
601
+            image_snapshots_tab: true
602
+        table_columns:
603
+            - 0         # Checkbox
604
+            - 1         # ID
605
+            - 2         # Name
606
+            - 3         # Owner
607
+            - 4         # Group
608
+            - 5         # Datastore
609
+            #- 6        # Size
610
+            - 7         # Type
611
+            #- 8        # Registration time
612
+            #- 9        # Persistent
613
+            - 10        # Status
614
+            - 11        # #VMs
615
+            #- 12       # Target
616
+            #- 13       # Labels
617
+            #- 14       # Search data
618
+        actions:
619
+            Image.refresh: true
620
+            Image.create_dialog: true
621
+            Image.import_dialog: false
622
+            Image.upload_marketplace_dialog: true
623
+            Image.rename: true
624
+            Image.chown: true
625
+            Image.chgrp: true
626
+            Image.chmod: true
627
+            Image.enable: true
628
+            Image.disable: true
629
+            Image.persistent: true
630
+            Image.nonpersistent: true
631
+            Image.clone_dialog: true
632
+            Image.delete: true
633
+            Image.snapshot_flatten: true
634
+            Image.snapshot_revert: true
635
+            Image.snapshot_delete: true
636
+            Image.edit_labels: true
637
+            Image.menu_labels: true
638
+    files-tab:
639
+        panel_tabs:
640
+            file_info_tab: true
641
+        table_columns:
642
+            - 0         # Checkbox
643
+            - 1         # ID
644
+            - 2         # Name
645
+            - 3         # Owner
646
+            - 4         # Group
647
+            - 5         # Datastore
648
+            #- 6        # Size
649
+            - 7         # Type
650
+            #- 8        # Registration time
651
+            #- 9        # Persistent
652
+            - 10        # Status
653
+            #- 11       # #VMs
654
+            #- 12       # Target
655
+            #- 13       # Labels
656
+            #- 14       # Search data
657
+        actions:
658
+            File.refresh: true
659
+            File.create_dialog: true
660
+            File.rename: true
661
+            File.chown: true
662
+            File.chgrp: true
663
+            File.chmod: true
664
+            File.enable: true
665
+            File.disable: true
666
+            File.delete: true
667
+            File.edit_labels: true
668
+            File.menu_labels: true
669
+    marketplaces-tab:
670
+        panel_tabs:
671
+            marketplace_info_tab: true
672
+            marketplace_apps_tab: true
673
+        table_columns:
674
+            - 0         # Checkbox
675
+            - 1         # ID
676
+            - 2         # Name
677
+            - 3         # Owner
678
+            - 4         # Group
679
+            - 5         # Capacity
680
+            - 6         # Apps
681
+            - 7         # Driver
682
+            - 8         # Zone
683
+            #- 9        # Labels
684
+            #- 10       # Search data
685
+        actions:
686
+            MarketPlace.refresh: true
687
+            MarketPlace.create_dialog: true
688
+            MarketPlace.update_dialog: true
689
+            MarketPlace.rename: true
690
+            MarketPlace.chown: true
691
+            MarketPlace.chgrp: true
692
+            MarketPlace.chmod: true
693
+            MarketPlace.delete: true
694
+            MarketPlace.edit_labels: true
695
+            MarketPlace.menu_labels: true
696
+    marketplaceapps-tab:
697
+        panel_tabs:
698
+            marketplaceapp_info_tab: true
699
+            marketplaceapp_templates_tab: true
700
+        table_columns:
701
+            - 0         # Checkbox
702
+            - 1         # ID
703
+            - 2         # Name
704
+            - 3         # Owner
705
+            - 4         # Group
706
+            #- 5        # Version
707
+            - 6         # Size
708
+            - 7         # State
709
+            #- 8        # Type
710
+            - 9         # Registration
711
+            - 10        # Marketplace
712
+            - 11        # Zone
713
+            #- 12       # Labels
714
+            #- 13       # Search data
715
+        actions:
716
+            MarketPlaceApp.refresh: true
717
+            MarketPlaceApp.create_dialog: true
718
+            MarketPlaceApp.download_opennebula_dialog: true
719
+            MarketPlaceApp.download_local: true
720
+            MarketPlaceApp.rename: true
721
+            MarketPlaceApp.chown: true
722
+            MarketPlaceApp.chgrp: true
723
+            MarketPlaceApp.chmod: true
724
+            MarketPlaceApp.enable: true
725
+            MarketPlaceApp.disable: true
726
+            MarketPlaceApp.delete: true
727
+            MarketPlaceApp.edit_labels: true
728
+            MarketPlaceApp.menu_labels: true
729
+    network-top-tab:
730
+        panel_tabs:
731
+        actions:
732
+    vnets-tab:
733
+        panel_tabs:
734
+            vnet_info_tab: true
735
+            vnet_ar_list_tab: true
736
+            vnet_leases_tab: true
737
+            vnet_sg_list_tab: true
738
+            vnet_vr_list_tab: true
739
+            vnet_clusters_tab: true
740
+        table_columns:
741
+            - 0         # Checkbox
742
+            - 1         # ID
743
+            - 2         # Name
744
+            - 3         # Owner
745
+            - 4         # Group
746
+            - 5         # Reservation
747
+            - 6         # Cluster
748
+            #- 7        # Bridge
749
+            - 8         # Leases
750
+            #- 9        # VLAN ID
751
+            #- 10       # Labels
752
+            #- 11       # Search data
753
+        actions:
754
+            Network.refresh: true
755
+            Network.create_dialog: true
756
+            Network.import_dialog: false
757
+            Network.update_dialog: true
758
+            Network.reserve_dialog: true
759
+            Network.addtocluster: true
760
+            Network.rename: true
761
+            Network.chown: true
762
+            Network.chgrp: true
763
+            Network.chmod: true
764
+            Network.delete: true
765
+            Network.hold_lease: true
766
+            Network.release_lease: true
767
+            Network.add_ar: true
768
+            Network.remove_ar: true
769
+            Network.update_ar: true
770
+            Network.edit_labels: true
771
+            Network.menu_labels: true
772
+    vnets-topology-tab:
773
+        panel_tabs:
774
+        actions:
775
+            NetworkTopology.refresh: true
776
+            NetworkTopology.fit: true
777
+            NetworkTopology.collapseVMs: true
778
+            NetworkTopology.openVMs: true
779
+    secgroups-tab:
780
+        panel_tabs:
781
+            security_group_info_tab: true
782
+            security_group_vms_tab: true
783
+        table_columns:
784
+            - 0         # Checkbox
785
+            - 1         # ID
786
+            - 2         # Name
787
+            - 3         # Owner
788
+            - 4         # Group
789
+            #- 5        # Labels
790
+            #- 6        # Search data
791
+        actions:
792
+            SecurityGroup.refresh: true
793
+            SecurityGroup.create_dialog: true
794
+            SecurityGroup.update_dialog: true
795
+            SecurityGroup.rename: true
796
+            SecurityGroup.chown: true
797
+            SecurityGroup.chgrp: true
798
+            SecurityGroup.chmod: true
799
+            SecurityGroup.clone_dialog: true
800
+            SecurityGroup.commit_dialog: true
801
+            SecurityGroup.delete: true
802
+            SecurityGroup.edit_labels: true
803
+            SecurityGroup.menu_labels: true
804
+    support-tab:
805
+        panel_tabs:
806
+            support_info_tab: true
807
+        table_columns:
808
+            #- 0        # Checkbox
809
+            - 1         # ID
810
+            - 2         # Subject
811
+            - 3         # Created at
812
+            - 4         # Status
813
+        actions:
814
+            Support.refresh: true
815
+            Support.create_dialog: true
816
+    settings-tab:
817
+        panel_tabs:
818
+            settings_info_tab: true
819
+            settings_config_tab: false
820
+            settings_quotas_tab: true
821
+            settings_group_quotas_tab: true
822
+            settings_accounting_tab: true
823
+            settings_showback_tab: true
824
+            settings_auth_tab: true
825
+        actions:
826
+            # Buttons for settings_info_tab
827
+            User.update_password: true
828
+            User.login_token: true
829
+            # Buttons for settings_config_tab
830
+            Settings.change_language: true
831
+            Settings.change_password: true
832
+            Settings.change_view: true
833
+            Settings.ssh_key: true
834
+            Settings.login_token: true
835
+            # Edit button in settings_quotas_tab
836
+            User.quotas_dialog: false
837
+    upgrade-top-tab:
838
+        panel_tabs:
839
+        actions:
840
+    vmgroup-tab:
841
+        panel_tabs:
842
+            vm_group_info_tab: true
843
+            vm_group_vms_tab: true
844
+        table_columns:
845
+            - 0         # Checkbox
846
+            - 1         # ID
847
+            - 2         # Name
848
+            - 3         # Owner
849
+            - 4         # Group
850
+            - 5         # Vms
851
+            #- 6        # Labels
852
+            #- 7        # Search data
853
+        actions:
854
+           VMGroup.create_dialog: true
855
+           VMGroup.update_dialog: true
856
+           VMGroup.chmod: true
857
+           VMGroup.chown: true
858
+           VMGroup.chgrp: true

+ 190
- 0
tmpl/kvm-cloud.yaml View File

@@ -0,0 +1,190 @@
1
+%set oneflow = %%getVar('activer_oneflow','non') == 'oui'
2
+provision_logo: images/opennebula-5.0.png
3
+link_logo:
4
+text_link_logo:
5
+confirm_vms: false
6
+enabled_tabs:
7
+    - provision-tab
8
+    - settings-tab
9
+features:
10
+    # True to show showback monthly reports, and VM cost
11
+    showback: true
12
+
13
+    # Allows to change the security groups for each network interface
14
+    # on the VM creation dialog
15
+    secgroups: true
16
+
17
+    # True to hide the CPU setting in the VM creation dialog
18
+    instantiate_hide_cpu: false
19
+
20
+    # False to not scale the CPU. Number to scale from VCPU
21
+    instantiate_cpu_factor: false
22
+
23
+    # True to show the option to make an instance persistent
24
+    instantiate_persistent: true
25
+
26
+    # True to allow to create machines to cloud users
27
+    cloud_vm_create: true
28
+
29
+    # True to show the monitoring info (VM & VRouters)
30
+    show_monitoring_info: true
31
+
32
+    # True to show the attributes info (VM & VRouters)
33
+    show_attributes_info: true
34
+
35
+    # True to show the vCenter info (VM & VRouters)
36
+    show_vcenter_info: true
37
+tabs:
38
+    provision-tab:
39
+        panel_tabs:
40
+            vm_info_tab: false
41
+            vm_capacity_tab: true
42
+            vm_storage_tab: true
43
+            vm_network_tab: true
44
+            vm_snapshot_tab: true
45
+            vm_placement_tab: false
46
+            vm_actions_tab: true
47
+            vm_conf_tab: false
48
+            vm_template_tab: false
49
+            vm_log_tab: false
50
+        provision_tabs:
51
+%if %%oneflow
52
+            flows: true
53
+%else
54
+            flows: false
55
+%end if
56
+            templates: true
57
+        actions: &provisionactions
58
+            # In the cloud view, delete is the equivalent
59
+            # of 'onetemplate chmod --recursive'
60
+            Template.chmod: false
61
+
62
+            # In the cloud view, delete is the equivalent
63
+            # of 'onetemplate delete --recursive'
64
+            Template.delete: true
65
+            VM.rename: true
66
+            VM.resume: true
67
+            VM.reboot: true
68
+            VM.reboot_hard: true
69
+            VM.poweroff: true
70
+            VM.poweroff_hard: true
71
+            VM.undeploy: false
72
+            VM.undeploy_hard: false
73
+            VM.terminate: true
74
+            VM.terminate_hard: true
75
+            VM.resize: true
76
+            VM.disk_resize: true
77
+            VM.attachdisk: true
78
+            VM.detachdisk: true
79
+            VM.disk_saveas: true
80
+            VM.attachnic: true
81
+            VM.detachnic: true
82
+            VM.snapshot_create: true
83
+            VM.snapshot_revert: true
84
+            VM.snapshot_delete: true
85
+            VM.disk_snapshot_create: true
86
+            VM.disk_snapshot_revert: true
87
+            VM.disk_snapshot_delete: true
88
+            VM.save_as_template: true
89
+        dashboard:
90
+            # Connected user's quotas
91
+            quotas: true
92
+            # Overview of connected user's VMs
93
+            vms: true
94
+            # Group's quotas
95
+            groupquotas: false
96
+            # Overview of group's VMs
97
+            groupvms: false
98
+        create_vm:
99
+            # True to allow capacity (CPU, MEMORY, VCPU) customization
100
+            capacity_select: true
101
+            # True to allow NIC customization
102
+            network_select: true
103
+            # True to allow vmgroup customization
104
+            vmgroup_select: true
105
+            # True to allow DISK size customization
106
+            disk_resize: true
107
+            # True to allow datastore customization
108
+            datastore_select: true
109
+    settings-tab:
110
+        panel_tabs:
111
+            settings_info_tab: false
112
+            settings_config_tab: true
113
+            settings_quotas_tab: true
114
+            settings_accounting_tab: true
115
+            settings_showback_tab: true
116
+        actions:
117
+            # Buttons for settings_info_tab
118
+            User.update_password: true
119
+            User.login_token: true
120
+            # Buttons for settings_config_tab
121
+            Settings.change_language: true
122
+            Settings.change_password: true
123
+            Settings.change_view: true
124
+            Settings.ssh_key: true
125
+            Settings.login_token: true
126
+            # Edit button in settings_quotas_tab
127
+            User.quotas_dialog: false
128
+    vms-tab:
129
+        actions: *provisionactions
130
+    images-tab:
131
+        table_columns:
132
+            - 0         # Checkbox
133
+            - 1         # ID
134
+            - 2         # Name
135
+            - 3         # Onwer
136
+            - 4         # Group
137
+            - 5         # Datastore
138
+            #- 6        # Size
139
+            - 7         # Type
140
+            #- 8        # Registration time
141
+            #- 9        # Persistent
142
+            - 10        # Status
143
+            - 11        # #VMs
144
+            #- 12       # Target
145
+    vnets-tab:
146
+        table_columns:
147
+            - 0         # Checkbox
148
+            - 1         # ID
149
+            - 2         # Name
150
+            #- 3        # Owner
151
+            - 4         # Group
152
+            #- 5        # Reservation
153
+            #- 6        # Cluster
154
+            #- 7        # Bridge
155
+            #- 8        # Leases
156
+            #- 9        # VLAN ID
157
+    secgroups-tab:
158
+        table_columns:
159
+            - 0         # Checkbox
160
+            - 1         # ID
161
+            - 2         # Name
162
+            #- 3        # Owner
163
+            - 4         # Group
164
+            #- 5        # Labels
165
+    vmgroup-tab:
166
+        table_columns:
167
+            - 0         # Checkbox
168
+            - 1         # ID
169
+            - 2         # Name
170
+            - 3         # Owner
171
+            - 4         # Group
172
+            - 5         # Vms
173
+            #- 6        # Labels
174
+            #- 7        # Search data
175
+    datastores-tab:
176
+        table_columns:
177
+            - 0         # Checkbox
178
+            - 1         # ID
179
+            - 2         # Name
180
+            - 3         # Owner
181
+            - 4         # Group
182
+            #- 5        # Capacity
183
+            #- 6        # Cluster
184
+            #- 7        # Basepath
185
+            #- 8        # TM
186
+            #- 9        # DS
187
+            #- 10       # Type
188
+            - 11        # Status
189
+            #- 12       # Labels
190
+            #- 13       # Search data

+ 856
- 0
tmpl/kvm-groupadmin.yaml View File

@@ -0,0 +1,856 @@
1
+%set oneflow = %%getVar('activer_oneflow','non') == 'oui'
2
+small_logo: images/opennebula-5.0.png
3
+provision_logo: images/opennebula-5.0.png
4
+link_logo:
5
+text_link_logo:
6
+confirm_vms: false
7
+filter-view: true
8
+enabled_tabs:
9
+    - dashboard-tab
10
+    - instances-top-tab
11
+    - vms-tab
12
+%if %%oneflow
13
+    - oneflow-services-tab
14
+%end if
15
+    - vrouters-tab
16
+    - templates-top-tab
17
+    - templates-tab
18
+%if %%oneflow
19
+    - oneflow-templates-tab
20
+%end if
21
+    - vrouter-templates-tab
22
+    #- storage-top-tab
23
+    #- datastores-tab
24
+    #- images-tab
25
+    #- files-tab
26
+    #- marketplaces-tab
27
+    #- marketplaceapps-tab
28
+    - network-top-tab
29
+    - vnets-tab
30
+    - vnets-topology-tab
31
+    - secgroups-tab
32
+    #- infrastructure-top-tab
33
+    #- clusters-tab
34
+    #- hosts-tab
35
+    #- zones-tab
36
+    - system-top-tab
37
+    - users-tab
38
+    - groups-tab
39
+    #- vdcs-tab
40
+    #- acls-tab
41
+    - settings-tab
42
+    #- support-tab
43
+    #- upgrade-top-tab
44
+    - vmgroup-tab
45
+features:
46
+    # True to show showback monthly reports, and VM cost
47
+    showback: true
48
+
49
+    # Allows to change the security groups for each network interface
50
+    # on the VM creation dialog
51
+    secgroups: true
52
+
53
+    # True to hide the CPU setting in the VM creation dialog
54
+    instantiate_hide_cpu: false
55
+
56
+    # False to not scale the CPU. Number to scale from VCPU
57
+    instantiate_cpu_factor: false
58
+
59
+    # True to show the option to make an instance persistent
60
+    instantiate_persistent: true
61
+
62
+    # True to show the datastore datatable to instantiate VM
63
+    show_ds_instantiate: false
64
+
65
+    # True to show the vmgroup datatable to instantiate VM
66
+    show_vmgroup_instantiate: true
67
+
68
+    # True to show the vnet datatable to instantiate VM
69
+    show_vnet_instantiate: true
70
+
71
+    # True to show the host datatable to instantiate VM
72
+    show_host_instantiate: false
73
+
74
+    # True to show an input to specify the the VMs and Template path/folder where a vCenter VM will
75
+    # deployed to
76
+    vcenter_vm_folder: false
77
+
78
+    # True to show the monitoring info (VM & VRouters)
79
+    show_monitoring_info: true
80
+
81
+    # True to show the attributes info (VM & VRouters)
82
+    show_attributes_info: true
83
+
84
+    # True to show the user datatable to instantiate VM
85
+    show_as_uid_instantiate: true
86
+
87
+    # True to show the group datatable to instantiate VM
88
+    show_as_gid_instantiate: true
89
+tabs:
90
+    dashboard-tab:
91
+        # The following widgets can be used inside any of the '_per_row' settings
92
+        # bellow. As the name suggest, the widgets will be scaled to fit one,
93
+        # two, or three per row. The footer uses the widgets at full size, i.e.
94
+        # one per row.
95
+        #
96
+        # - storage
97
+        # - users
98
+        # - network
99
+        # - hosts
100
+        # - vms
101
+        # - groupquotas
102
+        # - quotas
103
+        panel_tabs:
104
+        actions:
105
+            Dashboard.refresh: false
106
+            Sunstone.toggle_top: false
107
+        widgets_one_per_row:
108
+        widgets_three_per_row:
109
+        widgets_two_per_row:
110
+            - vms
111
+            - users
112
+            - groupquotas
113
+            - quotas
114
+        widgets_one_footer:
115
+    system-top-tab:
116
+        panel_tabs:
117
+        actions:
118
+    users-tab:
119
+        panel_tabs:
120
+            user_info_tab: true
121
+            user_quotas_tab: true
122
+            user_groups_tab: true
123
+            user_accounting_tab: true
124
+            user_showback_tab: true
125
+            user_auth_tab: true
126
+        table_columns:
127
+            - 0         # Checkbox
128
+            - 1         # ID
129
+            - 2         # Name
130
+            #- 3        # Group
131
+            #- 4        # Auth driver
132
+            #- 5        # Password
133
+            - 6         # VMs
134
+            - 7         # Memory
135
+            - 8         # CPU
136
+            #- 9        # Group ID
137
+            #- 10       # Hidden User Data
138
+            #- 11       # Labels
139
+            #- 12       # Search data
140
+        actions:
141
+            User.refresh: true
142
+            User.create_dialog: true
143
+            User.update_password: true
144
+            User.login_token: true
145
+            User.quotas_dialog: true
146
+            User.groups_dialog: false
147
+            User.chgrp: false
148
+            User.change_authentication: false
149
+            User.delete: true
150
+            User.edit_labels: true
151
+            User.menu_labels: true
152
+    groups-tab:
153
+        panel_tabs:
154
+            group_info_tab: true
155
+            group_users_tab: true
156
+            group_quotas_tab: true
157
+            group_accounting_tab: true
158
+            group_showback_tab: true
159
+        table_columns:
160
+            - 0         # Checkbox
161
+            - 1         # ID
162
+            - 2         # Name
163
+            - 3         # Users
164
+            - 4         # VMs
165
+            - 5         # Memory
166
+            - 6         # CPU
167
+            #- 7        # Labels
168
+        actions:
169
+            Group.refresh: true
170
+            Group.create_dialog: false
171
+            Group.update_dialog: false
172
+            Group.quotas_dialog: false
173
+            Group.delete: false
174
+            Group.edit_admins: false
175
+            Group.edit_labels: true
176
+            Group.menu_labels: true
177
+    vdcs-tab:
178
+        panel_tabs:
179
+            vdc_info_tab: true
180
+            vdc_groups_tab: true
181
+            vdc_resources_tab: true
182
+        table_columns:
183
+            - 0         # Checkbox
184
+            - 1         # ID
185
+            - 2         # Name
186
+            - 3         # Groups
187
+            - 4         # Clusters
188
+            - 5         # Hosts
189
+            - 6         # VNets
190
+            - 7         # Datastores
191
+            #- 8        # Labels
192
+        actions:
193
+            Vdc.refresh: true
194
+            Vdc.create_dialog: true
195
+            Vdc.update_dialog: true
196
+            Vdc.rename: true
197
+            Vdc.delete: true
198
+            Vdc.edit_labels: true
199
+            Vdc.menu_labels: true
200
+    acls-tab:
201
+        panel_tabs:
202
+        table_columns:
203
+            - 0         # Checkbox
204
+            - 1         # ID
205
+            - 2         # Applies to
206
+            - 3         # Affected resources
207
+            - 4         # Resource ID / Owned by
208
+            - 5         # Allowed operations
209
+            - 6         # Zone
210
+            #- 7        # ACL String
211
+        actions:
212
+            Acl.refresh: true
213
+            Acl.create_dialog: true
214
+            Acl.delete: true
215
+    templates-top-tab:
216
+        panel_tabs:
217
+        actions:
218
+    templates-tab:
219
+        panel_tabs:
220
+            template_info_tab: true
221
+            template_template_tab: false
222
+        table_columns:
223
+            - 0         # Checkbox
224
+            - 1         # ID
225
+            - 2         # Name
226
+            - 3         # Owner
227
+            - 4         # Group
228
+            - 5         # Registration time
229
+            #- 6        # Labels
230
+            #- 7        # Search data
231
+        actions:
232
+            Template.refresh: true
233
+            Template.create_dialog: false
234
+            Template.import_dialog: false
235
+            Template.update_dialog: false
236
+            Template.instantiate_vms: true
237
+            Template.rename: true
238
+            Template.chown: true
239
+            Template.chgrp: false
240
+            Template.chmod: false
241
+            Template.clone_dialog: true
242
+            Template.delete_dialog: true
243
+            Template.share: true
244
+            Template.unshare: true
245
+            Template.edit_labels: true
246
+            Template.menu_labels: true
247
+        template_creation_tabs:
248
+            general: true
249
+            storage: true
250
+            network: true
251
+            os_booting: true
252
+            features: true
253
+            input_output: true
254
+            context: true
255
+            actions: true
256
+            scheduling: true
257
+            hybrid: true
258
+            vmgroup: true
259
+            other: true
260
+    oneflow-templates-tab:
261
+        panel_tabs:
262
+            service_template_info_tab: true
263
+            service_template_roles_tab: true
264
+            service_template_template_tab: true
265
+        table_columns:
266
+            - 0         # Checkbox
267
+            - 1         # ID
268
+            - 2         # Name
269
+            - 3         # Owner
270
+            - 4         # Group
271
+            #- 5        # Labels
272
+            #- 6        # Search data
273
+        actions:
274
+            ServiceTemplate.refresh: true
275
+            ServiceTemplate.create_dialog: false
276
+            ServiceTemplate.update_dialog: false
277
+            ServiceTemplate.instantiate: true
278
+            ServiceTemplate.chown: false
279
+            ServiceTemplate.chgrp: false
280
+            ServiceTemplate.chmod: false
281
+            ServiceTemplate.rename: false
282
+            ServiceTemplate.clone_dialog: false
283
+            ServiceTemplate.delete: false
284
+            ServiceTemplate.edit_labels: true
285
+            ServiceTemplate.menu_labels: true
286
+    vrouter-templates-tab:
287
+        panel_tabs:
288
+            vrouter_template_info_tab: true
289
+            vrouter_template_template_tab: false
290
+        table_columns:
291
+            - 0         # Checkbox
292
+            - 1         # ID
293
+            - 2         # Name
294
+            - 3         # Owner
295
+            - 4         # Group
296
+            - 5         # Registration time
297
+            #- 6        # Labels
298
+            #- 7        # Search data
299
+        actions:
300
+            VirtualRouterTemplate.refresh: true
301
+            VirtualRouterTemplate.create_dialog: false
302
+            VirtualRouterTemplate.update_dialog: false
303
+            VirtualRouterTemplate.instantiate_dialog: false
304
+            VirtualRouterTemplate.rename: true
305
+            VirtualRouterTemplate.chown: true
306
+            VirtualRouterTemplate.chgrp: false
307
+            VirtualRouterTemplate.chmod: false
308
+            VirtualRouterTemplate.clone_dialog: true
309
+            VirtualRouterTemplate.delete_dialog: true
310
+            VirtualRouterTemplate.share: true
311
+            VirtualRouterTemplate.unshare: true
312
+            VirtualRouterTemplate.edit_labels: true
313
+            VirtualRouterTemplate.menu_labels: true
314
+        template_creation_tabs:
315
+            general: true
316
+            storage: true
317
+            network: true
318
+            os_booting: true
319
+            features: true
320
+            input_output: true
321
+            context: true
322
+            scheduling: true
323
+            hybrid: true
324
+            other: true
325
+    instances-top-tab:
326
+        panel_tabs:
327
+        actions:
328
+    vms-tab:
329
+        panel_tabs:
330
+            vm_info_tab: true
331
+            vm_capacity_tab: true
332
+            vm_storage_tab: true
333
+            vm_network_tab: true
334
+            vm_snapshot_tab: false
335
+            vm_placement_tab: false
336
+            vm_actions_tab: false
337
+            vm_conf_tab: false
338
+            vm_template_tab: false
339
+            vm_log_tab: false
340
+        table_columns:
341
+            - 0        # Checkbox
342
+            - 1        # ID
343
+            - 2        # Name
344
+            #- 3       # Owner
345
+            - 4        # Group
346
+            - 5        # Status
347
+            #- 6       # Used CPU
348
+            #- 7       # Used Memory
349
+            #- 8       # Host
350
+            - 9        # IPs
351
+            #- 10      # Start Time
352
+            - 11       # VNC
353
+            #- 12      # Hidden Template
354
+            #- 13      # Labels
355
+            #- 14      # Search data
356
+        actions:
357
+            VM.refresh: true
358
+            VM.create_dialog: true
359
+            VM.rename: true
360
+            VM.chown: true
361
+            VM.chgrp: false
362
+            VM.chmod: false
363
+            VM.deploy: false
364
+            VM.migrate: false
365
+            VM.migrate_live: false
366
+            VM.hold: true
367
+            VM.release: true
368
+            VM.suspend: false
369
+            VM.resume: true
370
+            VM.stop: false
371
+            VM.recover: false
372
+            VM.reboot: true
373
+            VM.reboot_hard: true
374
+            VM.poweroff: true
375
+            VM.poweroff_hard: true
376
+            VM.undeploy: true
377
+            VM.undeploy_hard: true
378
+            VM.terminate: true
379
+            VM.terminate_hard: true
380
+            VM.resize: false
381
+            VM.attachdisk: false
382
+            VM.detachdisk: false
383
+            VM.disk_saveas: false
384
+            VM.disk_resize: false
385
+            VM.attachnic: false
386
+            VM.detachnic: false
387
+            VM.snapshot_create: false
388
+            VM.snapshot_revert: false
389
+            VM.snapshot_delete: false
390
+            VM.disk_snapshot_create: false
391
+            VM.disk_snapshot_revert: false
392
+            VM.disk_snapshot_delete: false
393
+            VM.resched: false
394
+            VM.unresched: false
395
+            VM.save_as_template: true
396
+            VM.updateconf: false
397
+            VM.edit_labels: true
398
+            VM.menu_labels: true
399
+    oneflow-services-tab:
400
+        panel_tabs:
401
+            service_info_tab: true
402
+            service_roles_tab: true
403
+            service_log_tab: true
404
+        panel_tabs_actions:
405
+            service_roles_tab:
406
+                Role.scale: true
407
+                Role.hold: true
408
+                Role.release: true
409
+                Role.suspend: false
410
+                Role.resume: true
411
+                Role.stop: false
412
+                Role.reboot: true
413
+                Role.reboot_hard: true
414
+                Role.poweroff: true
415
+                Role.poweroff_hard: true
416
+                Role.undeploy: true
417
+                Role.undeploy_hard: true
418
+                Role.terminate: true
419
+                Role.terminate_hard: true
420
+                RoleVM.hold: true
421
+                RoleVM.release: true
422
+                RoleVM.suspend: false
423
+                RoleVM.resume: true
424
+                RoleVM.stop: false
425
+                RoleVM.reboot: true
426
+                RoleVM.reboot_hard: true
427
+                RoleVM.poweroff: true
428
+                RoleVM.poweroff_hard: true
429
+                RoleVM.undeploy: true
430
+                RoleVM.undeploy_hard: true
431
+                RoleVM.terminate: true
432
+                RoleVM.terminate_hard: true
433
+                RoleVM.resched: false
434
+                RoleVM.unresched: false
435
+                RoleVM.recover: false
436
+        table_columns:
437
+            - 0         # Checkbox
438
+            - 1         # ID
439
+            - 2         # Name
440
+            #- 3        # Owner
441
+            - 4         # Group
442
+            - 5         # State
443
+            #- 6        # Labels
444
+            #- 7        # Search data
445
+        actions:
446
+            Service.refresh: true
447
+            Service.create_dialog: true
448
+            Service.chown: true
449
+            Service.chgrp: false
450
+            Service.chmod: false
451
+            Service.rename: true
452
+            Service.shutdown: true
453
+            Service.recover: true
454
+            Service.delete: true
455
+            Service.edit_labels: true
456
+            Service.menu_labels: true
457
+    vrouters-tab:
458
+        panel_tabs:
459
+            virtual_router_info_tab: true
460
+            virtual_router_vms_tab: true
461
+        table_columns:
462
+            - 0         # Checkbox
463
+            - 1         # ID
464
+            - 2         # Name
465
+            #- 3        # Owner
466
+            - 4         # Group
467
+            #- 5        # Labels
468
+            #- 6        # Search data
469
+        actions:
470
+            VirtualRouter.refresh: true
471
+            VirtualRouter.create_dialog: true
472
+            VirtualRouter.rename: true
473
+            VirtualRouter.chown: true
474
+            VirtualRouter.chgrp: false
475
+            VirtualRouter.chmod: false
476
+            VirtualRouter.delete: true
477
+            VirtualRouter.attachnic: false
478
+            VirtualRouter.detachnic: false
479
+            VirtualRouter.edit_labels: true
480
+            VirtualRouter.menu_labels: true
481
+    infrastructure-top-tab:
482
+        panel_tabs:
483
+        actions:
484
+    clusters-tab:
485
+        panel_tabs:
486
+            cluster_info_tab: true
487
+            cluster_host_tab: true
488
+            cluster_vnet_tab: true
489
+            cluster_datastore_tab: true
490
+        table_columns:
491
+            - 0         # Checkbox
492
+            - 1         # ID
493
+            - 2         # Name
494
+            - 3         # Hosts
495
+            - 4         # VNets
496
+            - 5         # Datastores
497
+            #- 6        # Labels
498
+        actions:
499
+            Cluster.refresh: true
500
+            Cluster.create_dialog: true
501
+            Cluster.update_dialog: true
502
+            Cluster.delete: true
503
+            Cluster.rename: true
504
+            Cluster.edit_labels: true
505
+            Cluster.menu_labels: true
506
+    hosts-tab:
507
+        panel_tabs:
508
+            host_info_tab: true
509
+            host_monitoring_tab: true
510
+            host_vms_tab: true
511
+            host_wilds_tab: true
512
+            host_zombies_tab: true
513
+            host_esx_tab: true
514
+            host_pci_tab: true
515
+        table_columns:
516
+            - 0         # Checkbox
517
+            - 1         # ID
518
+            - 2         # Name
519
+            - 3         # Cluster
520
+            - 4         # RVMs
521
+            #- 5        # Real CPU
522
+            - 6         # Allocated CPU
523
+            #- 7        # Real MEM
524
+            - 8         # Allocated MEM
525
+            - 9         # Status
526
+            #- 10       # IM MAD
527
+            #- 11       # VM MAD
528
+            #- 12       # Last monitored on
529
+            #- 13       # Labels
530
+            #- 14       # Search data
531
+        actions:
532
+            Host.refresh: true
533
+            Host.create_dialog: true
534
+            Host.addtocluster: true
535
+            Host.rename: true
536
+            Host.enable: true
537
+            Host.disable: true
538
+            Host.offline: true
539
+            Host.delete: true
540
+            Host.edit_labels: true
541
+            Host.menu_labels: true
542
+    zones-tab:
543
+        panel_tabs:
544
+            zone_info_tab: true
545
+        table_columns:
546
+            - 0         # Checkbox
547
+            - 1         # ID
548
+            - 2         # Name
549
+            - 3         # Endpoint
550
+            #- 4        # Labels
551
+        actions:
552
+            Zone.refresh: true
553
+            Zone.create_dialog: true
554
+            Zone.rename: true
555
+            Zone.delete: true
556
+            Zone.edit_labels: true
557
+            Zone.menu_labels: true
558
+    storage-top-tab:
559
+        panel_tabs:
560
+        actions:
561
+    datastores-tab:
562
+        panel_tabs:
563
+            datastore_info_tab: true
564
+            datastore_image_tab: true
565
+            datastore_clusters_tab: false
566
+        table_columns:
567
+            - 0         # Checkbox
568
+            - 1         # ID
569
+            - 2         # Name
570
+            - 3         # Owner
571
+            - 4         # Group
572
+            - 5         # Capacity
573
+            - 6         # Cluster
574
+            #- 7        # Basepath
575
+            #- 8        # TM
576
+            #- 9        # DS
577
+            - 10        # Type
578
+            - 11        # Status
579
+            #- 12       # Labels
580
+            #- 13       # Search data
581
+        actions:
582
+            Datastore.refresh: true
583
+            Datastore.create_dialog: true
584
+            Datastore.import_dialog: false
585
+            Datastore.addtocluster: true
586
+            Datastore.rename: true
587
+            Datastore.chown: true
588
+            Datastore.chgrp: true
589
+            Datastore.chmod: true
590
+            Datastore.delete: true
591
+            Datastore.enable: true
592
+            Datastore.disable: true
593
+            Datastore.edit_labels: true
594
+            Datastore.menu_labels: true
595
+    images-tab:
596
+        panel_tabs:
597
+            image_info_tab: true
598
+            image_vms_tab: true
599
+            image_snapshots_tab: true
600
+        table_columns:
601
+            - 0         # Checkbox
602
+            - 1         # ID
603
+            - 2         # Name
604
+            - 3         # Owner
605
+            - 4         # Group
606
+            - 5         # Datastore
607
+            #- 6        # Size
608
+            - 7         # Type
609
+            #- 8        # Registration time
610
+            #- 9        # Persistent
611
+            - 10        # Status
612
+            - 11        # #VMs
613
+            #- 12       # Target
614
+            #- 13       # Labels
615
+            #- 14       # Search data
616
+        actions:
617
+            Image.refresh: true
618
+            Image.create_dialog: true
619
+            Image.import_dialog: false
620
+            Image.upload_marketplace_dialog: true
621
+            Image.rename: true
622
+            Image.chown: true
623
+            Image.chgrp: true
624
+            Image.chmod: true
625
+            Image.enable: true
626
+            Image.disable: true
627
+            Image.persistent: true
628
+            Image.nonpersistent: true
629
+            Image.clone_dialog: true
630
+            Image.delete: true
631
+            Image.snapshot_flatten: true
632
+            Image.snapshot_revert: true
633
+            Image.snapshot_delete: true
634
+            Image.edit_labels: true
635
+            Image.menu_labels: true
636
+    files-tab:
637
+        panel_tabs:
638
+            file_info_tab: true
639
+        table_columns:
640
+            - 0         # Checkbox
641
+            - 1         # ID
642
+            - 2         # Name
643
+            - 3         # Owner
644
+            - 4         # Group
645
+            - 5         # Datastore
646
+            #- 6        # Size
647
+            - 7         # Type
648
+            #- 8        # Registration time
649
+            #- 9        # Persistent
650
+            - 10        # Status
651
+            #- 11       # #VMs
652
+            #- 12       # Target
653
+            #- 13       # Labels
654
+            #- 14       # Search data
655
+        actions:
656
+            File.refresh: true
657
+            File.create_dialog: true
658
+            File.rename: true
659
+            File.chown: true
660
+            File.chgrp: true
661
+            File.chmod: true
662
+            File.enable: true
663
+            File.disable: true
664
+            File.delete: true
665
+            File.edit_labels: true
666
+            File.menu_labels: true
667
+    marketplaces-tab:
668
+        panel_tabs:
669
+            marketplace_info_tab: true
670
+            marketplace_apps_tab: true
671
+        table_columns:
672
+            - 0         # Checkbox
673
+            - 1         # ID
674
+            - 2         # Name
675
+            - 3         # Owner
676
+            - 4         # Group
677
+            - 5         # Capacity
678
+            - 6         # Apps
679
+            - 7         # Driver
680
+            - 8         # Zone
681
+            #- 9        # Labels
682
+            #- 10       # Search data
683
+        actions:
684
+            MarketPlace.refresh: true
685
+            MarketPlace.create_dialog: true
686
+            MarketPlace.update_dialog: true
687
+            MarketPlace.rename: true
688
+            MarketPlace.chown: true
689
+            MarketPlace.chgrp: true
690
+            MarketPlace.chmod: true
691
+            MarketPlace.delete: true
692
+            MarketPlace.edit_labels: true
693
+            MarketPlace.menu_labels: true
694
+    marketplaceapps-tab:
695
+        panel_tabs:
696
+            marketplaceapp_info_tab: true
697
+            marketplaceapp_templates_tab: true
698
+        table_columns:
699
+            - 0         # Checkbox
700
+            - 1         # ID
701
+            - 2         # Name
702
+            - 3         # Owner
703
+            - 4         # Group
704
+            #- 5        # Version
705
+            - 6         # Size
706
+            - 7         # State
707
+            #- 8        # Type
708
+            - 9         # Registration
709
+            - 10        # Marketplace
710
+            - 11        # Zone
711
+            #- 12       # Labels
712
+            #- 13       # Search data
713
+        actions:
714
+            MarketPlaceApp.refresh: true
715
+            MarketPlaceApp.create_dialog: true
716
+            MarketPlaceApp.download_opennebula_dialog: true
717
+            MarketPlaceApp.download_local: true
718
+            MarketPlaceApp.rename: true
719
+            MarketPlaceApp.chown: true
720
+            MarketPlaceApp.chgrp: true
721
+            MarketPlaceApp.chmod: true
722
+            MarketPlaceApp.enable: true
723
+            MarketPlaceApp.disable: true
724
+            MarketPlaceApp.delete: true
725
+            MarketPlaceApp.edit_labels: true
726
+            MarketPlaceApp.menu_labels: true
727
+    network-top-tab:
728
+        panel_tabs:
729
+        actions:
730
+    vnets-tab:
731
+        panel_tabs:
732
+            vnet_info_tab: false
733
+            vnet_ar_list_tab: false
734
+            vnet_leases_tab: true
735
+            vnet_sg_list_tab: true
736
+            vnet_vr_list_tab: false
737
+            vnet_clusters_tab: false
738
+        table_columns:
739
+            - 0         # Checkbox
740
+            - 1         # ID
741
+            - 2         # Name
742
+            #- 3        # Owner
743
+            #- 4        # Group
744
+            #- 5        # Reservation
745
+            #- 6        # Cluster
746
+            #- 7        # Bridge
747
+            #- 8        # Leases
748
+            #- 9        # VLAN ID
749
+            #- 10       # Labels
750
+            #- 11       # Search data
751
+        actions:
752
+            Network.refresh: true
753
+            Network.create_dialog: false
754
+            Network.import_dialog: false
755
+            Network.update_dialog: false
756
+            Network.reserve_dialog: false
757
+            Network.addtocluster: false
758
+            Network.rename: false
759
+            Network.chown: false
760
+            Network.chgrp: false
761
+            Network.chmod: false
762
+            Network.delete: false
763
+            Network.hold_lease: false
764
+            Network.release_lease: false
765
+            Network.add_ar: false
766
+            Network.remove_ar: false
767
+            Network.update_ar: false
768
+            Network.edit_labels: true
769
+            Network.menu_labels: true
770
+    vnets-topology-tab:
771
+        panel_tabs:
772
+        actions:
773
+            NetworkTopology.refresh: true
774
+            NetworkTopology.fit: true
775
+            NetworkTopology.collapseVMs: true
776
+            NetworkTopology.openVMs: true
777
+    secgroups-tab:
778
+        panel_tabs:
779
+            security_group_info_tab: true
780
+            security_group_vms_tab: true
781
+        table_columns:
782
+            - 0         # Checkbox
783
+            - 1         # ID
784
+            #- 2        # Name
785
+            #- 3        # Owner
786
+            - 4         # Group
787
+            #- 5        # Labels
788
+            #- 6        # Search data
789
+        actions:
790
+            SecurityGroup.refresh: true
791
+            SecurityGroup.create_dialog: false
792
+            SecurityGroup.update_dialog: false
793
+            SecurityGroup.rename: false
794
+            SecurityGroup.chown: false
795
+            SecurityGroup.chgrp: false
796
+            SecurityGroup.chmod: false
797
+            SecurityGroup.clone_dialog: false
798
+            SecurityGroup.commit_dialog: false
799
+            SecurityGroup.delete: false
800
+            SecurityGroup.edit_labels: true
801
+            SecurityGroup.menu_labels: true
802
+    support-tab:
803
+        panel_tabs:
804
+            support_info_tab: true
805
+        table_columns:
806
+            #- 0        # Checkbox
807
+            - 1         # ID
808
+            - 2         # Subject
809
+            - 3         # Created at
810
+            - 4         # Status
811
+        actions:
812
+            Support.refresh: true
813
+            Support.create_dialog: true
814
+    settings-tab:
815
+        panel_tabs:
816
+            settings_info_tab: true
817
+            settings_config_tab: false
818
+            settings_quotas_tab: true
819
+            settings_group_quotas_tab: true
820
+            settings_accounting_tab: true
821
+            settings_showback_tab: true
822
+            settings_auth_tab: true
823
+        actions:
824
+            # Buttons for settings_info_tab
825
+            User.update_password: true
826
+            User.login_token: true
827
+            # Buttons for settings_config_tab
828
+            Settings.change_language: true
829
+            Settings.change_password: true
830
+            Settings.change_view: true
831
+            Settings.ssh_key: true
832
+            Settings.login_token: true
833
+            # Edit button in settings_quotas_tab
834
+            User.quotas_dialog: false
835
+    upgrade-top-tab:
836
+        panel_tabs:
837
+        actions:
838
+    vmgroup-tab:
839
+        panel_tabs:
840
+            vm_group_info_tab: true
841
+            vm_group_vms_tab: true
842
+        table_columns:
843
+            - 0         # Checkbox
844
+            - 1         # ID
845
+            - 2         # Name
846
+            - 3         # Owner
847
+            - 4         # Group
848
+            - 5         # Vms
849
+            #- 6        # Labels
850
+            #- 7        # Search data
851
+        actions:
852
+           VMGroup.create_dialog: true
853
+           VMGroup.update_dialog: true
854
+           VMGroup.chmod: true
855
+           VMGroup.chown: true
856
+           VMGroup.chgrp: true

+ 849
- 0
tmpl/kvm-user.yaml View File

@@ -0,0 +1,849 @@
1
+%set oneflow = %%getVar('activer_oneflow','non') == 'oui'
2
+small_logo: images/opennebula-5.0.png
3
+provision_logo: images/opennebula-5.0.png
4
+link_logo:
5
+text_link_logo:
6
+confirm_vms: false
7
+filter-view: true
8
+enabled_tabs:
9
+    - dashboard-tab
10
+    - instances-top-tab
11
+    - vms-tab
12
+%if %%oneflow
13
+    - oneflow-services-tab
14
+%end if
15
+    - vrouters-tab
16
+    - templates-top-tab
17
+    - templates-tab
18
+%if %%oneflow
19
+    - oneflow-templates-tab
20
+%end if
21
+    - vrouter-templates-tab
22
+    - storage-top-tab
23
+    - datastores-tab
24
+    - images-tab
25
+    - files-tab
26
+    - marketplaces-tab
27
+    - marketplaceapps-tab
28
+    - network-top-tab
29
+    - vnets-tab
30
+    - vnets-topology-tab
31
+    - secgroups-tab
32
+    #- infrastructure-top-tab
33
+    #- clusters-tab
34
+    #- hosts-tab
35
+    #- zones-tab
36
+    #- system-top-tab
37
+    #- users-tab
38
+    #- groups-tab
39
+    #- vdcs-tab
40
+    #- acls-tab
41
+    - settings-tab
42
+    #- support-tab
43
+    #- upgrade-top-tab
44
+    - vmgroup-tab
45
+features:
46
+    # True to show showback monthly reports, and VM cost
47
+    showback: true
48
+
49
+    # Allows to change the security groups for each network interface
50
+    # on the VM creation dialog
51
+    secgroups: true
52
+
53
+    # True to hide the CPU setting in the VM creation dialog
54
+    instantiate_hide_cpu: false
55
+
56
+    # False to not scale the CPU. Number to scale from VCPU
57
+    instantiate_cpu_factor: false
58
+
59
+    # True to show the option to make an instance persistent
60
+    instantiate_persistent: true
61
+
62
+    # True to show the datastore datatable to instantiate VM
63
+    show_ds_instantiate: false
64
+
65
+    # True to show the vmgroup datatable to instantiate VM
66
+    show_vmgroup_instantiate: true
67
+
68
+    # True to show the vnet datatable to instantiate VM
69
+    show_vnet_instantiate: true
70
+
71
+    # True to show the host datatable to instantiate VM
72
+    show_host_instantiate: false
73
+
74
+    # True to show an input to specify the the VMs and Template path/folder where a vCenter VM will
75
+    # deployed to
76
+    vcenter_vm_folder: false
77
+
78
+    # True to show the monitoring info (VM & VRouters)
79
+    show_monitoring_info: true
80
+
81
+    # True to show the attributes info (VM & VRouters)
82
+    show_attributes_info: true
83
+tabs:
84
+    dashboard-tab:
85
+        # The following widgets can be used inside any of the '_per_row' settings
86
+        # bellow. As the name suggest, the widgets will be scaled to fit one,
87
+        # two, or three per row. The footer uses the widgets at full size, i.e.
88
+        # one per row.
89
+        #
90
+        # - storage
91
+        # - users
92
+        # - network
93
+        # - hosts
94
+        # - vms
95
+        # - groupquotas
96
+        # - quotas
97
+        panel_tabs:
98
+        actions:
99
+            Dashboard.refresh: false
100
+            Sunstone.toggle_top: false
101
+        widgets_one_per_row:
102
+            - vms
103
+        widgets_three_per_row:
104
+        widgets_two_per_row:
105
+            - network
106
+            - storage
107
+        widgets_one_footer:
108
+    system-top-tab:
109
+        panel_tabs:
110
+        actions:
111
+    users-tab:
112
+        panel_tabs:
113
+            user_info_tab: true
114
+            user_quotas_tab: true
115
+            user_groups_tab: true
116
+            user_accounting_tab: true
117
+            user_showback_tab: true
118
+            user_auth_tab: true
119
+        table_columns:
120
+            - 0         # Checkbox
121
+            - 1         # ID
122
+            - 2         # Name
123
+            - 3         # Group
124
+            - 4         # Auth driver
125
+            #- 5         # Password
126
+            - 6         # VMs
127
+            - 7         # Memory
128
+            - 8         # CPU
129
+            #- 9         # Group ID
130
+            #- 10        # Hidden User Data
131
+            #- 11        # Labels
132
+            #- 12        # Search data
133
+        actions:
134
+            User.refresh: true
135
+            User.create_dialog: true
136
+            User.update_password: true
137
+            User.login_token: true
138
+            User.quotas_dialog: true
139
+            User.groups_dialog: true
140
+            User.chgrp: true
141
+            User.change_authentication: true
142
+            User.delete: true
143
+            User.edit_labels: true
144
+            User.menu_labels: true
145
+    groups-tab:
146
+        panel_tabs:
147
+            group_info_tab: true
148
+            group_users_tab: true
149
+            group_quotas_tab: true
150
+            group_accounting_tab: true
151
+            group_showback_tab: true
152
+        table_columns:
153
+            - 0         # Checkbox
154
+            - 1         # ID
155
+            - 2         # Name
156
+            - 3         # Users
157
+            - 4         # VMs
158
+            - 5         # Memory
159
+            - 6         # CPU
160
+            #- 7         # Labels
161
+        actions:
162
+            Group.refresh: true
163
+            Group.create_dialog: true
164
+            Group.update_dialog: true
165
+            Group.quotas_dialog: true
166
+            Group.delete: true
167
+            Group.edit_admins: true
168
+            Group.edit_labels: true
169
+            Group.menu_labels: true
170
+    vdcs-tab:
171
+        panel_tabs:
172
+            vdc_info_tab: true
173
+            vdc_groups_tab: true
174
+            vdc_resources_tab: true
175
+        table_columns:
176
+            - 0         # Checkbox
177
+            - 1         # ID
178
+            - 2         # Name
179
+            - 3         # Groups
180
+            - 4         # Clusters
181
+            - 5         # Hosts
182
+            - 6         # VNets
183
+            - 7         # Datastores
184
+            #- 8         # Labels
185
+        actions:
186
+            Vdc.refresh: true
187
+            Vdc.create_dialog: true
188
+            Vdc.update_dialog: true
189
+            Vdc.rename: true
190
+            Vdc.delete: true
191
+            Vdc.edit_labels: true
192
+            Vdc.menu_labels: true
193
+    acls-tab:
194
+        panel_tabs:
195
+        table_columns:
196
+            - 0         # Checkbox
197
+            - 1         # ID
198
+            - 2         # Applies to
199
+            - 3         # Affected resources
200
+            - 4         # Resource ID / Owned by
201
+            - 5         # Allowed operations
202
+            - 6         # Zone
203
+            #- 7         # ACL String
204
+        actions:
205
+            Acl.refresh: true
206
+            Acl.create_dialog: true
207
+            Acl.delete: true
208
+    templates-top-tab:
209
+        panel_tabs:
210
+        actions:
211
+    templates-tab:
212
+        panel_tabs:
213
+            template_info_tab: true
214
+            template_template_tab: true
215
+        table_columns:
216
+            - 0         # Checkbox
217
+            - 1         # ID
218
+            - 2         # Owner
219
+            - 3         # Group
220
+            - 4         # Name
221
+            - 5         # Registration time
222
+            #- 6         # Labels
223
+            #- 7         # Search data
224
+        actions:
225
+            Template.refresh: true
226
+            Template.create_dialog: true
227
+            Template.import_dialog: false
228
+            Template.update_dialog: true
229
+            Template.instantiate_vms: true
230
+            Template.rename: true
231
+            Template.chown: false
232
+            Template.chgrp: false
233
+            Template.chmod: true
234
+            Template.clone_dialog: true
235
+            Template.delete_dialog: true
236
+            Template.share: true
237
+            Template.unshare: true
238
+            Template.edit_labels: true
239
+            Template.menu_labels: true
240
+        template_creation_tabs:
241
+            general: true
242
+            storage: true
243
+            network: true
244
+            os_booting: true
245
+            features: true
246
+            input_output: true
247
+            context: true
248
+            actions: true
249
+            scheduling: false
250
+            hybrid: true
251
+            vmgroup: true
252
+            other: true
253
+    oneflow-templates-tab:
254
+        panel_tabs:
255
+            service_template_info_tab: true
256
+            service_template_roles_tab: true
257
+            service_template_template_tab: true
258
+        table_columns:
259
+            - 0         # Checkbox
260
+            - 1         # ID
261
+            - 2         # Owner
262
+            - 3         # Group
263
+            - 4         # Name
264
+            #- 5        # Labels
265
+            #- 6        # Search data
266
+        actions:
267
+            ServiceTemplate.refresh: true
268
+            ServiceTemplate.create_dialog: true
269
+            ServiceTemplate.update_dialog: true
270
+            ServiceTemplate.instantiate: true
271
+            ServiceTemplate.chown: false
272
+            ServiceTemplate.chgrp: false
273
+            ServiceTemplate.chmod: true
274
+            ServiceTemplate.rename: true
275
+            ServiceTemplate.clone_dialog: true
276
+            ServiceTemplate.delete: true
277
+            ServiceTemplate.edit_labels: true
278
+            ServiceTemplate.menu_labels: true
279
+    vrouter-templates-tab:
280
+        panel_tabs:
281
+            vrouter_template_info_tab: true
282
+            vrouter_template_template_tab: true
283
+        table_columns:
284
+            - 0         # Checkbox
285
+            - 1         # ID
286
+            - 2         # Owner
287
+            - 3         # Group
288
+            - 4         # Name
289
+            - 5         # Registration time
290
+            #- 6         # Labels
291
+            #- 7         # Search data
292
+        actions:
293
+            VirtualRouterTemplate.refresh: true
294
+            VirtualRouterTemplate.create_dialog: true
295
+            VirtualRouterTemplate.update_dialog: true
296
+            VirtualRouterTemplate.instantiate_dialog: true
297
+            VirtualRouterTemplate.rename: true
298
+            VirtualRouterTemplate.chown: false
299
+            VirtualRouterTemplate.chgrp: false
300
+            VirtualRouterTemplate.chmod: true
301
+            VirtualRouterTemplate.clone_dialog: true
302
+            VirtualRouterTemplate.delete_dialog: true
303
+            VirtualRouterTemplate.share: true
304
+            VirtualRouterTemplate.unshare: true
305
+            VirtualRouterTemplate.edit_labels: true
306
+            VirtualRouterTemplate.menu_labels: true
307
+        template_creation_tabs:
308
+            general: true
309
+            storage: true
310
+            network: true
311
+            os_booting: true
312
+            features: true
313
+            input_output: true
314
+            context: true
315
+            scheduling: true
316
+            hybrid: true
317
+            other: true
318
+    instances-top-tab:
319
+        panel_tabs:
320
+        actions:
321
+    vms-tab:
322
+        panel_tabs:
323
+            vm_info_tab: true
324
+            vm_capacity_tab: true
325
+            vm_storage_tab: true
326
+            vm_network_tab: true
327
+            vm_snapshot_tab: true
328
+            vm_placement_tab: false
329
+            vm_actions_tab: true
330
+            vm_conf_tab: true
331
+            vm_template_tab: false
332
+            vm_log_tab: false
333
+        table_columns:
334
+            - 0       # Checkbox
335
+            - 1       # ID
336
+            - 2       # Owner
337
+            - 3       # Group
338
+            - 4       # Name
339
+            - 5       # Status
340
+            #- 6       # Used CPU
341
+            #- 7       # Used Memory
342
+            - 8       # Host
343
+            - 9       # IPs
344
+            #- 10      # Start Time
345
+            - 11      # VNC
346
+            #- 12      # Hidden Template
347
+            #- 13      # Labels
348
+            #- 14      # Search data
349
+        actions:
350
+            VM.refresh: true
351
+            VM.create_dialog: true
352
+            VM.rename: true
353
+            VM.chown: false
354
+            VM.chgrp: false
355
+            VM.chmod: true
356
+            VM.deploy: false
357
+            VM.migrate: false
358
+            VM.migrate_live: false
359
+            VM.hold: true
360
+            VM.release: true
361
+            VM.suspend: true
362
+            VM.resume: true
363
+            VM.stop: true
364
+            VM.recover: false
365
+            VM.reboot: true
366
+            VM.reboot_hard: true
367
+            VM.poweroff: true
368
+            VM.poweroff_hard: true
369
+            VM.undeploy: true
370
+            VM.undeploy_hard: true
371
+            VM.terminate: true
372
+            VM.terminate_hard: true
373
+            VM.resize: true
374
+            VM.attachdisk: true
375
+            VM.detachdisk: true
376
+            VM.disk_saveas: true
377
+            VM.disk_resize: false
378
+            VM.attachnic: true
379
+            VM.detachnic: true
380
+            VM.snapshot_create: true
381
+            VM.snapshot_revert: true
382
+            VM.snapshot_delete: true
383
+            VM.disk_snapshot_create: true
384
+            VM.disk_snapshot_revert: true
385
+            VM.disk_snapshot_delete: true
386
+            VM.resched: false
387
+            VM.unresched: false
388
+            VM.save_as_template: true
389
+            VM.updateconf: true
390
+            VM.edit_labels: true
391
+            VM.menu_labels: true
392
+    oneflow-services-tab:
393
+        panel_tabs:
394
+            service_info_tab: true
395
+            service_roles_tab: true
396
+            service_log_tab: true
397
+        panel_tabs_actions:
398
+            service_roles_tab:
399
+                Role.scale: true
400
+                Role.hold: true
401
+                Role.release: true
402
+                Role.suspend: true
403
+                Role.resume: true
404
+                Role.stop: true
405
+                Role.reboot: true
406
+                Role.reboot_hard: true
407
+                Role.poweroff: true
408
+                Role.poweroff_hard: true
409
+                Role.undeploy: true
410
+                Role.undeploy_hard: true
411
+                Role.terminate: true
412
+                Role.terminate_hard: true
413
+                RoleVM.hold: true
414
+                RoleVM.release: true
415
+                RoleVM.suspend: true
416
+                RoleVM.resume: true
417
+                RoleVM.stop: true
418
+                RoleVM.reboot: true
419
+                RoleVM.reboot_hard: true
420
+                RoleVM.poweroff: true
421
+                RoleVM.poweroff_hard: true
422
+                RoleVM.undeploy: true
423
+                RoleVM.undeploy_hard: true
424
+                RoleVM.terminate: true
425
+                RoleVM.terminate_hard: true
426
+                RoleVM.resched: false
427
+                RoleVM.unresched: false
428
+                RoleVM.recover: false
429
+        table_columns:
430
+            - 0         # Checkbox
431
+            - 1         # ID
432
+            - 2         # Owner
433
+            - 3         # Group
434
+            - 4         # Name
435
+            - 5         # State
436
+            #- 6        # Labels
437
+            #- 7        # Search data
438
+        actions:
439
+            Service.refresh: true
440
+            Service.create_dialog: true
441
+            Service.chown: false
442
+            Service.chgrp: false
443
+            Service.chmod: true
444
+            Service.rename: true
445
+            Service.shutdown: true
446
+            Service.recover: true
447
+            Service.delete: true
448
+            Service.edit_labels: true
449
+            Service.menu_labels: true
450
+    vrouters-tab:
451
+        panel_tabs:
452
+            virtual_router_info_tab: true
453
+            virtual_router_vms_tab: true
454
+        table_columns:
455
+            - 0         # Checkbox
456
+            - 1         # ID
457
+            - 2         # Owner
458
+            - 3         # Group
459
+            - 4         # Name
460
+            #- 5        # Labels
461
+            #- 6        # Search data
462
+        actions:
463
+            VirtualRouter.refresh: true
464
+            VirtualRouter.create_dialog: true
465
+            VirtualRouter.rename: true
466
+            VirtualRouter.chown: true
467
+            VirtualRouter.chgrp: true
468
+            VirtualRouter.chmod: true
469
+            VirtualRouter.delete: true
470
+            VirtualRouter.attachnic: true
471
+            VirtualRouter.detachnic: true
472
+            VirtualRouter.edit_labels: true
473
+            VirtualRouter.menu_labels: true
474
+    infrastructure-top-tab:
475
+        panel_tabs:
476
+        actions:
477
+    clusters-tab:
478
+        panel_tabs:
479
+            cluster_info_tab: true
480
+            cluster_host_tab: true
481
+            cluster_vnet_tab: true
482
+            cluster_datastore_tab: true
483
+        table_columns:
484
+            - 0         # Checkbox
485
+            - 1         # ID
486
+            - 2         # Name
487
+            - 3         # Hosts
488
+            - 4         # VNets
489
+            - 5         # Datastores
490
+            #- 6         # Labels
491
+        actions:
492
+            Cluster.refresh: true
493
+            Cluster.create_dialog: true
494
+            Cluster.update_dialog: true
495
+            Cluster.delete: true
496
+            Cluster.rename: true
497
+            Cluster.edit_labels: true
498
+            Cluster.menu_labels: true
499
+    hosts-tab:
500
+        panel_tabs:
501
+            host_info_tab: true
502
+            host_monitoring_tab: true
503
+            host_vms_tab: true
504
+            host_wilds_tab: true
505
+            host_zombies_tab: true
506
+            host_esx_tab: true
507
+            host_pci_tab: true
508
+        table_columns:
509
+            - 0         # Checkbox
510
+            - 1         # ID
511
+            - 2         # Name
512
+            - 3         # Cluster
513
+            - 4         # RVMs
514
+            #- 5         # Real CPU
515
+            - 6         # Allocated CPU
516
+            #- 7         # Real MEM
517
+            - 8         # Allocated MEM
518
+            - 9         # Status
519
+            #- 10        # IM MAD
520
+            #- 11        # VM MAD
521
+            #- 12        # Last monitored on
522
+            #- 13        # Labels
523
+            #- 14        # Search data
524
+        actions:
525
+            Host.refresh: true
526
+            Host.create_dialog: true
527
+            Host.addtocluster: true
528
+            Host.rename: true
529
+            Host.enable: true
530
+            Host.disable: true
531
+            Host.offline: true
532
+            Host.delete: true
533
+            Host.edit_labels: true
534
+            Host.menu_labels: true
535
+    zones-tab:
536
+        panel_tabs:
537
+            zone_info_tab: true
538
+        table_columns:
539
+            - 0         # Checkbox
540
+            - 1         # ID
541
+            - 2         # Name
542
+            - 3         # Endpoint
543
+            #- 4         # Labels
544
+        actions:
545
+            Zone.refresh: true
546
+            Zone.create_dialog: true
547
+            Zone.rename: true
548
+            Zone.delete: true
549
+            Zone.edit_labels: true
550
+            Zone.menu_labels: true
551
+    storage-top-tab:
552
+        panel_tabs:
553
+        actions:
554
+    datastores-tab:
555
+        panel_tabs:
556
+            datastore_info_tab: false
557
+            datastore_image_tab: true
558
+            datastore_clusters_tab: false
559
+        table_columns:
560
+            - 0         # Checkbox
561
+            - 1         # ID
562
+            - 2         # Owner
563
+            - 3         # Group
564
+            - 4         # Name
565
+            - 5         # Capacity
566
+            - 6         # Cluster
567
+            #- 7         # Basepath
568
+            #- 8         # TM
569
+            #- 9         # DS
570
+            #- 10        # Type
571
+            #- 11        # Status
572
+            #- 12        # Labels
573
+            #- 13        # Search data
574
+        actions:
575
+            Datastore.refresh: true
576
+            Datastore.create_dialog: false
577
+            Datastore.import_dialog: false
578
+            Datastore.addtocluster: false
579
+            Datastore.rename: true
580
+            Datastore.chown: false
581
+            Datastore.chgrp: false
582
+            Datastore.chmod: true
583
+            Datastore.delete: false
584
+            Datastore.enable: false
585
+            Datastore.disable: false
586
+            Datastore.edit_labels: true
587
+            Datastore.menu_labels: true
588
+    images-tab:
589
+        panel_tabs:
590
+            image_info_tab: true
591
+            image_vms_tab: true
592
+            image_snapshots_tab: true
593
+        table_columns:
594
+            - 0         # Checkbox
595
+            - 1         # ID
596
+            - 2         # Owner
597
+            - 3         # Group
598
+            - 4         # Name
599
+            - 5         # Datastore
600
+            #- 6         # Size
601
+            - 7        # Type
602
+            #- 8         # Registration time
603
+            #- 9        # Persistent
604
+            - 10        # Status
605
+            - 11        # #VMs
606
+            #- 12       # Target
607
+            #- 13       # Labels
608
+            #- 14        # Search data
609
+        actions:
610
+            Image.refresh: true
611
+            Image.create_dialog: true
612
+            Image.import_dialog: false
613
+            Image.upload_marketplace_dialog: true
614
+            Image.rename: true
615
+            Image.chown: false
616
+            Image.chgrp: false
617
+            Image.chmod: true
618
+            Image.enable: true
619
+            Image.disable: true
620
+            Image.persistent: true
621
+            Image.nonpersistent: true
622
+            Image.clone_dialog: true
623
+            Image.delete: true
624
+            Image.snapshot_flatten: true
625
+            Image.snapshot_revert: true
626
+            Image.snapshot_delete: true
627
+            Image.edit_labels: true
628
+            Image.menu_labels: true
629
+    files-tab:
630
+        panel_tabs:
631
+            file_info_tab: true
632
+        table_columns:
633
+            - 0         # Checkbox
634
+            - 1         # ID
635
+            - 2         # Owner
636
+            - 3         # Group
637
+            - 4         # Name
638
+            - 5         # Datastore
639
+            #- 6         # Size
640
+            - 7        # Type
641
+            #- 8         # Registration time
642
+            #- 9        # Persistent
643
+            - 10        # Status
644
+            #- 11        # #VMs
645
+            #- 12       # Target
646
+            #- 13       # Labels
647
+            #- 14        # Search data
648
+        actions:
649
+            File.refresh: true
650
+            File.create_dialog: true
651
+            File.rename: true
652
+            File.chown: false
653
+            File.chgrp: false
654
+            File.chmod: true
655
+            File.enable: true
656
+            File.disable: true
657
+            File.delete: true
658
+            File.edit_labels: true
659
+            File.menu_labels: true
660
+    marketplaces-tab:
661
+        panel_tabs:
662
+            marketplace_info_tab: true
663
+            marketplace_apps_tab: true
664
+        table_columns:
665
+            - 0         # Checkbox
666
+            - 1         # ID
667
+            - 2         # Owner
668
+            - 3         # Group
669
+            - 4         # Name
670
+            - 5         # Capacity
671
+            - 6         # Apps
672
+            - 7         # Driver
673
+            - 8         # Zone
674
+            #- 9        # Labels
675
+            #- 10        # Search data
676
+        actions:
677
+            MarketPlace.refresh: true
678
+            MarketPlace.create_dialog: true
679
+            MarketPlace.update_dialog: true
680
+            MarketPlace.rename: true
681
+            MarketPlace.chown: true
682
+            MarketPlace.chgrp: true
683
+            MarketPlace.chmod: true
684
+            MarketPlace.delete: true
685
+            MarketPlace.edit_labels: true
686
+            MarketPlace.menu_labels: true
687
+    marketplaceapps-tab:
688
+        panel_tabs:
689
+            marketplaceapp_info_tab: true
690
+            marketplaceapp_templates_tab: true
691
+        table_columns:
692
+            - 0         # Checkbox
693
+            - 1         # ID
694
+            - 2         # Owner
695
+            - 3         # Group
696
+            - 4         # Name
697
+            #- 5         # Version
698
+            - 6         # Size
699
+            - 7         # State
700
+            #- 8         # Type
701
+            - 9         # Registration
702
+            - 10        # Marketplace
703
+            - 11         # Zone
704
+            #- 12        # Labels
705
+            #- 13        # Search data
706
+        actions:
707
+            MarketPlaceApp.refresh: true
708
+            MarketPlaceApp.create_dialog: true
709
+            MarketPlaceApp.download_opennebula_dialog: true
710
+            MarketPlaceApp.download_local: true
711
+            MarketPlaceApp.rename: true
712
+            MarketPlaceApp.chown: true
713
+            MarketPlaceApp.chgrp: true
714
+            MarketPlaceApp.chmod: true
715
+            MarketPlaceApp.enable: true
716
+            MarketPlaceApp.disable: true
717
+            MarketPlaceApp.delete: true
718
+            MarketPlaceApp.edit_labels: true
719
+            MarketPlaceApp.menu_labels: true
720
+    network-top-tab:
721
+        panel_tabs:
722
+        actions:
723
+    vnets-tab:
724
+        panel_tabs:
725
+            vnet_info_tab: true
726
+            vnet_ar_list_tab: true
727
+            vnet_leases_tab: true
728
+            vnet_sg_list_tab: true
729
+            vnet_vr_list_tab: true
730
+            vnet_clusters_tab: false
731
+        table_columns:
732
+            - 0         # Checkbox
733
+            - 1         # ID
734
+            - 2         # Owner
735
+            - 3         # Group
736
+            - 4         # Name
737
+            - 5         # Reservation
738
+            - 6         # Cluster
739
+            #- 7         # Bridge
740
+            - 8         # Leases
741
+            #- 9         # VLAN ID
742
+            #- 10         # Labels
743
+            #- 11        # Search data
744
+        actions:
745
+            Network.refresh: true
746
+            Network.create_dialog: false
747
+            Network.import_dialog: false
748
+            Network.update_dialog: true
749
+            Network.reserve_dialog: true
750
+            Network.addtocluster: false
751
+            Network.rename: true
752
+            Network.chown: false
753
+            Network.chgrp: false
754
+            Network.chmod: true
755
+            Network.delete: true
756
+            Network.hold_lease: true
757
+            Network.release_lease: true
758
+            Network.add_ar: false
759
+            Network.remove_ar: true
760
+            Network.update_ar: true
761
+            Network.edit_labels: true
762
+            Network.menu_labels: true
763
+    vnets-topology-tab:
764