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

How to realize Cloud Desktop Management function in horizon

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

Share

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

It is believed that many inexperienced people don't know what to do about how to implement cloud desktop management in horizon. Therefore, this article summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.

1. Admin users log in to dashboard

Enter the identity management function area of the left column

1. Create a new role desktop

2. Create a new user clouddesktop

3. Assign the user clouddesktop to the project demo, and specify the user's role as desktop.

Figure 1

2. Log in to dashboard using tenant demo

1, such as figure 2 instance page datagrid added drop-down function "manage desktop users", select an instance, click "manage desktop users", pop-up page as shown in figure 2.

Figure 2

2. The list of users with desktop roles under the project where the instance resides on the left side of the page, and the list of assigned users on the right side of the page. (page reference project management member function, you need to add a page and a database table. When the instance is deleted, you need to delete the specific data in the new table.)

Figure 3

3. Clouddesktop Cloud Desktop users log in

1. Modify the keystone_policy.json file, set the exclusive permissions for the desktop role, and modify the code for configuring the permissions of the python class of the left navigation bar, right datagrid, and buttons (/ horizon/openstack_dashboard/dashboard/project/instances/tabs.py, / horizon/openstack_dashboard/dashboard/project/instances/tables.py).

2. After logging in, clouddesktop users only display the instances assigned to them, as shown in figure 4 (modify the background logic of the instance display page), and can only start, shut down, and restart instances.

Figure 4

After reading the above, have you mastered how to implement cloud desktop management in horizon? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!

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