<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:53:16 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>[CONTROLLER-536] Wrong value in OFPXMT_OFB_VLAN_VID in FLOW_MOD using new OF plugin for OF 1.3 switches.</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-536</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;Values in OFPXMT_OFB_VLAN_VID field of FLOW_MOD messages were wrong, when VTN Manager run on MD-SAL and the new OF plugin, connected to OF 1.3 switches, and tried to install flow entries which match packets with VLAN tag for VLAN 100.&lt;br/&gt;
In this situation, the controller must set 100 into the OFPXMT_OFB_VLAN_VID field.&lt;br/&gt;
However, it set 0, so packets with VLAN tag for VLAN 100 didn&apos;t match the flow entries.&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;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=%2Fwork%2Fintegration%2Fdistributions&quot; class=&quot;user-hover&quot; rel=&quot;/work/integration/distributions&quot;&gt;/work/integration/distributions&lt;/a&gt;&lt;br/&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 brige 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 for Hackfest network&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;: &lt;/p&gt;
{&quot;name&quot;: &quot;s3-eth1&quot;}
&lt;p&gt;, &quot;vlan&quot;: &quot;100&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;: &lt;/p&gt;
{&quot;name&quot;: &quot;s7-eth2&quot;}
&lt;p&gt;, &quot;vlan&quot;: &quot;100&quot;}&apos;&lt;/p&gt;


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

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

&lt;p&gt;4. Configure hosts for sending packets with VLAN tag.&lt;/p&gt;

&lt;p&gt;h1 ifconfig h1-eth0 inet 0.0.0.0&lt;br/&gt;
h1 vconfig add h1-eth0 100&lt;br/&gt;
h1 ifconfig h1-eth0.100&lt;br/&gt;
h1 ifconfig h1-eth0.100 inet 10.0.0.1/8&lt;/p&gt;

&lt;p&gt;h8 ifconfig h8-eth0 inet 0.0.0.0&lt;br/&gt;
h8 vconfig add h8-eth0 100&lt;br/&gt;
h8 ifconfig h8-eth0.100&lt;br/&gt;
h8 ifconfig h8-eth0.100 inet 10.0.0.8/8&lt;/p&gt;

&lt;p&gt;5. Send ping packets from h1 to h8 (10.0.0.8).&lt;/p&gt;

&lt;p&gt;mininet&amp;gt; h1 ping 10.0.0.8&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="25090">CONTROLLER-536</key>
            <summary>Wrong value in OFPXMT_OFB_VLAN_VID in FLOW_MOD using new OF plugin for OF 1.3 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:44:53 +0000</created>
                <updated>Tue, 25 Jul 2023 08:23:50 +0000</updated>
                            <resolved>Mon, 23 Jun 2014 23:40:15 +0000</resolved>
                                                                    <component>mdsal</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>8</watches>
                                                                                                                <comments>
                            <comment id="48464" author="prasanna.huddar@ericsson.com" created="Wed, 11 Jun 2014 09:54:42 +0000"  >&lt;p&gt;Hello Hideyuki,&lt;/p&gt;

&lt;p&gt;I tried f49 test case from test provider to verify VLAN match setting looks like it is working&lt;/p&gt;

&lt;p&gt;addMDFlow openflow:1 f49&lt;/p&gt;

&lt;p&gt;And CPQD output shows the correct vlan-ID&lt;/p&gt;

&lt;p&gt;prasanna@ubuntu:~/mininet/ofsoftswitch13$ ./utilities/dpctl tcp:127.0.0.1:6634 stats-flow&lt;/p&gt;

&lt;p&gt;SENDING:&lt;br/&gt;
stat_req{type=&quot;flow&quot;, flags=&quot;0x0&quot;, table=&quot;all&quot;, oport=&quot;any&quot;, ogrp=&quot;any&quot;, cookie=0x0&quot;, mask=0x0&quot;, match=oxm{all match}}&lt;/p&gt;


&lt;p&gt;RECEIVED:&lt;br/&gt;
stat_repl{type=&quot;flow&quot;, flags=&quot;0x0&quot;, stats=[{table=&quot;2&quot;, match=&quot;oxm&lt;/p&gt;
{vlan_vid=&quot;10&quot;, vlan_pcp=&quot;3&quot;}
&lt;p&gt;&quot;, dur_s=&quot;48&quot;, dur_ns=&quot;802000&quot;, prio=&quot;2&quot;, idle_to=&quot;0&quot;, hard_to=&quot;0&quot;, cookie=&quot;0xa&quot;, pkt_cnt=&quot;0&quot;, byte_cnt=&quot;0&quot;, insts=[meter&lt;/p&gt;
{meter=&quot;1&quot;}
&lt;p&gt;]}]}&lt;/p&gt;

&lt;p&gt;Rgds,&lt;br/&gt;
Prasanna&lt;/p&gt;</comment>
                            <comment id="48465" author="hagbard@gmail.com" created="Thu, 12 Jun 2014 21:31:54 +0000"  >&lt;p&gt;Prasanna, please check the adaptors as the issue may be there.&lt;/p&gt;</comment>
                            <comment id="48466" author="mirehak@cisco.com" created="Fri, 20 Jun 2014 12:27:14 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/8172/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/8172/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;set vlanIdPresent to true if assigning vlanId&lt;/p&gt;</comment>
                            <comment id="48467" author="mirehak@cisco.com" created="Fri, 20 Jun 2014 12:34:39 +0000"  >&lt;p&gt;Hideyuki, could you please retest?&lt;/p&gt;

&lt;p&gt;OVS reports this flows:&lt;br/&gt;
OFPST_FLOW reply (OF1.3) (xid=0x2):&lt;br/&gt;
 cookie=0x0, duration=5.114s, table=0, n_packets=3, n_bytes=246, send_flow_rem priority=10,in_port=2,dl_vlan=100,dl_src=00:00:00:00:00:08,dl_dst=00:00:00:00:00:01 actions=output:1&lt;br/&gt;
 cookie=0x0, duration=5.068s, table=0, n_packets=3, n_bytes=246, send_flow_rem priority=10,in_port=1,dl_vlan=100,dl_src=00:00:00:00:00:01,dl_dst=00:00:00:00:00:08 actions=output:2&lt;/p&gt;</comment>
                            <comment id="48468" author="hideyuki.tai@necam.com" created="Mon, 23 Jun 2014 00:56:26 +0000"  >&lt;p&gt;(In reply to michal rehak from comment #4)&lt;br/&gt;
&amp;gt; Hideyuki, could you please retest?&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; OVS reports this flows:&lt;br/&gt;
&amp;gt; OFPST_FLOW reply (OF1.3) (xid=0x2):&lt;br/&gt;
&amp;gt;  cookie=0x0, duration=5.114s, table=0, n_packets=3, n_bytes=246,&lt;br/&gt;
&amp;gt; send_flow_rem&lt;br/&gt;
&amp;gt; priority=10,in_port=2,dl_vlan=100,dl_src=00:00:00:00:00:08,dl_dst=00:00:00:&lt;br/&gt;
&amp;gt; 00:00:01 actions=output:1&lt;br/&gt;
&amp;gt;  cookie=0x0, duration=5.068s, table=0, n_packets=3, n_bytes=246,&lt;br/&gt;
&amp;gt; send_flow_rem&lt;br/&gt;
&amp;gt; priority=10,in_port=1,dl_vlan=100,dl_src=00:00:00:00:00:01,dl_dst=00:00:00:&lt;br/&gt;
&amp;gt; 00:00:08 actions=output:2&lt;/p&gt;

&lt;p&gt;Thank you!&lt;br/&gt;
I&apos;ll test it today.&lt;/p&gt;</comment>
                            <comment id="48469" author="hideyuki.tai@necam.com" created="Mon, 23 Jun 2014 01:30:24 +0000"  >&lt;p&gt;(In reply to michal rehak from comment #3)&lt;br/&gt;
&amp;gt; &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/8172/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/8172/&lt;/a&gt;&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; set vlanIdPresent to true if assigning vlanId&lt;/p&gt;


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

&lt;p&gt;Thank you for creating the patch.&lt;br/&gt;
I&apos;ve confirmed that your patch fixes the problem.&lt;/p&gt;


&lt;p&gt;I pulled the latest code of Integration Git repository, and built the Virtualization Edition on 23rd June.&lt;br/&gt;
And I applied the change of your patch to the Virtualization edition. (I replaced org.opendaylight.controller.sal-compatibility-1.1-SNAPSHOT.jar.)&lt;/p&gt;

&lt;p&gt;After that, I retested the same scenario I written in comment #1.&lt;br/&gt;
On the test, I captured all packets on OpenFlow channels, and I confirmed that the controller correctly set 100 to OFPXMT_OFB_VLAN_VID field in FLOW_MOD messages.&lt;/p&gt;

&lt;p&gt;After the patch will be merged to the master branch of controller Git repository, I&apos;m going to change the status of the bug report to &quot;RESOLVED&quot;.&lt;/p&gt;</comment>
                            <comment id="48470" author="hagbard@gmail.com" created="Mon, 23 Jun 2014 12:21:56 +0000"  >&lt;p&gt;Merged: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/8172/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/8172/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Hideyuki,&lt;/p&gt;

&lt;p&gt;Would you mark this as resolved?&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>1138</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=1138]]></customfieldvalue>

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

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