Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
fdafc73
Modifications in Integrations
pedroielpi3 May 7, 2025
391daf3
Fix typo
pedroielpi3 May 7, 2025
e7396dc
Merge branch 'one-7.0' of github.com:OpenNebula/website into one-7.0
pedroielpi3 May 8, 2025
e855135
Merge branch 'one-7.0' of github.com:OpenNebula/website into one-7.0
pedroielpi3 May 8, 2025
73ff5c6
Merge branch 'one-7.0' of github.com:OpenNebula/website into one-7.0
pedroielpi3 May 8, 2025
3f25903
Merge branch 'one-7.0' of github.com:OpenNebula/website into one-7.0
pedroielpi3 May 9, 2025
624fb38
Merge branch 'one-7.0' of github.com:OpenNebula/website into one-7.0
pedroielpi3 May 12, 2025
854b4ca
Merge branch 'one-7.0' of github.com:OpenNebula/website into one-7.0
pedroielpi3 May 13, 2025
17ca863
Merge branch 'one-7.0' of github.com:OpenNebula/website into one-7.0
pedroielpi3 May 14, 2025
b29c1b1
Merge branch 'one-7.0' of github.com:OpenNebula/website into one-7.0
pedroielpi3 May 14, 2025
002f2c6
Merge branch 'one-7.0' of github.com:OpenNebula/website into one-7.0
pedroielpi3 May 14, 2025
c2d6845
Merge branch 'one-7.0' of github.com:OpenNebula/website into one-7.0
pedroielpi3 May 14, 2025
7bdff9a
Merge branch 'one-7.0' of github.com:OpenNebula/website into one-7.0
pedroielpi3 May 14, 2025
fcda4ce
Merge branch 'one-7.0' of github.com:OpenNebula/website into one-7.0
pedroielpi3 May 14, 2025
f5fa840
Merge branch 'one-7.0' of github.com:OpenNebula/website into one-7.0
pedroielpi3 May 17, 2025
5cc770f
Merge branch 'one-7.0' of github.com:OpenNebula/website into one-7.0
pedroielpi3 May 19, 2025
584056b
Merge branch 'one-7.0' of github.com:OpenNebula/website into one-7.0
pedroielpi3 May 19, 2025
cf95f15
Merge branch 'one-7.0' of github.com:OpenNebula/website into one-7.0
pedroielpi3 May 19, 2025
09ac7ec
Merge branch 'one-7.0' of github.com:OpenNebula/website into one-7.0
pedroielpi3 May 20, 2025
9e2ddf4
Merge branch 'one-7.0' of github.com:OpenNebula/website into one-7.0
pedroielpi3 May 20, 2025
40471ba
Merge branch 'one-7.0' of github.com:OpenNebula/website into one-7.0
pedroielpi3 May 20, 2025
e9cccd6
Merge branch 'one-7.0' of github.com:OpenNebula/website into one-7.0
pedroielpi3 May 20, 2025
dfa591d
Merge branch 'one-7.0' of github.com:OpenNebula/website into one-7.0
pedroielpi3 May 20, 2025
3189631
Merge branch 'one-7.0' of github.com:OpenNebula/website into one-7.0
pedroielpi3 May 20, 2025
19a4775
Merge branch 'one-7.0' of github.com:OpenNebula/website into one-7.0
pedroielpi3 May 20, 2025
c9c31a4
Merge branch 'one-7.0' of github.com:OpenNebula/website into one-7.0
pedroielpi3 May 21, 2025
f7ceafc
Merge branch 'one-7.0' of github.com:OpenNebula/website into one-7.0
pedroielpi3 May 21, 2025
47c301d
Merge branch 'one-7.0' of github.com:OpenNebula/website into one-7.0
pedroielpi3 May 21, 2025
5e1c6d6
Merge branch 'one-7.0' of github.com:OpenNebula/website into one-7.0
pedroielpi3 May 21, 2025
4b361d5
Merge branch 'one-7.0' of github.com:OpenNebula/website into one-7.0
pedroielpi3 May 21, 2025
c53c96a
Merge branch 'one-7.0' of github.com:OpenNebula/website into one-7.0
pedroielpi3 May 21, 2025
55b1a2a
M #-: Correct folder locations
pedroielpi3 May 21, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Using the OpenNebula FireEdge Sunstone Views you will be able to provide a simpl
- [Group Admin View]({{% relref "#fireedge-groupadmin-view" %}}).
- [Cloud View]({{% relref "#fireedge-cloud-view" %}}).

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 [Defining a New OpenNebula Sunstone View or Customizing an Existing one]({{% relref "#fireedge-sunstone-views-define-new" %}}) to more information about configure or create a view).
Each of these views is defined on a folder in `/etc/one/fireedge/sunstone/views` that contains as many yaml files 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 [Defining a New OpenNebula Sunstone View or Customizing an Existing one]({{% relref "#fireedge-sunstone-views-define-new" %}}) to more information about configure or create a view).

<a id="fireedge-suns-views-default-views"></a>

Expand All @@ -29,31 +29,31 @@ Each of these views is defined on a folder in `/etc/one/fireedge/sunstone` that

### Admin View

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

![fireedge_sunstone_admin_dashboard](/images/fireedge_sunstone_admin_view.png)

<a id="fireedge-user-view"></a>

### User View

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.
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.

![fireedge_sunstone_view_dashboard](/images/fireedge_sunstone_user_view.png)

<a id="fireedge-groupadmin-view"></a>

### Group Admin View

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.
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.

![fireedge_sunstone_groupadmin_dashboard](/images/fireedge_sunstone_groupadmin_view.png)

<a id="fireedge-cloud-view"></a>

### Cloud View

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.
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.

