[ovs-discuss] Playing with ports

Mike Bursell mike.bursell at citrix.com
Fri Dec 30 09:32:44 PST 2011


Hi - and a very Happy New Year w/e to all who follow the Gregorian calendar!

We're trying to play with some port number matching using the NXM extensions, according to nicira-ext.h, but are running into some problems.  We're using:

ovs-ofctl (Open vSwitch) 1.3.0.11145
Compiled Dec  2 2011 20:48:03
OpenFlow versions 0x1:0x1

When we try to add what seems to be a pretty simple (and hopefully well-formed) rule, we get the following:

# ovs-ofctl add-flow xenbr0 "nw_src=10.80.225.94,actions=move:NXM_OF_TCP_DST[]->NXM_NX_REG0[0..15]"
Dec 30 16:41:29|00001|ofp_util|INFO|normalization changed ofp_match, details:
Dec 30 16:41:29|00002|ofp_util|INFO| pre: nw_src=10.80.225.94 Dec 30 16:41:29|00003|ofp_util|INFO|post:
OFPT_ERROR (xid=0x1): type OFPET_BAD_ACTION, code OFPBAC_BAD_ARGUMENT
00000000  01 0e 00 60 00 00 00 01-00 38 00 ff 00 00 00 00 |...`.....8......|
00000010  00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 |................|
00000020  00 00 00 00 0a 50 e1 5e-00 00 00 00 00 00 00 00 |.....P.^........|
00000030  00 00 00 00 00 00 00 00-00 00 00 00 00 00 80 00 |................|

Any ideas, please?  We guess it's a syntax issue...

-Mike.


More information about the discuss mailing list