<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:43:46 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>[TRNSPRTPCE-681] Invoking PCE module</title>
                <link>https://jira.opendaylight.org/browse/TRNSPRTPCE-681</link>
                <project id="10178" key="TRNSPRTPCE">transportpce</project>
                    <description>&lt;p&gt;The developer guide docs indicates that it is possible to use path-computation-request as an external REST API in order to invoke the PCE module for checking connectivity:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://docs.opendaylight.org/projects/transportpce/en/latest/developer-guide.html#invoking-pce-module&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.opendaylight.org/projects/transportpce/en/latest/developer-guide.html#invoking-pce-module&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;However, this does not work in practice. The problem is that the servicehandler sets an input variable in the pce listener when receiving and processing a service request. If a path-computation-request is then sent through the external REST API, the pce listener will get a notification when path computation is finished and continue processing with the old input and new computed path. If the old input corresponds e.g. to a service creation, this will result in the service being re-created with the new path.&lt;/p&gt;

&lt;p&gt;Since invoking the PCE module as described in the docs would be a useful feature, maybe this could be solved by resetting the input variable in pce listener after finishing processing a request.&lt;/p&gt;</description>
                <environment></environment>
        <key id="36107">TRNSPRTPCE-681</key>
            <summary>Invoking PCE module</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="1" iconUrl="https://jira.opendaylight.org/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="blue-gray"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="ojnas">Jonas M&#229;rtensson</reporter>
                        <labels>
                    </labels>
                <created>Mon, 8 Aug 2022 06:50:25 +0000</created>
                <updated>Thu, 15 Sep 2022 18:50:45 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="71505" author="gthouenon" created="Thu, 15 Sep 2022 12:26:40 +0000"  >&lt;p&gt;Thanks Jonas for having reported this point.&lt;br/&gt;
Actually, I don&apos;t read that the developer guide evokes the internal/external aspect of the PCE API.&lt;br/&gt;
Anyway, the PCE API works fine since it is used in the PCE functional tests (see &lt;a href=&quot;https://git.opendaylight.org/gerrit/gitweb?p=transportpce.git;a=blob;f=tests/transportpce_tests/pce/test01_pce.py;h=cdfe103aa0791aa210d4ea66da4530f9d94508c7;hb=refs/heads/master&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/gitweb?p=transportpce.git;a=blob;f=tests/transportpce_tests/pce/test01_pce.py;h=cdfe103aa0791aa210d4ea66da4530f9d94508c7;hb=refs/heads/master&lt;/a&gt;).&lt;br/&gt;
The description you give corresponds to the case where PCE is invoked through the ServiceHandler, so when it is integrated in the global end-to-end process. The documentation mentions a specific case where PCE is used rather like a standalone feature.&lt;/p&gt;</comment>
                            <comment id="71506" author="ojnas" created="Thu, 15 Sep 2022 18:50:45 +0000"  >&lt;p&gt;Hi Gilles, maybe I read too much into it but the guide does specify the RESTCONF API for invoking the PCE, and to me, in the context of ODL, RESTCONF is an external API. Sure the API works fine in the functional tests where it is not mixed with service requests through the service handler. In our application we are using TPCE both for service requests and for standalone path computation, and mixing these does not work without modifying the code, as I explained in the issue description.&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|i042sf:</customfieldvalue>

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