Re: [nox-dev] monitoring usage error

2012-02-28 Thread Bernd Wittefeld
Hi, the resolve() function expects a string. You don't even need to import the monitoring stuff. inst.Monitoring = ctxt.resolve(nox.netapps.monitoring.monitoring.Monitoring) Of course you should ensure that the Monitoring module is resolvable, that means, it must be loaded by NOX either

Re: [nox-dev] monitoring usage error

2012-02-28 Thread Bernd Wittefeld
at 7:28 AM, Bernd Wittefeld s9bew...@stud.uni-saarland.de mailto:s9bew...@stud.uni-saarland.de wrote: Hi, the resolve() function expects a string. You don't even need to import the monitoring stuff. inst.Monitoring = ctxt.resolve(nox.netapps.monitoring.monitoring.Monitoring

Re: [nox-dev] Creating and sending udp packet from controller through switch

2012-01-27 Thread Bernd Wittefeld
through switch Hi, You need to set the length field in the Ipv4 packet. ipv4_packet.iplen = ipv4.MIN_LEN + udp_packet.len() should do the trick. Aaron On Thu, Jan 26, 2012 at 1:42 PM, Bernd Wittefeld s9bew...@stud.uni-saarland.de wrote: Hi, I have a python component and want to create

[nox-dev] Creating and sending udp packet from controller through switch

2012-01-26 Thread Bernd Wittefeld
Hi, I have a python component and want to create an udp packet in the controller and send it out via self.send_openflow_packet(dpid, packet.tostring(), outport) First of all: a small bugfix is needed: nox/src/nox/lib/packet/packet_base.py needs an import array. Without that, the set_payload

Re: [nox-dev] Measuring delay of links between switches

2012-01-16 Thread Bernd Wittefeld
. Is there any way to get this piece of information? The stats reply that I get from a datapath_join event doesn't contain it and I could not find anything else that might give me the needed information. Your help is very much appreciated. Best regards Bernd Wittefeld On 12.01.2012 15:34, Bernd

Re: [nox-dev] Measuring delay of links between switches

2012-01-12 Thread Bernd Wittefeld
, 2012 at 7:33 AM, Bernd Wittefeld s9bew...@stud.uni-saarland.de mailto:s9bew...@stud.uni-saarland.de wrote: Hi, I am currently working on a component that needs a lot of statistical information about the current network state. In fact, I need the packet lLoss rate and the delay

[nox-dev] Measuring delay of links between switches

2012-01-11 Thread Bernd Wittefeld
Hi, I am currently working on a component that needs a lot of statistical information about the current network state. In fact, I need the packet lLoss rate and the delay of single links between OpenFlow-switches. The PLR can be computed quite easily from the statistics that the switch gives

Re: [nox-dev] NOX UnicodeDecodeError in nox/coreapps/pyrt/pyoxidereactor.py

2011-12-21 Thread Bernd Wittefeld
better so that we could fix it. -- Murphy On Dec 20, 2011, at 4:50 AM, Bernd Wittefeld wrote: Hi, I have another problem with my NOX installation. When I start it using ./nox_core -i ptcp:6633 spanning_tree switch prrt monitoring it worked flawlessly all the time with the standard openflow

[nox-dev] meta.json syntax and importing files in Python

2011-12-16 Thread Bernd Wittefeld
Hi, I'm am wondering about the syntax and sematic of the meta.json files. I cannot find anything about it in the wiki and the mailinglists. The problem is a fairly easy one: I have written a python component and splitted it up in several files, but I cannot import those files. I tried

Re: [nox-dev] Spanning Tree Module

2011-11-30 Thread Bernd Wittefeld
the switches? Are the relevant ports actually getting NOFLOOD set? -- Murphy On Nov 29, 2011, at 7:54 AM, Bernd Wittefeld wrote: Hi, first of all: thanks for your great work and the really good support here. I have a small problem and I hope someone knows what to do :) The situation

[nox-dev] Spanning Tree Module

2011-11-29 Thread Bernd Wittefeld
Hi, first of all: thanks for your great work and the really good support here. I have a small problem and I hope someone knows what to do :) The situation is the following: I have a network with 6 OpenFlow switches in a mesh here. The software (switches and NOX) is working fine. I use the