Re: [nox-dev] Event triggered subprocess call

2011-06-10 Thread Murphy McCauley
So the confusing bit is that you're being lied to. The lambda function being referred to is actually on line 132 of coreapps/pyrt/pyoxidereactor.py. Inside subprocess.py, os.waitpid has been called and is blocking. This is where the stack trace leads. However, while waitpid is blocking, the

[nox-dev] how to use Authentication component

2011-06-10 Thread 颜玮
Hi all, I met difficulty in using /Authontication/ component,and i need your help. here is my problem: I want to know the location of each host,and i think there must be a function in Authentication component that i can ues,but i don't know which one. Any one knows? also,should i import the

Re: [nox-dev] Doubt about len parameter in packet in event

2011-06-10 Thread Srini Seetharaman
Hi Luciano I guess you're using the ofp_packet_in-total_len value? That is indeed the length of the packet that came into the port which generated the pkt_in. If you're looking to compute the overall traffic sent from a server, you can also use the flow_exp message and sum it for all the flows

Re: [nox-dev] how can nox controller get rtt time?

2011-06-10 Thread Srini Seetharaman
Hi Yi-Shou You could possibly use the following to approx for RTT time: timestamp(barrier_reply) - timestamp(fwd pkt_in), assuming the barrier_request is sent with the pkt_out of the reverse direction ICMP. On Wed, May 11, 2011 at 8:16 AM, false ladj...@yahoo.com.tw wrote: Hi, I have a

Re: [nox-dev] how to use Authentication component

2011-06-10 Thread Srini Seetharaman
You may be able to listen for Host_event (with filter Host_event.action == Action.ADD), and track the datapath_id and port of each host. In the python side, I think it is Host_bind_event. 2011/6/10 颜玮 yan...@bupt.edu.cn: Hi all, I met difficulty in using Authontication component,and i need