<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi all,<o:p></o:p></p>
<p class="MsoNormal">After merging the “Graceful ovs-agent restart”[1] (great work BTW!), I’m seeing in DVR L2 agent code place where flows on br-int is removed in old style:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">File /neutron/plugins/ml2/drivers/openvswitch/agent/ovs_dvr_neutron_agent.py<o:p></o:p></p>
<p class="MsoNormal">200 def setup_dvr_flows_on_integ_br(self):<o:p></o:p></p>
<p class="MsoNormal">201 '''Setup up initial dvr flows into br-int'''<o:p></o:p></p>
<p class="MsoNormal">202 if not self.in_distributed_mode():<o:p></o:p></p>
<p class="MsoNormal">203 return<o:p></o:p></p>
<p class="MsoNormal">204<o:p></o:p></p>
<p class="MsoNormal">205 LOG.info(_LI("L2 Agent operating in DVR Mode with MAC %s"),<o:p></o:p></p>
<p class="MsoNormal">206 self.dvr_mac_address)<o:p></o:p></p>
<p class="MsoNormal">207 # Remove existing flows in integration bridge<o:p></o:p></p>
<p class="MsoNormal">208 self.int_br.delete_flows()<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">This is kind of bummer when seeing the effort to preserve the flows in [1].<o:p></o:p></p>
<p class="MsoNormal">This should not affect VM network access, since the br-tun is configured properly and br-int is in learning mode.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Should this be fixed in Liberty cycle?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">This is something similar to submitted bug: https://bugs.launchpad.net/neutron/+bug/1436156<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">[1] https://bugs.launchpad.net/neutron/+bug/1383674<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="PL">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="PL">Artur Korzeniewski<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="PL">--------------------------------------------<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="PL" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:black;background:white">Intel Technology Poland sp. z o.o.</span><span lang="PL"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="PL" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:black;background:white">KRS 101882</span><span lang="PL"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="PL" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:black;background:white">ul. Slowackiego 173, 80-298 Gdansk</span><span lang="PL"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="PL"><o:p> </o:p></span></p>
</div>
</body>
</html>