Browse Source

Mise à jour compatibilité 5.0.2 pour la vue admin_vcenter

ref #17017 @20m
tags/pkg/dev/eole-2.7.0/0.0.1-0
Philippe Caseiro 2 years ago
parent
commit
e97db85062
1 changed files with 45 additions and 7 deletions
  1. 45
    7
      tmpl/admin_vcenter.yaml

+ 45
- 7
tmpl/admin_vcenter.yaml View File

@@ -45,6 +45,11 @@ features:
45 45
     # Allows to change the security groups for each network interface
46 46
     # on the VM creation dialog
47 47
     secgroups: false
48
+
49
+    # True to hide the CPU setting in the VM creation dialog. The CPU setting
50
+    # will be set to the same value as VCPU, that will still be visible for the
51
+    # end users
52
+    instantiate_hide_cpu: false
48 53
 tabs:
49 54
     dashboard-tab:
50 55
         # The following widgets can be used inside any of the '_per_row' settings
@@ -86,16 +91,19 @@ tabs:
86 91
             - 2         # Name
87 92
             - 3         # Group
88 93
             - 4         # Auth driver
89
-            - 5         # VMs
90
-            - 6         # Memory
91
-            - 7         # CPU
92
-            #- 8         # Group ID
93
-            #- 9         # Hidden User Data
94
-            #- 10        # Labels
94
+            #- 5         # Password
95
+            - 6         # VMs
96
+            - 7         # Memory
97
+            - 8         # CPU
98
+            #- 9         # Group ID
99
+            #- 10        # Hidden User Data
100
+            #- 11        # Labels
101
+            #- 12        # Search data
95 102
         actions:
96 103
             User.refresh: true
97 104
             User.create_dialog: true
98 105
             User.update_password: true
106
+            User.login_token: true
99 107
             User.quotas_dialog: true
100 108
             User.groups_dialog: true
101 109
             User.chgrp: true
@@ -119,6 +127,7 @@ tabs:
119 127
             - 5         # Memory
120 128
             - 6         # CPU
121 129
             #- 7         # Labels
130
+            #- 8        # Search data
122 131
         actions:
123 132
             Group.refresh: true
124 133
             Group.create_dialog: true
@@ -143,6 +152,7 @@ tabs:
143 152
             - 6         # VNets
144 153
             - 7         # Datastores
145 154
             #- 8         # Labels
155
+            #- 9        # Search data
146 156
         actions:
147 157
             Vdc.refresh: true
148 158
             Vdc.create_dialog: true
@@ -181,6 +191,7 @@ tabs:
181 191
             - 4         # Name
182 192
             - 5         # Registration time
183 193
             #- 6         # Labels
194
+            #- 7        # Search data
184 195
         actions:
185 196
             Template.refresh: true
186 197
             Template.create_dialog: true
@@ -208,7 +219,6 @@ tabs:
208 219
             scheduling: true
209 220
             hybrid: true
210 221
             other: true
211
-
212 222
 %if %%oneflow
213 223
     oneflow-templates-tab:
214 224
         panel_tabs:
@@ -222,6 +232,7 @@ tabs:
222 232
             - 3         # Group
223 233
             - 4         # Name
224 234
             #- 5        # Labels
235
+            #- 6        # Search data
225 236
         actions:
226 237
             ServiceTemplate.refresh: true
227 238
             ServiceTemplate.create_dialog: true
@@ -248,10 +259,12 @@ tabs:
248 259
             - 4         # Name
249 260
             - 5         # Registration time
250 261
             #- 6         # Labels
262
+            #- 7        # Search data
251 263
         actions:
252 264
             VirtualRouterTemplate.refresh: true
253 265
             VirtualRouterTemplate.create_dialog: true
254 266
             VirtualRouterTemplate.update_dialog: true
267
+            VirtualRouterTemplate.instantiate_dialog: true
255 268
             VirtualRouterTemplate.rename: true
256 269
             VirtualRouterTemplate.chown: true
257 270
             VirtualRouterTemplate.chgrp: true
@@ -303,6 +316,7 @@ tabs:
303 316
             - 11      # VNC
304 317
             #- 12      # Hidden Template
305 318
             #- 13      # Labels
319
+            #- 14        # Search data
306 320
         actions:
