From 7928f7a3130d6c490258cd7086b663dc15bcd633 Mon Sep 17 00:00:00 2001 From: yayogev Date: Mon, 28 Aug 2017 13:45:07 +0300 Subject: use neutron DB name, not always 'neutron' Change-Id: I971f22473d4132bde17e0a44ada3b6a8330522b4 Signed-off-by: yayogev --- app/discover/fetchers/db/db_fetch_oteps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/discover/fetchers/db/db_fetch_oteps.py') 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": -- cgit 1.2.3-korg