Fix odl_version text with comments (Boron->boron). 21/25821/4
authorTomofumi Hayashi <tohayash@redhat.com>
Tue, 13 Dec 2016 05:00:35 +0000 (14:00 +0900)
committerTomofumi Hayashi <tohayash@redhat.com>
Fri, 16 Dec 2016 04:24:06 +0000 (04:24 +0000)
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>
config/deploy/deploy_settings.yaml
lib/overcloud-deploy-functions.sh

index ee1dc14..ea35ae7 100644 (file)
@@ -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.
index 169640f..216fa6c 100755 (executable)
@@ -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'