跳转到主要内容

Congress插件

项目描述

Congress插件

Congress Dashboard是OpenStack Dashboard的扩展,它为Congress提供了用户界面。使用congress-dashboard,用户可以轻松编写云治理的策略和规则。

在DevStack中启用

将此仓库添加到您的local.conf文件中的外部仓库

[[local|localrc]]
enable_plugin congress https://github.com/openstack/congress

手动安装

以下说明假设Horizon已经安装,其安装文件夹为<horizon>。有关如何安装Horizon的详细说明,请参阅https://docs.openstack.org/horizon/latest/contributor/quickstart.html#setup

Congress Dashboard的安装文件夹将称为<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

项目详情


下载文件

下载适用于您平台的文件。如果您不确定选择哪个,请了解更多关于安装包的信息。

源分布

congress-dashboard-6.0.0.tar.gz (49.3 kB 查看哈希值)

上传时间

构建分布

congress_dashboard-6.0.0-py3-none-any.whl (64.2 kB 查看哈希值)

上传时间 Python 3

由以下支持