From eae730891f344803653c988476d49e779930c869 Mon Sep 17 00:00:00 2001 From: stevenvanrossem Date: Fri, 5 Aug 2016 16:22:12 +0200 Subject: [PATCH] also deploy interfaces named mgmt for consistancy with the vnfd --- src/emuvim/api/sonata/dummygatekeeper.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/emuvim/api/sonata/dummygatekeeper.py b/src/emuvim/api/sonata/dummygatekeeper.py index bea0a01..0fb3aa0 100755 --- a/src/emuvim/api/sonata/dummygatekeeper.py +++ b/src/emuvim/api/sonata/dummygatekeeper.py @@ -225,9 +225,7 @@ class Service(object): # 3. do the dc.startCompute(name="foobar") call to run the container # TODO consider flavors, and other annotations intfs = vnfd.get("connection_points") - # mgmt connection points can be skipped, this is considered to be the connection the default docker0 bridge - intfs = [intf for intf in intfs if 'mgmt' not in intf['id']] - + # use the vnf_id in the nsd as docker name # so deployed containers can be easily mapped back to the nsd vnf_name2id = defaultdict(lambda: "NotExistingNode", -- 2.25.1