Skip to content

Commit 3eb2755

Browse files
committed
notes on guest os category changes and modern image selection
Related #10773 Signed-off-by: Abhishek Kumar <[email protected]>
1 parent 7b905a5 commit 3eb2755

File tree

7 files changed

+96
-20
lines changed

7 files changed

+96
-20
lines changed
14.6 KB
Loading
116 KB
Loading
170 KB
Loading
157 KB
Loading

source/adminguide/guest_os.rst

Lines changed: 43 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,15 @@
1313
specific language governing permissions and limitations
1414
under the License.
1515
16+
17+
.. |guest-os-categories.png| image:: /_static/images/guest-os-categories.png
18+
:align: center
19+
:alt: Guest OS Categories
20+
21+
.. |add-guest-os-category-form.png| image:: /_static/images/add-guest-os-category-form.png
22+
:align: center
23+
:alt: Add Guest OS Category form
24+
1625
.. |guest-os-button.png| image:: /_static/images/guest-os-button.png
1726
:alt: Guest OS section
1827

@@ -36,8 +45,40 @@ and also need to have a mapping with the actual operating system name supported
3645

3746
Under "Configuration" section there are sub-sections for guest operating system.
3847

48+
Guest OS Categores
49+
------------------
50+
51+
A list of existing categories for the guest operating systems are shown as
52+
"Guest OS Categories" section. Operators can also add new guest operating
53+
system categories from the view.
54+
55+
|guest-os-categories.png|
56+
57+
Guest operating system categories are useful for categorizing images, i.e.,
58+
templates and ISOs, in several UI forms such as deploying an instance,
59+
reinstalling an instance, etc., when the modern image selection is used in the
60+
UI configuration.
61+
62+
To allow a guest operating system category to be displayed in the UI forms, it
63+
must be marked as featured. The order of the categories can also be controlled
64+
using the Order option in the categories view.
65+
66+
Like other resources, a custom resource icon can be set for a particular guest
67+
operating system category for further control. If no resource icon is set for
68+
a category, the UI will display default icons based on the category
69+
name.
70+
71+
An existing guest OS category can be deleted if it does not have any
72+
associated guest operating systems.
73+
74+
The "Add guest OS category" option allows operators to create new categories,
75+
which can be marked as featured if they are meant to be displayed in the UI
76+
forms.
77+
78+
|add-guest-os-category-form.png|
79+
3980
Guest OS
40-
---------
81+
--------
4182

4283
A list of supported guest operating systems are shown under |guest-os-button.png| and also one can add new operating systems.
4384

@@ -86,4 +127,4 @@ and following details needs to be provided.
86127
:align: center
87128
:alt: Guest OS mapping form
88129

89-
Operator can also do operations like edit and delete guest OS and its hypervisor mappings.
130+
Operator can also do operations like edit and delete guest OS and its hypervisor mappings.

source/adminguide/ui.rst

Lines changed: 43 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -178,30 +178,33 @@ new, unique value.
178178

179179
#. Type the new password, and click OK.
180180

181-
Basic UI Customization
181+
Basic UI Customisation
182182
~~~~~~~~~~~~~~~~~~~~~~
183183

184184
Users can customize the CloudStack's user interface by means of a configuration file at /etc/cloudstack/management/config.json which can be used to modify the theme, logos, etc. to align to one's requirement.
185185

186186
To change the logo, login banner, error page icon, etc. the following details can be edited in config.json:
187187

