<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:31:46 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-182] flow in operational data store does not contain all details from cofig (e.g. &lt;instructions&gt;)</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-182</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;used odl:&lt;br/&gt;
org.opendaylight.controller.version = 0.1&lt;br/&gt;
org.opendaylight.controller.build.scm.version = 03eb0149e2d6e045e40d7cdf338ee060bc39f070&lt;br/&gt;
org.opendaylight.controller.build.user = jenkins-controller&lt;br/&gt;
org.opendaylight.controller.build.workspace = **********&lt;br/&gt;
org.opendaylight.controller.build.timestamp = 1401981249321&lt;br/&gt;
org.opendaylight.controller.build.machine = **********&lt;/p&gt;

&lt;p&gt;mininet 2.1.0 with ovs 2.0.0&lt;/p&gt;


&lt;p&gt;1) PUT flow (xml attached)&lt;br/&gt;
/restconf/config/opendaylight-inventory:nodes/node/openflow:${switch_idx}/table/${table_id}/flow/${flow_id}, data=${data}, headers=${headers}&lt;/p&gt;

&lt;p&gt;2) GET config &lt;br/&gt;
&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&amp;gt;&lt;br/&gt;
&amp;lt;flow xmlns=&quot;urn:opendaylight:flow:inventory&quot;&amp;gt;&lt;br/&gt;
    &amp;lt;strict&amp;gt;false&amp;lt;/strict&amp;gt;&lt;br/&gt;
    &amp;lt;id&amp;gt;125&amp;lt;/id&amp;gt;&lt;br/&gt;
    &amp;lt;idle-timeout&amp;gt;34&amp;lt;/idle-timeout&amp;gt;&lt;br/&gt;
    &amp;lt;cookie_mask&amp;gt;255&amp;lt;/cookie_mask&amp;gt;&lt;br/&gt;
    &amp;lt;priority&amp;gt;2&amp;lt;/priority&amp;gt;&lt;br/&gt;
    &amp;lt;hard-timeout&amp;gt;60&amp;lt;/hard-timeout&amp;gt;&lt;br/&gt;
    &amp;lt;table_id&amp;gt;2&amp;lt;/table_id&amp;gt;&lt;br/&gt;
    &amp;lt;instructions&amp;gt;&lt;br/&gt;
        &amp;lt;instruction&amp;gt;&lt;br/&gt;
            &amp;lt;order&amp;gt;0&amp;lt;/order&amp;gt;&lt;br/&gt;
            &amp;lt;apply-actions&amp;gt;&lt;br/&gt;
                &amp;lt;action&amp;gt;&lt;br/&gt;
                    &amp;lt;drop-action/&amp;gt;&lt;br/&gt;
                    &amp;lt;order&amp;gt;0&amp;lt;/order&amp;gt;&lt;br/&gt;
                &amp;lt;/action&amp;gt;&lt;br/&gt;
            &amp;lt;/apply-actions&amp;gt;&lt;br/&gt;
        &amp;lt;/instruction&amp;gt;&lt;br/&gt;
    &amp;lt;/instructions&amp;gt;&lt;br/&gt;
    &amp;lt;flow-name&amp;gt;FooXf2&amp;lt;/flow-name&amp;gt;&lt;br/&gt;
    &amp;lt;match&amp;gt;&lt;br/&gt;
        &amp;lt;ethernet-match&amp;gt;&lt;br/&gt;
            &amp;lt;ethernet-type&amp;gt;&lt;br/&gt;
                &amp;lt;type&amp;gt;2048&amp;lt;/type&amp;gt;&lt;br/&gt;
            &amp;lt;/ethernet-type&amp;gt;&lt;br/&gt;
        &amp;lt;/ethernet-match&amp;gt;&lt;br/&gt;
        &amp;lt;ipv4-source&amp;gt;10.0.0.1&amp;lt;/ipv4-source&amp;gt;&lt;br/&gt;
    &amp;lt;/match&amp;gt;&lt;br/&gt;
    &amp;lt;cookie&amp;gt;2&amp;lt;/cookie&amp;gt;&lt;br/&gt;
    &amp;lt;installHw&amp;gt;false&amp;lt;/installHw&amp;gt;&lt;br/&gt;
    &amp;lt;barrier&amp;gt;false&amp;lt;/barrier&amp;gt;&lt;br/&gt;
    &amp;lt;flags&amp;gt;FlowModFlags &lt;span class=&quot;error&quot;&gt;&amp;#91;_cHECKOVERLAP=false, _rESETCOUNTS=false, _nOPKTCOUNTS=false, _nOBYTCOUNTS=false, _sENDFLOWREM=false&amp;#93;&lt;/span&gt;&amp;lt;/flags&amp;gt;&lt;br/&gt;
