<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)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@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;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        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;}
/* Page Definitions */
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
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="ZH-CN" link="#0563C1" vlink="#954F72" style="text-justify-trim:punctuation">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Ian/Brent/Matt,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">We analyze the patch 9671feb related to l2pop. We think that this is not a bug for neutron ovs and suggest not to upstream. Because for the outgoing packet that destination unknown, avs agent may drop the packet while
 ovs agent will flood it and finally learn the flows. Could you please help to review and comment? Thanks very much!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US">Patch ID</span></b><span lang="EN-US">: 9671feb<o:p></o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US">Patch Description</span></b><span lang="EN-US">: l2pop: allow csnat ports in list of endpoints. Not quite sure why upstream is not impacted by this issue, but we need to have CSNAT ports included in the list of ports
 that the l2pop driver handles. Without this it is not possible for a VM on one node to reach the CSNAT port because the MAC address of the CSNAT port is not included in the static FDB entries.  Without this our vswitch drops the outgoing packet since that's
 what it does with packets to unknown destinations while in static mode.<o:p></o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US">Patch Analysis Report</span></b><span lang="EN-US">: You can find it in the attachment<o:p></o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US">Comment</span></b><span lang="EN-US">: We setup an environment(Openstack:
<span style="color:black">DVR + L3 HA + L2POP</span>) to check the bug exists or not in neutron ovs. Several scenarios are checked and the result shows that the patch 9671feb is not a bug for neutron ovs. In each scenario, we check whether the vm can ping the
 router’s gateway or not and the flows in the compute node exists or not. In all scenarios, the router’s gateway can be accessed. The flows related to csnat port exists after the csnat port is created except for the third scenario. In the third scenario(a new
 host is added to the openstack, thus the host don’t have the flows for l2pop), when a vm is created on the new host, all fdbs(except ha and csnat port) should be sent to this host due to that the port created is the first port in this host. And now there are
 no flows related to csnat port. After ping router’s gateway, the flows related to csnat port appears. This means that ovs agent won’t drop the outgoing packet that destination unknown and will flood it. Below is the result:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-indent:5.5pt"><b><span lang="EN-US">Before</span></b><span lang="EN-US"> ping router’s gateway(fa:16:3e:72:06:05 is csnat port’s mac address), there are no flows related to csnat port.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:5.5pt"><span lang="EN-US">This means that the fdb for csnat port is not sent to the host even the first port is created due to a vm creation.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:5.5pt"><span lang="EN-US"><img width="859" height="69" id="Picture_x0020_1" src="cid:image001.png@01D43A34.92B4F470"></span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:5.5pt"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-indent:5.5pt"><b><span lang="EN-US">After </span>
</b><span lang="EN-US">ping router’s gateway, the flow related to csnat port appears.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:5.5pt"><span lang="EN-US">This means that ovs agent won’t drop the outgoing packet that destination unknown and will flood it.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:5.5pt"><span lang="EN-US"><img width="1644" height="95" id="Picture_x0020_2" src="cid:image002.png@01D43A34.92B4F470"></span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><span lang="EN-US"><o:p> </o:p></span></i></b></p>
<p class="MsoNormal"><b><i><span lang="EN-US">Best Regards,<o:p></o:p></span></i></b></p>
<p class="MsoNormal"><b><i><span lang="EN-US">Xu, Chenjie</span></i></b><span lang="EN-US" style="color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt"><o:p> </o:p></span></p>
</div>
</body>
</html>