adding postgresql to neutron

This commit is contained in:
yolanda.robla@canonical.com
2014-03-20 14:54:08 +01:00
parent 890b904f99
commit f8a29467b1
3 changed files with 8 additions and 10 deletions

View File

@@ -164,15 +164,6 @@ class IdentityServiceContext(context.IdentityServiceContext):
ctxt['keystone_ec2_url'] = ec2_tokens
return ctxt
class SharedDBContext(context.SharedDBContext):
interfaces = ['shared-db']
def __call__(self):
# add database type
ctxt = super(SharedDBContext, self).__call__()
ctxt['database_type'] = 'mysql'
return ctxt
class NovaPostgresqlDBContext(context.PostgresqlDBContext):
interfaces = ['pgsql-nova-db']