Run-time notification failure

Hi

In our use case, we need to send run-time notification to ConfD.
I use confd_register_notification_stream to register stream my-rt-ntf to ConfD, and use confd_notification_send to send notification to ConfD. But I can’t receive the notification in client (which subscribes to this stream).
I set debug level to CONFD_PROTO_TRACE, the following debug information is printed out by ConfD. There is ‘undefined’ in the debug information. I tried to use the default stream NETCONF, it has the same issue.
What does ‘undefined’ in debug information mean? How should I resolve this issue? Thanks a lot.

14-Mar-2017::07:18:56.560 6971/7f3b04ff9700/13 SEND op=15 isrel=0 th=-1 {170,‘my-rt-ntf’,undefined,{19,{2017,3,14,7,18,56,560913,0,0}},0,{hxml,[{[1945824463|1621884104],start},{1909855274,{12,1}},{[1945824463|1724773219],start},{1646628167,{12,2112}},{[1945824463|1724773219],stop},{[1945824463|1724773219],start},{1646628167,{12,32}},{[1945824463|1724773219],stop},{[1945824463|1621884104],stop}]}}

Regards,
Xiangping

Hi,

If you haven’t yet, you may want to compare your confd.conf settings and application setup to the examples.confd/netconf_notifications example.

Terminal window 1:

$ pwd
/Users/tailf/confd-6.3.1/examples.confd/netconf_notifications
$ make all start

Terminal window 2:

$ netconf-console --create-subscription=interface

Terminal window 1 typing 'u':

u
sending linkUp notification
TRACE NOTIFICATION_SEND interface

Terminal window 2:

<?xml version="1.0" encoding="UTF-8"?>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1">
  <ok/>
</rpc-reply>
<?xml version="1.0" encoding="UTF-8"?>
<notification xmlns="urn:ietf:params:xml:ns:netconf:notification:1.0">
  <eventTime>2017-03-15T07:23:39.740205+00:00</eventTime>
  <linkUp xmlns="http://tail-f.com/ns/test/notif">
    <ifIndex>1</ifIndex>
    <linkProperty>
      <flags>2112</flags>
    </linkProperty>
    <linkProperty>
      <flags>32</flags>
    </linkProperty>
  </linkUp>
</notification>

Terminal window 2:

$ netconf-console --create-subscription=NETCONF

Terminal window 3:

$ netconf-console --get-config -x /interfaces

Terminal window 2: 

<?xml version="1.0" encoding="UTF-8"?>
<notification xmlns="urn:ietf:params:xml:ns:netconf:notification:1.0">
  <eventTime>2017-03-15T16:11:57.491795+01:00</eventTime>
  <netconf-session-end xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-notifications">
    <username>admin</username>
    <session-id>14</session-id>
    <source-host>127.0.0.1</source-host>
    <termination-reason>closed</termination-reason>
  </netconf-session-end>
</notification>