We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using NETCONF service, get_config operation throws an unexpected exception if there's no configuration data on the device:
get_config
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:9ca86d33-1e92-43e9-8302-e7eb7b649c14"> <get-config> <source> <running></running> </source> <filter> <ip-domain xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-ip-domain-cfg"/> </filter> </get-config> </rpc> 2016-11-18 16:28:18,908 - ydk.services.NetconfService - INFO - Netconf operation completed Traceback (most recent call last): File "./nc-get-config-xr-ip-domain-cfg-99-ydk.py", line 79, in <module> ip_domain = netconf.get_config(provider, Datastore.running, ip_domain) File "/usr/local/lib/python2.7/dist-packages/ydk/services/netconf_service.py", line 311, in get_config return provider.decode(payload_convert(payload), None) File "/usr/local/lib/python2.7/dist-packages/ydk/services/netconf_service.py", line 469, in payload_convert return etree.tostring(chchs[0], pretty_print=True, encoding='utf-8').decode('utf-8') IndexError: list index out of range
The text was updated successfully, but these errors were encountered:
Fix ydk-gen issues. (#367)
9171124
* Issue #346 * #208 * #272 * #300 * #294 * #318 * #303 (only for bits) * #323 * #305
No branches or pull requests
Using NETCONF service,
get_config
operation throws an unexpected exception if there's no configuration data on the device:The text was updated successfully, but these errors were encountered: