Hi Ramon,

Here while adding  flow you are giving only L3 field *nw_dst*, that is why
flow is geeting normalized and it is ignoring the* nw_dst* while adding
flow.
In openvswich you have to specify *L2 field* also when you are specifying
an L3 field.
Please read* ovs-ofctl *man page for understanding normalization concept.

 *Amit Tewari*

 *Module Lead*

Nec Hcl St
**


On Sun, Jan 27, 2013 at 6:49 AM, Ramon Marques <ramonmr...@gmail.com> wrote:

> Hello,
>
> I am trying to use ovs-ofctl to add a flow that matches the nw_dst field.
> I'm running  ovs-ofctl add-flow 
> tcp:127.0.0.1:6634nw_dst=10.0.0.2,actions=mod_vlan_vid:1,output:2
>
> and  I get the following mesasge:
>
> 2013-01-27T01:09:28Z|00001|ofp_util|INFO|normalization changed ofp_match,
> details:
> 2013-01-27T01:09:28Z|00002|ofp_util|INFO| pre: nw_dst=10.0.0.2
> 2013-01-27T01:09:28Z|00003|ofp_util|INFO|post:
>
>
> But the flow is not installed correctly. If I run the ovs-ofctl dump-flows
> the flow table is not matching the nw_dst field.
>
>
> Am I  doing something wrong?
>
>
>
> --
> Ramon Marques Ramos
>
> Engenheiro de Computação
> Mestrando em Informática -UFES
>
> _______________________________________________
> discuss mailing list
> discuss@openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss
>
>
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to