Re: [nox-dev] My datapath leaves again (HP network)

2010-03-01 Thread kk yap
This really depends on where the packet is lost in the switch. Might just be a bug if the CPU is at 30+%. Without more information, there is very little to comment about here. Regards KK On 1 March 2010 22:39, Martin Casado wrote: > OOB control doesn't help unfortunately (I forget that HP doe

Re: [nox-dev] My datapath leaves again (HP network)

2010-03-01 Thread Martin Casado
OOB control doesn't help unfortunately (I forget that HP doesn't support inband control). We need to be able to slice the control channel so that control packets are prioritized I think. btw this is starting to look like a common issue as it's been reported a few times in the past. I guess ou

Re: [nox-dev] My datapath leaves again (HP network)

2010-03-01 Thread Kyriakos Zarifis
btw this is starting to look like a common issue as it's been reported a few times in the past. I guess out-of-band control or control packet priority would alleviate this On Mon, Mar 1, 2010 at 10:20 PM, Guanyao Huang wrote: > I now use smaller traces and no such problem again. I think it is >

Re: [nox-dev] My datapath leaves again (HP network)

2010-03-01 Thread Guanyao Huang
I now use smaller traces and no such problem again. I think it is because of heavy load. ... Thanks. On Mon, Mar 1, 2010 at 10:12 PM, Martin Casado wrote: > Actually nevermind, I don't think the HP switch support inband control so > you must be using out of band. > > Another option is to turn off

Re: [nox-dev] My datapath leaves again (HP network)

2010-03-01 Thread Martin Casado
I wonder if this is a problem with lost echo requests under load ... Can you set up your environment to use out of band control? My program runs about 15 mins, it processes some traces. Datapath leaves at around 12 mins. Current CPU load is around 30%, and hit 35% occasionally. On Mon, Mar 1,

Re: [nox-dev] My datapath leaves again (HP network)

2010-03-01 Thread Guanyao Huang
My program runs about 15 mins, it processes some traces. Datapath leaves at around 12 mins. Current CPU load is around 30%, and hit 35% occasionally. On Mon, Mar 1, 2010 at 9:59 PM, kk yap wrote: > Just to be blunt.  What is the CPU load of your HP? > > Regards > KK > > On 1 March 2010 21:42, Gua

Re: [nox-dev] My datapath leaves again (HP network)

2010-03-01 Thread kk yap
Just to be blunt. What is the CPU load of your HP? Regards KK On 1 March 2010 21:42, Guanyao Huang wrote: > Which part defines the time interval for this echo request? I guess > enlarger it will temporarily handle my problem. > > On Mon, Mar 1, 2010 at 9:38 PM, kk yap wrote: >> Hi Guanyao, >>

Re: [nox-dev] My datapath leaves again (HP network)

2010-03-01 Thread Guanyao Huang
Which part defines the time interval for this echo request? I guess enlarger it will temporarily handle my problem. On Mon, Mar 1, 2010 at 9:38 PM, kk yap wrote: > Hi Guanyao, > > NOX periodic checks if the switch is still alive by sending an echo > request.  Basically, your switch did not reply.

Re: [nox-dev] My datapath leaves again (HP network)

2010-03-01 Thread kk yap
Hi Guanyao, NOX periodic checks if the switch is still alive by sending an echo request. Basically, your switch did not reply. You should look at the tcpdump to see if you can find the echo reply. If yes, bug people in this list. If no, debug your switch. Regards KK On 1 March 2010 21:34, Gu

[nox-dev] My datapath leaves again (HP network)

2010-03-01 Thread Guanyao Huang
Hi Sorry to bother others. In my program the datapath leaves network again. This time it seems a little different: 00341|openflow|WARN:stream: no response to inactivity probe after 15 seconds, disconnecting 00342|nox|WARN:stream: disconnected (Protocol error) Datapath leave, f7:ca:e4:00:01:90 0034

Re: [nox-dev] Generate checksums for packet proxy

2010-03-01 Thread Martin Casado
See src/nox/lib/packet/packet_utils.py (search for checksum). example of its use is in ipv4.py I am using Python. Regards, Immad On Mon, Mar 1, 2010 at 4:41 PM, Martin Casado > wrote: Which language? Hi: I am trying to make the nox controller

Re: [nox-dev] Generate checksums for packet proxy

2010-03-01 Thread Martin Casado
Which language? Hi: I am trying to make the nox controller to act as a proxy . I am able to make nox controller generate arp reply. I am kind of stuck on generating icmp replies and other similar protocols that involve ip layer and other protocol that have checksums as part of the protocol.

[nox-dev] Generate checksums for packet proxy

2010-03-01 Thread Muhammad Immad Uddin
Hi: I am trying to make the nox controller to act as a proxy . I am able to make nox controller generate arp reply. I am kind of stuck on generating icmp replies and other similar protocols that involve ip layer and other protocol that have checksums as part of the protocol. Is there a library fun