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
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
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
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.
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)
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,
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