From: peusterm Date: Wed, 19 Jul 2017 19:05:28 +0000 (-0700) Subject: Fix VLAN range of setChain X-Git-Tag: v3.1~15^2~1 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=9019253fdf31e920d5a9e0146dac0eabdb655c9d;p=osm%2Fvim-emu.git Fix VLAN range of setChain --- 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'