Magnum用户界面
magnum-ui-horizon的Python项目详细描述
Magnum仪表板
- 免费软件:apache许可证
- 来源:http://git.openstack.org/cgit/openstack/magnum-ui
- 错误:http://bugs.launchpad.net/magnum-ui
在devstack中启用
将此repo作为外部存储库添加到local.conf文件中:
[[local|localrc]] enable_plugin magnum-ui https://github.com/openstack/magnum-ui
手动安装
首先克隆Horizon和Magnum UI存储库:
git clone https://github.com/openstack/horizon git clone https://github.com/openstack/magnum-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服务器来更改它们。)
在虚拟环境中安装具有所有依赖项的magnum ui:
tools/with_venv.sh pip install -e ../magnum-ui/
在地平线上启用它:
cp ../magnum-ui/magnum_ui/enabled/_1370_project_container-infra_panelgroup.py openstack_dashboard/local/enabled cp ../magnum-ui/magnum_ui/enabled/_1371_project_container-infra_bays_panel.py openstack_dashboard/local/enabled cp ../magnum-ui/magnum_ui/enabled/_1372_project_container-infra_baymodels_panel.py openstack_dashboard/local/enabled
要使用新启用的magnum ui插件运行horizon,请运行:
./run_tests.sh --runserver 0.0.0.0:8080
要在8080端口启动应用程序,Horizon仪表板将 可在您的浏览器http://localhost:8080/