<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:47:54 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-59] VTN Coordinator fails to update the admin_status of the Vbridge Interface in VTN Manager.</title>
                <link>https://jira.opendaylight.org/browse/VTN-59</link>
                <project id="10185" key="VTN">vtn</project>
                    <description>&lt;p&gt;Update for the adminstatus in the VBr interface has issues&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26439">VTN-59</key>
            <summary>VTN Coordinator fails to update the admin_status of the Vbridge Interface in VTN Manager.</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="yogalakshmi.pa@hcl.com">YOGA LAKSHMI SWETHA PAYYAVULA</reporter>
                        <labels>
                    </labels>
                <created>Thu, 26 Feb 2015 05:44:30 +0000</created>
                <updated>Thu, 19 Oct 2017 21:25:19 +0000</updated>
                            <resolved>Thu, 12 Mar 2015 16:36:55 +0000</resolved>
                                    <version>unspecified</version>
                                                    <component>ODC Driver</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="52905" author="yogalakshmi.pa@hcl.com" created="Tue, 3 Mar 2015 05:59:27 +0000"  >
&lt;p&gt;Updating the admin status in the Vbr interface.&lt;/p&gt;

&lt;p&gt;First create the vbr interfaces if1 and if2 and do the portmapping.&lt;br/&gt;
Then in th emininet give ping:&lt;/p&gt;

&lt;p&gt;Now update one of the interfaces as shown below:&lt;/p&gt;

&lt;p&gt;curl --user admin:adminpass -H &apos;content-type: application/json&apos; -X PUT -d &apos;{&quot;interface&quot;: {&quot;if_name&quot;: &quot;if1&quot;, &quot;adminstatus&quot; : &quot;disable&quot;}}&apos; &lt;a href=&quot;http://127.0.0.1:8083/vtn&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://127.0.0.1:8083/vtn&lt;/a&gt; webapi/vtns/vtn1/vbridges/vBridge1/interfaces/if1&lt;/p&gt;



&lt;p&gt;After running this command the interface should be disabled and its operstatus should go down, but it doesnot happen so:&lt;/p&gt;</comment>
                            <comment id="52906" author="hideyuki.tai@necam.com" created="Tue, 3 Mar 2015 17:42:49 +0000"  >&lt;p&gt;Manish Kumar detected and reported this bug.&lt;br/&gt;
&lt;a href=&quot;https://lists.opendaylight.org/pipermail/vtn-dev/2015-February/000851.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://lists.opendaylight.org/pipermail/vtn-dev/2015-February/000851.html&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="52907" author="yogalakshmi.pa@hcl.com" created="Wed, 4 Mar 2015 07:30:45 +0000"  >&lt;p&gt;First get a set-up for vtn manager and coordinator using the example,&lt;br/&gt;
L2 Network with single controller as shown on the below page :&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://wiki.opendaylight.org/view/OpenDaylight_Virtual_Tenant_Network_(VTN):VTN_Coordinator:RestApi:L2_Network_Example_Using_VTN_Virtualization&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.opendaylight.org/view/OpenDaylight_Virtual_Tenant_Network_(VTN):VTN_Coordinator:RestApi:L2_Network_Example_Using_VTN_Virtualization&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After this one of the interfaces is disabled by updating the admin status. This should get the operation state of that interface down. The below command is used for  this :&lt;/p&gt;

&lt;p&gt;curl -v --user admin:adminpass -H &apos;content-type: application/json&apos; -H &apos;ipaddr:127.0.0.1&apos; -X PUT -d &apos;{&quot;interface&quot;: {&quot;if_name&quot;: &quot;if1&quot;,&quot;description&quot;: &quot;if_desc1&quot;, &quot;adminstatus&quot;: &quot;disable&quot;}}&apos; &lt;a href=&quot;http://127.0.0.1:8083/vtn-webapi/vtns/vtn_one/vbridges/vbr_one/interfaces/if1.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/vtn_one/vbridges/vbr_one/interfaces/if1.json&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;From the VTN Manager GET command is checked :&lt;/p&gt;

&lt;p&gt;curl -v --user &quot;admin&quot;:&quot;admin&quot; -H &quot;Accept: application/json&quot; -H &quot;Content-type: application/json&quot; -X GET &lt;a href=&quot;http://localhost:8080/controller/nb/v2/vtn/default/vtns/vtn_one/vbridges/vbr_one/interfaces/if1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8080/controller/nb/v2/vtn/default/vtns/vtn_one/vbridges/vbr_one/interfaces/if1&lt;/a&gt;&lt;/p&gt;

{&quot;enabled&quot;:true,&quot;name&quot;:&quot;if1&quot;,&quot;state&quot;:1,&quot;entityState&quot;:1}

&lt;p&gt;This is a wrong behavior. The status should get updated in the vtn manager and the interface should do DOWN. When the adminstatus is disabled the Ping should also fail&lt;/p&gt;</comment>
                            <comment id="52908" author="yogalakshmi.pa@hcl.com" created="Tue, 10 Mar 2015 07:01:50 +0000"  >&lt;p&gt;Issue Scenario :&lt;/p&gt;

&lt;p&gt;When the admin_status attribute of the Vbridge Itnerface is modified, the same change is not reflected in the VTN Manager of the corresponding ODL controller.&lt;/p&gt;

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

&lt;p&gt;First get a set-up for vtn manager and coordinator using the example:&lt;br/&gt;
L2 Network with single controller as shown on the below page :&lt;br/&gt;
&lt;a href=&quot;https://wiki.opendaylight.org/view/OpenDaylight_Virtual_Tenant_Network_(VTN):VTN_Coordinator:RestApi:L2_Network_Example_Using_VTN_Virtualization&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.opendaylight.org/view/OpenDaylight_Virtual_Tenant_Network_(VTN):VTN_Coordinator:RestApi:L2_Network_Example_Using_VTN_Virtualization&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Then update the vBr interface admin status using the below command :&lt;/p&gt;

&lt;p&gt;curl -v --user admin:adminpass -H &apos;content-type: application/json&apos; -H &apos;ipaddr:127.0.0.1&apos; -X PUT -d &apos;{&quot;interface&quot;: {&quot;if_name&quot;: &quot;if1&quot;,&quot;description&quot;: &quot;if_desc1&quot;, &quot;adminstatus&quot;: &quot;disable&quot;}}&apos; &lt;a href=&quot;http://127.0.0.1:8083/vtn-webapi/vtns/vtn_one/vbridges/vbr_one/interfaces/if1.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/vtn_one/vbridges/vbr_one/interfaces/if1.json&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When the GET command is used in the Vtn manager to get the status of the interface:&lt;/p&gt;

&lt;p&gt;curl -v --user &quot;admin&quot;:&quot;admin&quot; -H &quot;Accept: application/json&quot; -H &quot;Content-type: application/json&quot; -X GET &lt;a href=&quot;http://localhost:8080/controller/nb/v2/vtn/default/vtns/vtn_one/vbridges/vbr_one/interfaces/if1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8080/controller/nb/v2/vtn/default/vtns/vtn_one/vbridges/vbr_one/interfaces/if1&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is the result :&lt;/p&gt;
{&quot;enabled&quot;:true,&quot;name&quot;:&quot;if1&quot;,&quot;state&quot;:1,&quot;entityState&quot;:1}


&lt;p&gt;Occurrence of the issue :&lt;/p&gt;

&lt;p&gt;Update of the admin_status attribute in VTN Coordiantor.&lt;/p&gt;</comment>
                            <comment id="52909" author="hideyuki.tai@necam.com" created="Wed, 11 Mar 2015 16:48:37 +0000"  >&lt;p&gt;The patch for this bug was merged into the master branch of the vtn.git.&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/15715/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/15715/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="52910" author="hideyuki.tai@necam.com" created="Thu, 12 Mar 2015 16:36:37 +0000"  >&lt;p&gt;The patch for this bug was also merged into the stable/helium branch of the vtn.git.&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/16385/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/16385/&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>2758</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=2758]]></customfieldvalue>

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

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