Re: [ovs-discuss] Bug Report: Cookie returned is always zero

2011-05-20 Thread kk yap
r "big-endian"). > > On Fri, May 20, 2011 at 04:41:21PM -0700, kk yap wrote: >> Hi Ben, >> >> The patch works!  Thanks. >> >> One strange thing is the lack of htonll.  It would seems like fr is in >> host order and ofr is in network order,

Re: [ovs-discuss] Bug Report: Cookie returned is always zero

2011-05-20 Thread kk yap
Fri, May 20, 2011 at 04:03:49PM -0700, kk yap wrote: >> We are sending flow_mod with some cookie value (e.g., deadbeef), but >> all the flow_removed returns with cookie 0.  A sample tcpdump of the >> OpenFlow control traffic is attached. > > I like bugs that are easy to track d

[ovs-discuss] Bug Report: Cookie returned is always zero

2011-05-20 Thread kk yap
Hi, We are back! :P We are sending flow_mod with some cookie value (e.g., deadbeef), but all the flow_removed returns with cookie 0. A sample tcpdump of the OpenFlow control traffic is attached. The OVS version we are using has last commit c64540e3fe43a83bbe8687c53fb7fdec95b94195. It was prev

Re: [ovs-discuss] Inaccurate statistics in flow_removed struct using OpenvSwitch

2011-05-18 Thread kk yap
Hi, Thanks for the very fast response. TY tested the code and it worked. Regards KK On 18 May 2011 12:55, Ethan Jackson wrote: >> Looking at the code, ovs-openflowd returns facet + stat as packet >> count for the flow removed.  The number recorded by facet is correct, >> but the sum of the val

Re: [ovs-discuss] How can i connect OVS on different host?

2011-02-21 Thread kk yap
Hi, If you want to use VDE, it is independent of OVS. You can bind the VDE switch to a vtap and then use wirefilter to do so via SSH. This is probably best understood if you search the VDE documentation. Regards KK On 21 February 2011 23:35, Justin Pettit wrote: > I've not used VDE in such a

Re: [ovs-discuss] Flow removed message bug

2011-02-21 Thread kk yap
011 18:11, Derek Cormier wrote: > On page 14 of the spec, it says that if _STRICT is used, all fields, > including the wildcards and priority, are strictly matched against the > entry, and only an identical flow is modified or removed. > > - Derek > > On 02/22/2011 1

Re: [ovs-discuss] Flow removed message bug

2011-02-21 Thread kk yap
you need the ofp_match & > priority (unless a cookie is used). > > - Derek > > On 02/22/2011 03:27 AM, kk yap wrote: >> >> Hi, >> >> I believe maintaining the wildcards would be enough.  To me, the >> following two matches are the same: >>

Re: [ovs-discuss] Flow removed message bug

2011-02-21 Thread kk yap
Hi, I believe maintaining the wildcards would be enough. To me, the following two matches are the same: Wildcards = ALL - DL_TYPE, DL_TYPE = 5, IP_SRC = 100... Wildcards = ALL - DL_TYPE, DL_TYPE = 5, IP_SRC = 0... I believe Ben and Justin is saying that it is reasonable to maintain the wildcard

Re: [ovs-discuss] Flow removed message bug

2011-02-18 Thread kk yap
Hi, Actually on page 37 of the OpenFlow 1.0 spec, it is stated that "The match, cookie, and priority fields are the same as those used in the flow setup request.". I interpret that to be that the switch should not change them. Caveat: I am not saying or asking the switch not to normalize the fl

Re: [ovs-discuss] No packet-in with ofp_action_output + OFPP_CONTROLLER

2011-02-17 Thread kk yap
but ofproto implemented the opposite behavior.  This fixes the problem. > > Reported-by: kk yap > --- >  ofproto/ofproto.c |    6 +++--- >  1 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c > index 39d3457..e4c3528 10

Re: [ovs-discuss] No packet-in with ofp_action_output + OFPP_CONTROLLER

2011-02-17 Thread kk yap
_cfg","ovs_version","ssl","statistics","system_type","system_version"]},"Maintenance_Point":{"columns":["fault","mpid"]},"Manager":{"columns":["connection_mode","external_ids

Re: [ovs-discuss] No packet-in with ofp_action_output + OFPP_CONTROLLER

2011-02-17 Thread kk yap
PM -0800, kk yap wrote: >> I am OVS kernel datapath with ovs-openflowd.  I have installed the >> following flow entries. >> >>  cookie=0x0, duration=292.116s, table_id=0, n_packets=0, n_bytes=0, >> priority=24576,icmp actions=CONTROLLER:1500 >>  cookie=0x0,

[ovs-discuss] No packet-in with ofp_action_output + OFPP_CONTROLLER

2011-02-16 Thread kk yap
Hi, I am OVS kernel datapath with ovs-openflowd. I have installed the following flow entries. cookie=0x0, duration=292.116s, table_id=0, n_packets=0, n_bytes=0, priority=24576,icmp actions=CONTROLLER:1500 cookie=0x0, duration=292.116s, table_id=0, n_packets=189, n_bytes=36725, priority=24576,u

Re: [ovs-discuss] ovs-openflowd dying with invalid argument warning

