<!-- 
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-181] Wrong value in DL_VLAN in FLOW_MOD using new OF plugin for OF 1.0 switches.</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-181</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;Values in DL_VLAN match field of FLOW_MOD messages were wrong, when VTN Manager run on MD-SAL and the new OF plugin, connected to OF 1.0 switches, and tried to install flow entries which match packets without VLAN tag.&lt;br/&gt;
In this situation, the controller must set 0xffff (OFP_VLAN_NONE) into the DL_VLAN match field of FLOW_MOD.&lt;br/&gt;
However, it set 0x0000, so packets without VLAN tag didn&apos;t match the flow entries.&lt;/p&gt;

&lt;p&gt;In the same situation, when VTN Manager runs on AD-SAL and the old OF plugin, the value of DL_VLAN is 0xffff (OFP_VLAN_NONE).&lt;/p&gt;


&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;What I used&amp;#93;&lt;/span&gt;&lt;br/&gt;
The latest version of the Virtualization Edition on 5th June.&lt;/p&gt;

&lt;p&gt;$ pwd&lt;br/&gt;
/home/odp/work/integration&lt;/p&gt;

&lt;p&gt;odc180 $ git log -3 --oneline&lt;br/&gt;
90e2f0c &lt;a href=&quot;https://jira.opendaylight.org/browse/INTDIST-4&quot; title=&quot;ConfigPusher failed on toster config file and stopped new OF plugin to connect switches&quot; class=&quot;issue-link&quot; data-issue-key=&quot;INTDIST-4&quot;&gt;&lt;del&gt;INTEGRAT-4&lt;/del&gt;&lt;/a&gt;: Remove toaster from virt edition&lt;br/&gt;
64e608a Adding extra TCs for RESTCONF&lt;br/&gt;
3516960 Uploaded working AD-SAL cluster testcases&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;How to produce&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;1. Start up the Virtualization edition with of13 and vtn option.&lt;/p&gt;

&lt;p&gt;$ ./run.sh -of13 -virt vtn&lt;/p&gt;

&lt;p&gt;2. Create a virtual bridge using REST API exposed by VTN Manager.&lt;/p&gt;

&lt;p&gt;curl  --user &quot;admin&quot;:&quot;admin&quot; -H &quot;Accept: application/json&quot; -H \&lt;br/&gt;
    &quot;Content-type: application/json&quot; -X POST \&lt;br/&gt;
    &lt;a href=&quot;http://192.168.60.180:8080/controller/nb/v2/vtn/default/vtns/vtn1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://192.168.60.180:8080/controller/nb/v2/vtn/default/vtns/vtn1&lt;/a&gt; \&lt;br/&gt;
    -d &apos;&lt;/p&gt;
{&quot;description&quot;: &quot;Virtual Tenat 1&quot;}
&lt;p&gt;&apos;&lt;/p&gt;

&lt;p&gt;curl  --user &quot;admin&quot;:&quot;admin&quot; -H &quot;Accept: application/json&quot; -H \&lt;br/&gt;
    &quot;Content-type: application/json&quot; -X POST \&lt;br/&gt;
    &lt;a href=&quot;http://192.168.60.180:8080/controller/nb/v2/vtn/default/vtns/vtn1/vbridges/vbr1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://192.168.60.180:8080/controller/nb/v2/vtn/default/vtns/vtn1/vbridges/vbr1&lt;/a&gt; \&lt;br/&gt;
    -d &apos;{}&apos;&lt;/p&gt;

&lt;p&gt;curl  --user &quot;admin&quot;:&quot;admin&quot; -H &quot;Accept: application/json&quot; -H \&lt;br/&gt;
    &quot;Content-type: application/json&quot; -X POST \&lt;br/&gt;
    &lt;a href=&quot;http://192.168.60.180:8080/controller/nb/v2/vtn/default/vtns/vtn1/vbridges/vbr1/interfaces/if1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://192.168.60.180:8080/controller/nb/v2/vtn/default/vtns/vtn1/vbridges/vbr1/interfaces/if1&lt;/a&gt; \&lt;br/&gt;
    -d &apos;{}&apos;&lt;/p&gt;

&lt;p&gt;curl  --user &quot;admin&quot;:&quot;admin&quot; -H &quot;Accept: application/json&quot; -H \&lt;br/&gt;
    &quot;Content-type: application/json&quot; -X POST \&lt;br/&gt;
    &lt;a href=&quot;http://192.168.60.180:8080/controller/nb/v2/vtn/default/vtns/vtn1/vbridges/vbr1/interfaces/if2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://192.168.60.180:8080/controller/nb/v2/vtn/default/vtns/vtn1/vbridges/vbr1/interfaces/if2&lt;/a&gt; \&lt;br/&gt;
    -d &apos;{}&apos;&lt;/p&gt;

&lt;p&gt;curl  --user &quot;admin&quot;:&quot;admin&quot; -H &quot;Accept: application/json&quot; -H \&lt;br/&gt;
    &quot;Content-type: application/json&quot; -X PUT \&lt;br/&gt;
    &lt;a href=&quot;http://192.168.60.180:8080/controller/nb/v2/vtn/default/vtns/vtn1/vbridges/vbr1/interfaces/if1/portmap&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://192.168.60.180:8080/controller/nb/v2/vtn/default/vtns/vtn1/vbridges/vbr1/interfaces/if1/portmap&lt;/a&gt; \&lt;br/&gt;
    -d &apos;{&quot;node&quot;: &lt;/p&gt;
{&quot;type&quot;:&quot;MD_SAL&quot;,&quot;id&quot;:&quot;openflow:3&quot;}
&lt;p&gt;, &quot;port&quot;: {&quot;name&quot;: &quot;s3-eth1&quot;}}&apos;&lt;/p&gt;

&lt;p&gt;curl  --user &quot;admin&quot;:&quot;admin&quot; -H &quot;Accept: application/json&quot; -H \&lt;br/&gt;
    &quot;Content-type: application/json&quot; -X PUT \&lt;br/&gt;
    &lt;a href=&quot;http://192.168.60.180:8080/controller/nb/v2/vtn/default/vtns/vtn1/vbridges/vbr1/interfaces/if2/portmap&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://192.168.60.180:8080/controller/nb/v2/vtn/default/vtns/vtn1/vbridges/vbr1/interfaces/if2/portmap&lt;/a&gt; \&lt;br/&gt;
    -d &apos;{&quot;node&quot;: &lt;/p&gt;
{&quot;type&quot;:&quot;MD_SAL&quot;,&quot;id&quot;:&quot;openflow:7&quot;}
&lt;p&gt;, &quot;port&quot;: {&quot;name&quot;: &quot;s7-eth2&quot;}}&apos;&lt;/p&gt;


&lt;p&gt;3. Run Mininet and run OF1.0 switches.&lt;/p&gt;

&lt;p&gt;$ sudo mn --controller=remote,192.168.60.180 --topo tree,3&lt;/p&gt;


&lt;p&gt;4. Send ping packets from h1 to h8.&lt;/p&gt;

&lt;p&gt;mininet&amp;gt; h1 ping h8&lt;/p&gt;

&lt;p&gt;At this time, VTN Manager tries to install flow entries to forward packets between h1 and h8 based on the vtn configuration (See step 2).&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Linux&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="27449">OPNFLWPLUG-181</key>
            <summary>Wrong value in DL_VLAN in FLOW_MOD using new OF plugin for OF 1.0 switches.</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="Hideyuki1985">Hideyuki Tai</assignee>
                                    <reporter username="Hideyuki1985">Hideyuki Tai</reporter>
                        <labels>
                    </labels>
                <created>Thu, 5 Jun 2014 12:12:51 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:12 +0000</updated>
                            <resolved>Wed, 11 Jun 2014 21:53:49 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="55731" author="hideyuki.tai@necam.com" created="Thu, 5 Jun 2014 12:14:14 +0000"  >&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;Additional information&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;When VTN Manager wants to install a flow entry to match packets without VLAN tag, VTN Manager sets 0 (DL_VLAN_NONE defined in MatchType class) into DL_VLAN filed of an instance of Match class (org.opendaylight.controller.sal.match.Match).&lt;br/&gt;
And after that, FlowConverter class (in org.opendaylight.controller.protocol_plugin.openflow.internal) converts 0 (DL_VLAN_NONE) to 0xffff (OFP_VLAN_NONE) in the case that VTN Manager runs on AD-SAL and the old OF plugin.&lt;br/&gt;
Note that DL_VLAN field of an instance of Match class does not accept 0xffff, but only accepts 0 to 0xfff.&lt;/p&gt;</comment>
                            <comment id="55732" author="kramesha@cisco.com" created="Sat, 7 Jun 2014 00:34:11 +0000"  >&lt;p&gt;Yangtools: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/7793/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/7793/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;OFPlugin: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/7794/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/7794/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;7794 is dependent on 7793.&lt;/p&gt;</comment>
                            <comment id="55733" author="kramesha@cisco.com" created="Tue, 10 Jun 2014 22:17:45 +0000"  >&lt;p&gt;Merged &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/7844/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/7844/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This change would avoid the range change in yangtools.&lt;/p&gt;

&lt;p&gt;Hideyuki, can you please test and see if these changes fixed this issue?&lt;br/&gt;
I have been seeing flows getting removed on my VTN setup but not sure if its a setup issue or a bug.&lt;br/&gt;
Please test and let me know. &lt;br/&gt;
thx&lt;/p&gt;</comment>
                            <comment id="55734" author="hideyuki.tai@necam.com" created="Wed, 11 Jun 2014 01:28:19 +0000"  >&lt;p&gt;(In reply to Kamal Rameshan from comment #3)&lt;br/&gt;
&amp;gt; Merged &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/7844/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/7844/&lt;/a&gt;&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; This change would avoid the range change in yangtools.&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; Hideyuki, can you please test and see if these changes fixed this issue?&lt;br/&gt;
&amp;gt; I have been seeing flows getting removed on my VTN setup but not sure if its&lt;br/&gt;
&amp;gt; a setup issue or a bug.&lt;br/&gt;
&amp;gt; Please test and let me know. &lt;br/&gt;
&amp;gt; thx&lt;/p&gt;

&lt;p&gt;Sure!&lt;br/&gt;
I&apos;ll test it and see if these changes have fixed this issue today.&lt;/p&gt;</comment>
                            <comment id="55735" author="hideyuki.tai@necam.com" created="Wed, 11 Jun 2014 02:44:59 +0000"  >&lt;p&gt;(In reply to Hideyuki Tai from comment #4)&lt;br/&gt;
&amp;gt; (In reply to Kamal Rameshan from comment #3)&lt;br/&gt;
&amp;gt; &amp;gt; Merged &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/7844/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/7844/&lt;/a&gt;&lt;br/&gt;
&amp;gt; &amp;gt; &lt;br/&gt;
&amp;gt; &amp;gt; This change would avoid the range change in yangtools.&lt;br/&gt;
&amp;gt; &amp;gt; &lt;br/&gt;
&amp;gt; &amp;gt; Hideyuki, can you please test and see if these changes fixed this issue?&lt;br/&gt;
&amp;gt; &amp;gt; I have been seeing flows getting removed on my VTN setup but not sure if its&lt;br/&gt;
&amp;gt; &amp;gt; a setup issue or a bug.&lt;br/&gt;
&amp;gt; &amp;gt; Please test and let me know. &lt;br/&gt;
&amp;gt; &amp;gt; thx&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; Sure!&lt;br/&gt;
&amp;gt; I&apos;ll test it and see if these changes have fixed this issue today.&lt;/p&gt;

&lt;p&gt;Hi Kamal,&lt;/p&gt;

&lt;p&gt;Thank you for fixing it.&lt;br/&gt;
I&apos;ve tested it and confirmed that the issue has been fixed.&lt;/p&gt;

&lt;p&gt;For the test, I used the latest version of the Virtualization Edition on 11th June which includes the following patch.&lt;br/&gt;
  &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/7844/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/7844/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;$ git log -3 --oneline&lt;br/&gt;
444f3e9 RESTConf FlowMod Test cases&lt;br/&gt;
fa46cc8 Test Case Reorganization part 3&lt;br/&gt;
d223e7c Test Case Reorganization Part 2&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </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>1137</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=1137]]></customfieldvalue>

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

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