[ovs-dev] Port matching

Sree Vidya S D vidya426 at gmail.com
Tue Oct 28 10:14:49 UTC 2014


ovs-dpctl show

for linear topology with 4 nodes


1-----(1)s1(2)---(2)s2(3)---(2)s3(3)----(2)s4(1)---h4
                                |               |
                               (1)           (1)
                                h2           h3

port 0: ovs-system (internal)
port 1: s1 (internal)
port 2: s1-eth1
port 3: s1-eth2
port 4: s2 (internal)
port 5: s2-eth1
port 6: s2-eth2
port 7: s2-eth3
port 8: s3 (internal)
port 9: s3-eth1
port 10: s3-eth2
port 11: s3-eth3
port 12: s4 (internal)
port 13: s4-eth1
port 14: s4-eth2


How can I match the port number say if packet goes from switch s1 eth2 to
s2 eth2
(2,3) --->(3,6)?



More information about the dev mailing list