Fix: Name SAP's interfaces always: sap0
authorpeusterm <manuel.peuster@uni-paderborn.de>
Tue, 6 Sep 2016 08:42:12 +0000 (10:42 +0200)
committerpeusterm <manuel.peuster@uni-paderborn.de>
Tue, 6 Sep 2016 08:42:12 +0000 (10:42 +0200)
src/emuvim/api/sonata/dummygatekeeper.py

index db67518..c3d8802 100755 (executable)
@@ -392,6 +392,8 @@ class Service(object):
         for sap in SAPs:
             # endpoints needed in this service
             sap_vnf_id, sap_vnf_interface = sap.split(':')
         for sap in SAPs:
             # endpoints needed in this service
             sap_vnf_id, sap_vnf_interface = sap.split(':')
+            # Fix: lets fix the name of the SAP interface to "sap0"
+            sap_vnf_interface = "sap0"
             # set of the connection_point ids found in the nsd (in the examples this is 'ns')
             self.sap_identifiers.add(sap_vnf_id)
 
             # set of the connection_point ids found in the nsd (in the examples this is 'ns')
             self.sap_identifiers.add(sap_vnf_id)