[ovs-discuss] add-flow normalization question: I found my problem

YIMIN CHEN ymchen.nbzj at gmail.com
Tue Jul 10 02:19:40 UTC 2012


I didn't specify dl_type ...

Thanks!
Yimin

On Tue, Jul 10, 2012 at 10:07 AM, YIMIN CHEN <ymchen.nbzj at gmail.com> wrote:
> Hi,
>
> I am experimenting with ovs-ofctl tool to manually add flows to
> openvswitch1.4.2. I am getting an issue with add-flow that I couldn't
> figure out what I did wrong.
>
> What I ran into is that whenever I tried to add a flow matching an
> destination IP, that match does not show up in the flow entry. Below
> is an example of what I did:
>
> ymchen at ymchen-lnx:~/ymchen/openvswitch-1.4.2$ sudo ovs-ofctl add-flow
> br0 nw_dst=11.1.1.5,actions=output:3
> Jul 10 10:01:06|00001|ofp_util|INFO|normalization changed ofp_match, details:
> Jul 10 10:01:06|00002|ofp_util|INFO| pre: nw_dst=11.1.1.5
> Jul 10 10:01:06|00003|ofp_util|INFO|post:  <==== nw_dst is gone!
>
> Now if I dump flows, you can see nw_dst=11.1.1.5 is no longer there:
>
> ymchen at ymchen-lnx:~/ymchen/openvswitch-1.4.2$ sudo ovs-ofctl
> dump-flows br0NXST_FLOW reply (xid=0x4):
>  cookie=0x0, duration=3.18s, table=0, n_packets=0, n_bytes=0, actions=output:3
>
> Could anyone shed some light on what I did wrong?
>
> Thanks!
> Yimin



More information about the discuss mailing list