冷冻柜-备份为服务用户界面

freezer-web-ui的Python项目详细描述


团队和存储库标记

https://governance.openstack.org/tc/badges/freezer-web-ui.svg

冷冻柜-地平线仪表板

freezer web ui是一个基于django的horizon插件,旨在提供交互 带冰箱

要求

冰柜仪表板要求冰柜API客户端安装在与Horizon相同的环境中:

git clone https://github.com/openstack/python-freezerclient
cd python-freezerclient
python setup.py install (is important that freezer API client is installed from source and not with pip and
                         is installed on horizon virtual environment)

冷冻柜仪表板需要冷冻柜API终结点,您可以按照以下步骤进行安装:

https://github.com/openstack/freezer-api/blob/master/README.rst

API注册

注册冷冻柜API终结点:

https://github.com/openstack/freezer-api/blob/master/README.rst#api-registration

如果keystone service create和endpoint create不可用,您可以将以下设置设置为回退:

# vim /opt/stack/horizon/openstack_dashboard/local/local_settings.py

# add FREEZER_API_URL = http://<api_url>:<port>

dev安装

在安装过程中,我们假设您的主Horizon仪表板 目录是/opt/stack/horizon/openstack_dashboard/dashboards/。

要安装用于开发的冷冻柜仪表板,您需要执行以下操作:

# git clone https://github.com/openstack/freezer-web-ui

# cd freezer-web-ui

# cp freezer-web-ui/disaster_recovery/enabled/_5050_freezer.py  /opt/stack/horizon/openstack_dashboard/enabled/_5050_freezer.py

# to disable the panel just copy the following file

# cp freezer-web-ui/disaster_recovery/enabled/_7050_freezer_remove_panel_.py  /opt/stack/horizon/openstack_dashboard/enabled/_7050_freezer_remove_panel_.py

# cd /opt/stack/horizon/

# pip install -r requirements.txt

# make sure freezer is installed from source as detailed in the first step

# ./run_tests.sh --runserver 0.0.0.0:8000

生产安装

要在生产中部署冷冻柜仪表板,您需要执行以下操作:

# git clone https://github.com/openstack/freezer-web-ui

# cd freezer-web-ui

# cp freezer-web-ui/disaster_recovery/enabled/_5050_freezer.py  /opt/stack/horizon/openstack_dashboard/enabled/_5050_freezer.py

# to disable the panel just copy the following file

# cp freezer-web-ui/disaster_recovery/enabled/_7050_freezer_remove_panel_.py  /opt/stack/horizon/openstack_dashboard/enabled/_7050_freezer_remove_panel_.py

# make sure freezer is installed from source as detailed in the first step

# restart apache2 service

一个名为“灾难恢复”的新选项卡将出现在您的面板上。

毒性

  1. 运行tox:

    tox -v
    

代理开发 如果您正在开发或部署在代理之下,请记住为
freezer-api endpoint
keystone endpoint

源代码

项目源代码存储库位于: https://git.openstack.org/cgit/openstack/freezer-web-ui

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
安卓 studio安装的java Unity本机广告   java如何将映射转换为对象   java我试图使用rest控制器从h2数据库中检索记录,但它说没有数据集   反思为什么会抛出java。lang.InstanceException?   在opensuse中找不到Java/javac   java为Android上的谷歌地图添加了5900多个标记。如何有效地做   java如何在if语句中使用循环   java如何在JPA(Hibernate)中映射一对多关系和复合主键?   如何在Java中读取和写入外部进程?   Java线程。睡眠时间最短   java使用EclipseGradle插件如何离线托管和使用依赖项(库jar文件)   java为什么虚拟引用在排队时没有被清除?   java无法理解如何创建用于响铃报警的取消按钮   java解析不应通过注入容器错误发生   java Toast或ProgressDialog不显示   java在自定义对象上使用优先级队列的更好方法   java格式的。wmv文件。(或者任何视频文件都很好)   从页面调用另一个侦听器后,不会调用java JSF<f:ajax>侦听器   java注释ConfigApplicationContext不能多次刷新有什么原因吗?