<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:31:48 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-193] of-flow: instruction/clear-actions details missing  in operational data store</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-193</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;odl:&lt;br/&gt;
version.properties &lt;br/&gt;
org.opendaylight.controller.version = 0.1&lt;br/&gt;
org.opendaylight.controller.build.scm.version = 9d7a3392097e4c4a648327f77d7ca1a6aaf1b410&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 = 1402529841853&lt;br/&gt;
org.opendaylight.controller.build.machine = **********&lt;/p&gt;


&lt;p&gt;test: mininet 2.1.0 + ovs 2.0.0&lt;/p&gt;

&lt;p&gt;steps:&lt;br/&gt;
1) PUT xml /restconf/config/opendaylight-inventory:nodes/node/openflow:${switch_idx}/table/${table_id}/flow/${flow_id}&lt;br/&gt;
(xml file f219.xml in attachment)&lt;/p&gt;

&lt;p&gt;2) GET its operational state (for full details see f219odb.xml in attachment)&lt;br/&gt;
3) GET its config&lt;/p&gt;

&lt;p&gt;4) seen difference&lt;br/&gt;
config:&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;clear-actions&amp;gt;&lt;br/&gt;
                &amp;lt;action&amp;gt;&lt;br/&gt;
                    &amp;lt;output-action&amp;gt;&lt;br/&gt;
                        &amp;lt;output-node-connector&amp;gt;INPORT&amp;lt;/output-node-connector&amp;gt;&lt;br/&gt;
                        &amp;lt;max-length&amp;gt;60&amp;lt;/max-length&amp;gt;&lt;br/&gt;
                    &amp;lt;/output-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;/clear-actions&amp;gt;&lt;br/&gt;
        &amp;lt;/instruction&amp;gt;&lt;/p&gt;

&lt;p&gt;operational:&lt;br/&gt;
 &amp;lt;instructions&amp;gt;&lt;br/&gt;
                &amp;lt;instruction&amp;gt;&lt;br/&gt;
                    &amp;lt;clear-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;Tag &amp;lt;clear-actions/&amp;gt; is empty&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Linux&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="27461">OPNFLWPLUG-193</key>
            <summary>of-flow: instruction/clear-actions details missing  in operational data store</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="10003">Cannot Reproduce</resolution>
                                        <assignee username="Avishnoi">Anil Vishnoi</assignee>
                                    <reporter username="pgubka@cisco.com">Peter Gubka</reporter>
                        <labels>
                    </labels>
                <created>Thu, 12 Jun 2014 15:14:52 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:13 +0000</updated>
                            <resolved>Sat, 21 Jun 2014 19:16:24 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="55791" author="pgubka@cisco.com" created="Thu, 12 Jun 2014 15:14:52 +0000"  >&lt;p&gt;Attachment f219.xml has been added with description: flow to be configured&lt;/p&gt;</comment>
                            <comment id="55792" author="pgubka@cisco.com" created="Thu, 12 Jun 2014 15:15:18 +0000"  >&lt;p&gt;Attachment f219odb.xml has been added with description: operational details of the flow&lt;/p&gt;</comment>
                            <comment id="55790" author="vishnoianil@gmail.com" created="Sat, 21 Jun 2014 19:16:24 +0000"  >&lt;p&gt;Hi Peter,&lt;/p&gt;

&lt;p&gt;I am able to recreate this bug in my setup, but i think this bug goes to the same category as &lt;a href=&quot;https://jira.opendaylight.org/browse/OPNFLWPLUG-188&quot; title=&quot;of-flow: instruction (push-vlan-action) different in config and operational db&quot; class=&quot;issue-link&quot; data-issue-key=&quot;OPNFLWPLUG-188&quot;&gt;&lt;del&gt;OPNFLWPLUG-188&lt;/del&gt;&lt;/a&gt; and 1184. When i dump the flow in mininet, this is what i get &lt;/p&gt;

&lt;p&gt;mininet&amp;gt; sh ovs-ofctl dump-flows s1 -O OpenFlow13&lt;br/&gt;
OFPST_FLOW reply (OF1.3) (xid=0x2):&lt;br/&gt;
 cookie=0xa, duration=15.844s, table=2, n_packets=0, n_bytes=0, priority=219,dl_vlan=10,dl_vlan_pcp=3 actions=clear_actions&lt;/p&gt;

&lt;p&gt;So if you see clear_actions don&apos;t have any sub actions and this behavior is correct as per specs as well. This is what specs says &lt;br/&gt;
&quot;For the Clear-Actions instruction, the structure does not contain any actions.&quot;.&lt;/p&gt;

&lt;p&gt;So stats reported in operation data store is correct, but i believe issue mainly is what we install and what finally get installed on the switch. As we discussed previously it needs some level of sanity check at plugin level. &lt;/p&gt;

&lt;p&gt;Thanks&lt;br/&gt;
Anil&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="13890" name="f219.xml" size="1348" author="pgubka@cisco.com" created="Thu, 12 Jun 2014 15:14:52 +0000"/>
                            <attachment id="13891" name="f219odb.xml" size="1378" author="pgubka@cisco.com" created="Thu, 12 Jun 2014 15:15:18 +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>1192</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=1192]]></customfieldvalue>

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

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