Thank you for your kindness. I am using Openflow Switch(v.1.0) based on PC box. and I am using NOX zaku. 1.You can look at the 'monitoring' component in the netapps folder -> do you mean switchstats.py and pycswitchstats.py in /netapps ? additionally, I test using "./nox_core -i ptcp:6633 -v pyswitch packetdump switchstats pycswitchstats " and then I can see this message. 00076|openflow-event|DBG:received stats reply from 002320c576d6 00077|reactor|ERR:Unhandled Error Traceback (most recent call last): --- <exception caught here> --- File "./nox/coreapps/pyrt/pyoxidereactor.py", line 86, in __call__ self.func(*self.args, **self.kw); File "./nox/netapps/switchstats/switchstats.py", line 123, in <lambda> lambda : self.port_timer(dp)) File "./nox/netapps/switchstats/switchstats.py", line 88, in port_timer self.ctxt.send_port_stats_request(dp) File "./nox/coreapps/pyrt/pycomponent.py", line 538, in send_port_stats_request def send_port_stats_request(self, *args): return _pycomponent.PyContext_send_port_stats_request(self, *args) exceptions.TypeError: PyContext_send_port_stats_request() takes exactly 3 arguments (2 given) 00078|openflow-event|DBG:received stats reply from 002320c576d6 2. (or, if you prefer, you can modify pyswitch to send such queries) -> you mean pyswitch can gather status of flow, port in switch, right ? and I think I should use ofp_stats_request, ofp_stats_reply, ofp_desc_stats, ofp_port_stats_request, ofp_ports_stats etc of struct in openflow.h and core.py But, It is difficult to use . so I need your help. can you give some tips ? Many Thanks, º¸³½»ç¶÷: Kyriakos Zarifis <kyr.zari...@gmail.com> |
Best Regards,
Min-Hyup KANG
_______________________________________________ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev