<div dir="ltr"><div><div><div>Hi,<br><br></div>Use "ovs-ofctl show br-int" instead of "ovs-dpctl show" :-)<br><br></div>Hope it helps<br><br></div>Damon<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2014-03-27 17:19 GMT+08:00 Ageeleshwar Kandavelu <span dir="ltr"><<a href="mailto:Ageeleshwar.Kandavelu@csscorp.com" target="_blank">Ageeleshwar.Kandavelu@csscorp.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div>
<div style="direction:ltr;font-size:10pt;font-family:Tahoma">Hi,<br>
I am using vlan mode networking. There appears to be a flaw in my flow rules. <br>
<br>
To the best of my knowledge the in_port in the below output should have been 3(according to ovs-dpctl show). But it is 33. To my surprise however, my setup is working. Can any one explain to me how this can happen.<br>
<br>
root@mars:~# ovs-ofctl dump-flows br-int<br>
NXST_FLOW reply (xid=0x4):<br>
 cookie=0x0, duration=522.826s, table=0, n_packets=263, n_bytes=39666, idle_age=429, priority=3<font size="4" color="FF0000"><b>,in_port=33</b></font>,dl_vlan=100 actions=mod_vlan_vid:2,NORMAL<br>
 cookie=0x0, duration=2567.744s, table=0, n_packets=920, n_bytes=197692, idle_age=0, priority=2<font size="4" color="FF0000"><b>,in_port=33
</b></font>actions=drop<br>
 cookie=0x0, duration=2568.669s, table=0, n_packets=384, n_bytes=37365, idle_age=429, priority=1 actions=NORMAL<br>
root@mars:~# ovs-ofctl dump-flows br-eth1<br>
NXST_FLOW reply (xid=0x4):<br>
 cookie=0x0, duration=525.124s, table=0, n_packets=384, n_bytes=37693, idle_age=431, priority=4,in_port=5,dl_vlan=2 actions=mod_vlan_vid:100,NORMAL<br>
 cookie=0x0, duration=2569.882s, table=0, n_packets=6, n_bytes=468, idle_age=2559, priority=2,in_port=5 actions=drop<br>
 cookie=0x0, duration=2570.721s, table=0, n_packets=12748, n_bytes=978934, idle_age=1, priority=1 actions=NORMAL<br>
root@mars:~# ovs-dpctl show<br>
system@ovs-system:<br>
    lookups: hit:39891511 missed:7260493 lost:0<br>
    flows: 11<br>
    port 0: ovs-system (internal)<br>
    port 1: br-int (internal)<br>
    port 2: br-eth1 (internal)<br>
    port 3: int-br-eth1<br>
    port 4: phy-br-eth1<br>
    port 5: eth1<br>
    port 6: tap4385c710-be<br>
root@mars:~# <br>
<br>
<br>
</div>
<a href="http://www.csscorp.com/common/email-disclaimer.php" target="_blank">http://www.csscorp.com/common/email-disclaimer.php</a>
</div>

<br>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br></div>