From 72b7b6c157c643549006fea1eb4f7348581cb9a4 Mon Sep 17 00:00:00 2001 From: Yaron Yogev Date: Thu, 10 Aug 2017 15:42:41 +0300 Subject: US2853 add switch-switch links Change-Id: I5e27d33f32dc1dfe930cb692cd98604cf437855b Signed-off-by: Yaron Yogev --- app/discover/find_links_for_vservice_vnics.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app/discover/find_links_for_vservice_vnics.py') diff --git a/app/discover/find_links_for_vservice_vnics.py b/app/discover/find_links_for_vservice_vnics.py index e8a91c8..3b8f32d 100644 --- a/app/discover/find_links_for_vservice_vnics.py +++ b/app/discover/find_links_for_vservice_vnics.py @@ -49,8 +49,9 @@ class FindLinksForVserviceVnics(FindLinks): link_name = network["name"] state = "up" # TBD link_weight = 0 # TBD - self.create_link(self.get_env(), v["host"], + self.create_link(self.get_env(), source, source_id, target, target_id, link_type, link_name, state, link_weight, + host=v["host"], extra_attributes={'network': v['network']}) -- cgit 1.2.3-korg