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.
Should only encode containers with some data
Encoding containers with no data. For example, <ipv6/> is showing up below
<ipv6/>
self.ping = Cisco_IOS_XR_ping_act.Ping() self.input = self.ping.Input() self.destination = self.input.Destination() self.ping.input.destination.destination = '1.2.3.4' self.ping.input.destination.timeout = 1 self.execn_rpc = ExecutorService().execute_rpc(self.provider,self.ping)
Enable logging and post the logs below
rpc: libnetconf TRACE: Missing message-id in rpc. libnetconf TRACE: Writing message (session 1806145929): <?xml version="1.0"?> <rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="7"> <ping xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-ping-act"> <destination> <destination>10.105.230.160</destination> <timeout>1</timeout> </destination> <ipv6/> </ping> </rpc> libnetconf TRACE: Received message (session 1806145929): <?xml version="1.0"?> <rpc-reply message-id="7" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"> <rpc-error> <error-type>application</error-type> <error-tag>operation-failed</error-tag> <error-severity>error</error-severity> <error-message xml:lang="en">'IPv6PingTrace' detected the 'warning' condition 'Bad hostname or IPv6 address or protocol not running'</error-message> </rpc-error> </rpc-reply>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Issue tracker is ONLY used for reporting bugs. Please use the YDK Community for any support issues.
Expected Behavior
Should only encode containers with some data
Current Behavior
Encoding containers with no data. For example,
<ipv6/>
is showing up belowYour Script
Logs
Enable logging and post the logs below
System Information
The text was updated successfully, but these errors were encountered: