这篇文章主要为大家展示了“web版云桌面OpenStack功能修改是什么”,内容简而易懂,条理清晰,希望能够帮助大家解决疑惑,下面让小编带领大家一起研究并学习一下“web版云桌面OpenStack功能修改是什么”这篇文章吧。
版本说明:openstack Pike
操作系统:centos 7.3
一、功能需求
(1)云桌面用户权限配置
在Openstack中建立云桌面用户,并配置菜单功能权限。
(2)云桌面用户实例管理功能
配置好的云桌面用户实现对被分配的实例进行操作。
(3)实例用户管理功能
项目下增加用户管理功能,实现在项目实例下增加删除用户。
二、原功能说明
不具备该项功能。
三、功能实现
1、horizon修改增加程序文件:
/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修改增加程序文件:
/python-novaclient/novaclient/v2/servers.py
/python-novaclient/novaclient/v2/client.py
/python-novaclient/novaclient/v2/instanceUsers.py
3、nova修改增加程序文件:
/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
四、功能结构图
以上是“web版云桌面OpenStack功能修改是什么”这篇文章的所有内容,感谢各位的阅读!相信大家都有了一定的了解,希望分享的内容对大家有所帮助,如果还想学习更多知识,欢迎关注亿速云行业资讯频道!
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。