Hello guys,

I managed to follow the nicira extended actions and created one of my own.
I did stumble upon an issue that I can't find a solution to though.
The action I've made has to overwrite the packets arp body (amongst other things).

I managed to make my action compatible with openflow, and it gets stored (and recognized) and I can see it just fine with `ovs-ofctl dump-flows my-bridge` but not within the datapath flows.
Here's the datapath related output from `ovs-appctl ofproto/trace`:

Final flow: arp,metadata=0,in_port=1,vlan_tci=0x0000,dl_src=26:56:a1:e3:f2:45,dl_dst=52:54:00:1d:28:97,arp_spa=0.0.0.0,arp_tpa=0.0.0.0,arp_op=2,arp_sha=26:56:a1:e3:f2:45,arp_tha=52:54:00:1d:28:97 Relevant fields: skb_priority=0,arp,in_port=1,dl_src=00:00:00:00:00:00,dl_dst=00:00:00:00:00:00,arp_op=1,nw_frag=no
Datapath actions: set(eth(src=26:56:a1:e3:f2:45,dst=52:54:00:1d:28:97)),3

The output is generated using the following flow:
ovs-ofctl add-flow my-bridge "in_port=2 arp arp_op=1 actions=mod_dl_dst:52:54:00:1d:28:97,mod_dl_src:00:11:22:33:44:55,my_action:2,output:1"

_Note_:
The dl_src in the added flow (00:11:22:33:44:55) is different from the datapath output dl_src (26:56:a1:e3:f2:45) because for testing purposes I hard-coded in my action to overwrite it.

Any idea on why I can not overwrite the arp body?

Thanks,
--
Andrei Andone

SOFTVISION | 57 Republicii Street, 400489 Cluj-Napoca, Romania
Email: andrei.and...@softvision.ro <mailto:andrei.and...@softvision.ro> | Web: www.softvision.ro <http://www.softvision.ro>

The content of this communication is classified as SOFTVISION Confidential and Proprietary Information.

_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to