&amp;lt;/flow&amp;gt;&lt;/p&gt;

&lt;p&gt;3) Get operational&lt;br/&gt;
    &amp;lt;flow&amp;gt;&lt;br/&gt;
        &amp;lt;id&amp;gt;125&amp;lt;/id&amp;gt;&lt;br/&gt;
        &amp;lt;flow-statistics xmlns=&quot;urn:opendaylight:flow:statistics&quot;&amp;gt;&lt;br/&gt;
            &amp;lt;idle-timeout&amp;gt;34&amp;lt;/idle-timeout&amp;gt;&lt;br/&gt;
            &amp;lt;flags/&amp;gt;&lt;br/&gt;
            &amp;lt;hard-timeout&amp;gt;60&amp;lt;/hard-timeout&amp;gt;&lt;br/&gt;
            &amp;lt;cookie&amp;gt;2&amp;lt;/cookie&amp;gt;&lt;br/&gt;
            &amp;lt;byte-count&amp;gt;0&amp;lt;/byte-count&amp;gt;&lt;br/&gt;
            &amp;lt;match&amp;gt;&lt;br/&gt;
                &amp;lt;ipv4-source&amp;gt;10.0.0.1/32&amp;lt;/ipv4-source&amp;gt;&lt;br/&gt;
                &amp;lt;ethernet-match&amp;gt;&lt;br/&gt;
                    &amp;lt;ethernet-type&amp;gt;&lt;br/&gt;
                        &amp;lt;type&amp;gt;2048&amp;lt;/type&amp;gt;&lt;br/&gt;
                    &amp;lt;/ethernet-type&amp;gt;&lt;br/&gt;
                &amp;lt;/ethernet-match&amp;gt;&lt;br/&gt;
            &amp;lt;/match&amp;gt;&lt;br/&gt;
            &amp;lt;duration&amp;gt;&lt;br/&gt;
                &amp;lt;nanosecond&amp;gt;333000000&amp;lt;/nanosecond&amp;gt;&lt;br/&gt;
                &amp;lt;second&amp;gt;19&amp;lt;/second&amp;gt;&lt;br/&gt;
            &amp;lt;/duration&amp;gt;&lt;br/&gt;
            &amp;lt;priority&amp;gt;2&amp;lt;/priority&amp;gt;&lt;br/&gt;
            &amp;lt;packet-count&amp;gt;0&amp;lt;/packet-count&amp;gt;&lt;br/&gt;
            &amp;lt;table_id&amp;gt;2&amp;lt;/table_id&amp;gt;&lt;br/&gt;
        &amp;lt;/flow-statistics&amp;gt;&lt;br/&gt;
    &amp;lt;/flow&amp;gt;&lt;/p&gt;




&lt;p&gt;this bug can be related to &lt;a href=&quot;https://bugs.opendaylight.org/show_bug.cgi?id=521&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://bugs.opendaylight.org/show_bug.cgi?id=521&lt;/a&gt;&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Linux&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="27450">OPNFLWPLUG-182</key>
            <summary>flow in operational data store does not contain all details from cofig (e.g. &lt;instructions&gt;)</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="vdemcak@cisco.com">Vaclav Demcak</assignee>
                                    <reporter username="pgubka@cisco.com">Peter Gubka</reporter>
                        <labels>
                    </labels>
                <created>Fri, 6 Jun 2014 09:50:42 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:12 +0000</updated>
                            <resolved>Tue, 24 Jun 2014 12:08:11 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="55737" author="pgubka@cisco.com" created="Fri, 6 Jun 2014 09:50:42 +0000"  >&lt;p&gt;Attachment f2.xml has been added with description: xml used to configure flow&lt;/p&gt;</comment>
                            <comment id="55736" author="vdemcak@cisco.com" created="Tue, 24 Jun 2014 12:08:11 +0000"  >&lt;p&gt;The provided xml input and the next xml imput have same device flow &lt;/p&gt;
{cookie=0x2, duration=23.331s, table=2, n_packets=0, n_bytes=0, priority=2,ip,nw_src=10.0.0.1 actions=drop}

