Get the App
SLTechnology News&Howtos  ›  Servers  › 

What is the modification of the OpenStack function of cloud desktop in web version

Shulou Source: shulou.com Published: 2022-06-01 00:38:06 10月02日 Update

This article mainly shows you the "web version of cloud desktop OpenStack function modification is what", the content is easy to understand, clear, hope to help you solve doubts, the following let the editor lead you to study and learn "web version of cloud desktop OpenStack function modification is what" this article.

Release note: openstack Pike

Operating system: centos 7.3

I. functional requirements

(1) Cloud Desktop user Rights configuration

Establish cloud desktop users in Openstack and configure menu function permissions.

(2) Cloud desktop user instance management function

The configured cloud desktop user operates on the assigned instance.

(3) instance user management function

Add user management function under the project to add and delete users under the project instance.

II. Original function description

This function is not available.

Third, function realization

1. Horizon modifies and adds program files:

/ horizon/openstack_dashboard/api/nova.py

/ horizon/openstack_dashboard/api/keystone.py

/ horizon/openstack_dashboard/conf/keystone_policy.json

/ horizon/openstack_dashboard/ conf/nova_policy.json

/ horizon/openstack_dashboard/ conf/neutron_policy.json

/ horizon/openstack_dashboard/ conf/glance_policy.json

/ horizon/openstack_dashboard/dashboard/project/instances/views.py

/ horizon/openstack_dashboard/dashboard/project/instances/tables.py

/ horizon/openstack_dashboard/dashboard/project/instances/urls.py

/ horizon/openstack_dashboard/dashboards/project/groups/constants.py

/ horizon/openstack_dashboard/locale/zh_CN/LC_MESSAGES/django.mo

/ horizon/openstack_dashboard/locale/zh_CN/LC_MESSAGES/django.po

/ horizon/openstack_dashboard/dashboards/project/instances/templates/instances/manage_desktop.html

/ horizon/openstack_dashboard/dashboards/project/instances/templates/instances/_add_non_dekstop_member.html

/ horizon/openstack_dashboard/dashboards/project/instances/templates/instances/add_non_dekstop_member.html

/ horizon/openstack_dashboard/dashboards/project/instances/templates/instances/_add_non_member.html

/ horizon/openstack_dashboard/dashboards/project/instances/templates/instances/add_non_member.html

2. Novaclient modifies and adds program files:

/ python-novaclient/novaclient/v2/servers.py

/ python-novaclient/novaclient/v2/client.py

/ python-novaclient/novaclient/v2/instanceUsers.py

3. Nova modifies and adds program files:

/ nova/nova/db/sqlalchemy/api.py

/ nova/nova/api/openstack/compute/routes.py

/ nova/nova/db/sqlalchemy/models.py

/ nova/nova/api/openstack/compute/config_drive.py

/ nova/nova/api/openstack/compute/extended_availability_zone.py

/ nova/nova/api/openstack/compute/extended_server_attributes.py

/ nova/nova/api/openstack/compute/extended_status.py

/ nova/nova/api/openstack/compute/extended_volumes.py

/ nova/nova/api/openstack/compute/hide_server_addresses.py

/ nova/nova/api/openstack/compute/keypairs.py

/ nova/nova/api/openstack/compute/security_groups.py

/ nova/nova/api/openstack/compute/server_usage.py

/ nova/nova/api/openstack/compute/servers.py

/ nova/nova/api/openstack/compute/views/servers.py

/ nova/nova/policies/config_drive.py

/ nova/nova/policies/extended_availability_zone.py

/ nova/nova/policies/extended_server_attributes.py

/ nova/nova/policies/extended_status.py

/ nova/nova/policies/extended_volumes.py

/ nova/nova/policies/hide_server_addresses.py

/ nova/nova/policies/keypairs.py

/ nova/nova/policies/security_groups.py

/ nova/nova/policies/server_usage.py

/ nova/nova/policies/servers.py

/ nova/nova/api/openstack/compute/instanceUsers.py

/ nova/nova/db/sqlalchemy/api.py

/ nova/nova/api/openstack/compute/routes.py

/ nova/nova/db/api.py

/ nova/nova/db/sqlalchemy/models.py

/ nova/nova/exception.py

IV. Functional structure diagram

The above is all the content of the article "what is the modification of the OpenStack function of cloud desktop in web version". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Features desktops users instances content files programs articles management configuration permissions projects learning help operating system easy to understand more organization version knowledge Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info macOS OPPO Reno Docker MariaDB