Hi,
The warning mean that Datapath#ports is not recommended to use directory.
But the warning should not be appear in this case.
Because perhaps you just use ryu.topology.
I found out the code of the cause.
This should be suppressed.
https://github.com/osrg/ryu/blob/v3.29/ryu/topology/switches.py#L545
I can make a patch to resolve the issue b
ut I don't know how to hit the above line.
My environment don't show the warning. (Mininet w/ Open vSwitch)
Can you confirm the patch instead of me?
Or please give me more details. (e.g. product name of your openflow
switch and your procedure)
Regards,
Satoshi
On 2016/01/12 14:30
俊 赵 <[email protected]> wrote:
Hi,
I got warning with
"/usr/local/lib/python2.7/dist-packages/ryu/topology/switches.py:545:
UserWarning: Datapath#ports is kept for compatibility with the previous
openflow versions (< 1.3). This not be updated by EventOFPPortStatus
message. If you want to be updated, you can use 'ryu.controller.dpset' or
'ryu.topology.switches'.
for port in dp.ports.values():
"
I found this message coming from /ryu/controller/controller.py
The constraint causing this is "ofproto.OFP_VERSION >= 0x04"
Does it mean that if I am using openflow 1.3, the warning message will
trigger all the time?
How can I get rid of this?
Thanks.
Zhao Jun------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel