<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:32:12 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-336] OF Plugin does not TX set-dl-type-action</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-336</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;We have a Minnet (Version 2.2.0) running with one switch (OpenFlow 1.3) and two hosts.&lt;/p&gt;

&lt;p&gt;I created a flow with the action of &quot;setting ethernet-type to set-dl-type-action.&lt;/p&gt;

&lt;p&gt;When I go to the switch I do not see this action installed. I have also included the screen capture of wireshark trace. &lt;/p&gt;






&lt;p&gt;_____________________&lt;br/&gt;
Mininet ovs-ofctl command output on the mininet switch.&lt;/p&gt;

&lt;p&gt;cookie=0x2b00000000000003, duration=9124.918s, table=0, n_packets=0, n_bytes=0, priority=100,dl_type=0x88cc actions=CONTROLLER:65535&lt;br/&gt;
 cookie=0x2b00000000000003, duration=9124.918s, table=0, n_packets=5, n_bytes=210, priority=1,arp actions=CONTROLLER:65535&lt;br/&gt;
 cookie=0x0, duration=68.956s, table=0, n_packets=0, n_bytes=0, idle_timeout=300, hard_timeout=600, send_flow_rem priority=2,ip,dl_src=6a:dc:0a:ef:2e:dc actions=output:2&lt;/p&gt;



&lt;p&gt;________________________________________________________________________________&lt;br/&gt;
Static Flow Installed&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;priority&amp;gt;2&amp;lt;/priority&amp;gt;&lt;br/&gt;
    &amp;lt;flow-name&amp;gt;FooBar&amp;lt;/flow-name&amp;gt;&lt;br/&gt;
    &amp;lt;id&amp;gt;4&amp;lt;/id&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;0x0800&amp;lt;/type&amp;gt;&lt;br/&gt;
            &amp;lt;/ethernet-type&amp;gt;&lt;br/&gt;
            &amp;lt;ethernet-source&amp;gt;&lt;br/&gt;
                &amp;lt;address&amp;gt;6A:DC:0A:EF:2E:DC&amp;lt;/address&amp;gt;&lt;br/&gt;
            &amp;lt;/ethernet-source&amp;gt;&lt;br/&gt;
        &amp;lt;/ethernet-match&amp;gt;&lt;br/&gt;
    &amp;lt;/match&amp;gt;&lt;br/&gt;
    &amp;lt;table_id&amp;gt;0&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;order&amp;gt;0&amp;lt;/order&amp;gt;&lt;br/&gt;
                   &amp;lt;output-action&amp;gt;&lt;br/&gt;
                     &amp;lt;output-node-connector&amp;gt;openflow:1:2&amp;lt;/output-node-connector&amp;gt;&lt;br/&gt;
                   &amp;lt;/output-action&amp;gt;&lt;br/&gt;
                &amp;lt;/action&amp;gt;&lt;br/&gt;
                &amp;lt;action&amp;gt;&lt;br/&gt;
                   &amp;lt;order&amp;gt;1&amp;lt;/order&amp;gt;&lt;br/&gt;
                   &amp;lt;set-dl-type-action&amp;gt;&lt;br/&gt;
                     &amp;lt;dl-type&amp;gt;0x88A8&amp;lt;/dl-type&amp;gt;&lt;br/&gt;
                   &amp;lt;/set-dl-type-action&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&amp;gt;&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="27604">OPNFLWPLUG-336</key>
            <summary>OF Plugin does not TX set-dl-type-action</summary>
                <type id="10100" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10310&amp;avatarType=issuetype">Improvement</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="knanda@extremenetworks.com">Kuldip</reporter>
                        <labels>
                    </labels>
                <created>Wed, 7 Jan 2015 14:06:53 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:23 +0000</updated>
                            <resolved>Tue, 12 Dec 2017 00:37:06 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="56384" author="knanda@extremenetworks.com" created="Wed, 7 Jan 2015 14:06:53 +0000"  >&lt;p&gt;Attachment Snapshot(2).png has been added with description: WireShark Trace Capture Showing Only One Action Sent from Controller To Switch&lt;/p&gt;</comment>
                            <comment id="56375" author="knanda@extremenetworks.com" created="Wed, 7 Jan 2015 14:07:34 +0000"  >&lt;p&gt;I did talk with Michal, Just adding these comments also&lt;br/&gt;
