[ovs-discuss] What is the best way to map a VTEP flow to an internal port?

Grant Taylor gtaylor at tnetconsulting.net
Sun Sep 16 01:40:11 UTC 2018


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)?



-- 
Grant. . . .
unix || die

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3982 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20180915/191eff8a/attachment.p7s>


More information about the discuss mailing list