py-junos-eznc icon indicating copy to clipboard operation
py-junos-eznc copied to clipboard

EVO software package delete RPC doesn't return full output

Open harshitakapadia opened this issue 1 year ago • 0 comments

I came across kind of issue while executing RPC’s : From REST API Explorer API when I test RPC request from explorer, I do get to see the entire output but when I do it via script the output from the device is only limited to the first line between the first tag of

Here is the execution code :

dev = Device(host= user='username', password='password', port=) 
dev.open()

try :

sw = dev.rpc.request_package_delete(archived=True, dev_timeout=3600)

 except Exception as error:

print(error)


print(type(sw))
 print(etree.tostring(sw,method='html',with_tail=False))

REST_API_explorer_output PYEZ_execution_output

harshitakapadia avatar Jul 27 '22 13:07 harshitakapadia