modified to remove gateway as not needed with OCL 19/38119/2
authorNarinder Gupta <narinder.gupta@canonical.com>
Wed, 26 Jul 2017 05:01:35 +0000 (00:01 -0500)
committerNarinder Gupta <narinder.gupta@canonical.com>
Wed, 26 Jul 2017 05:06:19 +0000 (00:06 -0500)
Change-Id: If08c12d9ffd2a8567fccd77473ead1483bd7dff0
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
ci/config_tpl/juju2/bundle_tpl/bundle.yaml
ci/config_tpl/juju2/bundle_tpl/oclphase1.yaml
ci/config_tpl/juju2/bundle_tpl/relations.yaml

index bfc297d..575aa8f 100644 (file)
@@ -56,7 +56,9 @@
 {% include 'rabbitmq.yaml' %}
 {% include 'heat.yaml' %}
 {% include 'neutron-api.yaml' %}
+{% if os.network.controller != 'ocl' %}
 {% include 'neutron-gateway.yaml' %}
+{% endif %}
 {% include 'aodh.yaml' %}
 {% if os.network.controller == 'odl' %}
 {% include 'odl.yaml' %}
index ee743e9..59d2c7d 100644 (file)
     contrail-keystone-auth:
       charm: ./{{ ubuntu.release }}/contrail-keystone-auth
       num_units: 1
+      bindings:
+        "": internal-api
       to:
         - "lxd:nodes/0"
 
index 7d7f41b..4a2fa78 100644 (file)
@@ -1,19 +1,21 @@
     - [ 'nova-compute:amqp', 'rabbitmq-server:amqp' ]
+{% if os.network.controller != 'ocl' %}
     - [ 'neutron-gateway:amqp', 'rabbitmq-server:amqp' ]
+    - [ 'neutron-gateway:neutron-plugin-api', 'neutron-api:neutron-plugin-api' ]
+    - [ 'nova-cloud-controller:quantum-network-service', 'neutron-gateway:quantum-network-service' ]
+{% endif %}
     - [ 'keystone:shared-db', 'mysql:shared-db' ]
     - [ 'nova-cloud-controller:identity-service', 'keystone:identity-service' ]
     - [ 'glance:identity-service', 'keystone:identity-service' ]
     - [ 'neutron-api:identity-service', 'keystone:identity-service' ]
     - [ 'neutron-api:shared-db', 'mysql:shared-db' ]
     - [ 'neutron-api:amqp', 'rabbitmq-server:amqp' ]
-    - [ 'neutron-gateway:neutron-plugin-api', 'neutron-api:neutron-plugin-api' ]
     - [ 'glance:shared-db', 'mysql:shared-db' ]
     - [ 'glance:amqp', 'rabbitmq-server:amqp' ]
     - [ 'nova-cloud-controller:image-service', 'glance:image-service' ]
     - [ 'nova-compute:image-service', 'glance:image-service' ]
     - [ 'nova-cloud-controller:cloud-compute', 'nova-compute:cloud-compute' ]
     - [ 'nova-cloud-controller:amqp', 'rabbitmq-server:amqp' ]
-    - [ 'nova-cloud-controller:quantum-network-service', 'neutron-gateway:quantum-network-service' ]
     - [ 'openstack-dashboard:identity-service', 'keystone:identity-service' ]
     - [ 'nova-cloud-controller:shared-db', 'mysql:shared-db' ]
     - [ 'nova-cloud-controller:neutron-api', 'neutron-api:neutron-api' ]