&amp;lt;knanda&amp;gt; I am still facing the issue. You may have got my email&lt;br/&gt;
&amp;lt;oflibMichal&amp;gt; I wanted to try it myself, but I don&apos;t have working karaf distribution at the moment&lt;br/&gt;
&amp;lt;knanda&amp;gt; I have mininet s1 switch on protocol OpenFlow13, mininet version 2.2.0 and ovs-vsctl version 2.1.3&lt;br/&gt;
&amp;lt;knanda&amp;gt; &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.opendaylight.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;br/&gt;
&amp;lt;knanda&amp;gt; Well, I do have couple of other similar bugs&lt;br/&gt;
&amp;lt;oflibMichal&amp;gt; can you try one more change ?&lt;br/&gt;
&amp;lt;knanda&amp;gt; sure &lt;br/&gt;
&amp;lt;knanda&amp;gt; I have the setup  and ready to go&lt;br/&gt;
&amp;lt;oflibMichal&amp;gt; instead of using hexa number ... please use decimal&lt;br/&gt;
&amp;lt;oflibMichal&amp;gt; here &amp;gt;&amp;gt;&amp;gt; &amp;lt;ethernet-type&amp;gt;0x88A8&amp;lt;/ethernet-type&amp;gt;&lt;br/&gt;
&amp;lt;knanda&amp;gt; okay&lt;br/&gt;
&amp;lt;knanda&amp;gt; see, &amp;lt;ethernet-type&amp;gt;34984&amp;lt;/ethernet-type&amp;gt; ?&lt;br/&gt;
&amp;lt;oflibMichal&amp;gt; right&lt;br/&gt;
&amp;lt;knanda&amp;gt; again says the same thing &lt;br/&gt;
&amp;lt;knanda&amp;gt; Schema node \&quot;ethernet-type\&quot; not found&lt;br/&gt;
&amp;lt;knanda&amp;gt; in the module.&lt;br/&gt;
&amp;lt;knanda&amp;gt; if you see my mail, and I send it using the original flow1.xml (meaning before this change)&lt;br/&gt;
&amp;lt;oflibMichal&amp;gt; yes, i have seen it&lt;br/&gt;
&amp;lt;knanda&amp;gt; I see the flow getting installed on the Controller&lt;br/&gt;
&amp;lt;knanda&amp;gt; However it does not get installed on the switch&lt;br/&gt;
&amp;lt;knanda&amp;gt; the reason is if you look at the wireshark trace&lt;br/&gt;
&amp;lt;knanda&amp;gt; only one action is being sent&lt;br/&gt;
&amp;lt;oflibMichal&amp;gt; agree&lt;br/&gt;
&amp;lt;knanda&amp;gt; do you want me to open a bug on this ?&lt;br/&gt;
&amp;lt;oflibMichal&amp;gt; not yet&lt;br/&gt;
&amp;lt;oflibMichal&amp;gt; another solution comes to my mind&lt;br/&gt;
&amp;lt;oflibMichal&amp;gt; just give me a sec&lt;br/&gt;
&amp;lt;knanda&amp;gt; sure&lt;br/&gt;
&amp;lt;knanda&amp;gt; sure&lt;br/&gt;
&amp;lt;oflibMichal&amp;gt; please try using &quot;wrapped&quot; tag&lt;br/&gt;
&amp;lt;oflibMichal&amp;gt; like this &amp;gt;&amp;gt;&amp;gt; &amp;lt;ethernet-match&amp;gt;&lt;br/&gt;
&amp;lt;oflibMichal&amp;gt;             &amp;lt;ethernet-type&amp;gt;&lt;br/&gt;
&amp;lt;oflibMichal&amp;gt;                 &amp;lt;type&amp;gt;34525&amp;lt;/type&amp;gt;&lt;br/&gt;
&amp;lt;oflibMichal&amp;gt;             &amp;lt;/ethernet-type&amp;gt;&lt;br/&gt;
&amp;lt;oflibMichal&amp;gt;         &amp;lt;/ethernet-match&amp;gt;&lt;br/&gt;
&amp;lt;oflibMichal&amp;gt; just add opening and closing &amp;lt;ethernet-match&amp;gt; tags before and after &amp;lt;ethernet-type&amp;gt;&lt;br/&gt;
&amp;lt;knanda&amp;gt; ok, doing it now&lt;br/&gt;
&amp;lt;knanda&amp;gt; the ethernet type is 34525 or 34984 (in hex 34984 is 0x88A8)&lt;br/&gt;
&amp;lt;oflibMichal&amp;gt; in your case it should be 34984&lt;br/&gt;
&amp;lt;knanda&amp;gt; btw, I get this error &lt;br/&gt;
&amp;lt;oflibMichal&amp;gt; i copied this part from one test script&lt;br/&gt;
&amp;lt;knanda&amp;gt; error-type: &quot;protocol&quot;&lt;br/&gt;
&amp;lt;knanda&amp;gt; error-tag : &quot;invalid-value&quot;&lt;br/&gt;
&amp;lt;knanda&amp;gt; error-message :  &quot;unhandled parameter types &lt;span class=&quot;error&quot;&gt;&amp;#91;container ethernet-type&amp;#93;&lt;/span&gt;&quot;&lt;br/&gt;
&amp;lt;knanda&amp;gt; &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.opendaylight.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;br/&gt;
&amp;lt;oflibMichal&amp;gt; ok, so please file new bug for openflowplugin&lt;/p&gt;</comment>
                            <comment id="56376" author="michal.polkorab@gmail.com" created="Wed, 7 Jan 2015 14:29:55 +0000"  >&lt;p&gt;Hi Kuldip,&lt;/p&gt;

