[ovs-discuss] 回复: How to make the actions of vxlan in port?

ych at panath.cn ych at panath.cn
Fri May 12 03:31:08 UTC 2017


Does not support this feature?, I can have such a kernel code:

do_execute_actions
    ===>execute_masked_set_action
           ===>




ych at panath.cn
 
发件人: ych at 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!



ych at panath.cn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20170512/130f9730/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Catch84CD.jpg
Type: image/jpeg
Size: 214620 bytes
Desc: not available
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20170512/130f9730/attachment-0001.jpg>


More information about the discuss mailing list