Hi all,

I am trying to add a new flow rule with actions=learn, and never got succeeded. 
 Then I tried some examples from Google search, still no luck.  I am sure I 
must did something not right.  Can anyone tell me where and how to correct it?

The command I am trying is :
ovs-ofctl add-flow br-int "table=40, priority=10, metadata=0x01/0x0f, 
actions=learn(cookie=0xfade, table=30, hard_timeout=300, eth_type=0x800, 
nw_proto=6, NXM_OF_IP_SRC[]=NXM_OF_IP_DST[], NXM_OF_IP_DST[]=NXM_OF_IP_SRC[], 
NXM_OF_TCP_SRC[]=NXM_OF_TCP_DST[], NXM_OF_TCP_DST[]=NXM_OF_TCP_SRC[]), flood"

I got this from openvswitch/tests/learn.at.

The following it's the error I got:


2017-03-30T18:57:15Z|00001|meta_flow|WARN|source field ip_dst lacks correct 
prerequisites

ovs-ofctl: actions are invalid with specified match (OFPBAC_MATCH_INCONSISTENT)

I have no idea what is "OFPBAC_MATCH_INCONSISTENT" mean.

Thanks,
Ching


_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to