<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:31:45 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-172] Bad pre-req for PCP match resulting in OFPBAC_MATCH_INCONSISTENT  in OpenFlowPluginTestCommandProvider</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-172</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;The f80 function in OpenFlowPluginTestCommandProvider doesn&apos;t adhere to the field OXM_OF_VLAN_PCP pre-requisite of containing a VID match. I filed a separate bug from &lt;a href=&quot;https://jira.opendaylight.org/browse/OPNFLWPLUG-171&quot; title=&quot;VLAN PCP parameter is out of bounds from the 3-bit value in OpenFlowPluginTestCommandProvider&quot; class=&quot;issue-link&quot; data-issue-key=&quot;OPNFLWPLUG-171&quot;&gt;&lt;del&gt;OPNFLWPLUG-171&lt;/del&gt;&lt;/a&gt; just in case there was a specific use case for this function and I should add a new function to the test that will pass on OVS.&lt;/p&gt;

&lt;p&gt;Field: OXM_OF_VLAN_PCP&lt;br/&gt;
Dependency: VLAN VID!=NONE &lt;br/&gt;
Reference: see table 10, section A.2.3.5 for validation&lt;/p&gt;

&lt;p&gt;Current:&lt;br/&gt;
---------&lt;br/&gt;
case &quot;f80&quot;:&lt;br/&gt;
    id += 80;&lt;br/&gt;
    flow.setMatch(createMatch1().build());&lt;br/&gt;
    flow.setInstructions(createAppyActionInstruction88().build());&lt;br/&gt;
    break;&lt;/p&gt;

&lt;p&gt;Result: OFPBAC_MATCH_INCONSISTENT&lt;br/&gt;
---------------------------------&lt;br/&gt;
2014-05-13T14:12:58.542Z|1970472|ofp_actions|WARN|set_field vlan_pcp lacks correct prerequisities&lt;br/&gt;
2014-05-13T14:12:58.542Z|1970473|vconn|DBG|tcp:172.16.86.1:6633: received: OFPT_FLOW_MOD (OF1.3) (xid=0x177): **&lt;b&gt;decode error: OFPBAC_MATCH_INCONSISTENT&lt;/b&gt;**&lt;br/&gt;
2014-05-13T14:12:58.542Z|1970474|ofp_actions|WARN|set_field vlan_pcp lacks correct prerequisities&lt;br/&gt;
2014-05-13T14:12:58.542Z|1970475|connmgr|INFO|br-int&amp;lt;-&amp;gt;tcp:172.16.86.1:6633: sending OFPBAC_MATCH_INCONSISTENT error reply to OFPT_FLOW_MOD message&lt;br/&gt;
2014-05-13T14:12:58.542Z|1970476|vconn|DBG|tcp:172.16.86.1:6633: sent (Success): OFPT_ERROR (OF1.3) (xid=0x177): OFPBAC_MATCH_INCONSISTENT&lt;br/&gt;
OFPT_FLOW_MOD (OF1.3) (xid=0x177):&lt;/p&gt;


&lt;p&gt;-Changing the function to (along with the patch &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/7371/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/7371/&lt;/a&gt; ) results in a successful flowmod:&lt;br/&gt;
---------------&lt;br/&gt;
case &quot;f80&quot;:&lt;br/&gt;
        id += 80;&lt;br/&gt;
        flow.setMatch(createVlanMatch().build());&lt;br/&gt;
        flow.setInstructions(createAppyActionInstruction88().build());&lt;br/&gt;
        break;&lt;/p&gt;

&lt;p&gt;Resulting successful flowmod via f80() OpenFlowPluginTestCommandProvider&lt;br/&gt;
------------------------------------------------------------------------&lt;br/&gt;
2014-05-13T14:24:31.043Z|1982264|vconn|DBG|tcp:172.16.86.1:6633: received: OFPST_FLOW request (OF1.3) (xid=0x49): table=2 dl_vlan=10,dl_vlan_pcp=3&lt;br/&gt;
2014-05-13T14:24:31.043Z|1982265|vconn|DBG|tcp:172.16.86.1:6633: sent (Success): OFPST_FLOW reply (OF1.3) (xid=0x49):&lt;br/&gt;
2014-05-13T14:24:31.049Z|1982266|poll_loop|DBG|wakeup due to &lt;span class=&quot;error&quot;&gt;&amp;#91;POLLIN&amp;#93;&lt;/span&gt; on fd 29 (172.16.86.144:48786&amp;lt;-&amp;gt;172.16.86.1:6633) at lib/stream-fd.c:124 (0% CPU usage)&lt;br/&gt;
2014-05-13T14:24:31.050Z|1982267|vconn|DBG|tcp:172.16.86.1:6633: received: OFPT_FLOW_MOD (OF1.3) (xid=0x4a): ADD table:2 priority=2,dl_vlan=10,dl_vlan_pcp=3 cookie:0xa send_flow_rem actions=set_field:4-&amp;gt;vlan_pcp&lt;/p&gt;

&lt;p&gt;Will update with the ticket with a patch in a few minutes.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
-Brent&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Mac OS&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="27440">OPNFLWPLUG-172</key>
            <summary>Bad pre-req for PCP match resulting in OFPBAC_MATCH_INCONSISTENT  in OpenFlowPluginTestCommandProvider</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="brent.salisbury@gmail.com">Brent Salisbury</assignee>
                                    <reporter username="brent.salisbury@gmail.com">Brent Salisbury</reporter>
                        <labels>
                    </labels>
                <created>Sun, 25 May 2014 05:18:48 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:12 +0000</updated>
                            <resolved>Thu, 29 May 2014 09:39:07 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="55702" author="brent.salisbury@gmail.com" created="Sun, 25 May 2014 05:42:20 +0000"  >&lt;p&gt;Resolved with patch &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/7373/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/7373/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
-Brent&lt;/p&gt;</comment>
                            <comment id="55703" author="abhijit2511" created="Thu, 29 May 2014 05:35:12 +0000"  >&lt;p&gt;Brent - Michal has this comment:&lt;/p&gt;

&lt;p&gt;Doesn&apos;t this break the original purpose of f80?&lt;br/&gt;
Adding negative testcase scenario for flows&lt;br/&gt;
Signed-off-by: Govind &amp;lt;p.govinda.rajulu@ericsson.com&amp;gt; Change-Id: I8f6abf29b2a4e91153012a180f1e24ca5044bb3a&lt;/p&gt;</comment>
                            <comment id="55704" author="brent.salisbury@gmail.com" created="Thu, 29 May 2014 09:39:07 +0000"  >&lt;p&gt;(In reply to Abhijit Kumbhare from comment #2)&lt;br/&gt;
&amp;gt; Brent - Michal has this comment:&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; Doesn&apos;t this break the original purpose of f80?&lt;br/&gt;
&amp;gt; Adding negative testcase scenario for flows&lt;br/&gt;
&amp;gt; Signed-off-by: Govind &amp;lt;p.govinda.rajulu@ericsson.com&amp;gt; Change-Id:&lt;br/&gt;
&amp;gt; I8f6abf29b2a4e91153012a180f1e24ca5044bb3a&lt;/p&gt;

&lt;p&gt;Honestly we are chasing breakage the past few days. Not much is working for us in our project anymore so I will abandon.&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>1072</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=1072]]></customfieldvalue>

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

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