Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

oper data and counter get request callback #258

Closed
joanlandry opened this issue Jul 29, 2016 · 3 comments
Closed

oper data and counter get request callback #258

joanlandry opened this issue Jul 29, 2016 · 3 comments
Labels
is:question Issue is actually a question.

Comments

@joanlandry
Copy link

My understanding is that Netopeer2 will use sysrepo for both config data and pm/oper/counter data retrieval for a Netconf get request.

I have only seen the ability to register for a call back for config data changes. Is there a way to get a callback for a NETCONF get request on pm/oper / counter data using libnetconf2/netopeer2/sysrepo so that the device can fill in the data for these requests from the HW? This type of data is not config data, it is real time oper data and as such would not reside in the sysrepo data store as it is located in the device.

Also the plugin sample code appears to also be config data only as well.
Any info you can provide on how to do this would be very much appreciated.
thanks

@rastislavs rastislavs added the is:question Issue is actually a question. label Jul 29, 2016
@rastislavs
Copy link
Contributor

rastislavs commented Jul 29, 2016

Hi,

sure, we are just working on operational data support. You can have a look into the devel branch - some limited support of operational data is already there: https://github.com/sysrepo/sysrepo/blob/devel/inc/sysrepo.h#L1271-L1320

BTW: For general questions like these, you can also use sysrepo-devel mailing list: http://lists.sysrepo.org/listinfo

@joanlandry
Copy link
Author

thanks for the reply - I am working on getting access to the mailing list.
Would you have an expected time frame/date of completion for oper data callback support to move to the main branch?

@rastislavs
Copy link
Contributor

Hi,
very roughly, within the next 1 - 2 months. Maybe we will merge some partially working version into the master sooner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is:question Issue is actually a question.
Projects
None yet
Development

No branches or pull requests

2 participants