<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:32:12 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>[OPNFLWPLUG-338] Buffer ID set to 0 instead of OFP_NO_BUFFER in PACKET_OUT messages</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-338</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;As reported here: &lt;a href=&quot;https://lists.opendaylight.org/pipermail/l2switch-dev/2014-November/000347.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://lists.opendaylight.org/pipermail/l2switch-dev/2014-November/000347.html&lt;/a&gt;&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="27606">OPNFLWPLUG-338</key>
            <summary>Buffer ID set to 0 instead of OFP_NO_BUFFER in PACKET_OUT messages</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="jluhrsen">Jamo Luhrsen</assignee>
                                    <reporter username="colindixon">Colin Dixon</reporter>
                        <labels>
                    </labels>
                <created>Mon, 19 Jan 2015 15:47:10 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:24 +0000</updated>
                            <resolved>Wed, 18 Mar 2015 23:32:30 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="56392" author="colin@colindixon.com" created="Mon, 19 Jan 2015 15:47:42 +0000"  >&lt;p&gt;Should be fixed by these two patches:&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/14253/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/14253/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="56393" author="jluhrsen" created="Tue, 17 Mar 2015 05:37:52 +0000"  >&lt;p&gt;re-opening as this was seen in the LLDP packet-outs being used for link discovery.&lt;/p&gt;

&lt;p&gt;packet capture attached.&lt;/p&gt;

&lt;p&gt;this patch may fix the issue, but until it&apos;s merged or a better one is made I wanted &lt;br/&gt;
to open this to track it:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/16677/1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/16677/1&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="56401" author="jluhrsen" created="Tue, 17 Mar 2015 05:41:19 +0000"  >&lt;p&gt;Attachment flow_mod_with_buffer_id_0.pcap has been added with description: flow mod using buffer_id == 0&lt;/p&gt;</comment>
                            <comment id="56394" author="mirehak@cisco.com" created="Tue, 17 Mar 2015 10:31:07 +0000"  >&lt;p&gt;Hi,&lt;br/&gt;
your patch is fine but there is later used a default value in case when bufferId is missing (FlowConvertor). &lt;/p&gt;

&lt;p&gt;I guess that the flow you are referring to is the one with xid=8 from the attached pcap file. This looks like flow from l2switch (table-miss-enforcer currently uses empty match).&lt;/p&gt;

&lt;p&gt;I tried to find some code and first dive gave me this:&lt;br/&gt;
loopremover/implementation/src/main/java/org/opendaylight/l2switch/loopremover/flow/InitialFlowWriter.java; line 215&lt;/p&gt;

&lt;p&gt;Could you try to fix this locally and if it works, please file new bug to l2switch (and eventually push fix).&lt;/p&gt;

&lt;p&gt;Thank you.&lt;/p&gt;</comment>
                            <comment id="56395" author="mirehak@cisco.com" created="Tue, 17 Mar 2015 14:46:15 +0000"  >&lt;p&gt;merged&lt;/p&gt;</comment>
                            <comment id="56396" author="mirehak@cisco.com" created="Tue, 17 Mar 2015 14:50:20 +0000"  >&lt;p&gt;Jamo, do you use up-to-date sources? It looks like l2switch is already fixed - see &lt;a href=&quot;https://jira.opendaylight.org/browse/L2SWITCH-30&quot; title=&quot;Buffer ID set to 0 instead of OFP_NO_BUFFER in PACKET_OUT messages&quot; class=&quot;issue-link&quot; data-issue-key=&quot;L2SWITCH-30&quot;&gt;&lt;del&gt;L2SWITCH-30&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="56397" author="jluhrsen" created="Tue, 17 Mar 2015 18:18:01 +0000"  >&lt;p&gt;Michal,&lt;/p&gt;

&lt;p&gt;I actually never pulled l2switch locally yet, so I have to assume I&apos;m using latest code for that.&lt;/p&gt;

&lt;p&gt;But, this one issue (I thought) was just missed with the fix for &lt;a href=&quot;https://jira.opendaylight.org/browse/L2SWITCH-30&quot; title=&quot;Buffer ID set to 0 instead of OFP_NO_BUFFER in PACKET_OUT messages&quot; class=&quot;issue-link&quot; data-issue-key=&quot;L2SWITCH-30&quot;&gt;&lt;del&gt;L2SWITCH-30&lt;/del&gt;&lt;/a&gt; and only applies to the flow_mod for punting LLDP&apos;s to controller.  I wonder if there is a higher level to make this change that buffer_id takes -1 every time by default (instead of default 0 for Long()) so it&apos;s not neccessary to force it to -1.&lt;/p&gt;

&lt;p&gt;Let me know what I can do though, if anything.&lt;/p&gt;</comment>
                            <comment id="56398" author="mirehak@cisco.com" created="Wed, 18 Mar 2015 09:04:27 +0000"  >&lt;p&gt;Hi Jamo,&lt;br/&gt;
I just tried with odl-l2switch-loopremover feature and it looks like the flow covering LLDP contains bufferId = 0xffff. Could you try with latest integration-karaf build? &lt;br/&gt;
&lt;a href=&quot;https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/distribution-karaf/0.3.0-SNAPSHOT/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/distribution-karaf/0.3.0-SNAPSHOT/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Regarding the default value for bufferId - currently if there is null input, we use OFConstants.OFP_NO_BUFFER.&lt;/p&gt;</comment>
                            <comment id="56399" author="colin@colindixon.com" created="Wed, 18 Mar 2015 20:33:59 +0000"  >&lt;p&gt;I&apos;m pretty sure I hunted this down and fixed it everywhere in L2 Switch.&lt;/p&gt;</comment>
                            <comment id="56400" author="jluhrsen" created="Wed, 18 Mar 2015 23:32:17 +0000"  >&lt;p&gt;I must have confused my setups with an older (probably Helium) instance when&lt;br/&gt;
I found the buffer_id to be 0.  I&apos;ve tried with lithium builds before and after&lt;br/&gt;
this patch (&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/16677/1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/16677/1&lt;/a&gt;) was merged and I &lt;b&gt;do&lt;/b&gt;&lt;br/&gt;
see -1 being used in buffer_id.&lt;/p&gt;

&lt;p&gt;we can back out that patch if you think it&apos;s necessary.&lt;/p&gt;

&lt;p&gt;sorry for adding confusion here.  Marking this bug closed.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="21543">L2SWITCH-30</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="13937" name="flow_mod_with_buffer_id_0.pcap" size="392" author="jluhrsen" created="Tue, 17 Mar 2015 05:41:19 +0000"/>
                    </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>2608</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=2608]]></customfieldvalue>

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

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