Fix VLAN range of setChain
authorpeusterm <manuel.peuster@uni-paderborn.de>
Wed, 19 Jul 2017 19:05:28 +0000 (12:05 -0700)
committerpeusterm <manuel.peuster@uni-paderborn.de>
Wed, 19 Jul 2017 19:05:28 +0000 (12:05 -0700)
src/emuvim/dcemulator/net.py

index 8e0134e..3eee2e5 100755 (executable)
@@ -113,7 +113,7 @@ class DCNetwork(Containernet):
         self.DCNetwork_graph = nx.MultiDiGraph()
 
         # initialize pool of vlan tags to setup the SDN paths
-        self.vlans = range(4096)[::-1]
+        self.vlans = range(1, 4096)[::-1]
 
         # link to Ryu REST_API
         ryu_ip = 'localhost'