diff options
author | Yaron Yogev <yaronyogev@gmail.com> | 2017-08-28 10:50:08 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-08-28 10:50:08 +0000 |
commit | f177fd1f19170d544421038f34c8ad8e7e23b607 (patch) | |
tree | 98440d22b303565070bdd4de8dca2d7df484002c /app/discover/fetchers/cli | |
parent | fa261f0350cce233cd01f4a078be309ae3b4981a (diff) | |
parent | 7928f7a3130d6c490258cd7086b663dc15bcd633 (diff) |
Merge "use neutron DB name, not always 'neutron'"
Diffstat (limited to 'app/discover/fetchers/cli')
-rw-r--r-- | app/discover/fetchers/cli/cli_fetch_oteps_lxb.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/discover/fetchers/cli/cli_fetch_oteps_lxb.py b/app/discover/fetchers/cli/cli_fetch_oteps_lxb.py index 1e65a14..0b425f6 100644 --- a/app/discover/fetchers/cli/cli_fetch_oteps_lxb.py +++ b/app/discover/fetchers/cli/cli_fetch_oteps_lxb.py @@ -69,7 +69,8 @@ class CliFetchOtepsLxb(CliAccess, DbAccess): return otep def get_udp_port(self, otep): - table_name = "neutron.ml2_" + otep['overlay_type'] + "_endpoints" + table_name = "{}.ml2_{}_endpoints".format(self.neutron_db, + otep['overlay_type']) results = None try: results = self.get_objects_list_for_id( |