JNC (Java NETCONF Client) is the name of a Java library for communicating with NETCONF agents, and a plugin for pyang (http://code.google.com/p/pyang/) to generate Java classes from YANG models, to be used by the JNC library.
Other
77
stars
87
forks
source link
getConfig() issue to retrieve junos configuration #77
We are trying to pull junos config using their yang model and jnc. Eveything works fine except if we add junos annotations (comment) to router configuration. Netconf fails to find the node corresponding to that. This is what juniper netconf server sends:
_
......
/* This is Sep comments */
..........._
I see this error:
_Unknown child(ren) node(s) detected, identified by: (http://xml.juniper.net/junos/16.1R1/junos)comment, in: container system_
Juniper has many type of annotations like: "inactive:...." how can we add these to yang or make netconf to igonor them?
thanks !
Hi,
We are trying to pull junos config using their yang model and jnc. Eveything works fine except if we add junos annotations (comment) to router configuration. Netconf fails to find the node corresponding to that. This is what juniper netconf server sends:
_