Implements ability to upload local image to glance.
Change-Id: Icb53633bb1d5e1dd827f24d81ce908ed497b44f3 Implements: blueprint image-upload
This commit is contained in:
parent
52d7f8d439
commit
4660699c2c
|
@ -55,6 +55,11 @@ HORIZON_CONFIG = {
|
||||||
'unauthorized': UNAUTHORIZED},
|
'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 = [
|
AVAILABLE_REGIONS = [
|
||||||
('http://localhost:5000/v2.0', 'local'),
|
('http://localhost:5000/v2.0', 'local'),
|
||||||
('http://remote:5000/v2.0', 'remote'),
|
('http://remote:5000/v2.0', 'remote'),
|
||||||
|
|
Loading…
Reference in New Issue