2011-02-16 Thread kk yap
Hi Ben, I move forward to the head of master and that seems to work. Seems like some bugs is fixed in between. Should have thought of git pull --rebase. Sorry for the trouble. Thanks. Regards KK On 16 February 2011 16:07, Ben Pfaff wrote: > On Wed, Feb 16, 2011 at 04:01:57PM -0800, kk

Re: [ovs-discuss] ovs-openflowd dying with invalid argument warning

2011-02-16 Thread kk yap
] (Invalid argument) in_port(1),eth(src=00:1b:77:da:c9:10,dst=ff:ff:ff:ff:ff:ff),eth_type(0x0800),ipv4(src=10.33.2.35,dst=10.33.7.255,proto=17,tos=0),udp(src=137,dst=137) Hope it give someone a clue what is happening. Regards KK On 16 February 2011 16:01, kk yap wrote: > Hi, > > I am running

Re: [ovs-discuss] Name of port in OFP_SWITCH_FEATURES

2011-02-07 Thread kk yap
ve not read the article myself. On 7 February 2011 09:54, Ben Pfaff wrote: > On Mon, Feb 07, 2011 at 01:54:53AM -0800, kk yap wrote: >> I am using OpenvSwitch kernel datapath with openflowd.  When I connect >> the kernel datapath path to the controller, the controller (written in &

[ovs-discuss] Name of port in OFP_SWITCH_FEATURES

2011-02-07 Thread kk yap
Hi, I am using OpenvSwitch kernel datapath with openflowd. When I connect the kernel datapath path to the controller, the controller (written in Python) sends a features reply with a list of ports. In that list of ports, I have added eth1 to the datapath, but the name of the port is "eth1\u0001"

Re: [ovs-discuss] Compile ovs for Andriod

2011-01-26 Thread kk yap
Hi Ben, > I doubt that it makes sense to run OVS on Android at all.  Do any > Android devices have more than one Ethernet port?  Do any Android > devices support virtualization?  If the answer to both is "no" then I > don't know what OVS would be good for on Android. It has more than 1 network po

Re: [ovs-discuss] Open vSwitch, WLAN and bonding

2011-01-14 Thread kk yap
Hi, You can overwrite the mac address of the wireless interface to all packet to go through. Most cards allow you to do it, though the USB and PCMCIA ones sometimes refuse to change their mac address. This problem exists when the interface is in managed mode. If it is in master mode, I do not t

Re: [ovs-discuss] openflow version incompatible with nox?

2010-08-10 Thread kk yap
should I do next? > where should I put the openflow source, and recompile nox? > > 在 2010年8月11日 上午11:46,kk yap 写道: >> >> git checkout -b openflow-1.0 origin/openflow is needed. >> >> Regards >> KK >> >> 2010/8/10 陈文龙 : >> > >> > I do

Re: [ovs-discuss] openflow version incompatible with nox?

2010-08-10 Thread kk yap
git checkout -b openflow-1.0 origin/openflow is needed. Regards KK 2010/8/10 陈文龙 : > > I don't understand. > I do git clone git://noxrepo.org/nox. > And then compile it. > > What else should I do? > Compile OF-1.0 individually? > > 在 2010年8月11日 上午11:39,kk yap 写道:

Re: [ovs-discuss] openflow version incompatible with nox?

2010-08-10 Thread kk yap
t: Protocol error > > > > > 在 2010年8月11日 上午11:12,陈文龙 写道: >> >> thanks, trying the git version. >> >> report latter. >> >> >> 在 2010年8月11日 上午11:06,kk yap 写道: >>> >>> Why not try openflow-1.0 branch of NOX0.6 at git://noxr

Re: [ovs-discuss] openflow version incompatible with nox?

2010-08-10 Thread kk yap
Why not try openflow-1.0 branch of NOX0.6 at git://noxrepo.org/nox? Regards KK On 10 August 2010 19:55, 陈文龙 wrote: > OVS 1.0.1 > NOX 0.5.0 > Is that ok? > > 2010/8/11 Ben Pfaff >> >> On Tue, Aug 10, 2010 at 6:59 PM, 陈文龙 wrote: >> > OVS runs in Dom0. NOX runs in DomU. >> > >> > >> > 1|openf

Re: [ovs-discuss] dividing link througput on VM

2010-07-29 Thread kk yap
Hi, As a related question, isn't there a way to add flows using ovs-ofctl without having a controller? Thanks in advance. Regards KK On 29 July 2010 09:35, Ben Pfaff wrote: > On Thu, Jul 29, 2010 at 2:10 AM, ahmed amamou > wrote: >> i was just wondering if VS has the ability to divide  throu

Re: [ovs-discuss] Compiled but invalid module format error

2010-06-21 Thread kk yap
Hi Jesse, Thanks. It is the duplicate bridge. Might be good to put this in the installation instructions as a cautionary note. Regards KK On 21 June 2010 19:47, Jesse Gross wrote: > On Mon, Jun 21, 2010 at 6:54 PM, kk yap wrote: >> >> Hi, >> >> I am trying to

[ovs-discuss] OpenvSwitch does not compile with linux-headers-2.6.30-1-686

2009-11-05 Thread kk yap
Hi, I have trying to compile Open vSwitch with Linux kkpc 2.6.30-1-686 #1 SMP Sat Jul 18 14:00:34 UTC 2009 i686 GNU/Linux ./boot.sh works fine but ./configure --with-l26=/lib/modules/`uname -r`/build did not complete with the following error. checking whether gcc accepts -Wmissing-field-initiali