From 1429ae59d3210c76e8924be89f703fe5a8733c75 Mon Sep 17 00:00:00 2001 From: yayogev Date: Mon, 14 Aug 2017 20:13:58 +0300 Subject: US2853 fix creation of switch_pnic-switch_pnic links Change-Id: I8917d1218ad6b1d3b4eb708d8f8ffad95b2a0e41 Signed-off-by: yayogev --- app/discover/find_links_for_pnics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- cgit 1.2.3-korg