<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:20:43 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[NETVIRT-108] Mac learning in vlan provider networks clobbers static flows with wrong flows</title>
                <link>https://jira.opendaylight.org/browse/NETVIRT-108</link>
                <project id="10144" key="NETVIRT">netvirt</project>
                    <description>&lt;p&gt;Here are flow installations to node1:&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;jhershbe@josh-laptop current&amp;#93;&lt;/span&gt;$ grep -E &quot;MOD.* table:51&quot; snoop.control.out&lt;br/&gt;
OFPT_FLOW_MOD (OF1.3) (xid=0xa86): ADD table:51 priority=20,metadata=0x1388000000/0xffff000000,dl_dst=fa:16:3e:cb:d1:25 cookie:0x8031388 actions=load:0x500-&amp;gt;NXM_NX_REG6[],resubmit(,220)&lt;br/&gt;
OFPT_FLOW_MOD (OF1.3) (xid=0xaee): ADD table:51 priority=20,metadata=0x1388000000/0xffff000000,dl_dst=fa:16:3e:87:6e:96 cookie:0x8031388 actions=load:0x600-&amp;gt;NXM_NX_REG6[],resubmit(,220)&lt;br/&gt;
OFPT_FLOW_MOD (OF1.3) (xid=0xaf7): ADD table:51 priority=20,metadata=0x1388000000/0xffff000000,dl_dst=fa:16:3e:6a:4d:36 cookie:0x8031388 actions=load:0x100-&amp;gt;NXM_NX_REG6[],resubmit(,220)&lt;br/&gt;
OFPT_FLOW_MOD (OF1.3) (xid=0xaff): ADD table:51 priority=20,metadata=0x1388000000/0xffff000000,dl_dst=fa:16:3e:87:6e:96 cookie:0x8031388 actions=load:0x100-&amp;gt;NXM_NX_REG6[],resubmit(,220)&lt;br/&gt;
Note the two times the flow for the MAC address ending in :96 is installed. The first time reg6 is tagged as 0x600, which outputs correctly on port 3. The second time reg6 is tagged with 0x100 which sends the packet incorrectly out of port 1, the vlan port. The first, correct flow is installed when the ElanInterface is added. The second, incorrect flow is installed as a result of a PACKET_IN message sent to the controller with a source MAC of :96. How does this happen and why is the wrong flow calculated? Like this:&lt;br/&gt;
1) A packet is sent from node1 to the node2 over the provider vlan network&lt;br/&gt;
2) That packet is received on the node2, begins to traverse the pipeline, and reaches the smac table (50)&lt;br/&gt;
3) That packet has a source address of :96 but does not match any entries in the smac table because :96 is not found on node2, the packet came across the provider network from node1.&lt;br/&gt;
4) Table 50&apos;s default action (CONTROLLER) fires and the PACKET_IN is sent to the controller&lt;br/&gt;
5) On the controller the flow reaches ElanUtils.setupOrigDmacFlows with the macAddress=:96, the interface is the vlan port on the node2, and the dpid is node2. Therefor,...&lt;br/&gt;
6) ...when the remote dmac flow is calculated it is essentially asking &quot;where should I send traffic out on node1 to reach the vlan port on node2?&quot;. Answer: the vlan port on node1 which gives us the second flow (0x100) which overwrites the original, correct flow.&lt;/p&gt;

&lt;p&gt;I checked how this works with VxLan. What I found was that packets coming in off the VxLan interface do not pass through the smac (50) table at all. They are sent straight to 36 (INTERNAL_TUNNEL_TABLE) and from there they go to 220 for output&apos;ing.&lt;/p&gt;

&lt;p&gt;So, should Vlan work like vxlan and move the traffic from table:0 to table:36 to table:220? I&apos;m going to try and find the code that handles that for Vxlan and see what I can figure out but wanted to share this analysis and see whether you had any suggestions.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="20029">NETVIRT-108</key>
            <summary>Mac learning in vlan provider networks clobbers static flows with wrong flows</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="jhershbe">Josh Hershberg</assignee>
                                    <reporter username="jhershbe">Josh Hershberg</reporter>
                        <labels>
                    </labels>
                <created>Tue, 30 Aug 2016 12:05:24 +0000</created>
                <updated>Tue, 29 May 2018 14:58:12 +0000</updated>
                            <resolved>Fri, 2 Sep 2016 06:43:24 +0000</resolved>
                                    <version>Boron</version>
                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="36340" author="anipbu" created="Fri, 2 Sep 2016 04:16:20 +0000"  >&lt;p&gt;Is there an ETA for this bug and someone assigned to fix?&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6584</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:url">
                        <customfieldname>External issue URL</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[https://bugs.opendaylight.org/show_bug.cgi?id=6584]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i01prj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>