<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:33:40 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-894] Mismatch between Operational Datastore and the actual Flow Entry</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-894</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;While VTN Testing, We have identified that for some actions the flow entries are installed correctly on the OpenFlow switch. But, the operational datastore does not reflect the correct action for the flow entry. It has been noted for a few actions specifically&lt;/p&gt;

&lt;p&gt; a. action: set vlan pcp&lt;/p&gt;

&lt;p&gt; Flow Entry on Switch&lt;br/&gt;
 cookie=0x7f5600000000007b, duration=0.193s, table=0, n_packets=0, n_bytes=0, send_flow_rem priority=13,ip,in_port=1,dl_vlan=200,dl_src=6e:30:ce:63:16:4b,dl_dst=26:a1:54:78:73:70,nw_src=10.0.0.1,nw_dst=10.0.0.5 actions=set_field:6-&amp;gt;vlan_pcp,output:3&lt;/p&gt;

&lt;p&gt; Operational DS contents for the switch&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Added as attachment txt file&lt;/li&gt;
&lt;/ul&gt;



&lt;p&gt;  Similar problems seen when using flow entries for setting vlan id, set-dl-&lt;br/&gt;
src-action, set-dl-dst, set-nw-src, set-nw-tos, set-tp-src, set-tp-dst.&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Please see other attachment where entries are collected from every switch as well as the operational DS contens.&lt;/li&gt;
&lt;/ul&gt;






&lt;p&gt;b. POST /restconf/operations/sal-flow:add-flow&lt;br/&gt;
Body:&lt;/p&gt;

