diff options
author | yayogev <yaronyogev@gmail.com> | 2017-08-28 13:45:07 +0300 |
---|---|---|
committer | yayogev <yaronyogev@gmail.com> | 2017-08-28 13:45:07 +0300 |
commit | 7928f7a3130d6c490258cd7086b663dc15bcd633 (patch) | |
tree | ae2ff7743a6c70ec9c5979d7e03864191198ef1e /app/discover/fetchers/db/db_fetch_oteps.py | |
parent | 834c0f5899a7823ce77453aae4add76245b794c6 (diff) |
use neutron DB name, not always 'neutron'
Change-Id: I971f22473d4132bde17e0a44ada3b6a8330522b4
Signed-off-by: yayogev <yaronyogev@gmail.com>
Diffstat (limited to 'app/discover/fetchers/db/db_fetch_oteps.py')
-rw-r--r-- | app/discover/fetchers/db/db_fetch_oteps.py | 2 |
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": |