<!-- 
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-893] Mismatch between Operational Datastore and the actual Flow Entry</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-893</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="28161">OPNFLWPLUG-893</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="10002">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="gvrangan">Venkatrangan Govindarajan</reporter>
                        <labels>
                    </labels>
                <created>Mon, 22 May 2017 10:17:24 +0000</created>
                <updated>Mon, 27 Sep 2021 09:02:02 +0000</updated>
                            <resolved>Mon, 5 Jun 2017 14:37:31 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="58965" author="gvrangan" created="Mon, 22 May 2017 10:17:24 +0000"  >&lt;p&gt;Attachment Operational_datastore_vlanpcp.txt has been added with description: Operational Datasore Contents for vlanpcp action&lt;/p&gt;</comment>
                            <comment id="58964" author="abhijit2511" created="Mon, 22 May 2017 15:57:49 +0000"  >&lt;p&gt;Venkat - is this a duplicate of &lt;a href=&quot;https://bugs.opendaylight.org/show_bug.cgi?id=8527&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://bugs.opendaylight.org/show_bug.cgi?id=8527&lt;/a&gt; ?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="28162">OPNFLWPLUG-894</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="14151" name="Operational_datastore_vlanpcp.txt" size="19851" author="gvrangan" created="Mon, 22 May 2017 10:17: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>8526</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=8526]]></customfieldvalue>

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

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