OVS doesn't support actions for adding or removing VXLAN headers, but
you can get much the same effect by using VXLAN ports.

The code you cite doesn't have anything to do with what you're asking
about.

On Fri, May 12, 2017 at 11:31:08AM +0800, y...@panath.cn wrote:
> Does not support this feature?, I can have such a kernel code:
> 
> do_execute_actions
>     ===>execute_masked_set_action
>            ===>
> 
> 
> 
> 
> y...@panath.cn
>  
> 发件人: y...@panath.cn
> 发送时间: 2017-05-12 10:33
> 收件人: ovs-discuss
> 主题: How to make the actions of vxlan in port?
> Hi everyone,
> I have a doubt about tunnel protocol to add and subtract action implementation
> 
> If you want to enter the port of packets increase or stripping vxlan action, 
> how to implement, this port is just a ordinary port?
> 
> Whether can be like increase or stripping vlan implementation, such as:
> 
> push vlan:
> ovs-ofctl add-flow br0 
> priority=1,in_port=1,dl_vlan=0xffff,actions=mod_vlan_vid:3,output:2
> 
> pop vlan:
> ovs-ofctl add-flow br0 in_port=1,actions=strip_vlan,output:2
> Best wishes!
> 
> 
> 
> y...@panath.cn



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

Reply via email to