projects
/
osm
/
vim-emu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: Name SAP's interfaces always: sap0
[osm/vim-emu.git]
/
src
/
emuvim
/
api
/
sonata
/
dummygatekeeper.py
diff --git
a/src/emuvim/api/sonata/dummygatekeeper.py
b/src/emuvim/api/sonata/dummygatekeeper.py
index
db67518
..
c3d8802
100755
(executable)
--- a/
src/emuvim/api/sonata/dummygatekeeper.py
+++ b/
src/emuvim/api/sonata/dummygatekeeper.py
@@
-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)