05-05-2022 04:50 AM
Hello everyone,
I have a question about the support of the netconf specification on two specific virtual routers :
Catalyst 8000V - Cisco IOS XE Software, Version 17.04.01a
Cloud Services Router 1000V - Cisco IOS XE Software, Version 16.09.05
In my lab setup I tried to pass a "filter" to a get-config netconf request:
(using python, ncclient, also tried with yangsuite, same result)
<filter>
<native xmlns="http://cisco.com/ns/yang/Cisco-IOS-XE-native" />
</filter>
Using the exact same python script, where I just changed the ip address from one router to another,
the 8000V returns an "unknown element" while the 1000V neatly does what it's supposed to.
As far as I understand "filter" is not a "capability" but an integral part of NETCONF.
I can only conclude that not every device adheres to the full netconf specification.
My questions :
1) is my conclusion correct?
2) Is there somewhere to find which devices / iOS versions support which netconf components and which do not?
05-05-2022 07:01 AM
Just a fast reply, i must do more research. But the problem is NOT the devices. Its somehow ncclient.
this is what is outputs to both devices :
05-06-2022 04:11 AM
@m.rotteveel simular to https://community.cisco.com/t5/other-networking-subjects/attributeerror-rpcreply-object-has-no-attribute-data-ele/m-p/4560220 maybe?
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: