aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authoryayogev <yaronyogev@gmail.com>2017-08-14 20:13:58 +0300
committeryayogev <yaronyogev@gmail.com>2017-08-14 20:13:58 +0300
commit1429ae59d3210c76e8924be89f703fe5a8733c75 (patch)
treed73d510bf3ddca1e866f38cb139e14034dda2d44 /app
parent472b870cd5fb1eda282af648ef1b0b92d12d8c5e (diff)
US2853 fix creation of switch_pnic-switch_pnic links
Change-Id: I8917d1218ad6b1d3b4eb708d8f8ffad95b2a0e41 Signed-off-by: yayogev <yaronyogev@gmail.com>
Diffstat (limited to 'app')
-rw-r--r--app/discover/find_links_for_pnics.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/discover/find_links_for_pnics.py b/app/discover/find_links_for_pnics.py
index 3f3eb29..98d481c 100644
--- a/app/discover/find_links_for_pnics.py
+++ b/app/discover/find_links_for_pnics.py
@@ -36,7 +36,7 @@ class FindLinksForPnics(FindLinks):
})
for pnic in pnics:
self.add_switch_to_pnic_link(pnic)
- if "role" == "uplink":
+ if pnic["role"] == "uplink":
self.add_switch_pnic_to_switch_pnic_link(pnic)
def add_pnic_network_links(self, pnic):