<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:54:38 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>[CONTROLLER-1076] Change event notification subscription: Unable to listen on topology</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-1076</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;I was trying to subscribe on /network-topology:network-topology/topology/pcep-topology to listen on data changes via restconf/websockets.&lt;/p&gt;

&lt;p&gt;Followed tutorial &lt;a href=&quot;https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Restconf:Change_event_notification_subscription&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Restconf:Change_event_notification_subscription&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;My inputs:&lt;br/&gt;
(odl-bgpcep-all feature needs to be installed)&lt;br/&gt;
POST &lt;a href=&quot;http://localhost:8181/restconf/operations/sal-remote:create-data-change-event-subscription&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/operations/sal-remote:create-data-change-event-subscription&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&amp;lt;input xmlns=&quot;urn:opendaylight:params:xml:ns:yang:controller:md:sal:remote&quot;&amp;gt;&lt;br/&gt;
  &amp;lt;path xmlns:a=&quot;urn:TBD:params:xml:ns:yang:network-topology&quot;&amp;gt;/a:network-topology/a:topology&lt;span class=&quot;error&quot;&gt;&amp;#91;a:topology-id=&amp;#39;pcep-topology&amp;#39;&amp;#93;&lt;/span&gt;&amp;lt;/path&amp;gt;&lt;br/&gt;
  &amp;lt;datastore xmlns=&quot;urn:sal:restconf:event:subscription&quot;&amp;gt;OPERATIONAL&amp;lt;/datastore&amp;gt;&lt;br/&gt;
  &amp;lt;scope xmlns=&quot;urn:sal:restconf:event:subscription&quot;&amp;gt;SUBTREE&amp;lt;/scope&amp;gt;&lt;br/&gt;
&amp;lt;/input&amp;gt;&lt;/p&gt;

&lt;p&gt;GET &lt;a href=&quot;http://localhost:8181/restconf/streams/stream/network-topology:network-topology/network-topology:topology/pcep-topology/datastore=OPERATIONAL/scope=SUBTREE&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/streams/stream/network-topology:network-topology/network-topology:topology/pcep-topology/datastore=OPERATIONAL/scope=SUBTREE&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;and successfully connected websocket client to URL &lt;a href=&quot;http://localhost:8185/network-topology:network-topology/network-topology:topology/pcep-topology/datastore=OPERATIONAL/scope=SUBTREE&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8185/network-topology:network-topology/network-topology:topology/pcep-topology/datastore=OPERATIONAL/scope=SUBTREE&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;But received no notifications, however the topology has changed (node was created -&amp;gt; pcc-mock was connected).&lt;/p&gt;

&lt;p&gt;Next, tried to subscribe on whole /network-topology:network-topology&lt;/p&gt;

&lt;p&gt;&amp;lt;input xmlns=&quot;urn:opendaylight:params:xml:ns:yang:controller:md:sal:remote&quot;&amp;gt;&lt;br/&gt;
  &amp;lt;path xmlns:a=&quot;urn:TBD:params:xml:ns:yang:network-topology&quot;&amp;gt;/a:network-topology&amp;lt;/path&amp;gt;&lt;br/&gt;
  &amp;lt;datastore xmlns=&quot;urn:sal:restconf:event:subscription&quot;&amp;gt;OPERATIONAL&amp;lt;/datastore&amp;gt;&lt;br/&gt;
  &amp;lt;scope xmlns=&quot;urn:sal:restconf:event:subscription&quot;&amp;gt;SUBTREE&amp;lt;/scope&amp;gt;&lt;br/&gt;
&amp;lt;/input&amp;gt;&lt;/p&gt;

&lt;p&gt;Now I was able to see incoming notifications:&lt;/p&gt;

&lt;p&gt;&amp;lt;notification xmlns=&quot;urn:ietf:params:xml:ns:netconf:notification:1.0&quot;&amp;gt;&lt;br/&gt;
    &amp;lt;eventTime&amp;gt;2014-12-18T12:55:31+01:00&amp;lt;/eventTime&amp;gt;&lt;br/&gt;
    &amp;lt;data-changed-notification xmlns=&quot;urn:opendaylight:params:xml:ns:yang:controller:md:sal:remote&quot;&amp;gt;&lt;br/&gt;
        &amp;lt;data-change-event&amp;gt;&lt;br/&gt;
            &amp;lt;path xmlns:fpgb=&quot;urn:TBD:params:xml:ns:yang:network-topology&quot;&amp;gt;/fpgb:network-topology/fpgb:topology/fpgb:topology&lt;span class=&quot;error&quot;&gt;&amp;#91;fpgb:topology-id=&amp;#39;pcep-topology&amp;#39;&amp;#93;&lt;/span&gt;/fpgb:node/fpgb:node&lt;span class=&quot;error&quot;&gt;&amp;#91;fpgb:node-id=&amp;#39;pcc://127.0.0.1&amp;#39;&amp;#93;&lt;/span&gt;&amp;lt;/path&amp;gt;&lt;br/&gt;
            &amp;lt;operation&amp;gt;created&amp;lt;/operation&amp;gt;&lt;br/&gt;
        &amp;lt;/data-change-event&amp;gt;&lt;br/&gt;
        &amp;lt;data-change-event&amp;gt;&lt;br/&gt;
            &amp;lt;path xmlns:ujzm=&quot;urn:TBD:params:xml:ns:yang:network-topology&quot;&amp;gt;/ujzm:network-topology/ujzm:topology/ujzm:topology&lt;span class=&quot;error&quot;&gt;&amp;#91;ujzm:topology-id=&amp;#39;pcep-topology&amp;#39;&amp;#93;&lt;/span&gt;/ujzm:node/ujzm:node&lt;span class=&quot;error&quot;&gt;&amp;#91;ujzm:node-id=&amp;#39;pcc://127.0.0.1&amp;#39;&amp;#93;&lt;/span&gt;/ujzm:node-id&amp;lt;/path&amp;gt;&lt;br/&gt;
            &amp;lt;operation&amp;gt;created&amp;lt;/operation&amp;gt;&lt;br/&gt;
        &amp;lt;/data-change-event&amp;gt;&lt;br/&gt;
    &amp;lt;/data-changed-notification&amp;gt;&lt;br/&gt;
&amp;lt;/notification&amp;gt;&lt;/p&gt;

&lt;p&gt;But included &amp;lt;path&amp;gt; (instance-identifier) does not seems to be looking good?&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Linux&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="25630">CONTROLLER-1076</key>
            <summary>Change event notification subscription: Unable to listen on topology</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="jhajnar@cisco.com">Jan Hajnar</assignee>
                                    <reporter username="milos.fabian@pantheon.tech">Milos Fabian</reporter>
                        <labels>
                    </labels>
                <created>Thu, 18 Dec 2014 12:42:11 +0000</created>
                <updated>Mon, 9 Feb 2015 09:15:25 +0000</updated>
                            <resolved>Mon, 9 Feb 2015 09:15:25 +0000</resolved>
                                    <version>Helium</version>
                                                    <component>restconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="49978" author="jhajnar@cisco.com" created="Mon, 26 Jan 2015 09:40:36 +0000"  >&lt;p&gt;fix fo stable helium:&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/14430/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/14430/&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>2524</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=2524]]></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="10360"><![CDATA[Helium-2]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10202" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Priority</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10301"><![CDATA[Normal]]></customfieldvalue>

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

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