From 9019253fdf31e920d5a9e0146dac0eabdb655c9d Mon Sep 17 00:00:00 2001 From: peusterm Date: Wed, 19 Jul 2017 12:05:28 -0700 Subject: [PATCH] Fix VLAN range of setChain --- src/emuvim/dcemulator/net.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emuvim/dcemulator/net.py b/src/emuvim/dcemulator/net.py index 8e0134e..3eee2e5 100755 --- a/src/emuvim/dcemulator/net.py +++ b/src/emuvim/dcemulator/net.py @@ -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' -- 2.25.1