openstack 0885397d10 Add source code to Tricircle
Initial PoC source code for Tricircle, the project for OpenStack cascading solution.

Change-Id: I8abc93839a26446cb61c8d9004dfd812bd91de6e
2014-09-25 15:56:40 +08:00

936 B

Glance-Cascading Patch

Introduction

*For glance cascading, we have to create the relationship bewteen one cascading-glance and some cascaded-glances. In order to achieve this goal, we using glance's multi-location feature, the relationshiop can be as a location with the special format. Besides, we modify the image status changing-rule: The image's active toggle into 'active' only if the cascaded have been synced. Because of these two reasons, a few existing source files were modified for adapting the cascading:

glance/store/http.py glance/store/init.py glance/api/v2/image.py glance/gateway.py glance/common/utils.py glance/common/config.py glance/common/exception.py

Install

*To implement this patch just replacing the original files to these files, or run the install.sh in glancesync/installation/ directory.