X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=src%2Femuvim%2Fapi%2Fsonata%2Fdummygatekeeper.py;h=bea0a010be8696fb70549e1d7332f86f9d6413c9;hb=ca88566fc038a5a59c8ca3d3af82aab8db7d253a;hp=0fb3aa021502996dd5ce214633acd14508a2c331;hpb=11a021f0e77efa58a1c66ab259b9baae32606064;p=osm%2Fvim-emu.git diff --git a/src/emuvim/api/sonata/dummygatekeeper.py b/src/emuvim/api/sonata/dummygatekeeper.py index 0fb3aa0..bea0a01 100755 --- a/src/emuvim/api/sonata/dummygatekeeper.py +++ b/src/emuvim/api/sonata/dummygatekeeper.py @@ -225,7 +225,9 @@ 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",