Skip to content

Commit 02c1c47

Browse files
authored
notes on guest os category changes and modern image selection (apache#519)
Related #10773 Signed-off-by: Abhishek Kumar <[email protected]>
1 parent 0ef9029 commit 02c1c47

File tree

7 files changed

+93
-20
lines changed

7 files changed

+93
-20
lines changed
14.6 KB
Loading
116 KB
Loading
Loading
Loading

source/adminguide/guest_os.rst

Lines changed: 41 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@
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+
:alt: Guest OS Categories
19+
20+
.. |add-guest-os-category.png| image:: /_static/images/add-guest-os-category.png
21+
:alt: Add Guest OS Category form
22+
1623
.. |guest-os-button.png| image:: /_static/images/guest-os-button.png
1724
:alt: Guest OS section
1825

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

3744
Under "Configuration" section there are sub-sections for guest operating system.
3845

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

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

@@ -86,4 +125,4 @@ and following details needs to be provided.
86125
:align: center
87126
:alt: Guest OS mapping form
88127

89-
Operator can also do operations like edit and delete guest OS and its hypervisor mappings.
128+
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
@@ -504,6 +507,22 @@ For displaying a custom HTML in the plugin, HTML file can be stored in the Cloud
504507

505508
|ui-custom-plugin.png|
506509

510+
511+
Instance Image Selction Customisation
512+
-------------------------------------
513+
514+
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).
515+
516+
The configuration property _imageSelectionInterface_ can be set to one of these values: modern or legacy. The default value is *modern*.
517+
518+
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.
519+
520+
|ui-modern-image-selection.png|
521+
522+
The *legacy* interface will display images based on templatefilter/isofilter, i.e., Featured, Community, My Templates/ISOs, and Shared.
523+
524+
|ui-legacy-image-selection.png|
525+
507526
Advanced UI Customisation
508527
~~~~~~~~~~~~~~~~~~~~~~~~~
509528

@@ -596,6 +615,12 @@ The following features are no longer supported or available in the UI but are st
596615
.. |change-password.png| image:: /_static/images/change-password.png
597616
:alt: button to change a User's password
598617

618+
.. |ui-modern-image-selection.png| image:: /_static/images/ui-modern-image-selection.png
619+
:alt: Modern Image Selection
620+
621+
.. |ui-legacy-image-selection.png| image:: /_static/images/ui-legacy-image-selection.png
622+
:alt: Legacy Image Selection
623+
599624
.. |ui-custom-plugin.png| image:: /_static/images/ui-custom-plugin.png
600625
:alt: Custom plugin shown in UI with navigation
601626

source/releasenotes/about.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,12 @@ On upgrading from 4.19.x or lower, existing AMQP or Kafka integration
7676
configurations should be moved from folder
7777
``/etc/cloudstack/management/META-INF/cloudstack/core`` to
7878
``/etc/cloudstack/management/META-INF/cloudstack/event``
79+
80+
Guest OS Categories Change
81+
==========================
82+
83+
The guest operating system categories have been updated in 4.21, resulting in a
84+
reorganization of the guest operating systems with respect to categories.
85+
86+
If the ``oscategoryid`` functionality for hosts is being used, ensure it is
87+
pointing to the correct guest operating system category ID.

0 commit comments

Comments
 (0)