summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authoryayogev <yaronyogev@gmail.com>2017-08-23 15:40:56 +0300
committeryayogev <yaronyogev@gmail.com>2017-08-23 15:40:56 +0300
commitf512c7323ec5dffa71790ab688fe0a0d85dcaf20 (patch)
tree9e62cd95ad711d8f52ff50599ed7a8c9c815298d /app
parent13767be99f8815395be01edc5c97735cdc66590b (diff)
bug fix: searched switch pnic, s.b. host pnic
Change-Id: I2007813174982c2fb08e80754c1e7b456bc10d8e Signed-off-by: yayogev <yaronyogev@gmail.com>
Diffstat (limited to 'app')
-rw-r--r--app/discover/fetchers/db/db_fetch_vedges_ovs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/discover/fetchers/db/db_fetch_vedges_ovs.py b/app/discover/fetchers/db/db_fetch_vedges_ovs.py
index f2b1db6..838ccb9 100644
--- a/app/discover/fetchers/db/db_fetch_vedges_ovs.py
+++ b/app/discover/fetchers/db/db_fetch_vedges_ovs.py
@@ -167,7 +167,7 @@ class DbFetchVedgesOvs(DbAccess, CliAccess, metaclass=Singleton):
# add port ID to pNIC
pnic = self.inv.find_items({
"environment": self.get_env(),
- "type": "switch_pnic",
+ "type": "host_pnic",
"host": doc["host"],
"name": interface
}, get_single=True)