&lt;p&gt;I have investigated your issue more and finally I am able to push your flow to switch. The flow should look like this:&lt;/p&gt;

&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;priority&amp;gt;2&amp;lt;/priority&amp;gt;&lt;br/&gt;
    &amp;lt;flow-name&amp;gt;FooBar&amp;lt;/flow-name&amp;gt;&lt;br/&gt;
    &amp;lt;id&amp;gt;4&amp;lt;/id&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-source&amp;gt;&lt;br/&gt;
                &amp;lt;address&amp;gt;6A:DC:0A:EF:2E:DC&amp;lt;/address&amp;gt;&lt;br/&gt;
            &amp;lt;/ethernet-source&amp;gt;&lt;br/&gt;
        &amp;lt;/ethernet-match&amp;gt;&lt;br/&gt;
    &amp;lt;/match&amp;gt;&lt;br/&gt;
    &amp;lt;table_id&amp;gt;10&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;order&amp;gt;0&amp;lt;/order&amp;gt;&lt;br/&gt;
                   &amp;lt;output-action&amp;gt;&lt;br/&gt;
                     &amp;lt;output-node-connector&amp;gt;openflow:1:2&amp;lt;/output-node-connector&amp;gt;&lt;br/&gt;
                   &amp;lt;/output-action&amp;gt;&lt;br/&gt;
                &amp;lt;/action&amp;gt;&lt;br/&gt;
                &amp;lt;action&amp;gt;&lt;br/&gt;
                   &amp;lt;order&amp;gt;1&amp;lt;/order&amp;gt;&lt;br/&gt;
                   &amp;lt;set-field&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;34984&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;/set-field&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&amp;gt;&lt;/p&gt;

&lt;p&gt;My OVS switch replies with error message - BAD ACTION - OFPBAC_BAD_SET_ARGUMENT = 15, /* Bad argument in SET_FIELD action. */ &lt;br/&gt;
This seems like the switch can&apos;t handle the ethernet-type argument inside set-field action. I am using OVS 2.1.3 - maybe newer version fixed this issue.&lt;/p&gt;</comment>
                            <comment id="56377" author="knanda@extremenetworks.com" created="Wed, 7 Jan 2015 14:53:06 +0000"  >&lt;p&gt;thanks for the help Michal. The latest version of OVS-SWITCH is 2.3.1. I have not tried with it. This however does narrow the scope of the bug somewhat &lt;/p&gt;

&lt;p&gt;Closely tied to this is also another issue with DLUX/YNAG-UI Model. Where the original UI produces the original JSON and gives the error.&lt;/p&gt;

