<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:00:10 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>[GENIUS-204] TEP is part of old and new TZ when tz is updated after del-manager</title>
                <link>https://jira.opendaylight.org/browse/GENIUS-204</link>
                <project id="10126" key="GENIUS">genius</project>
                    <description>&lt;p&gt;TEP is part of two zones i.e. old transport zone and new transport zone when zone is removed after del-manager.&lt;/p&gt;

&lt;p&gt;Ideally, it should get removed from old TZ when manager is connected back and new TZ is added from NB.&lt;/p&gt;

&lt;p&gt;Steps:&lt;br/&gt;
1. Make sure setup is up with TZB transport-zone and tunnels &lt;br/&gt;
2. now execute &quot;ovs-vsctl del-manager&quot; in any of the ovs.&lt;br/&gt;
3. remove transport zone TZB from ovsdb and create new TZC&lt;br/&gt;
ovs-vsctl remove O . external_ids transport-zone&lt;br/&gt;
ovs-vsctl set O . external_ids:transport-zone=TZC&lt;br/&gt;
4. connect back manager to ODL.&lt;br/&gt;
 sudo ovs-vsctl set-manager tcp:192.168.40.28:6640&lt;br/&gt;
5. check /restconf/operational/itm:not-hosted-transport-zones/ and create a TZC from NB&lt;br/&gt;
curl -X POST -H &quot;Content-Type:application/json&quot; -d @itm_tzc &lt;a href=&quot;http://localhost:8181/restconf/config/itm:transport-zones/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/config/itm:transport-zones&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="30562">GENIUS-204</key>
            <summary>TEP is part of old and new TZ when tz is updated after del-manager</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <status id="10001" iconUrl="https://jira.opendaylight.org/" description="">In Review</status>
                    <statusCategory id="4" key="indeterminate" colorName="yellow"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="tarunODLF">Tarun Thakur</assignee>
                                    <reporter username="tarunODLF">Tarun Thakur</reporter>
                        <labels>
                    </labels>
                <created>Mon, 6 Aug 2018 09:34:51 +0000</created>
                <updated>Mon, 6 Aug 2018 09:55:19 +0000</updated>
                                                                            <component>ITM</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                    <progress percentage="100">
                                    <originalProgress>
                                                    <row percentage="0" backgroundColor="#89afd7"/>
                                                    <row percentage="100" backgroundColor="transparent"/>
                                            </originalProgress>
                                                    <currentProgress>
                                                    <row percentage="100" backgroundColor="#51a825"/>
                                                    <row percentage="0" backgroundColor="#ec8e00"/>
                                            </currentProgress>
                            </progress>
                                    <aggregateprogress percentage="100">
                                    <originalProgress>
                                                    <row percentage="0" backgroundColor="#89afd7"/>
                                                    <row percentage="100" backgroundColor="transparent"/>
                                            </originalProgress>
                                                    <currentProgress>
                                                    <row percentage="100" backgroundColor="#51a825"/>
                                                    <row percentage="0" backgroundColor="#ec8e00"/>
                                            </currentProgress>
                            </aggregateprogress>
                                            <timeestimate seconds="0">0 minutes</timeestimate>
                            <timespent seconds="28800">1 day</timespent>
                                <comments>
                            <comment id="64549" author="tarunodlf" created="Mon, 6 Aug 2018 09:42:46 +0000"  >&lt;ul&gt;
	&lt;li&gt;Fail scenario&lt;/li&gt;
&lt;/ul&gt;


&lt;ol&gt;
	&lt;li&gt;TZB was present and TEPs were part of it.&lt;/li&gt;
	&lt;li&gt;ovsdb connection is removed by running delete-manager command on switch&lt;/li&gt;
	&lt;li&gt;Change transport-zone of TEPs from TZB to TZC&lt;/li&gt;
	&lt;li&gt;ovsdb connection is set again by running set-manager command on switch&lt;/li&gt;
	&lt;li&gt;TEPs go under teps-not-hosted since TZC is not yet present. It is noted here that TEPs are still part of TZB in ITM config DS.&lt;/li&gt;
	&lt;li&gt;TZC is created from northbound&lt;/li&gt;
	&lt;li&gt;TEPs are moved from teps-not-hosted to TZC.&lt;/li&gt;
	&lt;li&gt;In the end, TEPs are part of TZB and TZC both. This is issue.&lt;/li&gt;
&lt;/ol&gt;


&lt;ul&gt;
	&lt;li&gt;Fix provided&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;When TEPs add notification come again with updated TZC, then check if same TEP (key: dpid) is already present in any other TZ. If present, then remove TEP from old TZ and then add TEP into newly configured TZ.&lt;/p&gt;</comment>
                            <comment id="64550" author="faseela.k@ericsson.com" created="Mon, 6 Aug 2018 09:50:01 +0000"  >&lt;p&gt;Tarun, let us close the TR, once the patches are merged&lt;/p&gt;</comment>
                            <comment id="64551" author="tarunodlf" created="Mon, 6 Aug 2018 09:55:19 +0000"  >&lt;p&gt;Ok, understood. Thanks for updating the bug.&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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03hnz:</customfieldvalue>

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