[sysrepo-devel] notifications

Radek Krejčí rkrejci at cesnet.cz
Wed Nov 30 09:13:47 UTC 2016


Hi, it is not yet possible.

Radek

Dne 30.11.2016 v 03:28 Joan Landry napsal(a):
> Is there a way to turn on this capability, for testing purposes. I am trying to test sending a notification but I think MgSoft browser does not allow you to register for a notification unless the capability is announced.
>
> Else is there another way to test this?
>
> Thanks
>
> -----Original Message-----
> From: Radek Krejčí [mailto:rkrejci at cesnet.cz] 
> Sent: Tuesday, November 29, 2016 3:52 AM
> To: Lukas Macko -X (lmacko - PANTHEON TECHNOLOGIES at Cisco) <lmacko at cisco.com>; Joan Landry <JoLandry at advaoptical.com>; sysrepo-devel at sysrepo.org
> Subject: Re: [sysrepo-devel] notifications
>
> just a note - they are supported in sysrepo, in Netopeer2 they are not yet fully supported. It shouldn't need much work (I already have some working base code), but because of the busy end of the year, I'm not sure when I'll be able to finish it.
>
> Regards,
> Radek
>
>
> Dne 29.11.2016 v 08:51 Lukas Macko -X (lmacko - PANTHEON TECHNOLOGIES at Cisco) napsal(a):
>> Hi,
>>
>> notifications are already supported API can be found here https://github.com/sysrepo/sysrepo/blob/master/inc/sysrepo.h#L1441-L1542
>>
>> an example of sending a notification is here
>>
>> https://github.com/sysrepo/sysrepo/blob/master/examples/rpc_example.c#L104-L109
>>
>>  
>>
>> Regards,
>>
>> Lukas
>>
>>  
>>
>>  
>>
>> *From:*sysrepo-devel [mailto:sysrepo-devel-bounces at sysrepo.org] *On Behalf Of *Joan Landry
>> *Sent:* Monday, November 28, 2016 7:28 PM
>> *To:* sysrepo-devel at sysrepo.org
>> *Subject:* [sysrepo-devel] notifications
>>
>>  
>>
>> Does anyone know the status of notification support availability?
>>
>>  
>>
>> Also, is there any example code for sending a notification?
>>
>>  
>>
>>
>>
>> _______________________________________________
>> sysrepo-devel mailing list
>> sysrepo-devel at sysrepo.org
>> http://lists.sysrepo.org/listinfo/sysrepo-devel

-- 
Radek Krejci
mobile  : +420 732 212 714
office  : +420 234 680 256
e-mail  : rkrejci at cesnet.cz
LinkedIn: http://www.linkedin.com/in/radekkrejci

CESNET, Association of Legal Entities
Zikova 4
160 00 Praha 6
Czech Republic



More information about the sysrepo-devel mailing list