Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

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

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

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!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report