&lt;p&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&amp;gt;&lt;br/&gt;
&amp;lt;flow xmlns=&quot;urn:opendaylight:flow:inventory&quot;&amp;gt;&lt;br/&gt;
    &amp;lt;strict&amp;gt;false&amp;lt;/strict&amp;gt;&lt;br/&gt;
    &amp;lt;id&amp;gt;125&amp;lt;/id&amp;gt;&lt;br/&gt;
    &amp;lt;idle-timeout&amp;gt;34&amp;lt;/idle-timeout&amp;gt;&lt;br/&gt;
    &amp;lt;cookie_mask&amp;gt;255&amp;lt;/cookie_mask&amp;gt;&lt;br/&gt;
    &amp;lt;priority&amp;gt;2&amp;lt;/priority&amp;gt;&lt;br/&gt;
    &amp;lt;hard-timeout&amp;gt;60&amp;lt;/hard-timeout&amp;gt;&lt;br/&gt;
    &amp;lt;table_id&amp;gt;2&amp;lt;/table_id&amp;gt;&lt;br/&gt;
    &amp;lt;flow-name&amp;gt;FooXf2&amp;lt;/flow-name&amp;gt;&lt;br/&gt;
    &amp;lt;match&amp;gt;&lt;br/&gt;
        &amp;lt;ethernet-match&amp;gt;&lt;br/&gt;
            &amp;lt;ethernet-type&amp;gt;&lt;br/&gt;
                &amp;lt;type&amp;gt;2048&amp;lt;/type&amp;gt;&lt;br/&gt;
            &amp;lt;/ethernet-type&amp;gt;&lt;br/&gt;
        &amp;lt;/ethernet-match&amp;gt;&lt;br/&gt;
        &amp;lt;ipv4-source&amp;gt;10.0.0.1&amp;lt;/ipv4-source&amp;gt;&lt;br/&gt;
    &amp;lt;/match&amp;gt;&lt;br/&gt;
    &amp;lt;cookie&amp;gt;2&amp;lt;/cookie&amp;gt;&lt;br/&gt;
    &amp;lt;installHw&amp;gt;false&amp;lt;/installHw&amp;gt;&lt;br/&gt;
    &amp;lt;barrier&amp;gt;false&amp;lt;/barrier&amp;gt;&lt;br/&gt;
    &amp;lt;flags&amp;gt;FlowModFlags &lt;span class=&quot;error&quot;&gt;&amp;#91;_cHECKOVERLAP=false, _rESETCOUNTS=false, _nOPKTCOUNTS=false, _nOBYTCOUNTS=false, _sENDFLOWREM=false&amp;#93;&lt;/span&gt;&amp;lt;/flags&amp;gt;&lt;br/&gt;
&amp;lt;/flow&amp;gt;&lt;/p&gt;

&lt;p&gt;The spec says an empty action list means to drop the packet.&lt;/p&gt;

&lt;p&gt;In another mindless theoretical sample :&lt;/p&gt;

&lt;p&gt;    &amp;lt;instructions&amp;gt;&lt;br/&gt;
       &amp;lt;instruction&amp;gt;&lt;br/&gt;
          &amp;lt;apply-actions&amp;gt;&lt;br/&gt;
                &amp;lt;action&amp;gt;&lt;br/&gt;
                   &amp;lt;dec-mpls-ttl/&amp;gt;&lt;br/&gt;
                   &amp;lt;order&amp;gt;0&amp;lt;/order&amp;gt;&lt;br/&gt;
                &amp;lt;/action&amp;gt;&lt;br/&gt;
                &amp;lt;action&amp;gt;&lt;br/&gt;
                    &amp;lt;drop-action/&amp;gt;&lt;br/&gt;
                    &amp;lt;order&amp;gt;1&amp;lt;/order&amp;gt;&lt;br/&gt;
                &amp;lt;/action&amp;gt;&lt;br/&gt;
           &amp;lt;/apply-actions&amp;gt;&lt;br/&gt;
           &amp;lt;order&amp;gt;0&amp;lt;/order&amp;gt;&lt;br/&gt;
       &amp;lt;/instruction&amp;gt;&lt;br/&gt;
    &amp;lt;/instructions&amp;gt;&lt;/p&gt;

&lt;p&gt;The drop-action doesn&apos;t send to device. It is absolutely ignored.&lt;/p&gt;

&lt;p&gt;So, drop-action has to be ignored in action&apos;s test check.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="13874" name="f2.xml" size="1072" author="pgubka@cisco.com" created="Fri, 6 Jun 2014 09:50:42 +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>1149</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=1149]]></customfieldvalue>

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

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