Horizon通用密钥管理器UI插件
castellan-ui的Python项目详细描述
Horizon的通用密钥管理器用户界面插件
- 免费软件:apache许可证
- 来源:http://git.openstack.org/cgit/openstack/castellan-ui
- 错误:http://bugs.launchpad.net/castellan-ui
功能
- 待办事项
在devstack中启用
将此repo作为外部存储库添加到local.conf文件中:
[[local|localrc]] enable_plugin castellan-ui https://github.com/openstack/castellan-ui
手动安装
首先克隆Horizon和Castellan UI存储库:
git clone https://github.com/openstack/horizon git clone https://github.com/openstack/castellan-ui
创建虚拟环境并安装Horizon依赖项:
cd horizon python tools/install_venv.py
设置local_settings.py文件:
cp openstack_dashboard/local/local_settings.py.example openstack_dashboard/local/local_settings.py
在首选文本中打开复制的local_settings.py文件 编辑。您需要自定义多个设置:
- OPENSTACK_HOST应该配置为 OpenStack服务器。验证OPENSTACK_KEYSTONE_URL和 OPENSTACK_KEYSTONE_DEFAULT_ROLE设置对您的 环境。(它们应该是正确的,除非您修改了 openstack服务器来更改它们。)
安装Castellan UI,使其在虚拟环境中具有所有依赖项:
tools/with_venv.sh pip install -e ../castellan-ui/
在地平线上启用它:
ln -s ../castellan-ui/castellan_ui/enabled/_90_project_key_manager_panelgroup.py openstack_dashboard/local/enabled ln -s ../castellan-ui/castellan_ui/enabled/_91_project_key_manager_x509_certificates_panel.py openstack_dashboard/local/enabled ln -s ../castellan-ui/castellan_ui/enabled/_92_project_key_manager_private_key_panel.py openstack_dashboard/local/enabled ln -s ../castellan-ui/castellan_ui/enabled/_93_project_key_manager_public_key_panel.py openstack_dashboard/local/enabled ln -s ../castellan-ui/castellan_ui/enabled/_94_project_key_manager_symmetric_key_panel.py openstack_dashboard/local/enabled ln -s ../castellan-ui/castellan_ui/enabled/_95_project_key_manager_opaque_data_panel.py openstack_dashboard/local/enabled ln -s ../castellan-ui/castellan_ui/enabled/_96_project_key_manager_passphrase_panel.py openstack_dashboard/local/enabled
要使用新启用的Castellan UI插件运行Horizon,请运行:
./run_tests.sh --runserver 0.0.0.0:8080
要在8080端口启动应用程序,Horizon仪表板将 可在您的浏览器http://localhost:8080/