On Thu,  1 Oct 2015 18:08:51 +0200, Jiri Benc wrote:
> This is for IPv4 only at this point. Only vxlan is recognized for now.
> 
> The usage is as follows:
> 
> ip l a type vxlan metadata dstport 4789
> ovs-vsctl add-port ovsbridge vxlan0
                     ^ should be "ovs0"

> Now, the encapsulation can be specified using ovs-ofctl, e.g.:
> 
> ovs-ofctl add-flow ovs0 'in_port=2 
> actions=set_field:2->tun_id,set_field:192.168.1.1->tun_dst,1'
> ovs-ofctl add-flow ovs0 'in_port=1,tun_id=2 actions=2'
> 
> Note that this depends on iproute2 patches that are not merged yet to create
> the metadata based vxlan interface.


-- 
Jiri Benc
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to