国会地平线插件
congress-dashboard的Python项目详细描述
国会地平线插件
Congress Dashboard是OpenStack Dashboard的扩展,它提供了一个UI 代表国会。使用Congress Dashboard,用户可以轻松地编写 云管理的策略和规则。
- 免费软件:apache许可证
- 来源:https://git.openstack.org/cgit/openstack/congress-dashboard
- 错误:https://bugs.launchpad.net/congress
- 文档:https://docs.openstack.org/congress-dashboard/latest/
- 发行说明:https://docs.openstack.org/releasenotes/congress-dashboard/
在devstack中启用
将此repo作为外部存储库添加到local.conf文件中:
[[local|localrc]] enable_plugin congress https://github.com/openstack/congress
手动安装
以下说明假设地平线已经安装,并且 它的安装文件夹是<;horizon>;。有关如何安装的详细信息 地平线可以在https://docs.openstack.org/horizon/latest/contributor/quickstart.html#setup找到。
Congress Dashboard的安装文件夹将称为<;Congress Dashboard>;。
克隆大会仪表板
$ git clone https://github.com/openstack/congress-dashboard.git $cd congress-dashboard
安装要求
$ sudo pip install .
安装源代码
$ sudo python setup.py install
并在Horizon中启用它
$ ln -s <congress-dashboard>/congress_dashboard/enabled/_50_policy.py <horizon>/openstack_dashboard/local/enabled $ ln -s <congress-dashboard>/congress_dashboard/enabled/_60_policies.py <horizon>/openstack_dashboard/local/enabled $ ln -s <congress-dashboard>/congress_dashboard/enabled/_70_datasources.py <horizon>/openstack_dashboard/local/enabled $ ln -s <congress-dashboard>/congress_dashboard/enabled/_75_monitoring.py <horizon>/openstack_dashboard/local/enabled $ ln -s <congress-dashboard>/congress_dashboard/enabled/_80_library.py <horizon>/openstack_dashboard/local/enabled
重新启动apache服务器
$ sudo service apache2 restart