&lt;p&gt;As you suggested is this the correct JSON/REST API for setting the dl-type. Should this defect then be changed to YANG-UI.&lt;/p&gt;</comment>
                            <comment id="56378" author="michal.polkorab@gmail.com" created="Wed, 7 Jan 2015 16:16:37 +0000"  >&lt;p&gt;Yes, this is corrrect XML. So it is probably a good question for YANG-UI developers. I don&apos;t know the answer.&lt;/p&gt;</comment>
                            <comment id="56379" author="knanda@extremenetworks.com" created="Wed, 7 Jan 2015 21:09:39 +0000"  >&lt;p&gt;I see the same issue with opendaylight not sending an action of setting the ethernet-type if the &quot;apply-actions-case_set-dl-type-action-case&quot; field is used in the YangUI for flow installation. The same is true if I use JSON for this.&lt;/p&gt;</comment>
                            <comment id="56380" author="knanda@extremenetworks.com" created="Thu, 8 Jan 2015 13:24:41 +0000"  >&lt;p&gt;As pointed to by Michal, it seems to be working with new JSON as the action is being sent, but the DLUX YANG-UI is generating wrong JSON as well does not send the complete action sequence. I have bunch of bugs opened which all are of similar type.&lt;/p&gt;

&lt;p&gt;Here is the complete list&lt;br/&gt;
1.	OpenDaylight  will not send an action of loopback (looping the traffic back out the input port) if the &quot;apply-actions-case_loopback-action-case&quot; field is used in the YangUI or JSON/CURL for flow installation.&lt;br/&gt;
2.	OpenDaylight  will not send all fields (tag, pcp, cfi, and vlan-id are missing but ethtype shows up) from the push-vlan-action if the &quot;apply-actions-case_push-vlan-action-case&quot; field is used in the YangUI for flow installation.&lt;br/&gt;
3.	 OpenDaylight  will not send an action of flood if the &quot;apply-actions-case_flood-action-case&quot; field is used in the YangUI or JSON/CURL for flow installation. &lt;br/&gt;
4.	OpenDaylight  will not send an action of software-path if the &quot;apply-actions-case_sw-path-action-case&quot; field is used in the YangUI or JSON/CURL for flow installation. &lt;br/&gt;
5.	OpenDaylight  will not send an action of hardware-path if the &quot;apply-actions-case_hw-path-action-case&quot; field is used in the YangUI or JSON/CURL for flow installation. &lt;/p&gt;

&lt;p&gt;Any advice on this will be great. &lt;/p&gt;

&lt;p&gt;In all these cases we have missing action field&lt;/p&gt;</comment>
                            <comment id="56381" author="mirehak@cisco.com" created="Wed, 14 Jan 2015 09:27:25 +0000"  >&lt;p&gt;Should be taken care of by model cleanup in lithium&lt;/p&gt;</comment>
                            <comment id="56385" author="jluhrsen" created="Tue, 17 Mar 2015 05:39:33 +0000"  >&lt;p&gt;Attachment flow_mod_with_buffer_id_0.pcap has been added with description: flow mod using buffer_id == 0&lt;/p&gt;</comment>
                            <comment id="56382" author="jluhrsen" created="Tue, 17 Mar 2015 05:47:23 +0000"  >&lt;p&gt;(In reply to Jamo Luhrsen from comment #8)&lt;br/&gt;
&amp;gt; Created attachment 386 &lt;span class=&quot;error&quot;&gt;&amp;#91;details&amp;#93;&lt;/span&gt;&lt;br/&gt;
&amp;gt; flow mod using buffer_id == 0&lt;/p&gt;

&lt;p&gt;this comment/attachment was made in error.  please ignore&lt;/p&gt;</comment>
                            <comment id="56383" author="andrejleitner" created="Thu, 18 Aug 2016 06:57:01 +0000"  >&lt;p&gt;this could be duplicate modeled action due to intersection of OF 1.0 &amp;amp; 1.3&lt;/p&gt;</comment>
                            <comment id="60391" author="vishnoianil@gmail.com" created="Tue, 12 Dec 2017 00:37:06 +0000"  >&lt;p&gt;No activity on the bug for over an year, so closing the bug. Please feel free to re-open the bug if you see the issue with carbon/nitrogen/oxygen branch.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="13934" name="Snapshot(2).png" size="217175" author="knanda@extremenetworks.com" created="Wed, 7 Jan 2015 14:06:53 +0000"/>
                            <attachment id="13935" name="flow_mod_with_buffer_id_0.pcap" size="392" author="jluhrsen" created="Tue, 17 Mar 2015 05:39:33 +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>2564</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=2564]]></customfieldvalue>

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

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

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