Comments (8)
Generally ignore netopeer2, it is just a NETCONF server interface for sysrepo. Learn about its basics in the docs by playing with the plugin example.
from netopeer2.
Hi,
Is there any document available stating how netopeer should follow the sequence to connect with netconf and sysrepo followed by fetching the data.?
Regards,
Biswajit
from netopeer2.
I do not understand the question but I suggest you go through the whole sysrepo docs and you should be able to understand all the basic principles.
from netopeer2.
Hi,
Now I am able to integrate the custom yang having operational data with sysrepo and then from other application(client) able to fetch the values. The Current application is just similar to oper_data_pull_example.c and sr_get_items_example
End Objective: The client should be connected over TLS and then its allowed to access the sysrepo.
I have few basic doubts:
- As netopeer2 application(netopeer2-server & netopeer2-cli) has been generated by using netconf,sysrepo,libyang library.
I am bit confused use case of netopeer frame work in real time scenario. - Is it possible so that netopeer2-server can notify the user specific application if there is request of fetching operational data from client connected over TLS.
Regards,
Biswajit
from netopeer2.
- I do not understand, how has netopeer2 been "generated"? And not sure what you mean by real-time scenario, do you have any specific timing constraints?
- It should not matter what client requests the data but you should be able to retrieve NETCONF session ID of the originator session in the oper data callback so it may be possible to learn its transport protocol. Still, seems like a strange requirement that is perhaps the result of a faulty design.
from netopeer2.
Hi
I am extremely sorry for not able to putting my words correctly.
After building the netopeer2 package,netopeer2-server and netopeer2-cli binary has been generated.
We are trying to develop oran based application in which will act as netconf server.
So is there any api support of netopeer2 is there so that using that it can create the netconf TLS session internally and when ever any request from client is there it can invoke our callbacks OR we have use netconf and sysrepo apis to achieve this feature.
Regards,
Biswajit
from netopeer2.
You might want to revisit the sysrepo's website and re-read the documentation; doing that will make it clear what the purpose and division of responsibilities between libyang, sysrepo, libnetconf2 and netopeer2 are. The answer to the question which you asked is explained in the documentation.
from netopeer2.
What @jktjkt said although I can also briefly answer. sysrepo is the central library that handles all the local configuration. What netopeer2-server does is only extends the functionality with a remote NETCONF interface so your local applications can ignore it. Whenever a NETCONF request is received, your sysrepo callbacks will automatically be invoked (as long as applicable). Learn more about all kinds of subscriptions sysrepo supports to know what kinds of callbacks can you register.
from netopeer2.
Related Issues (20)
- netopeer2.conf and pam_nologin.so does not exist in Yocto Scarthgap HOT 3
- netopeer2-server: /home/ubuntn/libyang-2.0.112/src/parser_xml.c:696: lydxml_subtree_r: Assertion `xmlctx->status == LYXML_ELEM_CLOSE' failed. Aborted (core dumped) HOT 1
- TLS server cipher regarding HOT 7
- Complete example for callback mechanism e.g when changing/reading some field via netopeer2-server HOT 2
- NOT support password customization authentication function in new version HOT 7
- Call home to loopback IP is failing HOT 4
- Netopeer2-cli does not detect connection breakage in the background HOT 3
- A potential mistake need to be tested and verified HOT 1
- Does netopeer-cli support public key based authentication HOT 4
- Cannot connect Server HOT 8
- Query on listing existing subscriptions HOT 15
- Query: any API to terminate the particular client's netconf session with particular user from application HOT 5
- New SSH server key added every time I trigger a call-home, not checking the known_host file. HOT 1
- Failed changing permissions of directory "/usr/lib64/netopeer2-server" (Read-only file system) HOT 2
- Unable to receive callback when trying to subscribe custom yang model using sr_oper_get_subscribe() HOT 1
- Delete subinterface and network-instance not working with netopeer2 HOT 3
- Error with TLS Call Home connection using netopeer2-cli HOT 2
- netopeer2-server dont open port in openwrt HOT 6
- Example configuration xml tags are not aligned with yang modules HOT 3
- The "apkg build" breaks due pam.de/netopeer2.conf path issue HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from netopeer2.