<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:48:04 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>[VTN-113] Vlanmap create failed when configured with logical port-id</title>
                <link>https://jira.opendaylight.org/browse/VTN-113</link>
                <project id="10185" key="VTN">vtn</project>
                    <description>&lt;p&gt;Got error when I tested VTN Coordinator FT for Vlanmap functionality with Stable/be code. &lt;/p&gt;

&lt;p&gt;Reproduce the Bug:&lt;/p&gt;

&lt;p&gt;To run vtn_vbr_vlanmap.py FT script:&lt;/p&gt;

&lt;p&gt;Configuration in the above script:&lt;br/&gt;
1) CReate vtn, vbr&lt;br/&gt;
2) Create Vlanmap with logical-portid  &lt;span class=&quot;error&quot;&gt;&amp;#91;Returns Internal server Error&amp;#39;500&amp;#39;&amp;#93;&lt;/span&gt;.&lt;/p&gt;

&lt;p&gt;Reason:&lt;br/&gt;
While checking odcdriver logs, in vlanmap request body node is filled as node:&quot;1&quot; instead of node:&quot;openflow:1&quot;. It may be a bug.&lt;/p&gt;

&lt;p&gt;Please find log below.&lt;/p&gt;

&lt;p&gt;2016-02-09 20:56:20.411776: &lt;span class=&quot;error&quot;&gt;&amp;#91;16355&amp;#93;&lt;/span&gt;: DEBUG: vtndrvintf: 18,keytype&lt;br/&gt;
    2016-02-09 20:56:20.411784: &lt;span class=&quot;error&quot;&gt;&amp;#91;16355&amp;#93;&lt;/span&gt;: DEBUG: odcdriver: UNC_KT_VBR_VLANMAP key type received&lt;br/&gt;
    2016-02-09 20:56:20.411790: &lt;span class=&quot;error&quot;&gt;&amp;#91;16355&amp;#93;&lt;/span&gt;: DEBUG: vtndrvintf: keytype:18, config_operation:1&lt;br/&gt;
    2016-02-09 20:56:20.411796: &lt;span class=&quot;error&quot;&gt;&amp;#91;16355&amp;#93;&lt;/span&gt;: DEBUG: vtndrvintf: execute_cmd: Translate Create Command string&lt;br/&gt;
    2016-02-09 20:56:20.411807: &lt;span class=&quot;error&quot;&gt;&amp;#91;16355&amp;#93;&lt;/span&gt;: DEBUG: odcdriver: create_update_cmd: Logical_port_id is valid&lt;br/&gt;
    2016-02-09 20:56:20.411815: &lt;span class=&quot;error&quot;&gt;&amp;#91;16355&amp;#93;&lt;/span&gt;: DEBUG: odcdriver: validate_logical_port_id: Logical port received : SW-openflow:1&lt;br/&gt;
    2016-02-09 20:56:20.411821: &lt;span class=&quot;error&quot;&gt;&amp;#91;16355&amp;#93;&lt;/span&gt;: INFO: odcdriver: switch_base:openflow&lt;br/&gt;
    2016-02-09 20:56:20.411827: &lt;span class=&quot;error&quot;&gt;&amp;#91;16355&amp;#93;&lt;/span&gt;: DEBUG: odcdriver: Switch id in vlan map openflow:1&lt;br/&gt;
    2016-02-09 20:56:20.411833: &lt;span class=&quot;error&quot;&gt;&amp;#91;16355&amp;#93;&lt;/span&gt;: DEBUG: odcdriver: Valid logical_port id&lt;br/&gt;
    2016-02-09 20:56:20.411838: &lt;span class=&quot;error&quot;&gt;&amp;#91;16355&amp;#93;&lt;/span&gt;: DEBUG: odcdriver:  Logical port id received SW-openflow:1&lt;br/&gt;
    2016-02-09 20:56:20.411849: &lt;span class=&quot;error&quot;&gt;&amp;#91;16355&amp;#93;&lt;/span&gt;: DEBUG: odcdriver:  Logical port id received SW-openflow:1&lt;br/&gt;
    2016-02-09 20:56:20.411861: &lt;span class=&quot;error&quot;&gt;&amp;#91;16355&amp;#93;&lt;/span&gt;: DEBUG: odcdriver: create_request_body: Vlan Tagged&lt;br/&gt;
    2016-02-09 20:56:20.411880: &lt;span class=&quot;error&quot;&gt;&amp;#91;16355&amp;#93;&lt;/span&gt;: DEBUG: odcdriver: create_request_body: Vlanid: 10&lt;br/&gt;
    2016-02-09 20:56:20.411887: &lt;span class=&quot;error&quot;&gt;&amp;#91;16355&amp;#93;&lt;/span&gt;: INFO: odcdriver: vlan not empty : 10&lt;br/&gt;
    2016-02-09 20:56:20.411893: &lt;span class=&quot;error&quot;&gt;&amp;#91;16355&amp;#93;&lt;/span&gt;: DEBUG: odcdriver:  Logical port id received SW-openflow:1&lt;br/&gt;
    2016-02-09 20:56:20.411902: &lt;span class=&quot;error&quot;&gt;&amp;#91;16355&amp;#93;&lt;/span&gt;: DEBUG: odcdriver: create_request_body: Logical_port_id(SW-openflow:1)&lt;br/&gt;
    2016-02-09 20:56:20.411909: &lt;span class=&quot;error&quot;&gt;&amp;#91;16355&amp;#93;&lt;/span&gt;: DEBUG: odcdriver: create_request_body: Switch id(1)&lt;br/&gt;
    2016-02-09 20:56:20.411934: &lt;span class=&quot;error&quot;&gt;&amp;#91;16355&amp;#93;&lt;/span&gt;: DEBUG: restjsonutil: User name and password is taken from controller pointer&lt;br/&gt;
    2016-02-09 20:56:20.411975: &lt;span class=&quot;error&quot;&gt;&amp;#91;16355&amp;#93;&lt;/span&gt;: DEBUG: restjsonutil: &lt;a href=&quot;http://10.106.138.124:8181/restconf/operations/vtn-vlan-map:add-vlan-map&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://10.106.138.124:8181/restconf/operations/vtn-vlan-map:add-vlan-map&lt;/a&gt; Url formed&lt;br/&gt;
    2016-02-09 20:56:20.411984: &lt;span class=&quot;error&quot;&gt;&amp;#91;16355&amp;#93;&lt;/span&gt;: DEBUG: restjsonutil: HTTP_METHOD_POST&lt;br/&gt;
    2016-02-09 20:56:20.411994: &lt;span class=&quot;error&quot;&gt;&amp;#91;16355&amp;#93;&lt;/span&gt;: DEBUG: restjsonutil: Request Body  : { &quot;input&quot;: &lt;/p&gt;
{ &quot;tenant-name&quot;: &quot;vtnone&quot;, &quot;bridge-name&quot;: &quot;vbrone&quot;, &quot;node&quot;: &quot;1&quot;, &quot;vlan-id&quot;: &quot;10    &quot; }
&lt;p&gt; }&lt;br/&gt;
    2016-02-09 20:56:20.412000: &lt;span class=&quot;error&quot;&gt;&amp;#91;16355&amp;#93;&lt;/span&gt;: INFO: restjsonutil: requestbody : { &quot;input&quot;: &lt;/p&gt;
{ &quot;tenant-name&quot;: &quot;vtnone&quot;, &quot;bridge-name&quot;: &quot;vbrone&quot;, &quot;node&quot;: &quot;1&quot;, &quot;vlan-id&quot;: &quot;10&quot; }
&lt;p&gt;     }&lt;br/&gt;
    2016-02-09 20:56:20.421895: &lt;span class=&quot;error&quot;&gt;&amp;#91;16355&amp;#93;&lt;/span&gt;: DEBUG: restjsonutil: Allocates Memory ............&lt;br/&gt;
    2016-02-09 20:56:20.422488: &lt;span class=&quot;error&quot;&gt;&amp;#91;16355&amp;#93;&lt;/span&gt;: ERROR: odcdriver: post is not success , resp_code 400&lt;br/&gt;
    2016-02-09 20:56:20.422572: &lt;span class=&quot;error&quot;&gt;&amp;#91;16355&amp;#93;&lt;/span&gt;: ERROR: odcdriver: Vlan create/update Failed&lt;br/&gt;
    2016-02-09 20:56:20.422587: &lt;span class=&quot;error&quot;&gt;&amp;#91;16355&amp;#93;&lt;/span&gt;: DEBUG: vtndrvintf: deleted config_cmd_ptr&lt;br/&gt;
    2016-02-09 20:56:20.422675: &lt;span class=&quot;error&quot;&gt;&amp;#91;16355&amp;#93;&lt;/span&gt;: DEBUG: vtndrvintf: 18,execute_cmd not success&lt;br/&gt;
    2016-02-09 20:56:20.422698: &lt;span class=&quot;error&quot;&gt;&amp;#91;16355&amp;#93;&lt;/span&gt;: DEBUG: tclib: TcLibWriteControllerInfo 450 Write controller info involved for controller_id controller1&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26493">VTN-113</key>
            <summary>Vlanmap create failed when configured with logical port-id</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="-1">Unassigned</assignee>
                                    <reporter username="siva-karthik@hcl.com">Karthik Sivasamy</reporter>
                        <labels>
                    </labels>
                <created>Tue, 9 Feb 2016 10:12:12 +0000</created>
                <updated>Thu, 19 Oct 2017 21:25:13 +0000</updated>
                            <resolved>Fri, 12 Feb 2016 06:43:09 +0000</resolved>
                                    <version>unspecified</version>
                                                    <component>ODC Driver</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="53059" author="yogalakshmi.pa@hcl.com" created="Fri, 12 Feb 2016 06:38:26 +0000"  >&lt;p&gt;The Response:&lt;/p&gt;

