Dear All,

i'm testing the new Ryu4.0 with OpenFlow1.4 version.
when start ryu.app.ofctl_rest.py, i can see switch register well on ryu,
but if i query switch portdesc, i get error, below.

could you please help to verify this issue?

BR<
Mark

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
hello ev <ryu.controller.ofp_event.EventOFPHello object at 0x7f277569f0d0>
move onto config mode
EVENT ofp_event->dpset EventOFPSwitchFeatures
*switch features ev version=0x5*,msg_type=0x6,msg_len=0x20,xid=0xf4e78c81,OFPSwitchFeatures(auxiliary_id=0,capabilities=79,datapath_id=43,n_buffers=3145728,n_tables=1)
move onto main mode
EVENT ofp_event->dpset EventOFPStateChange
DPSET: register datapath <ryu.controller.controller.Datapath object at 0x7f277569f410>
(22900) accepted ('10.1.9.7', 49521)
EVENT ofp_event->RestStatsApi EventOFPPortDescStatsReply
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/eventlet/wsgi.py", line 481, in handle_one_response
    result = self.application(self.environ, start_response)
File "/usr/local/lib/python2.7/dist-packages/ryu/app/wsgi.py", line 201, in __call__
    return super(wsgify_hack, self).__call__(environ, start_response)
File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__
    resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func
    return self.func(req, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/ryu/app/wsgi.py", line 263, in __call__
    return controller(req)
File "/usr/local/lib/python2.7/dist-packages/ryu/app/wsgi.py", line 125, in __call__
    return getattr(self, action)(req, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/ryu/app/ofctl_rest.py", line 584, in get_port_desc
    groups = _ofctl.get_port_desc(dp, self.waiters)
File "/usr/local/lib/python2.7/dist-packages/ryu/lib/ofctl_v1_4.py", line 815, in get_port_desc
    d = stat.to_jsondict()[stat.__class__.__name__]
File "/usr/local/lib/python2.7/dist-packages/ryu/lib/stringify.py", line 265, in to_jsondict
    dict_[k] = encode(k, v)
File "/usr/local/lib/python2.7/dist-packages/ryu/lib/stringify.py", line 263, in <lambda>
    encode = lambda k, x: self._encode_value(k, x, encode_string)
File "/usr/local/lib/python2.7/dist-packages/ryu/lib/stringify.py", line 206, in _encode_value
    return cls._get_encoder(k, encode_string)(v)
File "/usr/local/lib/python2.7/dist-packages/ryu/lib/stringify.py", line 82, in encode
    return six.text_type(v, 'utf-8')
*/UnicodeDecodeError: 'utf8' codec can't decode byte 0x80 in position 11: invalid start byte/* *10.1.9.7 - - [29/Mar/2016 10:45:16] "GET /stats/portdesc/43 HTTP/1.1" 500 1939 0.019539*



====================================================================================
This message may contain information which is private, privileged or confidential of INNO-Tech Network & Service Inc. If you are not the intended recipient of this message, please notify the sender and destroy/delete the message. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information, by persons or entities other than the intended recipient is prohibited. ====================================================================================
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to