From 36bb3bbcc4430dba92e338dc7f40f1f33c7c91cd Mon Sep 17 00:00:00 2001 From: Sergio Betanzos Date: Wed, 26 Jan 2022 11:30:30 +0100 Subject: [PATCH] M #~: Add info tab files for Sunstone (#1719) --- .../etc/sunstone/admin/cluster-tab.yaml | 15 ++- .../etc/sunstone/admin/datastore-tab.yaml | 72 ++++++++++++++ .../etc/sunstone/admin/group-tab.yaml | 73 ++++++++++++++ src/fireedge/etc/sunstone/admin/host-tab.yaml | 2 +- .../etc/sunstone/admin/image-tab.yaml | 81 ++++++++++++++++ .../sunstone/admin/marketplace-app-tab.yaml | 3 - .../etc/sunstone/admin/marketplace-tab.yaml | 68 +++++++++++++ .../etc/sunstone/admin/sec-group-tab.yaml | 61 ++++++++++++ src/fireedge/etc/sunstone/admin/user-tab.yaml | 87 +++++++++++++++++ src/fireedge/etc/sunstone/admin/vnet-tab.yaml | 96 +++++++++++++++++++ .../etc/sunstone/admin/vnet-template-tab.yaml | 90 +++++++++++++++++ src/fireedge/etc/sunstone/admin/zone-tab.yaml | 54 +++++++++++ 12 files changed, 695 insertions(+), 7 deletions(-) create mode 100644 src/fireedge/etc/sunstone/admin/datastore-tab.yaml create mode 100644 src/fireedge/etc/sunstone/admin/group-tab.yaml create mode 100644 src/fireedge/etc/sunstone/admin/image-tab.yaml create mode 100644 src/fireedge/etc/sunstone/admin/marketplace-tab.yaml create mode 100644 src/fireedge/etc/sunstone/admin/sec-group-tab.yaml create mode 100644 src/fireedge/etc/sunstone/admin/user-tab.yaml create mode 100644 src/fireedge/etc/sunstone/admin/vnet-tab.yaml create mode 100644 src/fireedge/etc/sunstone/admin/vnet-template-tab.yaml create mode 100644 src/fireedge/etc/sunstone/admin/zone-tab.yaml diff --git a/src/fireedge/etc/sunstone/admin/cluster-tab.yaml b/src/fireedge/etc/sunstone/admin/cluster-tab.yaml index 59de6ed281..39ae1d2dbd 100644 --- a/src/fireedge/etc/sunstone/admin/cluster-tab.yaml +++ b/src/fireedge/etc/sunstone/admin/cluster-tab.yaml @@ -15,7 +15,7 @@ #--------------------------------------------------------------------------- # --- -# This file describes the information and actions available in the HOST tab +# This file describes the information and actions available in the CLUSTER tab # Resource @@ -24,7 +24,9 @@ resource_name: "CLUSTER" # Actions - Which buttons are visible to operate over the resources actions: - rename: true + refresh: true + create_dialog: true + update_dialog: true delete: true # Filters - List of criteria to filter the resources @@ -32,7 +34,6 @@ actions: filters: label: true - # Info Tabs - Which info tabs are used to show extended information info-tabs: @@ -40,9 +41,17 @@ info-tabs: enabled: true information_panel: enabled: true + actions: + rename: true + overcommitment: + enabled: true + actions: + update_cpu: true + update_memory: true attributes_panel: enabled: true actions: + copy: true add: true edit: true delete: true diff --git a/src/fireedge/etc/sunstone/admin/datastore-tab.yaml b/src/fireedge/etc/sunstone/admin/datastore-tab.yaml new file mode 100644 index 0000000000..3d381b9889 --- /dev/null +++ b/src/fireedge/etc/sunstone/admin/datastore-tab.yaml @@ -0,0 +1,72 @@ +# -------------------------------------------------------------------------- # +# Copyright 2002-2021, OpenNebula Project, OpenNebula Systems # +# # +# Licensed under the Apache License, Version 2.0 (the "License"); you may # +# not use this file except in compliance with the License. You may obtain # +# a copy of the License at # +# # +# http://www.apache.org/licenses/LICENSE-2.0 # +# # +# Unless required by applicable law or agreed to in writing, software # +# distributed under the License is distributed on an "AS IS" BASIS, # +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # +# See the License for the specific language governing permissions and # +# limitations under the License. # +#--------------------------------------------------------------------------- # + +--- +# This file describes the information and actions available in the DATASTORE tab + +# Resource + +resource_name: "DATASTORE" + +# Actions - Which buttons are visible to operate over the resources + +actions: + refresh: true + create_dialog: true + import_dialog: true + change_cluster: true + chown: true + chgrp: true + delete: true + enable: true + disable: true + +# Filters - List of criteria to filter the resources + +filters: + label: true + +# Info Tabs - Which info tabs are used to show extended information + +info-tabs: + info: + enabled: true + information_panel: + enabled: true + actions: + rename: true + permissions_panel: + enabled: true + actions: + chmod: true + ownership_panel: + enabled: true + actions: + chown: true + chgrp: true + attributes_panel: + enabled: true + actions: + copy: true + add: true + edit: true + delete: true + + image: + enabled: true + + cluster: + enabled: true diff --git a/src/fireedge/etc/sunstone/admin/group-tab.yaml b/src/fireedge/etc/sunstone/admin/group-tab.yaml new file mode 100644 index 0000000000..cc148843cb --- /dev/null +++ b/src/fireedge/etc/sunstone/admin/group-tab.yaml @@ -0,0 +1,73 @@ +# -------------------------------------------------------------------------- # +# Copyright 2002-2021, OpenNebula Project, OpenNebula Systems # +# # +# Licensed under the Apache License, Version 2.0 (the "License"); you may # +# not use this file except in compliance with the License. You may obtain # +# a copy of the License at # +# # +# http://www.apache.org/licenses/LICENSE-2.0 # +# # +# Unless required by applicable law or agreed to in writing, software # +# distributed under the License is distributed on an "AS IS" BASIS, # +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # +# See the License for the specific language governing permissions and # +# limitations under the License. # +#--------------------------------------------------------------------------- # + +--- +# This file describes the information and actions available in the GROUP tab + +# Resource + +resource_name: "GROUP" + +# Actions - Which buttons are visible to operate over the resources + +actions: + refresh: true + create_dialog: true + update_dialog: true + delete: true + +# Filters - List of criteria to filter the resources + +filters: + label: true + + +# Info Tabs - Which info tabs are used to show extended information + +info-tabs: + info: + enabled: true + information_panel: + enabled: true + actions: + rename: true + attributes_panel: + enabled: true + actions: + copy: true + add: true + edit: true + delete: true + + user: + enabled: true + actions: + edit_admins: true + + quota: + enabled: true + actions: + quotas_dialog: true + + accounting: + enabled: true + actions: + get_accounting: true + + showback: + enabled: true + actions: + get_showback: true \ No newline at end of file diff --git a/src/fireedge/etc/sunstone/admin/host-tab.yaml b/src/fireedge/etc/sunstone/admin/host-tab.yaml index f428732f6f..8099a37ef2 100644 --- a/src/fireedge/etc/sunstone/admin/host-tab.yaml +++ b/src/fireedge/etc/sunstone/admin/host-tab.yaml @@ -26,7 +26,7 @@ resource_name: "HOST" actions: refresh: true create_dialog: true - addtocluster: true + change_cluster: true enable: true disable: true offline: true diff --git a/src/fireedge/etc/sunstone/admin/image-tab.yaml b/src/fireedge/etc/sunstone/admin/image-tab.yaml new file mode 100644 index 0000000000..97d80d3b7d --- /dev/null +++ b/src/fireedge/etc/sunstone/admin/image-tab.yaml @@ -0,0 +1,81 @@ +# -------------------------------------------------------------------------- # +# Copyright 2002-2021, OpenNebula Project, OpenNebula Systems # +# # +# Licensed under the Apache License, Version 2.0 (the "License"); you may # +# not use this file except in compliance with the License. You may obtain # +# a copy of the License at # +# # +# http://www.apache.org/licenses/LICENSE-2.0 # +# # +# Unless required by applicable law or agreed to in writing, software # +# distributed under the License is distributed on an "AS IS" BASIS, # +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # +# See the License for the specific language governing permissions and # +# limitations under the License. # +#--------------------------------------------------------------------------- # + +--- +# This file describes the information and actions available in the IMAGE tab + +# Resource + +resource_name: "IMAGE" + +# Actions - Which buttons are visible to operate over the resources + +actions: + refresh: true + create_dialog: true + clone_dialog: true + import_dialog: true + create_app_dialog: true # reference to create_dialog in marketplace-app-tab.yaml + chown: true + chgrp: true + enable: true + disable: true + persistent: true + nonpersistent: true + delete: true + lock: true + unlock: true + +# Filters - List of criteria to filter the resources + +filters: + label: true + +# Info Tabs - Which info tabs are used to show extended information + +info-tabs: + info: + enabled: true + information_panel: + enabled: true + actions: + rename: true + permissions_panel: + enabled: true + actions: + chmod: true + ownership_panel: + enabled: true + actions: + chown: true + chgrp: true + attributes_panel: + enabled: true + actions: + copy: true + add: true + edit: true + delete: true + + vm: + enabled: true + + snapshot: + enabled: true + actions: + snapshot_flatten: true + snapshot_revert: true + snapshot_delete: true diff --git a/src/fireedge/etc/sunstone/admin/marketplace-app-tab.yaml b/src/fireedge/etc/sunstone/admin/marketplace-app-tab.yaml index e658f96b8b..836c198810 100644 --- a/src/fireedge/etc/sunstone/admin/marketplace-app-tab.yaml +++ b/src/fireedge/etc/sunstone/admin/marketplace-app-tab.yaml @@ -28,10 +28,8 @@ actions: create_dialog: true export: true download: true - rename: true chown: true chgrp: true - chmod: true enable: true disable: true delete: true @@ -44,7 +42,6 @@ filters: type: true marketplace: true - # Info Tabs - Which info tabs are used to show extended information info-tabs: diff --git a/src/fireedge/etc/sunstone/admin/marketplace-tab.yaml b/src/fireedge/etc/sunstone/admin/marketplace-tab.yaml new file mode 100644 index 0000000000..cbfe08e841 --- /dev/null +++ b/src/fireedge/etc/sunstone/admin/marketplace-tab.yaml @@ -0,0 +1,68 @@ +# -------------------------------------------------------------------------- # +# Copyright 2002-2021, OpenNebula Project, OpenNebula Systems # +# # +# Licensed under the Apache License, Version 2.0 (the "License"); you may # +# not use this file except in compliance with the License. You may obtain # +# a copy of the License at # +# # +# http://www.apache.org/licenses/LICENSE-2.0 # +# # +# Unless required by applicable law or agreed to in writing, software # +# distributed under the License is distributed on an "AS IS" BASIS, # +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # +# See the License for the specific language governing permissions and # +# limitations under the License. # +#--------------------------------------------------------------------------- # + +--- +# This file describes the information and actions available in the MARKETPLACE tab + +# Resource + +resource_name: "MARKETPLACE" + +# Actions - Which buttons are visible to operate over the resources + +actions: + refresh: true + create_dialog: true + update_dialog: true + chown: true + chgrp: true + delete: true + lock: true + unlock: true + +# Filters - List of criteria to filter the resources + +filters: + label: true + +# Info Tabs - Which info tabs are used to show extended information + +info-tabs: + info: + enabled: true + information_panel: + enabled: true + actions: + rename: true + permissions_panel: + enabled: true + actions: + chmod: true + ownership_panel: + enabled: true + actions: + chown: true + chgrp: true + attributes_panel: + enabled: true + actions: + copy: true + add: true + edit: true + delete: true + + app: + enabled: true diff --git a/src/fireedge/etc/sunstone/admin/sec-group-tab.yaml b/src/fireedge/etc/sunstone/admin/sec-group-tab.yaml new file mode 100644 index 0000000000..1f8a1aad62 --- /dev/null +++ b/src/fireedge/etc/sunstone/admin/sec-group-tab.yaml @@ -0,0 +1,61 @@ +# -------------------------------------------------------------------------- # +# Copyright 2002-2021, OpenNebula Project, OpenNebula Systems # +# # +# Licensed under the Apache License, Version 2.0 (the "License"); you may # +# not use this file except in compliance with the License. You may obtain # +# a copy of the License at # +# # +# http://www.apache.org/licenses/LICENSE-2.0 # +# # +# Unless required by applicable law or agreed to in writing, software # +# distributed under the License is distributed on an "AS IS" BASIS, # +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # +# See the License for the specific language governing permissions and # +# limitations under the License. # +#--------------------------------------------------------------------------- # + +--- +# This file describes the information and actions available in the SECURITY GROUP tab + +# Resource + +resource_name: "SECURITY-GROUP" + +# Actions - Which buttons are visible to operate over the resources + +actions: + refresh: true + create_dialog: true + update_dialog: true + clone: true + commit: true + chown: true + chgrp: true + delete: true + +# Filters - List of criteria to filter the resources + +filters: + label: true + +# Info Tabs - Which info tabs are used to show extended information + +info-tabs: + info: + enabled: true + information_panel: + enabled: true + actions: + rename: true + rules: + enabled: true + attributes_panel: + enabled: true + actions: + copy: true + add: true + edit: true + delete: true + + vm: + enabled: true diff --git a/src/fireedge/etc/sunstone/admin/user-tab.yaml b/src/fireedge/etc/sunstone/admin/user-tab.yaml new file mode 100644 index 0000000000..dc72262f42 --- /dev/null +++ b/src/fireedge/etc/sunstone/admin/user-tab.yaml @@ -0,0 +1,87 @@ +# -------------------------------------------------------------------------- # +# Copyright 2002-2021, OpenNebula Project, OpenNebula Systems # +# # +# Licensed under the Apache License, Version 2.0 (the "License"); you may # +# not use this file except in compliance with the License. You may obtain # +# a copy of the License at # +# # +# http://www.apache.org/licenses/LICENSE-2.0 # +# # +# Unless required by applicable law or agreed to in writing, software # +# distributed under the License is distributed on an "AS IS" BASIS, # +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # +# See the License for the specific language governing permissions and # +# limitations under the License. # +#--------------------------------------------------------------------------- # + +--- +# This file describes the information and actions available in the USER tab + +# Resource + +resource_name: "USER" + +# Actions - Which buttons are visible to operate over the resources + +actions: + refresh: true + create_dialog: true + chgrp: true + delete: true + enable: true + disable: true + +# Filters - List of criteria to filter the resources + +filters: + label: true + state: true + +# Info Tabs - Which info tabs are used to show extended information + +info-tabs: + + info: + enabled: true + information_panel: + enabled: true + actions: + rename: true + attributes_panel: + enabled: true + actions: + copy: true + add: true + edit: true + delete: true + + group: + enabled: true + actions: + chgrp: true + + quota: + enabled: true + actions: + quotas_dialog: true + + accounting: + enabled: true + actions: + get_accounting: true + + showback: + enabled: true + actions: + get_showback: true + + authentication: + enabled: true + actions: + change_authentication: true + update_password: true + login_token: true + two_factor_auth: true + public_ssh_key: true + private_ssh_key: true + private_ssh_key_passphrase: true diff --git a/src/fireedge/etc/sunstone/admin/vnet-tab.yaml b/src/fireedge/etc/sunstone/admin/vnet-tab.yaml new file mode 100644 index 0000000000..4809136521 --- /dev/null +++ b/src/fireedge/etc/sunstone/admin/vnet-tab.yaml @@ -0,0 +1,96 @@ +# -------------------------------------------------------------------------- # +# Copyright 2002-2021, OpenNebula Project, OpenNebula Systems # +# # +# Licensed under the Apache License, Version 2.0 (the "License"); you may # +# not use this file except in compliance with the License. You may obtain # +# a copy of the License at # +# # +# http://www.apache.org/licenses/LICENSE-2.0 # +# # +# Unless required by applicable law or agreed to in writing, software # +# distributed under the License is distributed on an "AS IS" BASIS, # +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # +# See the License for the specific language governing permissions and # +# limitations under the License. # +#--------------------------------------------------------------------------- # + +--- +# This file describes the information and actions available in the VIRTUAL NETWORK tab + +# Resource + +resource_name: "VIRTUAL-NETWORK" + +# Actions - Which buttons are visible to operate over the resources + +actions: + refresh: true + create_dialog: true + instantiate_dialog: true + import_dialog: true + update_dialog: true + reserve_dialog: true + change_cluster: true + chown: true + chgrp: true + delete: true + lock: true + unlock: true + +# Filters - List of criteria to filter the resources + +filters: + label: true + +# Info Tabs - Which info tabs are used to show extended information + +info-tabs: + info: + enabled: true + information_panel: + enabled: true + actions: + rename: true + permissions_panel: + enabled: true + actions: + chmod: true + ownership_panel: + enabled: true + actions: + chown: true + chgrp: true + qos_panel: + enabled: true + attributes_panel: + enabled: true + actions: + copy: true + add: true + edit: true + delete: true + + address: + enabled: true + actions: + add_ar: true + update_ar: true + delete_ar: true + + lease: + enabled: true + actions: + hold_lease: true + release_lease: true + + sec-group: + enabled: true + actions: + add_secgroup: true + remove_secgroup: true + + virtual-router: + enabled: true + + cluster: + enabled: true diff --git a/src/fireedge/etc/sunstone/admin/vnet-template-tab.yaml b/src/fireedge/etc/sunstone/admin/vnet-template-tab.yaml new file mode 100644 index 0000000000..014e77a8ba --- /dev/null +++ b/src/fireedge/etc/sunstone/admin/vnet-template-tab.yaml @@ -0,0 +1,90 @@ +# -------------------------------------------------------------------------- # +# Copyright 2002-2021, OpenNebula Project, OpenNebula Systems # +# # +# Licensed under the Apache License, Version 2.0 (the "License"); you may # +# not use this file except in compliance with the License. You may obtain # +# a copy of the License at # +# # +# http://www.apache.org/licenses/LICENSE-2.0 # +# # +# Unless required by applicable law or agreed to in writing, software # +# distributed under the License is distributed on an "AS IS" BASIS, # +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # +# See the License for the specific language governing permissions and # +# limitations under the License. # +#--------------------------------------------------------------------------- # + +--- +# This file describes the information and actions available in the V. NETWORK TEMPLATE tab + +# Resource + +resource_name: "NETWORK-TEMPLATE" + +# Actions - Which buttons are visible to operate over the resources + +actions: + refresh: true + create_dialog: true + instantiate_dialog: true + update_dialog: true + delete: true + chown: true + chgrp: true + lock: true + unlock: true + +# Filters - List of criteria to filter the resources + +filters: + label: true + +# Info Tabs - Which info tabs are used to show extended information + +info-tabs: + info: + enabled: true + information_panel: + enabled: true + actions: + rename: true + permissions_panel: + enabled: true + actions: + chmod: true + ownership_panel: + enabled: true + actions: + chown: true + chgrp: true + qos_panel: + enabled: true + attributes_panel: + enabled: true + actions: + copy: true + add: true + edit: true + delete: true + + address: + enabled: true + actions: + add_ar: true + update_ar: true + delete_ar: true + + lease: + enabled: true + actions: + hold_lease: true + release_lease: true + + sec-group: + enabled: true + + cluster: + enabled: true + + template: + enabled: true diff --git a/src/fireedge/etc/sunstone/admin/zone-tab.yaml b/src/fireedge/etc/sunstone/admin/zone-tab.yaml new file mode 100644 index 0000000000..09024ff959 --- /dev/null +++ b/src/fireedge/etc/sunstone/admin/zone-tab.yaml @@ -0,0 +1,54 @@ +# -------------------------------------------------------------------------- # +# Copyright 2002-2021, OpenNebula Project, OpenNebula Systems # +# # +# Licensed under the Apache License, Version 2.0 (the "License"); you may # +# not use this file except in compliance with the License. You may obtain # +# a copy of the License at # +# # +# http://www.apache.org/licenses/LICENSE-2.0 # +# # +# Unless required by applicable law or agreed to in writing, software # +# distributed under the License is distributed on an "AS IS" BASIS, # +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # +# See the License for the specific language governing permissions and # +# limitations under the License. # +#--------------------------------------------------------------------------- # + +--- +# This file describes the information and actions available in the USER tab + +# Resource + +resource_name: "USER" + +# Actions - Which buttons are visible to operate over the resources + +actions: + refresh: true + create_dialog: true + delete: true + +# Filters - List of criteria to filter the resources + +filters: + label: true + +# Info Tabs - Which info tabs are used to show extended information + +info-tabs: + + info: + enabled: true + information_panel: + enabled: true + actions: + rename: true + server_pool_panel: + enabled: true + attributes_panel: + enabled: true + actions: + copy: true + add: true + edit: true + delete: true