&lt;p&gt;curl -v -X POST -H &apos;content-type: application/json&apos; -H &apos;username: admin&apos; -H &apos;password: adminpass&apos; -d &apos;{&quot;vlanmap&quot; : {&quot;logical_port_id&quot;:&quot;SW-openflow:3&quot;, &quot;vlan_id&quot;: 200 }}&apos; &lt;a href=&quot;http://127.0.0.1:8083/vtn-webapi/vtns/vtn1/vbridges/vBridge1/vlanmaps.json&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://127.0.0.1:8083/vtn-webapi/vtns/vtn1/vbridges/vBridge1/vlanmaps.json&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;About to connect() to 127.0.0.1 port 8083 (#0)&lt;/li&gt;
	&lt;li&gt;Trying 127.0.0.1... connected&lt;/li&gt;
	&lt;li&gt;Connected to 127.0.0.1 (127.0.0.1) port 8083 (#0)&lt;br/&gt;
&amp;gt; POST /vtn-webapi/vtns/vtn1/vbridges/vBridge1/vlanmaps.json HTTP/1.1&lt;br/&gt;
&amp;gt; User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.15.3 zlib/1.2.3 libidn/1.18 libssh2/1.4.2&lt;br/&gt;
&amp;gt; Host: 127.0.0.1:8083&lt;br/&gt;
&amp;gt; Accept: &lt;b&gt;/&lt;/b&gt;&lt;br/&gt;
&amp;gt; content-type: application/json&lt;br/&gt;
&amp;gt; username: admin&lt;br/&gt;
&amp;gt; password: adminpass&lt;br/&gt;
&amp;gt; Content-Length: 66&lt;br/&gt;
&amp;gt;&lt;br/&gt;
&amp;lt; HTTP/1.1 201 Created&lt;br/&gt;
&amp;lt; Server: Apache-Coyote/1.1&lt;br/&gt;
&amp;lt; Content-Type: application/json;charset=UTF-8&lt;br/&gt;
&amp;lt; Content-Length: 79&lt;br/&gt;
&amp;lt; Date: Fri, 12 Feb 2016 12:08:04 GMT&lt;br/&gt;
&amp;lt;&lt;/li&gt;
	&lt;li&gt;Connection #0 to host 127.0.0.1 left intact&lt;/li&gt;
	&lt;li&gt;Closing connection #0&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="53060" author="yogalakshmi.pa@hcl.com" created="Fri, 12 Feb 2016 06:43:09 +0000"  >&lt;p&gt;PFB the patch details for this bug in &lt;/p&gt;

&lt;p&gt;stable/beryllium:&lt;/p&gt;

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

&lt;p&gt;Master:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/34452/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/34452/&lt;/a&gt;&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>5279</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=5279]]></customfieldvalue>

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

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