![fireedge_sunstone_cloud_dashboard](/images/fireedge_sunstone_cloud_view.png)

Expand All @@ -73,7 +73,7 @@ FireEdge Sunstone users can change their current view from the top-right drop-do

![fireedge_sunstone_views_change](/images/fireedge_sunstone_views_change.png)

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.
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.

<a id="fireedge-sunstone-views-define-new"></a>

Expand Down Expand Up @@ -128,10 +128,10 @@ The file `sunstone-views.yaml` configures:

## Defining a New OpenNebula Sunstone View or Customizing an Existing one

View definitions are placed in the `/etc/one/fireedge/sunstone` directory. Each view is defined by a folder which contains one yaml file for each tab that will be in the view. The structure of this folder will be as follows:
View definitions are placed in the `/etc/one/fireedge/sunstone/views` directory. Each view is defined by a folder which contains one yaml file for each tab that will be in the view. The structure of this folder will be as follows:

```default
/etc/one/fireedge/sunstone
/etc/one/fireedge/sunstone/views
|-- admin/
| |-- acl-tab.yaml <--- Enable ACL tab and define its actions
| |-- backupjobs-tab.yaml <--- Enable Backup jobs tab and define its actions
Expand Down Expand Up @@ -312,7 +312,7 @@ dialogs:

To create a new view:

> 1. Create a folder with the name of the view in `/etc/one/fireedge/sunstone`.
> 1. Create a folder with the name of the view in `/etc/one/fireedge/sunstone/views`.
> 2. Add the yaml files for each tab that the view will show.
> 3. Configure `sunstone-views.yaml` if needed.
> 4. Update or create a group to use the new view.
Original file line number Diff line number Diff line change
Expand Up @@ -129,38 +129,38 @@ Each view is in an individual directory, `admin`, `user`, `groupadmin` and `clou

### Admin View

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.
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.

![fireedge_sunstone_admin_view](/images/fireedge_sunstone_admin_view.png)

<a id="fireedge-sunstone-user-view"></a>

### User View

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.
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.

![fireedge_sunstone_user_view](/images/fireedge_sunstone_user_view.png)

<a id="fireedge-sunstone-groupadmin-view"></a>

### Groupadmin View

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 [Group admin view]({{% relref "groupadmin_view#group-admin-view" %}})
This view it 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 [Group admin view]({{% relref "groupadmin_view#group-admin-view" %}})

<a id="fireedge-sunstone-cloud-view"></a>

### Cloud View

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 [Cloud view]({{% relref "cloud_view#cloud-view" %}})
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 [Cloud view]({{% relref "cloud_view#cloud-view" %}})

<a id="fireedge-sunstone-new-view"></a>

### Defining a New View

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.
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.

```default
/etc/one/fireedge/sunstone/
/etc/one/fireedge/sunstone/views
...
|-- admin/
| |-- backup-tab.yaml <--- the Backup tab configuration file
Expand All @@ -187,7 +187,7 @@ The views definitions are placed in the `/etc/one/fireedge/sunstone/` directory.
...
```

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`.
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`.

### View Customization

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,15 +104,15 @@ In HA environments, `fireedge_key` needs to be copied from the first leader to t

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

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

The logo image must be copied to `/usr/lib/one/fireedge/dist/client/assets/images/logos`.

The following example shows how you can change the logo to a generic linux one (included by default in all FireEdge installations):

```yaml
# /etc/one/fireedge/sunstone/sunstone-views.yaml
# /etc/one/fireedge/sunstone/views/sunstone-views.yaml
---
logo: linux.png

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ Now let's create a new module called `CustomContainers`, based off the original
We will do this for the oneadmin user only

```default
cp /etc/one/fireedge/sunstone/admin/user-tab.yaml /etc/one/fireedge/sunstone/admin/usersgroups-tab.yaml
cp /etc/one/fireedge/sunstone/views/admin/user-tab.yaml /etc/one/fireedge/sunstone/views/admin/usersgroups-tab.yaml
```

And then we update the resource name inside the new `usersandgroups-tab.yaml` view file to match the path of our component
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ managed by the `onecfg` tool:
| `/etc/one/fireedge/provision/provision-server.conf` | YAML |
| `/etc/one/fireedge/sunstone/*/*.yaml` | YAML |
| `/etc/one/fireedge/sunstone/sunstone-server.conf` | YAML |
| `/etc/one/fireedge/sunstone/sunstone-views.yaml` | YAML |
| `/etc/one/fireedge/sunstone/views/sunstone-views.yaml` | YAML |
| `/etc/one/guacd` | Shell |
| `/etc/one/monitord.conf` | oned.conf-like |
| `/etc/one/oned.conf` | oned.conf-like |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ Example of multiple patch modes for multiple files:
--patch-modes skip,replace:/etc/one/oned.conf:5.10.0 \
--patch-modes force:/etc/one/fireedge/sunstone-views.yaml:5.6.0 \
--patch-modes replace:/etc/one/fireedge-server.conf \
--patch-modes skip:/etc/one/fireedge/sunstone/admin/acl-tab.yaml:5.4.1 \
--patch-modes skip:/etc/one/fireedge/sunstone/admin/vm-tab.yaml:5.4.2 \
--patch-modes skip:/etc/one/fireedge/sunstone/admin/vm-template-tab.yaml
--patch-modes skip:/etc/one/fireedge/sunstone/views/admin/acl-tab.yaml:5.4.1 \
--patch-modes skip:/etc/one/fireedge/sunstone/views/admin/vm-tab.yaml:5.4.2 \
--patch-modes skip:/etc/one/fireedge/sunstone/views/admin/vm-template-tab.yaml
```

## Restore from Backup
Expand Down