Use a single class to create 'neutron' database
Use a class instead of multiplying 'neutron' database definitions.
The class 'system.galera.server.database.neutron' will be included
only once for a node that avoids database definitions dublication.
Change-Id: Ibf318200a7cf83fe3bd00c3ca265ed3bcb989811
Closes-Bug: https://mirantis.jira.com/browse/PROD-15066
diff --git a/neutron/control/opencontrail/single.yml b/neutron/control/opencontrail/single.yml
index 0c2841b..4bbd8f8 100644
--- a/neutron/control/opencontrail/single.yml
+++ b/neutron/control/opencontrail/single.yml
@@ -1,20 +1,7 @@
classes:
- service.neutron.control.single
+- system.galera.server.database.neutron
parameters:
- mysql:
- server:
- database:
- neutron:
- encoding: utf8
- users:
- - name: neutron
- password: ${_param:mysql_neutron_password}
- host: '%'
- rights: all
- - name: neutron
- password: ${_param:mysql_neutron_password}
- host: ${_param:cluster_local_address}
- rights: all
neutron:
server:
dns_domain: ${_param:cluster_domain}