&lt;p&gt;{&lt;br/&gt;
  &quot;input&quot;: {&lt;br/&gt;
    &quot;node&quot;: &quot;/opendaylight-inventory:nodes/opendaylight-inventory:node&lt;span class=&quot;error&quot;&gt;&amp;#91;opendaylight-inventory:id=\&amp;quot;openflow:1\&amp;quot;&amp;#93;&lt;/span&gt;&quot;,&lt;br/&gt;
    &quot;table_id&quot;: 0,&lt;br/&gt;
    &quot;priority&quot;: 10,&lt;br/&gt;
    &quot;idle-timeout&quot;: 0,&lt;br/&gt;
    &quot;hard-timeout&quot;: 0,&lt;br/&gt;
    &quot;match&quot;: {&lt;br/&gt;
      &quot;ip-match&quot;: &lt;/p&gt;
{
        &quot;ip-protocol&quot;: 6
      }
&lt;p&gt;,&lt;br/&gt;
      &quot;ethernet-match&quot;: {&lt;br/&gt;
        &quot;ethernet-type&quot;: &lt;/p&gt;
{
          &quot;type&quot;: 2048
        }
&lt;p&gt;      }&lt;br/&gt;
    }&lt;br/&gt;
    &quot;instructions&quot;: {&lt;br/&gt;
      &quot;instruction&quot;: [&lt;br/&gt;
        {&lt;br/&gt;
          &quot;order&quot;: 0,&lt;br/&gt;
          &quot;apply-actions&quot;: {&lt;br/&gt;
            &quot;action&quot;: [&lt;br/&gt;
              {&lt;br/&gt;
                &quot;set-vlan-id-action&quot;: &lt;/p&gt;
{
                  &quot;vlan-id&quot;: 10
                }
&lt;p&gt;,&lt;br/&gt;
                &quot;order&quot;: 0&lt;br/&gt;
              },&lt;br/&gt;
              {&lt;br/&gt;
                &quot;order&quot;: 1,&lt;br/&gt;
                &quot;set-vlan-pcp-action&quot;: &lt;/p&gt;
{
                  &quot;vlan-pcp&quot;: 5
                }
&lt;p&gt;              },&lt;br/&gt;
              {&lt;br/&gt;
                &quot;order&quot;: 2,&lt;br/&gt;
                &quot;set-dl-src-action&quot;: &lt;/p&gt;
{
                  &quot;address&quot;: &quot;00:aa:bb:cc:dd:ee&quot;
                }
&lt;p&gt;              },&lt;br/&gt;
              {&lt;br/&gt;
                &quot;set-dl-dst-action&quot;: &lt;/p&gt;
{
                  &quot;address&quot;: &quot;00:11:22:33:44:55&quot;
                }
&lt;p&gt;,&lt;br/&gt;
                &quot;order&quot;: 3&lt;br/&gt;
              },&lt;br/&gt;
              {&lt;br/&gt;
                &quot;set-nw-src-action&quot;: &lt;/p&gt;
{
                  &quot;ipv4-address&quot;: &quot;10.20.30.40/32&quot;
                }
&lt;p&gt;,&lt;br/&gt;
                &quot;order&quot;: 4&lt;br/&gt;
              },&lt;br/&gt;
              {&lt;br/&gt;
                &quot;order&quot;: 5,&lt;br/&gt;
                &quot;set-nw-dst-action&quot;: &lt;/p&gt;
{
                  &quot;ipv4-address&quot;: &quot;192.168.1.2/32&quot;
                }
&lt;p&gt;              },&lt;br/&gt;
              {&lt;br/&gt;
                &quot;order&quot;: 6,&lt;br/&gt;
                &quot;set-nw-tos-action&quot;: &lt;/p&gt;
{
                  &quot;tos&quot;: 252
                }
&lt;p&gt;              },&lt;br/&gt;
              {&lt;br/&gt;
                &quot;order&quot;: 7,&lt;br/&gt;
                &quot;set-tp-src-action&quot;: &lt;/p&gt;
{
                  &quot;ip-protocol&quot;: 6,
                  &quot;port&quot;: 32000
                }
&lt;p&gt;              },&lt;br/&gt;
              {&lt;br/&gt;
                &quot;order&quot;: 8,&lt;br/&gt;
                &quot;set-tp-dst-action&quot;: &lt;/p&gt;
{
                  &quot;port&quot;: 333,
                  &quot;ip-protocol&quot;: 6
                }
&lt;p&gt;              }&lt;br/&gt;
            ]&lt;br/&gt;
          }&lt;br/&gt;
        }&lt;br/&gt;
      ]&lt;br/&gt;
    }&lt;br/&gt;
  }&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;The flow is installed correctly.&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;
	&lt;ul&gt;
		&lt;li&gt;
		&lt;ul&gt;
			&lt;li&gt;s1 ------------------------------------------------------------------------&lt;br/&gt;
NXST_FLOW reply (xid=0x4):&lt;br/&gt;
 cookie=0x0, duration=54.583s, table=0, n_packets=0, n_bytes=0, idle_age=54, \  priority=10,tcp \  actions=mod_vlan_vid:10,mod_vlan_pcp:5,\&lt;br/&gt;
   mod_dl_src:00:aa:bb:cc:dd:ee,mod_dl_dst:00:11:22:33:44:55,\&lt;br/&gt;
   mod_nw_src:10.20.30.40,mod_nw_dst:192.168.1.2,\&lt;br/&gt;
   mod_nw_tos:252,mod_tp_src:32000,mod_tp_dst:333&lt;/li&gt;
		&lt;/ul&gt;
		&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;However, action information for the flow entry in operational DS is wrong due to the bug.&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;set-nw-dst-action doesn&apos;t have the value of MAC address.&lt;/li&gt;
	&lt;li&gt;Other action information doesn&apos;t exist in the operational DS.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;GET /restconf/operational/opendaylight-inventory:nodes/node/openflow:1/table/0&lt;br/&gt;
Result:&lt;/p&gt;

&lt;p&gt;{&lt;br/&gt;
  &quot;flow-node-inventory:table&quot;: [&lt;br/&gt;
    {&lt;br/&gt;
      &quot;id&quot;: 0,&lt;br/&gt;
      &quot;flow&quot;: [&lt;br/&gt;
        {&lt;br/&gt;
          &quot;id&quot;: &quot;#UF$TABLE*0-5&quot;,&lt;br/&gt;
          &quot;priority&quot;: 10,&lt;br/&gt;
          &quot;table_id&quot;: 0,&lt;br/&gt;
          &quot;opendaylight-flow-statistics:flow-statistics&quot;: {&lt;br/&gt;
            &quot;duration&quot;: &lt;/p&gt;
{
              &quot;second&quot;: 244,
              &quot;nanosecond&quot;: 397000000
            }
&lt;p&gt;,&lt;br/&gt;
            &quot;byte-count&quot;: 0,&lt;br/&gt;
            &quot;packet-count&quot;: 0&lt;br/&gt;
          },&lt;br/&gt;
          &quot;idle-timeout&quot;: 0,&lt;br/&gt;
          &quot;match&quot;: {&lt;br/&gt;
            &quot;ip-match&quot;: &lt;/p&gt;
{
              &quot;ip-protocol&quot;: 6
            }
&lt;p&gt;,&lt;br/&gt;
            &quot;ethernet-match&quot;: {&lt;br/&gt;
              &quot;ethernet-type&quot;: &lt;/p&gt;
{
                &quot;type&quot;: 2048
              }
&lt;p&gt;            }&lt;br/&gt;
          },&lt;br/&gt;
          &quot;hard-timeout&quot;: 0,&lt;br/&gt;
          &quot;cookie&quot;: 0,&lt;br/&gt;
          &quot;instructions&quot;: {&lt;br/&gt;
            &quot;instruction&quot;: [&lt;br/&gt;
              {&lt;br/&gt;
                &quot;order&quot;: 0,&lt;br/&gt;
                &quot;apply-actions&quot;: {&lt;br/&gt;
                  &quot;action&quot;: [&lt;br/&gt;
                    {&lt;br/&gt;
                      &quot;order&quot;: 0,&lt;br/&gt;
                      &quot;set-nw-dst-action&quot;: {}&lt;br/&gt;
                    }&lt;br/&gt;
                  ]&lt;br/&gt;
                }&lt;br/&gt;
              }&lt;br/&gt;
            ]&lt;br/&gt;
          }&lt;br/&gt;
        }&lt;br/&gt;
      ],&lt;br/&gt;
      &quot;opendaylight-flow-table-statistics:flow-table-statistics&quot;: &lt;/p&gt;
{
        &quot;active-flows&quot;: 0,
        &quot;packets-looked-up&quot;: 10464,
        &quot;packets-matched&quot;: 10464
      }
&lt;p&gt;    }&lt;br/&gt;
  ]&lt;br/&gt;
}&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="28162">OPNFLWPLUG-894</key>
            <summary>Mismatch between Operational Datastore and the actual Flow Entry</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="gvrangan">Venkatrangan Govindarajan</assignee>
                                    <reporter username="gvrangan">Venkatrangan Govindarajan</reporter>
                        <labels>
                    </labels>
                <created>Mon, 22 May 2017 10:17:42 +0000</created>
                <updated>Mon, 27 Sep 2021 09:02:02 +0000</updated>
                            <resolved>Thu, 15 Jun 2017 13:36:06 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>8</watches>
                                                                                                                <comments>
                            <comment id="58972" author="gvrangan" created="Mon, 22 May 2017 10:18:19 +0000"  >&lt;p&gt;Attachment Operational_datastore_vlanpcp.txt has been added with description: vlan_pcp operational datastore contents&lt;/p&gt;</comment>
                            <comment id="58973" author="gvrangan" created="Mon, 22 May 2017 10:19:24 +0000"  >&lt;p&gt;Attachment log.html.gz has been added with description: CSIT run with additional information (inventory table from operational DS)&lt;/p&gt;</comment>
                            <comment id="58966" author="gvrangan" created="Mon, 22 May 2017 10:23:13 +0000"  >&lt;p&gt;The problems are seen in OpenFlow 10. We feel that there is no implementation to convert OF action to SAL action for certain actions.&lt;/p&gt;</comment>
                            <comment id="58967" author="tomas.slusny@pantheon.tech" created="Tue, 23 May 2017 07:06:31 +0000"  >&lt;p&gt;Can you also provide karaf.log with org.opendaylight.openflowplugin.impl set to DEBUG please? Or did you saw any Deserialization failed messages in your karaf log?&lt;/p&gt;</comment>
                            <comment id="58968" author="tomas.slusny@pantheon.tech" created="Tue, 23 May 2017 08:12:15 +0000"  >&lt;p&gt;I found the issue, we are deserializing everything correctly, but we are missing some convertors. I will write them and hopefully I will have fix ready today.&lt;/p&gt;</comment>
                            <comment id="58969" author="tomas.slusny@pantheon.tech" created="Tue, 23 May 2017 12:10:11 +0000"  >&lt;p&gt;GERRIT: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/57680/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/57680/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="58970" author="ananth.y" created="Mon, 12 Jun 2017 09:19:15 +0000"  >&lt;p&gt;I have tested it manually and the fix is working.&lt;/p&gt;</comment>
                            <comment id="58974" author="ananth.y" created="Thu, 15 Jun 2017 13:34:57 +0000"  >&lt;p&gt;Attachment CSIT log.html.gz has been added with description: CSIT job with vlan pcp failure&lt;/p&gt;</comment>
                            <comment id="58971" author="ananth.y" created="Thu, 15 Jun 2017 13:36:06 +0000"  >&lt;p&gt;I have found in CSIT job that some cases are working like set-dl-src-action, set-nw-src, set-nw-dst, set-nw-tos. &lt;/p&gt;

&lt;p&gt;But vlan pcp is not reflecting in operational datastore. Tomas, please look into this. &lt;/p&gt;

&lt;p&gt;I need to test some cases manually like set-vlan-id, set-dl-dst, set-tp-src, set-tp-dst and I will get back to you. &lt;/p&gt;

&lt;p&gt;I have attached the corresponding CSIT job for reference.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="28161">OPNFLWPLUG-893</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="14154" name="CSIT log.html.gz" size="718731" author="ananth.y@hcl.com" created="Thu, 15 Jun 2017 13:34:57 +0000"/>
                            <attachment id="14152" name="Operational_datastore_vlanpcp.txt" size="19851" author="gvrangan" created="Mon, 22 May 2017 10:18:19 +0000"/>
                            <attachment id="14153" name="log.html.gz" size="704018" author="gvrangan" created="Mon, 22 May 2017 10:19:24 +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>8527</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=8527]]></customfieldvalue>

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

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