Skip to content

Commit c7a4c6e

Browse files
M #~: fix paths of FireEdge views
1 parent 3cf5449 commit c7a4c6e

File tree

6 files changed

+20
-20
lines changed

6 files changed

+20
-20
lines changed

source/installation_and_configuration/configuration_management/appendix.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Name Type
3333
``/etc/one/fireedge/provision/provision-server.conf`` YAML
3434
``/etc/one/fireedge/sunstone/*/*.yaml`` YAML
3535
``/etc/one/fireedge/sunstone/sunstone-server.conf`` YAML
36-
``/etc/one/fireedge/sunstone/sunstone-views.yaml`` YAML
36+
``/etc/one/fireedge/sunstone/views/sunstone-views.yaml`` YAML
3737
``/etc/one/guacd`` Shell
3838
``/etc/one/monitord.conf`` oned.conf-like
3939
``/etc/one/oned.conf`` oned.conf-like

source/installation_and_configuration/configuration_management/conflicts.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,9 @@ Example of multiple patch modes for multiple files:
9292
--patch-modes skip,replace:/etc/one/oned.conf:5.10.0 \
9393
--patch-modes force:/etc/one/fireedge/sunstone-views.yaml:5.6.0 \
9494
--patch-modes replace:/etc/one/fireedge-server.conf \
95-
--patch-modes skip:/etc/one/fireedge/sunstone/admin/acl-tab.yaml:5.4.1 \
96-
--patch-modes skip:/etc/one/fireedge/sunstone/admin/vm-tab.yaml:5.4.2 \
97-
--patch-modes skip:/etc/one/fireedge/sunstone/admin/vm-template-tab.yaml
95+
--patch-modes skip:/etc/one/fireedge/sunstone/views/admin/acl-tab.yaml:5.4.1 \
96+
--patch-modes skip:/etc/one/fireedge/sunstone/views/admin/vm-tab.yaml:5.4.2 \
97+
--patch-modes skip:/etc/one/fireedge/sunstone/views/admin/vm-template-tab.yaml
9898

9999
Restore from Backup
100100
===================

source/installation_and_configuration/opennebula_services/fireedge.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ Branding FireEdge
182182

183183
You can add your logo to the login, main, favicon and loading screens by updating the ``logo:`` attribute as follows:
184184

185-
- The logo configuration is done in the ``/etc/one/fireedge/sunstone/sunstone-views.yaml`` file.
185+
- The logo configuration is done in the ``/etc/one/fireedge/sunstone/views/sunstone-views.yaml`` file.
186186
- The logo of the main UI screen is defined for each view.
187187

188188
The logo image must be copied to ``/usr/lib/one/fireedge/dist/client/assets/images/logos``.
@@ -191,7 +191,7 @@ The following example shows how you can change the logo to a generic linux one (
191191

192192
.. code-block:: yaml
193193
194-
# /etc/one/fireedge/sunstone/sunstone-views.yaml
194+
# /etc/one/fireedge/sunstone/views/sunstone-views.yaml
195195
---
196196
logo: linux.png
197197

source/integration_and_development/references/sunstone_dev.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ In order to develop a new tab, you need to make sure it has the correct webpack
462462

463463
.. prompt:: bash
464464

465-
cp /etc/one/fireedge/sunstone/admin/user-tab.yaml /etc/one/fireedge/sunstone/admin/usersgroups-tab.yaml
465+
cp /etc/one/fireedge/sunstone/views/admin/user-tab.yaml /etc/one/fireedge/sunstone/views/admin/usersgroups-tab.yaml
466466

467467

468468
And then we update the resource name inside the new ``usersandgroups-tab.yaml`` view file to match the path of our component

source/management_and_operations/end-user_web_interfaces/fireedge_sunstone.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ Default Views
132132
Admin View
133133
--------------------------------------------------------------------------------
134134

135-
This view provides complete control of the Virtual Machines, Templates, and Marketplace apps. Details can be configured in the ``/etc/one/fireedge/sunstone/admin/`` directory.
135+
This view provides complete control of the Virtual Machines, Templates, and Marketplace apps. Details can be configured in the ``/etc/one/fireedge/sunstone/views/admin/`` directory.
136136

137137
|fireedge_sunstone_admin_view|
138138

@@ -141,7 +141,7 @@ This view provides complete control of the Virtual Machines, Templates, and Mark
141141
User View
142142
--------------------------------------------------------------------------------
143143

144-
Based on the Admin View. It is an advanced user view intended for users with fewer privileges than an admin user, allowing them to manage Virtual Machines and Templates. Users will not be able to manage or retrieve the hosts and clusters of the cloud. Details can be configured in the ``/etc/one/fireedge/sunstone/user/`` directory.
144+
Based on the Admin View. It is an advanced user view intended for users with fewer privileges than an admin user, allowing them to manage Virtual Machines and Templates. Users will not be able to manage or retrieve the hosts and clusters of the cloud. Details can be configured in the ``/etc/one/fireedge/sunstone/views/user/`` directory.
145145

146146
|fireedge_sunstone_user_view|
147147

@@ -150,25 +150,25 @@ Based on the Admin View. It is an advanced user view intended for users with few
150150
Groupadmin View
151151
--------------------------------------------------------------------------------
152152

153-
This view it's like a limited version of the cloud administrator view to be used by the administrators of a group. Details can be configured in the ``/etc/one/fireedge/sunstone/groupadmin/`` directory. More details on :ref:`Group admin view <group_admin_view>`
153+
This view it's like a limited version of the cloud administrator view to be used by the administrators of a group. Details can be configured in the ``/etc/one/fireedge/sunstone/views/groupadmin/`` directory. More details on :ref:`Group admin view <group_admin_view>`
154154

155155
.. _fireedge_sunstone_cloud_view:
156156

157157
Cloud View
158158
--------------------------------------------------------------------------------
159159

160-
This is a simplified view intended for cloud consumers that just require a portal where they can provision new VMs easily. Details can be configured in the ``/etc/one/fireedge/sunstone/cloud/`` directory. More details on :ref:`Cloud view <cloud_view>`
160+
This is a simplified view intended for cloud consumers that just require a portal where they can provision new VMs easily. Details can be configured in the ``/etc/one/fireedge/sunstone/views/cloud/`` directory. More details on :ref:`Cloud view <cloud_view>`
161161

162162
.. _fireedge_sunstone_new_view:
163163

164164
Defining a New View
165165
--------------------------------------------------------------------------------
166166

167-
The views definitions are placed in the ``/etc/one/fireedge/sunstone/`` directory. Each view is defined by a folder (named as the view) with the needed configuration files inside.
167+
The views definitions are placed in the ``/etc/one/fireedge/sunstone/views`` directory. Each view is defined by a folder (named as the view) with the needed configuration files inside.
168168

169169
.. code::
170170
171-
/etc/one/fireedge/sunstone/
171+
/etc/one/fireedge/sunstone/views
172172
...
173173
|-- admin/
174174
| |-- backup-tab.yaml <--- the Backup tab configuration file
@@ -194,7 +194,7 @@ The views definitions are placed in the ``/etc/one/fireedge/sunstone/`` director
194194
`-- vm-template-tab.yaml <--- the VM Template tab configuration file
195195
...
196196
197-
The easiest way to create a custom view is to copy the ``admin`` or ``user`` folder and modify its content as needed. After that, add the new view into ``/etc/one/fireedge/sunstone/sunstone-views.yaml``.
197+
The easiest way to create a custom view is to copy the ``admin`` or ``user`` folder and modify its content as needed. After that, add the new view into ``/etc/one/fireedge/sunstone/views/sunstone-views.yaml``.
198198

199199
View Customization
200200
--------------------------------------------------------------------------------

source/management_and_operations/users_groups_management/fireedge_sunstone_views.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Using the OpenNebula FireEdge Sunstone Views you will be able to provide a simpl
1111
- :ref:`Group Admin View <fireedge_groupadmin_view>`.
1212
- :ref:`Cloud View <fireedge_cloud_view>`.
1313

14-
Each of these views is defined on a folder in ``/etc/one/fireedge/sunstone`` that contains many yaml as tabs are enabled in this view. On this path, there is also a file ``/etc/one/fireedge/sunstone/sunstone-views.yaml`` where is defined the default configuration (see :ref:`Defining a New OpenNebula Sunstone View or Customizing an Existing one <fireedge_sunstone_views_define_new>` to more information about configure or create a view).
14+
Each of these views is defined on a folder in ``/etc/one/fireedge/sunstone`` that contains many yaml as tabs are enabled in this view. On this path, there is also a file ``/etc/one/fireedge/sunstone/views/sunstone-views.yaml`` where is defined the default configuration (see :ref:`Defining a New OpenNebula Sunstone View or Customizing an Existing one <fireedge_sunstone_views_define_new>` to more information about configure or create a view).
1515

1616
.. _fireedge_suns_views_default_views:
1717

@@ -23,7 +23,7 @@ Default Views
2323
Admin View
2424
--------------------------------------------------------------------------------
2525

26-
This view provides full control of the cloud. Details can be configured in the ``/etc/one/fireedge/sunstone/admin/*.yaml`` files.
26+
This view provides full control of the cloud. Details can be configured in the ``/etc/one/fireedge/sunstone/views/admin/*.yaml`` files.
2727

2828
|fireedge_sunstone_admin_dashboard|
2929

@@ -32,7 +32,7 @@ This view provides full control of the cloud. Details can be configured in the `
3232
User View
3333
--------------------------------------------------------------------------------
3434

35-
Based on the Admin View; it is an advanced user view. It is intended for users that need access to more actions than the limited set available in the cloud view. Users will not be able to manage nor retrieve the hosts and clusters of the cloud. They will be able to see Datastores and Virtual Networks in order to use them when creating a new Image or Virtual Machine, but they will not be able to create new ones. Details can be configured in the ``/etc/one/fireedge/sunstone/user/*.yaml`` file.
35+
Based on the Admin View; it is an advanced user view. It is intended for users that need access to more actions than the limited set available in the cloud view. Users will not be able to manage nor retrieve the hosts and clusters of the cloud. They will be able to see Datastores and Virtual Networks in order to use them when creating a new Image or Virtual Machine, but they will not be able to create new ones. Details can be configured in the ``/etc/one/fireedge/sunstone/views/user/*.yaml`` file.
3636

3737
|fireedge_sunstone_view_dashboard|
3838

@@ -41,7 +41,7 @@ Based on the Admin View; it is an advanced user view. It is intended for users t
4141
Group Admin View
4242
--------------------------------------------------------------------------------
4343

44-
Based on Users View; this view has the same tabs as the User View plus the Groups and Users tabs to manage the group and the users of the groups that this user is administrator. Details can be configured in the ``/etc/one/fireedge/sunstone/groupadmin/*.yaml`` files.
44+
Based on Users View; this view has the same tabs as the User View plus the Groups and Users tabs to manage the group and the users of the groups that this user is administrator. Details can be configured in the ``/etc/one/fireedge/sunstone/views/groupadmin/*.yaml`` files.
4545

4646
|fireedge_sunstone_groupadmin_dashboard|
4747

@@ -50,7 +50,7 @@ Based on Users View; this view has the same tabs as the User View plus the Group
5050
Cloud View
5151
--------------------------------------------------------------------------------
5252

53-
This is a simplified view, mainly intended for end-users that just require a portal where they can provision new virtual machines easily from pre-defined Templates. For more information about this view, please check the ``/etc/one/fireedge/sunstone/cloud/*.yaml`` files.
53+
This is a simplified view, mainly intended for end-users that just require a portal where they can provision new virtual machines easily from pre-defined Templates. For more information about this view, please check the ``/etc/one/fireedge/sunstone/views/cloud/*.yaml`` files.
5454

5555
|fireedge_sunstone_cloud_dashboard|
5656

@@ -72,7 +72,7 @@ FireEdge Sunstone users can change their current view from the top-right drop-do
7272

7373
|fireedge_sunstone_views_change|
7474

75-
These options are saved in the group template, as well as other hidden settings. If not defined, defaults views from ``/etc/one/fireedge/sunstone/sunstone-views.yaml`` are taken.
75+
These options are saved in the group template, as well as other hidden settings. If not defined, defaults views from ``/etc/one/fireedge/sunstone/views/sunstone-views.yaml`` are taken.
7676

7777
.. _fireedge_sunstone_views_define_new:
7878

0 commit comments

Comments
 (0)