tricircle/juno-patches/glance/glance_location_patch
joey5678 b7e6e4dccf Modify Readme and install files
For Juno, the whole cascading readme file and the configuration
and install scripts  need to be changed.

Change-Id: I54ef9a35dcff5cce41ecbf90a6a28e32dc7d833f
2014-11-26 15:57:50 +08:00
..
glance Transplant tricircle to juno version 2014-11-22 21:57:08 +08:00
glance-egg-info Add/Modify some files 2014-11-25 16:00:50 +08:00
installation Modify Readme and install files 2014-11-26 15:57:50 +08:00
README.md Transplant tricircle to juno version 2014-11-22 21:57:08 +08:00

README.md

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/api/v2/image.py glance/gateway.py glance/common/utils.py glance/common/config.py glance/common/exception.py

**Because in Juno, the code of glance store part is move out of the glance as an independent python project, the modification in Icehouse about the glance store is moved to the glance_store in Juno. **

Install

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