On Sat, Sep 15, 2018 at 07:40:11PM -0600, Grant Taylor via discuss wrote: > What is the best way to map a specific flow ID coming in a VTEP to a > specific internal port? > > # ovs-vsctl add-br br0 > > # ovs-vsctl add-port br0 port0 -- set interface port0 type=internal -- set > port port0 tag=100 > > # ovs-vsctl add-port br0 port1 -- set interface port1 type=internal -- set > port port1 tag=101 > > # ovs-vsctl add-port br0 vtep0 -- set interface vtep0 type=vxlan > options:remote_ip=192.0.2.1 options:key=flow > > I want VNI / flow 100 to go to port0 and VNI / flow 101 to go to port1. > > Do I need to map the VNIs to a VLAN (possibly via OpenFlow?) and then assign > a VLAN to the internal port? > > Is there a way to associate an internal port with a specific VNI / flow like > there is a a way to associate a specific VLAN (tag=$VID)?
Something like this? I have not tested it. ovs-vsctl add-port br0 port0 -- set interface port0 type=internal -- set port port0 tag=100 ovs-vsctl add-port br0 port1 -- set interface port1 type=internal -- set port port1 tag=101 ovs-vsctl add-port br0 vtep0 -- set interface vtep0 type=vxlan options:remote_ip=192.0.2.1 options:key=100 tag=100 ovs-vsctl add-port br0 vtep1 -- set interface vtep1 type=vxlan options:remote_ip=192.0.2.1 options:key=101 tag=101 _______________________________________________ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss