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