Comments (2)
Hmm,
This "test" seems to be very incomplete. It's not just the notif.xml
that is missing, but more.
What's also missing from the "test" is ConfD code to actually generate
any notifications. So, even if we had some initalization code
(notif.xml) to populate the ConfD /interfaces/interface list, we still
lack code to generate the notifcations.
Thus - incomplete.
Best path forward here - I guess - assuming you have access to a ConfD
is to take the ConfD example
examples.confd/netconf_notications
and add portions of that example to this example. The ConfD example use
netconf-console to create the subscription, whereas this code should use
the Java code in the tests/11-test-notification/ to subscribe.
That code looks correct BTW.
So all in all - there is some work left to get this example running.
This should work fine also with the "free" version of ConfD
https://developer.cisco.com/site/confD/
/klacke
On 28/07/16 08:49, 1smoot wrote:
I would appreciate it if you could upload notif.xml, I think it should
be in tests/11-test-notification/".—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#69, or mute the thread
https://github.com/notifications/unsubscribe-auth/AADYIJE77JCGlsVa9bfkQmqgzrZiV2Xmks5qaFDwgaJpZM4JW6Zy.
from jnc.
Furthermore, I'm closing this issue. Someday, someone should spend a couple of days doing a full overhaul of these examples. Sorry.
from jnc.
Related Issues (20)
- 1-interfaces example re-defines standard modules
- raw input to subscribers is broken
- jnc.py does not generate correct Java `import` statements for typedefs from imported modules
- `FramingTest.java` seems to use Java 11 features in "Java 8" declared JNC library HOT 1
- Path tokenizer encodes a string to bytes just to decode it back later.
- Device.connect got stuck HOT 3
- Error during generating .java classes for yang files using jnc HOT 4
- Typedef is not converted to Java class HOT 1
- NPE on getting attribute which doesn't exist HOT 3
- pyang_jnc : Convert multiple yang files at once HOT 1
- New session creation is failing HOT 24
- Getting "Key exchange was not finished, connection is closed" exception HOT 4
- Session closed HOT 5
- convert `trace` to `slf4j`
- Device.close HOT 6
- Issue related to conversion of yang to java classes. HOT 1
- Getting unhashable type: 'JavaMethod' when pyang 2.5.2 is using python3 HOT 1
- resolve errors/warnings reported by flake8 (or other python linter) HOT 1
- JNC & python supported version / requirement HOT 1
- JNC & Java supported version / requirement HOT 1
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 jnc.