<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Sure that helps. Any Idea whats the difference between this one and the one in dpctl show.<br>
<br>
Thank you,<br>
Ageeleshwar K<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF804467"><font color="#000000" face="Tahoma" size="2"><b>From:</b> Damon Wang [damon.devops@gmail.com]<br>
<b>Sent:</b> Thursday, March 27, 2014 4:55 PM<br>
<b>To:</b> Ageeleshwar Kandavelu<br>
<b>Cc:</b> openstack@lists.openstack.org<br>
<b>Subject:</b> Re: [Openstack] [Neutron] Flaw in flow rules<br>
</font><br>
</div>
<div></div>
<div>
<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 color="FF0000" size="4"><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 color="FF0000" size="4"><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" target="_blank">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>
</div>
</div>
</div>
http://www.csscorp.com/common/email-disclaimer.php
</body>
</html>