307 321
             VM.refresh: true
308 322
             VM.create_dialog: true
@@ -391,8 +405,10 @@ tabs:
391 405
             - 4         # Name
392 406
             - 5         # State
393 407
             #- 6        # Labels
408
+            #- 7        # Search data
394 409
         actions:
395 410
             Service.refresh: true
411
+            Service.create_dialog: true
396 412
             Service.chown: true
397 413
             Service.chgrp: true
398 414
             Service.chmod: true
@@ -452,6 +468,7 @@ tabs:
452 468
             #- 11        # VM MAD
453 469
             #- 12        # Last monitored on
454 470
             #- 13        # Labels
471
+            #- 14        # Search data
455 472
         actions:
456 473
             Host.refresh: true
457 474
             Host.create_dialog: true
@@ -501,6 +518,7 @@ tabs:
501 518
             - 10        # Type
502 519
             - 11        # Status
503 520
             #- 12        # Labels
521
+            #- 13        # Search data
504 522
         actions:
505 523
             Datastore.refresh: true
506 524
             Datastore.create_dialog: true
@@ -535,6 +553,7 @@ tabs:
535 553
             - 11        # #VMs
536 554
             #- 12       # Target
537 555
             #- 13       # Labels
556
+            #- 14        # Search data
538 557
         actions:
539 558
             Image.refresh: true
540 559
             Image.create_dialog: true
@@ -573,6 +592,7 @@ tabs:
573 592
             #- 11        # #VMs
574 593
             #- 12       # Target
575 594
             #- 13       # Labels
595
+            #- 14        # Search data
576 596
         actions:
577 597
             File.refresh: true
578 598
             File.create_dialog: true
@@ -600,6 +620,7 @@ tabs:
600 620
             - 7         # Driver
601 621
             - 8         # Zone
602 622
             #- 9        # Labels
623
+            #- 10        # Search data
603 624
         actions:
604 625
             MarketPlace.refresh: true
605 626
             MarketPlace.create_dialog: true
@@ -629,6 +650,7 @@ tabs:
629 650
             - 10        # Marketplace
630 651
             - 11         # Zone
631 652
             #- 12        # Labels
653
+            #- 13        # Search data
632 654
         actions:
633 655
             MarketPlaceApp.refresh: true
634 656
             MarketPlaceApp.create_dialog: true
@@ -666,6 +688,7 @@ tabs:
666 688
             - 8         # Leases
667 689
             #- 9         # VLAN ID
668 690
             #- 10         # Labels
691
+            #- 11        # Search data
669 692
         actions:
670 693
             Network.refresh: true
671 694
             Network.create_dialog: true
@@ -695,6 +718,8 @@ tabs:
695 718
             - 2         # Owner
696 719
             - 3         # Group
697 720
             - 4         # Name
721
+            #- 5        # Labels
722
+            #- 6        # Search data
698 723
         actions:
699 724
             VirtualRouter.refresh: true
700 725
             VirtualRouter.create_dialog: true
@@ -725,6 +750,7 @@ tabs:
725 750
             - 3         # Group
726 751
             - 4         # Name
727 752
             #- 5         # Labels
753
+            #- 6        # Search data
728 754
         actions:
729 755
             SecurityGroup.refresh: true
730 756
             SecurityGroup.create_dialog: true
@@ -753,11 +779,23 @@ tabs:
753 779
     settings-tab:
754 780
         panel_tabs:
755 781
             user_info_tab: true
782
+            user_config_tab: false
756 783
             user_quotas_tab: true
757 784
             group_quotas_tab: true
758 785
             user_accounting_tab: true
759 786
             user_showback_tab: true
760 787
         actions:
788
+            # The buttons inside the settings-tab panel user_info_tab are
789
+            # configured with users-tab/actions; User.update_password and
790
+            # User.login_token
791
+            #
792
+            # Buttons for user_config_tab
793
+            Settings.change_language: true
794
+            Settings.change_password: true
795
+            Settings.change_view: true
796
+            Settings.ssh_key: true
797
+            Settings.login_token: true
798
+            # Edit button in user_quotas_tab
761 799
             User.quotas_dialog: false
762 800
     upgrade-top-tab:
763 801
         panel_tabs:

Loading…
Cancel
Save