imodified to user port 5000 to do the juju on openstack for openrc. 31/27831/2
authorNarinder Gupta <narinder.gupta@canonical.com>
Wed, 1 Feb 2017 05:58:35 +0000 (23:58 -0600)
committerNarinder Gupta <narinder.gupta@canonical.com>
Wed, 1 Feb 2017 06:00:53 +0000 (00:00 -0600)
Change-Id: If396896c5675d10bf91aa48b8e5c459d14b6efba
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 [new file with mode: 0644]
ci/default_deployment_config.yaml
ci/nosdn/fetch-charms.sh
ci/openstack.sh

index b0a0e86..9a46126 100644 (file)
@@ -46,6 +46,9 @@
 {% include 'congress.yaml' %}
 {% endif %}
 {% endif %}
+{% if os.service.openbaton %}
+{% include 'openbaton.yaml' %}
+{% endif %}
 {% include 'keystone.yaml' %}
 {% include 'nova-cloud-controller.yaml' %}
 {% include 'nova-compute.yaml' %}
diff --git a/ci/config_tpl/juju2/bundle_tpl/openbaton.yaml b/ci/config_tpl/juju2/bundle_tpl/openbaton.yaml
new file mode 100644 (file)
index 0000000..fc64eb8
--- /dev/null
@@ -0,0 +1,6 @@
+    openbaton:
+      charm: "./{{ ubuntu.release }}/openbaton"
+      num_units: 1
+      to:
+        - "lxd:nodes/0"
+{# Empty block to avoid bad block trim #}
index b6bb618..977f23e 100644 (file)
@@ -31,6 +31,7 @@ os:
         congress: True
         promise: True
         bindings: True
+        openbaton: False
 k8:
     feature:
         loadbalancer: False
index f40291a..76de80c 100755 (executable)
@@ -37,6 +37,7 @@ git clone   https://github.com/openstack/charm-openstack-dashboard.git $distro/o
 git clone   https://github.com/openstack/charm-rabbitmq-server.git $distro/rabbitmq-server
 git clone   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
 
 charm pull cs:$distro/aodh $distro/aodh
 charm pull cs:~free.ekanayaka/xenial/haproxy-1 $distro/haproxy
index 513bf99..f751831 100755 (executable)
@@ -92,7 +92,7 @@ create_openrc() {
         adminPasswd=$(juju config keystone | grep admin-password -A 5 | grep value | awk '{print $2}' 2> /dev/null)
     fi
 
-    configOpenrc admin $adminPasswd admin http://$keystoneIp:35357/v2.0 RegionOne > ~/joid_config/admin-openrc
+    configOpenrc admin $adminPasswd admin http://$keystoneIp:5000/v2.0 RegionOne > ~/joid_config/admin-openrc
     chmod 0600 ~/joid_config/admin-openrc
 }