10-28-2018 05:46 AM - edited 06-04-2019 02:43 AM
10-28-2018 10:17 PM
We've reset the host and it is now reachable.
07-02-2019 06:03 AM
07-05-2019 08:22 AM
It appears when you reset the host, you also have to SSH in and enable netconf with "netconf-yang" and "netconf ssh". That being said, using the sample code provided, I have a filter of:
<filter> <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces"> <interface> <name>GigabitEthernet2</name> </interface> </interfaces> </filter>
Which which results in an error of:
...truncated <error-info> <bad-element>interfaces</bad-element> </error-info>
Do the yang models need to be re-imported?
07-05-2019 01:17 PM
07-08-2019 10:15 AM
I also raised an issue here: https://github.com/CiscoDevNet/netconf-examples/issues
07-08-2019 11:12 AM - edited 07-08-2019 11:14 AM
Hey - per the chat on twitter, this is working ok here using this sandbox
The yang models reside on the box, there isn't a need to re-import these. I am not sure why your result differs from mine here
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: