summaryrefslogtreecommitdiffstats
path: root/meta-openstack
diff options
context:
space:
mode:
authorMihai Prica <prica.mihai@gmail.com>2013-07-24 17:42:36 +0300
committerBruce Ashfield <bruce.ashfield@windriver.com>2013-08-28 18:41:59 -0400
commita8bcd4dbd38ee0ca3fa1187dd8eeddb93cb1c8db (patch)
treeeef863a0147519889f0a76beb88509de3c2eab23 /meta-openstack
parent6240493d914ccb198e4926b7f96b0aa160879cbf (diff)
downloadmeta-cloud-services-a8bcd4dbd38ee0ca3fa1187dd8eeddb93cb1c8db.tar.gz
python-quantum: Changed DB name to ovs_quantum
ovs_quantum is the default name for the quantum DB. Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
Diffstat (limited to 'meta-openstack')
-rw-r--r--meta-openstack/recipes-devtools/python/python-quantum/ovs_quantum_plugin.ini2
-rw-r--r--meta-openstack/recipes-devtools/python/python-quantum_2013.1.2.bb3
2 files changed, 3 insertions, 2 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-quantum/ovs_quantum_plugin.ini b/meta-openstack/recipes-devtools/python/python-quantum/ovs_quantum_plugin.ini
index 171da27..7f62c06 100644
--- a/meta-openstack/recipes-devtools/python/python-quantum/ovs_quantum_plugin.ini
+++ b/meta-openstack/recipes-devtools/python/python-quantum/ovs_quantum_plugin.ini
@@ -4,7 +4,7 @@
4# sql_connection = mysql://root:nova@127.0.0.1:3306/ovs_quantum 4# sql_connection = mysql://root:nova@127.0.0.1:3306/ovs_quantum
5# Replace 127.0.0.1 above with the IP address of the database used by the 5# Replace 127.0.0.1 above with the IP address of the database used by the
6# main quantum server. (Leave it as is if the database runs on this host.) 6# main quantum server. (Leave it as is if the database runs on this host.)
7sql_connection = postgresql://%DB_USER%:%DB_PASSWORD%@localhost/quantum 7sql_connection = postgresql://%DB_USER%:%DB_PASSWORD%@localhost/ovs_quantum
8# Database reconnection retry times - in event connectivity is lost 8# Database reconnection retry times - in event connectivity is lost
9# set to -1 implies an infinite retry count 9# set to -1 implies an infinite retry count
10# sql_max_retries = 10 10# sql_max_retries = 10
diff --git a/meta-openstack/recipes-devtools/python/python-quantum_2013.1.2.bb b/meta-openstack/recipes-devtools/python/python-quantum_2013.1.2.bb
index 8f0fa43..d058412 100644
--- a/meta-openstack/recipes-devtools/python/python-quantum_2013.1.2.bb
+++ b/meta-openstack/recipes-devtools/python/python-quantum_2013.1.2.bb
@@ -74,7 +74,8 @@ pkg_postinst_${SRCNAME} () {
74 sudo -u postgres psql -c "CREATE ROLE ${DB_USER} WITH SUPERUSER LOGIN PASSWORD '${DB_PASSWORD}'" 74 sudo -u postgres psql -c "CREATE ROLE ${DB_USER} WITH SUPERUSER LOGIN PASSWORD '${DB_PASSWORD}'"
75 fi 75 fi
76 76
77 sudo -u postgres createdb quantum 77 sudo -u postgres createdb ovs_quantum
78}
78} 79}
79 80
80PACKAGES += " \ 81PACKAGES += " \