Skip to content

Commit

Permalink
Merge pull request #32 from mirceaulinic/NEW-ERROR-0xa367da00
Browse files Browse the repository at this point in the history
New error 0xa367da00
  • Loading branch information
mirceaulinic authored Nov 30, 2016
2 parents d51cdd9 + 6c7a6e9 commit 4b8eab5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions pyIOSXR/iosxr.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,11 +297,16 @@ def _send_command(self,
else:
output += self._netmiko_recv() # try to read some more

if '0xa3679e00' in output:
# when multiple parallel request are made, the device throws the error:
if '0xa3679e00' in output or '0xa367da00' in output:
# when multiple parallel request are made, the device throws one of the the errors:
# ---
# ERROR: 0xa3679e00 'XML Service Library' detected the 'fatal' condition
# 'Multiple concurrent requests are not allowed over the same session.
# A request is already in progress on this session.'
#
# ERROR: 0xa367da00 XML Service Library' detected the 'fatal' condition
# 'Sending multiple documents is not supported.'
# ---
# we could use a mechanism similar to NETCONF and push the requests in queue and serve them sequentially
# BUT we are not able to assign unique IDs and identify the request-reply map
# so will throw an error that does not help too much :(
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
# e.g. ['django==1.5.1', 'mezzanine==1.4.6']
reqs = [str(ir.req) for ir in install_reqs]

version = '0.29'
version = '0.30'

setup(
name='pyIOSXR',
Expand Down

0 comments on commit 4b8eab5

Please sign in to comment.