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
Issue tracker is ONLY used for reporting bugs. Please use the YDK Community for any support issues.
YDK should generate YError exceptions.
YError
YDK generates RuntimeError exception when an invalid namespace is sent in a NETCONF subtree filter.
RuntimeError
Using Path API, send a NETCONF get RPC with filter:
get
<netconf-state xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring2"> <schemas/> </netconf-state>
RuntimeError: YServiceProviderError: <?xml version="1.0"?> <rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1"> <rpc-error> <error-type>protocol</error-type> <error-tag>unknown-namespace</error-tag> <error-severity>error</error-severity> <error-info> <bad-element>netconf-state</bad-element> <bad-namespace>urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring2</bad-namespace> </error-info> </rpc-error> </rpc-reply>
$ python --version Python 3.5.2 $ pip list | grep ydk ydk 0.7.1 ydk-models-cisco-ios-xr 6.3.2 ydk-models-ietf 0.1.5 $
The text was updated successfully, but these errors were encountered:
Could not reproduce after #774 got fixed.
Sorry, something went wrong.
ygorelik
No branches or pull requests
Issue tracker is ONLY used for reporting bugs. Please use the YDK Community for any support issues.
Expected Behavior
YDK should generate
YError
exceptions.Current Behavior
YDK generates
RuntimeError
exception when an invalid namespace is sent in a NETCONF subtree filter.Steps to Reproduce
Using Path API, send a NETCONF
get
RPC with filter:Logs
System Information
The text was updated successfully, but these errors were encountered: