Hello,

I am trying to create a group using the example mentioned at:-
http://ryu.readthedocs.org/en/latest/ofproto_v1_2_ref.html#ryu.ofproto.ofproto_v1_2_parser.OFPGroupMod

But When I send the request to the switch I get the following error:-

hub: uncaught exception: Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/ryu/lib/hub.py", line 48, in
_launch
    func(*args, **kwargs)
  File
"/usr/local/lib/python2.7/dist-packages/ryu/controller/controller.py", line
97, in deactivate
    method(self)
  File
"/usr/local/lib/python2.7/dist-packages/ryu/controller/controller.py", line
193, in _send_loop
    self.socket.sendall(buf)
  File "/usr/lib/python2.7/dist-packages/eventlet/greenio.py", line 283, in
sendall
    tail = self.send(data, flags)
  File "/usr/lib/python2.7/dist-packages/eventlet/greenio.py", line 265, in
send
    len_data = len(data)
TypeError: object of type 'OFPGroupMod' has no len()

How to fix this?
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to