summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomofumi Hayashi <tohayash@redhat.com>2016-12-13 14:00:35 +0900
committerTomofumi Hayashi <tohayash@redhat.com>2016-12-16 04:24:06 +0000
commit17e4f25b3e385fbcd55e5c4c34849b06071a2c27 (patch)
treeac7c5265d52889c5b9b21f2bd97171218227d17e
parentead4552c3344308b9620911c76a917de868ed2cb (diff)
Fix odl_version text with comments (Boron->boron).
At present, odl_version is case-sensitive hence opnfv-deploy fail with 'odl_version: Boron'. So the change fix it. Change-Id: Ifd611c56b9802b4c5033728e70cce03eb55985cf Signed-off-by: Tomofumi Hayashi <tohayash@redhat.com>
-rw-r--r--config/deploy/deploy_settings.yaml6
-rwxr-xr-xlib/overcloud-deploy-functions.sh2
2 files changed, 5 insertions, 3 deletions
diff --git a/config/deploy/deploy_settings.yaml b/config/deploy/deploy_settings.yaml
index ee1dc146..ea35ae70 100644
--- a/config/deploy/deploy_settings.yaml
+++ b/config/deploy/deploy_settings.yaml
@@ -14,9 +14,9 @@ deploy_options:
sdn_controller: opendaylight
# Which version of ODL to use. This is only valid if 'opendaylight' was used
- # above. If 'Boron' is specified, ODL Boron will be used. If no value is specified,
- # Lithium will be used.
- #odl_version: Boron
+ # above. Valid options are 'beryllium', 'boron' and 'carbon'. If no value
+ # is specified, Beryllium will be used.
+ #odl_version: boron
# Whether to configure ODL L3 support. This will disable the Neutron L3 Agent and
# use ODL instead.
diff --git a/lib/overcloud-deploy-functions.sh b/lib/overcloud-deploy-functions.sh
index 169640fe..216fa6c6 100755
--- a/lib/overcloud-deploy-functions.sh
+++ b/lib/overcloud-deploy-functions.sh
@@ -130,6 +130,8 @@ EOI
# Set ODL version accordingly
if [[ "${deploy_options_array['sdn_controller']}" == 'opendaylight' && -n "${deploy_options_array['odl_version']}" ]]; then
case "${deploy_options_array['odl_version']}" in
+ beryllium) odl_version=''
+ ;;
boron) odl_version='boron'
;;
cabron) odl_version='master'