summaryrefslogtreecommitdiff
path: root/vagrant.yaml
diff options
context:
space:
mode:
authorMichael Krotscheck <krotscheck@gmail.com>2015-05-06 12:05:24 -0700
committerJim Rollenhagen <jim@jimrollenhagen.com>2015-09-01 19:45:01 +0000
commit05f4a64aeda5f8a75f204754ba6dea7f83d59cf9 (patch)
tree4f90be7730ebb2eec4e5e55101a7525080177e59 /vagrant.yaml
parentec461e7e38cdfe9b59e5b374abf44902784fd9a0 (diff)
downloadironic-05f4a64aeda5f8a75f204754ba6dea7f83d59cf9.tar.gz
Added CORS support middleware to Ironic
This adds the CORS support middleware to Ironic, allowing a deployer to optionally configure rules under which a javascript client may break the single-origin policy and access the API directly. OpenStack Spec: https://review.openstack.org/#/c/179866/ Oslo_Middleware Docs: http://docs.openstack.org/developer/oslo.middleware/cors.html OpenStack Cloud Admin Guide Documentation: http://docs.openstack.org/admin-guide-cloud/cross_project_cors.html Co-Authored-By: Devananda van der Veen <devananda.vdv@gmail.com> Depends-on: I2deed897f8f9ef87e4a74227c4fcea9afdb151e8 Change-Id: Ic55305607e44069d893baf2a261d5fe7da777303
Diffstat (limited to 'vagrant.yaml')
-rw-r--r--vagrant.yaml13
1 files changed, 12 insertions, 1 deletions
diff --git a/vagrant.yaml b/vagrant.yaml
index 0d227a4fe..055a4a9dc 100644
--- a/vagrant.yaml
+++ b/vagrant.yaml
@@ -125,6 +125,14 @@
option: 'pecan_debug', value: 'true'
}
- {
+ section: 'DEFAULT',
+ option: 'verbose', value: 'true'
+ }
+ - {
+ section: 'DEFAULT',
+ option: 'debug', value: 'true'
+ }
+ - {
section: 'oslo_messaging_rabbit',
option: 'rabbit_host', value: "{{ip}}"
}
@@ -136,7 +144,10 @@
section: 'oslo_messaging_rabbit',
option: 'rabbit_password', value: "ironic"
}
-
+ - { # CORS Domain For Ironic-Webclient's dev server.
+ section: 'cors',
+ option: 'allowed_origin', value: "http://localhost:8000"
+ }
#############################################################################
# Handlers