modified to use gnocchi charm
[joid.git] / ci / config_tpl / juju2 / bundle_tpl / relations.yaml
1     - [ 'nova-compute:amqp', 'rabbitmq-server:amqp' ]
2 {% if os.network.controller != 'ocl' %}
3     - [ 'neutron-gateway:amqp', 'rabbitmq-server:amqp' ]
4     - [ 'neutron-gateway:neutron-plugin-api', 'neutron-api:neutron-plugin-api' ]
5     - [ 'nova-cloud-controller:quantum-network-service', 'neutron-gateway:quantum-network-service' ]
6     - [ 'ceilometer:amqp', 'rabbitmq-server:amqp' ]
7     - [ 'ceilometer-agent:ceilometer-service', 'ceilometer:ceilometer-service' ]
8     - [ 'ceilometer:identity-notifications', 'keystone:identity-notifications' ]
9     - [ 'ceilometer-agent:nova-ceilometer', 'nova-compute:nova-ceilometer' ]
10     - [ 'gnocchi:storage-ceph', 'ceph-mon:client' ]
11     - [ 'gnocchi:shared-db', 'mysql:shared-db' ]
12     - [ 'gnocchi:amqp', 'rabbitmq-server:amqp' ]
13     - [ 'gnocchi:coordinator-memcached', 'memcached:cache' ]
14     - [ 'gnocchi:metric-service', 'ceilometer:metric-service' ]
15     - [ 'gnocchi:identity-service', 'keystone:identity-service' ]
16     - [ 'ceilometer:identity-credentials', 'keystone:identity-credentials' ]
17 {% endif %}
18     - [ 'heat:shared-db', 'mysql:shared-db' ]
19     - [ 'heat:identity-service', 'keystone:identity-service' ]
20     - [ 'heat:amqp', 'rabbitmq-server:amqp' ]
21     - [ 'keystone:shared-db', 'mysql:shared-db' ]
22     - [ 'nova-cloud-controller:identity-service', 'keystone:identity-service' ]
23     - [ 'glance:identity-service', 'keystone:identity-service' ]
24     - [ 'neutron-api:identity-service', 'keystone:identity-service' ]
25     - [ 'neutron-api:shared-db', 'mysql:shared-db' ]
26     - [ 'neutron-api:amqp', 'rabbitmq-server:amqp' ]
27     - [ 'glance:shared-db', 'mysql:shared-db' ]
28     - [ 'glance:amqp', 'rabbitmq-server:amqp' ]
29     - [ 'nova-cloud-controller:image-service', 'glance:image-service' ]
30     - [ 'nova-compute:image-service', 'glance:image-service' ]
31     - [ 'nova-cloud-controller:cloud-compute', 'nova-compute:cloud-compute' ]
32     - [ 'nova-cloud-controller:amqp', 'rabbitmq-server:amqp' ]
33     - [ 'openstack-dashboard:identity-service', 'keystone:identity-service' ]
34     - [ 'nova-cloud-controller:shared-db', 'mysql:shared-db' ]
35     - [ 'nova-cloud-controller:neutron-api', 'neutron-api:neutron-api' ]
36     - [ 'cinder:image-service', 'glance:image-service' ]
37     - [ 'cinder:amqp', 'rabbitmq-server:amqp' ]
38     - [ 'cinder:identity-service', 'keystone:identity-service' ]
39     - [ 'cinder:cinder-volume-service', 'nova-cloud-controller:cinder-volume-service' ]
40     - [ 'cinder:shared-db', 'mysql:shared-db' ]
41 {% if opnfv.storage_dict.scaleio is defined %}
42     - [ 'cinder:storage-backend', 'scaleio-openstack:storage-backend' ]
43     - [ 'scaleio-mdm:scaleio-sds', 'scaleio-sds:scaleio-sds' ]
44 #    - [ 'scaleio-mdm:scaleio-sds', 'scaleio-sds-pd2:scaleio-sds' ]
45     - [ 'scaleio-mdm:scaleio-mdm', 'scaleio-sdc:scaleio-mdm' ]
46     - [ 'scaleio-mdm:scaleio-mdm', 'scaleio-gw:scaleio-mdm' ]
47     - [ 'scaleio-openstack:scaleio-gw', 'scaleio-gw:scaleio-gw' ]
48     - [ 'nova-compute:ephemeral-backend', 'scaleio-openstack:ephemeral-backend' ]
49 {% else %}
50     - [ 'cinder-ceph:storage-backend', 'cinder:storage-backend' ]
51     - [ 'nova-compute:ceph-access', 'cinder-ceph:ceph-access' ]
52     - [ 'ceph-mon:client', 'nova-compute:ceph' ]
53     - [ 'ceph-mon:client', 'cinder-ceph:ceph' ]
54     - [ 'ceph-mon:client', 'glance:ceph' ]
55     - [ 'ceph-osd:mon', 'ceph-mon:osd' ]
56     - [ 'ceph-radosgw:mon', 'ceph-mon:radosgw' ]
57     - [ 'ceph-radosgw:identity-service', 'keystone:identity-service' ]
58 {% if os.service.congress %}
59     - [ 'congress:shared-db', 'mysql:shared-db' ]
60     - [ 'congress:identity-service', 'keystone:identity-service' ]
61     - [ 'congress:amqp', 'rabbitmq-server:amqp' ]
62 {% endif %}
63 {% endif %}
64     - [ 'aodh:amqp', 'rabbitmq-server:amqp' ]
65     - [ 'aodh:shared-db', 'mysql:shared-db' ]
66     - [ 'aodh:identity-service', 'keystone:identity-service' ]
67 {% if os.lxd %}
68     - [ 'nova-compute:lxd', 'lxd:lxd' ]
69 {% endif %}
70 {% if os.network.controller == 'nosdn' %}
71     - [ 'neutron-openvswitch:amqp', 'rabbitmq-server:amqp' ]
72     - [ 'nova-compute:neutron-plugin', 'neutron-openvswitch:neutron-plugin' ]
73     - [ 'neutron-openvswitch:neutron-plugin-api', 'neutron-api:neutron-plugin-api' ]
74 {% elif os.network.controller == 'odl' %}
75     - [ 'neutron-api:neutron-plugin-api-subordinate', 'neutron-api-odl:neutron-plugin-api-subordinate' ]
76     - [ 'nova-compute:neutron-plugin', 'openvswitch-odl:neutron-plugin' ]
77     - [ 'neutron-gateway', 'openvswitch-odl' ]
78     - [ 'openvswitch-odl:ovsdb-manager', 'odl-controller:ovsdb-manager' ]
79     - [ 'neutron-api-odl:odl-controller', 'odl-controller:controller-api' ]
80 {% elif os.network.controller == 'onos' %}
81     - [ 'neutron-api:neutron-plugin-api-subordinate', 'neutron-api-onos:neutron-plugin-api-subordinate' ]
82     - [ 'nova-compute:neutron-plugin', 'openvswitch-onos:neutron-plugin' ]
83     - [ 'neutron-gateway', 'openvswitch-onos' ]
84     - [ 'openvswitch-onos:ovsdb-manager', 'onos-controller:ovsdb-manager' ]
85     - [ 'neutron-api-onos:onos-controller', 'onos-controller:controller-api' ]
86 {% elif os.network.controller == 'ocl' %}
87     - [ 'contrail-keystone-auth', 'keystone' ]
88     - [ 'contrail-controller', 'contrail-keystone-auth' ]
89     - [ 'contrail-analytics', 'contrail-analyticsdb' ]
90     - [ 'contrail-controller', 'contrail-analytics' ]
91     - [ 'contrail-controller', 'contrail-analyticsdb' ]
92     - [ 'contrail-openstack', 'nova-compute' ]
93     - [ 'contrail-openstack', 'neutron-api' ]
94     - [ 'contrail-openstack', 'contrail-controller' ]
95     - [ 'contrail-agent:juju-info', 'nova-compute:juju-info' ]
96     - [ 'contrail-agent', 'contrail-controller']
97 {% endif %}