Implements ability to upload local image to glance.

Change-Id: Icb53633bb1d5e1dd827f24d81ce908ed497b44f3
Implements: blueprint image-upload
This commit is contained in:
Cody A.W. Somerville 2013-01-29 04:35:18 -05:00
parent 52d7f8d439
commit 4660699c2c
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'),