hi,

looks like a bug in ryu.  can you try this?

diff --git a/ryu/lib/ovs/vsctl.py b/ryu/lib/ovs/vsctl.py
index 5e57fbc..8d121f5 100644
--- a/ryu/lib/ovs/vsctl.py
+++ b/ryu/lib/ovs/vsctl.py
@@ -307,7 +307,7 @@ class VSCtlContext(object):
     @staticmethod
     def port_is_fake_bridge(ovsrec_port):
         return (ovsrec_port.fake_bridge and
-                ovsrec_port.tag >= 0 and ovsrec_port.tab <= 4095)
+                ovsrec_port.tag >= 0 and ovsrec_port.tag <= 4095)
 
     def _populate_cache(self, ovsrec_bridges):
         if self.cache_valid:
@@ -690,7 +690,7 @@ class VSCtlContext(object):
             ovsrec_port.name = br_name
             ovsrec_port.interfaces = [ovsrec_iface]
             ovsrec_port.fake_bridge = True
-            ovsrec_port.tag = [vlan]
+            ovsrec_port.tag = vlan
 
             self.bridge_insert_port(parent.br_cfg, ovsrec_port)
 

> To whom it may concern,
>     My name is Jason and I am writing to report some problems while working
> on the QoS functions. I have attached the problem description and some
> snapshots of the steps. Please see the attached file. Any suggestions will
> be greatly appreciated!
> -- 
> Best wishes,
> 
> Jason Syu

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to