Merge "Implements ability to upload local image to glance."

This commit is contained in:
Jenkins 2013-02-18 10:53:53 +00:00 committed by Gerrit Code Review
commit cf0f7a0003
1 changed files with 5 additions and 0 deletions

View File

@ -55,6 +55,11 @@ HORIZON_CONFIG = {
'unauthorized': UNAUTHORIZED},
}
# Set to True to allow users to upload images to glance via Horizon server.
# When enabled, a file form field will appear on the create image form.
# See documentation for deployment considerations.
HORIZON_IMAGES_ALLOW_UPLOAD = True
AVAILABLE_REGIONS = [
('http://localhost:5000/v2.0', 'local'),
('http://remote:5000/v2.0', 'remote'),