Re: [nox-dev] gathering status of Openflow Switch

2011-06-20 Thread Kyriakos Zarifis
Hi, I was actually referring to netapps/monitoring/montoring.py, which is a more complete (and complicated) monitoring component, but it is the same idea. However the one you looked at might actually be a better example exactly because it is simpler, but still shows how to create and send switch

Re: [nox-dev] gathering status of Openflow Switch

2011-06-20 Thread Min-Hyup KANG
Hi,after I found monitoring.py,There is existing /src/nox/coreapps/examples/monitor.py.I think what you mean is /src/nox/coreapps/examples/monitor.py. right ?so, I excuted monitor component.I can check Table stats and Port stats, Aggregate stats as a below.00072|openflow-event|DBG:received

Re: [nox-dev] gathering status of Openflow Switch

2011-06-20 Thread Min-Hyup KANG
Thanks for your kindness.But there is not exsisting monitoring.py of netapps/so there is existing some derectory in netapps as a below.src/nox/netapps# lsMakefile.am __init__.py bindings_storage discovery hoststate networkstate routing switch_management tablog topologyMakefile.in

Re: [nox-dev] Assertion on udp.checksum()

2011-06-20 Thread Murphy McCauley
Unfortunately, your tweak breaks the logic of the assert. The assert is asserting that self.next is a packet_base of some sort OR a string. You've set it to a string, so... it should be a string. So it should definitely not be a packet_base. So the first of your asserts will always fail.

Re: [nox-dev] Assertion on udp.checksum()

2011-06-20 Thread Aaron Rosen
Hi Murphy, wow... Opps... I'm trying the following: This doesn't return any errors but in wireshark the packet_outs say Malformed UDP packets. def send_udp_message(): l4 = udp() l4.srcport = 1999 l4.dstport = 1888 l4.len = udp.MIN_LEN + len(hello_world)

Re: [nox-dev] Assertion on udp.checksum()

2011-06-20 Thread Aaron Rosen
Thanks Murphy! You're right, that did the trick. Aaron On Mon, Jun 20, 2011 at 1:55 PM, Murphy McCauley jam...@nau.edu wrote: So I think the call to l3.checksum() is extraneous, but the real issue is probably that l3.iplen should be ipv4.MIN_LEN + l4.len. -- Murphy On Monday, June 20,

[nox-dev] Something about Routing Application

2011-06-20 Thread ZHOU Ye
Hi, I'm a freshman of Openflow and Nox. I want to make a demo about customized routing control, but there are something I'm confused. For example, I have a network topology consisting of 3 switches( Switch A, Switch B, Switch C), making up a triangle. We also have a host Host A connected to