aboutsummaryrefslogtreecommitdiffstats
path: root/app/discover/fetchers/db/db_fetch_oteps.py
diff options
context:
space:
mode:
authorYaron Yogev <yaronyogev@gmail.com>2017-08-28 10:50:08 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-08-28 10:50:08 +0000
commitf177fd1f19170d544421038f34c8ad8e7e23b607 (patch)
tree98440d22b303565070bdd4de8dca2d7df484002c /app/discover/fetchers/db/db_fetch_oteps.py
parentfa261f0350cce233cd01f4a078be309ae3b4981a (diff)
parent7928f7a3130d6c490258cd7086b663dc15bcd633 (diff)
Merge "use neutron DB name, not always 'neutron'"
Diffstat (limited to 'app/discover/fetchers/db/db_fetch_oteps.py')
-rw-r--r--app/discover/fetchers/db/db_fetch_oteps.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/discover/fetchers/db/db_fetch_oteps.py b/app/discover/fetchers/db/db_fetch_oteps.py
index 9055c11..3e3f4e1 100644
--- a/app/discover/fetchers/db/db_fetch_oteps.py
+++ b/app/discover/fetchers/db/db_fetch_oteps.py
@@ -32,7 +32,7 @@ class DbFetchOteps(DbAccess, CliAccess, metaclass=Singleton):
return []
tunnel_type = vedge["configurations"]["tunnel_types"][0]
host_id = vedge["host"]
- table_name = "neutron.ml2_" + tunnel_type + "_endpoints"
+ table_name = "{}.ml2_{}_endpoints".format(self.neutron_db, tunnel_type)
env_config = self.config.get_env_config()
distribution = env_config["distribution"]
if distribution == "Canonical-icehouse":