aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYaron Yogev <yaronyogev@gmail.com>2017-08-14 17:14:52 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-08-14 17:14:52 +0000
commitbdfb12fb1f24987be56f84fc3b41ffedea5f70f3 (patch)
treedcf978d4bb1f9908996878cd88325b3462747fcd
parent502402dde98e63677e34078c50e3854964c81694 (diff)
parent1429ae59d3210c76e8924be89f703fe5a8733c75 (diff)
Merge "US2853 fix creation of switch_pnic-switch_pnic links"
-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):