<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:12:43 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>[BGPCEP-329] updateLsp () in class org.opendaylight.bgpcep.pcep.topology.provider.AbstractTopologySessionListener  doesnt match &quot;PCEP Extensions for Stateful PCE draft-ietf-pce-stateful-pce-11&quot;</title>
                <link>https://jira.opendaylight.org/browse/BGPCEP-329</link>
                <project id="10108" key="BGPCEP">bgpcep</project>
                    <description>&lt;p&gt;R(Remove - 1 bit):  On PCRpt messages the R Flag indicates that the&lt;br/&gt;
      LSP has been removed from the PCC and the PCE SHOULD remove all&lt;br/&gt;
      state from its database.  Upon receiving an LSP State Report with&lt;br/&gt;
      the R Flag set to 1 for an RSVP-signaled LSP, the PCE SHOULD&lt;br/&gt;
      remove all state for the path identified by the LSP Identifiers&lt;br/&gt;
      TLV from its database.  When the all-zeros LSP-IDENTIFIERS TLV is&lt;br/&gt;
      used, the PCE SHOULD remove all state for the PLSP-ID from its&lt;br/&gt;
      database.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="23569">BGPCEP-329</key>
            <summary>updateLsp () in class org.opendaylight.bgpcep.pcep.topology.provider.AbstractTopologySessionListener  doesnt match &quot;PCEP Extensions for Stateful PCE draft-ietf-pce-stateful-pce-11&quot;</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="10003">Cannot Reproduce</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="geng.xingyuan@zte.com.cn">Geng Xingyuan</reporter>
                        <labels>
                    </labels>
                <created>Wed, 9 Dec 2015 01:24:36 +0000</created>
                <updated>Sun, 3 Mar 2019 11:49:33 +0000</updated>
                            <resolved>Wed, 20 Jan 2016 17:13:46 +0000</resolved>
                                    <version>Bugzilla Migration</version>
                                    <fixVersion>Bugzilla Migration</fixVersion>
                                    <component>PCEP</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="45280" author="geng.xingyuan@zte.com.cn" created="Thu, 24 Dec 2015 06:42:42 +0000"  >&lt;p&gt;protected final synchronized void updateLsp(final MessageContext ctx, final L id, final String lspName,&lt;br/&gt;
        final ReportedLspBuilder rlb, final boolean solicited, final boolean remove) {&lt;/p&gt;

&lt;p&gt;        final String name;&lt;br/&gt;
        if (lspName == null) {&lt;br/&gt;
            name = this.lsps.get(id);&lt;br/&gt;
            if (name == null) {&lt;br/&gt;
                LOG.error(&quot;PLSPID {} seen for the first time, not reporting the LSP&quot;, id);&lt;br/&gt;
                return;&lt;br/&gt;
            }&lt;br/&gt;
        } else &lt;/p&gt;
{
            name = lspName;
        }

&lt;p&gt;        LOG.debug(&quot;Saved LSP {} with name {}&quot;, id, name);&lt;br/&gt;
        this.lsps.put(id, name);&lt;/p&gt;


&lt;p&gt;        final ReportedLsp previous = this.lspData.get(name);&lt;br/&gt;
        // if no previous report about the lsp exist, just proceed&lt;br/&gt;
        if (previous != null) {&lt;br/&gt;
            final List&amp;lt;Path&amp;gt; updatedPaths = makeBeforeBreak(rlb, previous, name, remove);&lt;br/&gt;
            // if all paths or the last path were deleted, delete whole tunnel&lt;br/&gt;
            if (updatedPaths == null || updatedPaths.isEmpty()) {&lt;br/&gt;
                LOG.debug(&quot;All paths were removed, removing LSP with {}.&quot;, id);&lt;br/&gt;
                removeLsp(ctx, id);&lt;br/&gt;
                return;&lt;br/&gt;
            }&lt;br/&gt;
            rlb.setPath(updatedPaths);&lt;br/&gt;
        }&lt;br/&gt;
        rlb.setKey(new ReportedLspKey(name));&lt;br/&gt;
        rlb.setName(name);&lt;/p&gt;

&lt;p&gt;        // If this is an unsolicited update. We need to make sure we retain the metadata already present&lt;br/&gt;
        if (solicited) &lt;/p&gt;
{
            this.nodeState.setLspMetadata(name, rlb.getMetadata());
        }
&lt;p&gt; else &lt;/p&gt;
{
            rlb.setMetadata(this.nodeState.getLspMetadata(name));
        }

&lt;p&gt;        //FIX!!! should check R flag in this place!!!!!!!!&lt;br/&gt;
        final ReportedLsp rl = rlb.build();&lt;br/&gt;
        ctx.trans.put(LogicalDatastoreType.OPERATIONAL, this.pccIdentifier.child(ReportedLsp.class, rlb.getKey()), rl);&lt;br/&gt;
        this.lspData.put(name, rl);&lt;/p&gt;

&lt;p&gt;    }&lt;/p&gt;</comment>
                            <comment id="45281" author="milos.fabian@pantheon.tech" created="Tue, 5 Jan 2016 13:09:01 +0000"  >&lt;p&gt;Input parameter &quot;remove&quot; represents &quot;R&quot; flag. The flag is later treated in &quot;makeBeforeBreak(...)&quot; as described in pce-stateful draft.&lt;/p&gt;

&lt;p&gt;Are you experiencing any problems with LSP removal? If so, could you please describe the use-case?&lt;/p&gt;</comment>
                            <comment id="45282" author="milos.fabian@pantheon.tech" created="Wed, 20 Jan 2016 17:13:46 +0000"  >&lt;p&gt;Insufficient information provided in a bug report.&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>4744</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=4744]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10206" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Issue Type</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10300"><![CDATA[Bug]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10352"><![CDATA[Beryllium-RC0]]></customfieldvalue>

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

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