<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:51:58 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>[CONTROLLER-11] Flow programmer service is not relaying all the details of flow removal event to the listeners</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-11</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;Openflow specs 1.0 says that 1.0 compliant switch should send the following details to the controller with flow removal event&lt;/p&gt;

&lt;p&gt;/* Flow removed (datapath -&amp;gt; controller). */ &lt;br/&gt;
struct ofp_flow_removed { &lt;br/&gt;
struct ofp_header header; &lt;br/&gt;
struct ofp_match match; /* Description of fields. */ &lt;br/&gt;
uint64_t cookie; /* Opaque controller-issued identifier. */ &lt;br/&gt;
uint16_t priority; /* Priority level of flow entry. */ &lt;br/&gt;
uint8_t reason; /* One of OFPRR_*. */ &lt;br/&gt;
uint8_t pad&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;; /* Align to 32-bits. */ &lt;br/&gt;
uint32_t duration_sec; /* Time flow was alive in seconds. */ &lt;br/&gt;
uint32_t duration_nsec; /* Time flow was alive in nanoseconds beyond &lt;br/&gt;
duration_sec. */ &lt;br/&gt;
uint16_t idle_timeout; /* Idle timeout from original flow mod. */ &lt;br/&gt;
uint8_t pad2&lt;span class=&quot;error&quot;&gt;&amp;#91;2&amp;#93;&lt;/span&gt;; /* Align to 64-bits. */ &lt;br/&gt;
uint64_t packet_count; &lt;br/&gt;
uint64_t byte_count; &lt;br/&gt;
}; &lt;/p&gt;

&lt;p&gt;Current implementation of flowprogrammer is not relaying following info from the above structure to its flow removal event listener.&lt;/p&gt;

&lt;p&gt;uint8_t reason; /* One of OFPRR_*. */ &lt;br/&gt;
uint32_t duration_sec; /* Time flow was alive in seconds. */ &lt;br/&gt;
uint32_t duration_nsec; /* Time flow was alive in nanoseconds beyond &lt;br/&gt;
duration_sec. */ &lt;br/&gt;
uint64_t packet_count; &lt;br/&gt;
uint64_t byte_count; &lt;/p&gt;

&lt;p&gt;Alessandro mentioned that FlowOnNode class is better choice for relaying all the above mentioned details to the listener. But FlowOnNode does not relay &lt;span class=&quot;error&quot;&gt;&amp;#91;uint8_t reason &amp;#93;&lt;/span&gt; parameter, so it requires some thought.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="24565">CONTROLLER-11</key>
            <summary>Flow programmer service is not relaying all the details of flow removal event to the listeners</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="10001">Won&apos;t Do</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="Avishnoi">Anil Vishnoi</reporter>
                        <labels>
                    </labels>
                <created>Tue, 23 Apr 2013 18:34:06 +0000</created>
                <updated>Tue, 25 Jul 2023 08:24:47 +0000</updated>
                            <resolved>Fri, 22 Jan 2016 05:20:00 +0000</resolved>
                                                                    <component>adsal</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="47272" author="carolsand@gmail.com" created="Mon, 4 May 2015 20:11:36 +0000"  >&lt;p&gt;This bug is part of the project to Move all ADSAL associated component bugs to ADSAL&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>14</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=14]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10206" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Issue Type</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10300"><![CDATA[Bug]]></customfieldvalue>

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

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