188-
============================= ================================================================
188+
======================================= ==================================================================================================================================================================
189189
Property Description
190-
============================= ================================================================
191-
apiBase Changes the suffix for the API endpoint
192-
docBase Changes the base URL for the documentation
193-
appTitle Changes the title of the portal
194-
footer Changes the footer text
195-
loginFavicon Changes the favicon of the login page
196-
loginFooter Configure to display text (HTML) in the footer at the login screen
197-
loginTitle Changes the title of the login page
198-
logo Changes the logo top-left side image
199-
minilogo Changes the logo top-left side image when menu is collapsed
200-
banner Changes the login banner image
201-
error.404 Changes the image of error Page not found
202-
error.403 Changes the image of error Forbidden
203-
error.500 Changes the image of error Internal Server Error
204-
============================= ================================================================
190+
======================================= ==================================================================================================================================================================
191+
apiBase Changes the suffix for the API endpoint
192+
docBase Changes the base URL for the documentation
193+
appTitle Changes the title of the portal
194+
footer Changes the footer text
195+
loginFavicon Changes the favicon of the login page
196+
loginFooter Configure to display text (HTML) in the footer at the login screen
197+
loginTitle Changes the title of the login page
198+
logo Changes the logo top-left side image
199+
minilogo Changes the logo top-left side image when menu is collapsed
200+
banner Changes the login banner image
201+
error.404 Changes the image of error Page not found
202+
error.403 Changes the image of error Forbidden
203+
error.500 Changes the image of error Internal Server Error
204+
imageSelectionInterface Allows specifying view for image(template/ISO) selection in several UI forms. Supported values are: "modern" and "legacy". Default view is "modern"
205+
showUserCategoryForModernImageSelection Enables showing or hiding _User_ category in the *modern* image selection view which will show all user-owned images for the logged in user. Default value is true
206+
showAllCategoryForModernImageSelection Enables showing or hiding _All_ category in the *modern* image selection view which will show all available images for the logged in user. Default value is false
207+
======================================= ==================================================================================================================================================================
205208

206209
.. parsed-literal::
207210
@@ -219,7 +222,7 @@ error.500 Changes the image of error Internal Server Error
219222
}
220223
221224
222-
Customization of themes is also possible, such as, modifying banner width, general color, etc. This can be done by editing the "theme" section of the config.json file. Theme section provides following properties for customization:
225+
Customisation of themes is also possible, such as, modifying banner width, general color, etc. This can be done by editing the "theme" section of the config.json file. Theme section provides following properties for customisation:
223226

224227
============================= ================================================================
225228
Property Description
@@ -497,6 +500,22 @@ For displaying a custom HTML in the plugin, HTML file can be stored in the Cloud
497500

498501
|ui-custom-plugin.png|
499502

503+
504+
Instance Image Selction Customisation
505+
-------------------------------------
506+
507+
In the UI, there are several forms where the user needs to select an image (template/ISO) for an instance, such as deploying an instance, reinstalling an instance, creating a VNF appliance, etc. The image selection interface for these forms can be selected by the operator based on preference by specifying properties in the UI configuration file (config.json).
508+
509+
The configuration property _imageSelectionInterface_ can be set to one of these values: modern or legacy. The default value is *modern*.
510+
511+
When the *modern* interface is used, images will be categorized based on the guest operating system categories. Further customisation can be done using the configuration properties showUserCategoryForModernImageSelection and showAllCategoryForModernImageSelection to allow or disallow the display of additional categories.
512+
513+
|ui-modern-image-selection.png|
514+
515+
The *legacy* interface will display images based on templatefilter/isofilter, i.e., Featured, Community, My Templates/ISOs, and Shared.
516+
517+
|ui-legacy-image-selection.png|
518+
500519
Advanced UI Customisation
501520
~~~~~~~~~~~~~~~~~~~~~~~~~
502521

@@ -589,6 +608,12 @@ The following features are no longer supported or available in the UI but are st
589608
.. |change-password.png| image:: /_static/images/change-password.png
590609
:alt: button to change a User's password
591610

611+
.. |ui-modern-image-selection.png| image:: /_static/images/ui-modern-image-selection.png
612+
:alt: Modern Image Selection
613+
614+
.. |ui-legacy-image-selection.png| image:: /_static/images/ui-legacy-image-selection.png
615+
:alt: Legacy Image Selection
616+
592617
.. |ui-custom-plugin.png| image:: /_static/images/ui-custom-plugin.png
593618
:alt: Custom plugin shown in UI with navigation
594619

source/releasenotes/about.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,17 @@ This means that Centos7 (EL7) is no longer supported.
5454

5555
Events Message Bus Change
5656
=========================
57+
5758
On upgrading from 4.19.x or lower, existing AMQP or Kafka intergration
5859
configurations should be moved from folder
5960
``/etc/cloudstack/management/META-INF/cloudstack/core`` to
6061
``/etc/cloudstack/management/META-INF/cloudstack/event``
62+
63+
Guest OS Categories Change
64+
==========================
65+
66+
The guest operating system categories have been updated, resulting in a
67+
reorganization of the guest operating systems with respect to categories.
68+
69+
If the oscategoryid functionality for hosts is being used, ensure it is
70+
pointing to the correct guest operating system category ID.

0 commit comments

Comments
 (0)