modfiied to support openbaton during the dpeloyment. 79/33079/1
authorNarinder Gupta <narinder.gupta@canonical.com>
Thu, 6 Apr 2017 15:17:05 +0000 (10:17 -0500)
committerNarinder Gupta <narinder.gupta@canonical.com>
Thu, 6 Apr 2017 15:18:11 +0000 (10:18 -0500)
Change-Id: Ie1c2a6f39927f10f9990c8665a5d886cd163c35b
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
ci/config_tpl/juju2/bundle_tpl/bundle.yaml
ci/config_tpl/juju2/bundle_tpl/openbaton.yaml
ci/nosdn/fetch-charms.sh
ci/odl/fetch-charms.sh
ci/onos/fetch-charms.sh
ci/opencontrail/fetch-charms.sh

index 9a46126..5f3b5e8 100644 (file)
 {% else %}
 {% include 'ceph.yaml' %}
 {% endif %}
+{% if opnfv.storage_dict.ceph is defined %}
 {% include 'cinder.yaml' %}
 {% include 'glance.yaml' %}
-{% if opnfv.storage_dict.ceph is defined %}
+{% endif %}
 {% if os.service.promise %}
 {% include 'opnfv-promise.yaml' %}
 {% endif %}
 {% if os.service.congress %}
 {% include 'congress.yaml' %}
 {% endif %}
-{% endif %}
 {% if os.service.openbaton %}
 {% include 'openbaton.yaml' %}
 {% endif %}
@@ -83,3 +83,6 @@
 {% include 'harelations.yaml' %}
 {% endif %}
 {% include 'relations.yaml' %}
+{% if os.mano.mode == 'ha' %}
+{% include 'harelations.yaml' %}
+{% endif %}
index 7731838..053da7c 100644 (file)
@@ -1,5 +1,5 @@
     openbaton:
-      charm: "./trusty/openbaton"
+      charm: ./{{ ubuntu.release }}/openbaton
       num_units: 1
 {% if os.service.bindings %}
       bindings:
index b97d160..9174ed0 100755 (executable)
@@ -33,12 +33,12 @@ git clone -b stable/17.02 https://github.com/openstack/charm-nova-compute.git $d
 git clone -b stable/17.02 https://github.com/openstack/charm-openstack-dashboard.git $distro/openstack-dashboard
 git clone -b stable/17.02 https://github.com/openstack/charm-rabbitmq-server.git $distro/rabbitmq-server
 git clone -b stable/17.02 https://github.com/openstack/charm-heat.git $distro/heat
-git clone https://github.com/openstack/charm-lxd.git xenial/lxd
-#git clone https://github.com/openstack/openbaton.git xenial/openbaton
+git clone https://github.com/openstack/charm-lxd.git $distro/lxd
+git clone https://github.com/openbaton/juju-charm.git $distro/openbaton
 
 charm pull cs:$distro/aodh $distro/aodh
 charm pull cs:~free.ekanayaka/xenial/haproxy-1 $distro/haproxy
-charm pull cs:~narindergupta/congress-0 $distro/congress
+charm pull cs:~narindergupta/congress-1 $distro/congress
 
 #pulling scaleio charms.
 charm pull cs:~cloudscaling/scaleio-mdm $distro/scaleio-mdm
index 4b028dd..bda0f16 100755 (executable)
@@ -33,7 +33,8 @@ git clone -b stable/17.02 https://github.com/openstack/charm-nova-compute.git $d
 git clone -b stable/17.02 https://github.com/openstack/charm-openstack-dashboard.git $distro/openstack-dashboard
 git clone -b stable/17.02 https://github.com/openstack/charm-rabbitmq-server.git $distro/rabbitmq-server
 git clone -b stable/17.02 https://github.com/openstack/charm-heat.git $distro/heat
-git clone https://github.com/openstack/charm-lxd.git xenial/lxd
+git clone https://github.com/openstack/charm-lxd.git $distro/lxd
+git clone https://github.com/openbaton/juju-charm.git $distro/openbaton
 
 charm pull cs:$distro/aodh $distro/aodh
 
@@ -72,4 +73,4 @@ charm pull cs:$distro/odl-controller $distro/odl-controller
 charm pull cs:~narindergupta/neutron-api-odl-11 $distro/neutron-api-odl
 charm pull cs:~narindergupta/openvswitch-odl-3 $distro/openvswitch-odl
 charm pull cs:~narindergupta/neutron-gateway-6 $distro/neutron-gateway
-charm pull cs:~narindergupta/congress-0 $distro/congress
+charm pull cs:~narindergupta/congress-1 $distro/congress
index b9d4ff9..ea6b3e6 100755 (executable)
@@ -33,9 +33,10 @@ git clone -b stable/17.02 https://github.com/openstack/charm-openstack-dashboard
 git clone -b stable/17.02 https://github.com/openstack/charm-rabbitmq-server.git $distro/rabbitmq-server
 git clone -b stable/17.02 https://github.com/openstack/charm-heat.git $distro/heat
 git clone https://github.com/openstack/charm-lxd.git $distro/lxd
+git clone https://github.com/openbaton/juju-charm.git $distro/openbaton
 
 charm pull cs:$distro/aodh $distro/aodh
-charm pull cs:~narindergupta/congress-0 $distro/congress
+charm pull cs:~narindergupta/congress-1 $distro/congress
 
 #pulling scaleio charms.
 charm pull cs:~cloudscaling/scaleio-mdm $distro/scaleio-mdm
index 3fc745e..1ee385f 100755 (executable)
@@ -16,7 +16,7 @@ charm pull cs:trusty/mongodb $distro/mongodb
 charm pull cs:$distro/haproxy $distro/haproxy
 charm pull cs:$distro/ntp $distro/ntp
 charm pull cs:$distro/aodh $distro/aodh
-charm pull cs:~narindergupta/congress-0 $distro/congress
+charm pull cs:~narindergupta/congress-1 $distro/congress
 
 git clone -b stable/17.02 https://github.com/openstack/charm-hacluster.git $distro/hacluster
 #bzr branch lp:~sdn-charmers/charms/$distro/ceilometer/ceilometer-plugin $distro/ceilometer
@@ -38,6 +38,7 @@ git clone -b stable/17.02 https://github.com/openstack/charm-openstack-dashboard
 git clone -b stable/17.02 https://github.com/openstack/charm-rabbitmq-server.git $distro/rabbitmq-server
 git clone -b stable/17.02 https://github.com/openstack/charm-heat.git $distro/heat
 git clone -b stable/17.02 https://github.com/openstack/charm-neutron-api.git $distro/neutron-api
+git clone https://github.com/openbaton/juju-charm.git $distro/openbaton
 
 #pulling scaleio charms.
 charm pull cs:~cloudscaling/scaleio-mdm $distro/scaleio-mdm