fix vcdn placement
authorSteven Van Rossem <steven.vanrossem@intec.ugent.be>
Tue, 31 Oct 2017 14:52:44 +0000 (15:52 +0100)
committerSteven Van Rossem <steven.vanrossem@intec.ugent.be>
Tue, 31 Oct 2017 14:52:44 +0000 (15:52 +0100)
src/emuvim/api/sonata/dummygatekeeper.py

index bab5cf2..a0b0b16 100755 (executable)
@@ -935,7 +935,7 @@ class CustomPlacementvCDN(object):
     """
     def place(self, nsd, vnfds, saps, dcs):
         vnfds['squid1']["dc"] = dcs['dc1']
-        vnfds['webserver']["dc"] = dcs['dc3']
+        vnfds['webserver1']["dc"] = dcs['dc3']
         saps['vCDN-SAP1']["dc"] = dcs['dc1']
         saps['vCDN-SAP2']["dc"] = dcs['dc2']