Skip to content

Commit 4b8eab5

Browse files
authored
Merge pull request #32 from mirceaulinic/NEW-ERROR-0xa367da00
New error 0xa367da00
2 parents d51cdd9 + 6c7a6e9 commit 4b8eab5

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

pyIOSXR/iosxr.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,11 +297,16 @@ def _send_command(self,
297297
else:
298298
output += self._netmiko_recv() # try to read some more
299299

300-
if '0xa3679e00' in output:
301-
# when multiple parallel request are made, the device throws the error:
300+
if '0xa3679e00' in output or '0xa367da00' in output:
301+
# when multiple parallel request are made, the device throws one of the the errors:
302+
# ---
302303
# ERROR: 0xa3679e00 'XML Service Library' detected the 'fatal' condition
303304
# 'Multiple concurrent requests are not allowed over the same session.
304305
# A request is already in progress on this session.'
306+
#
307+
# ERROR: 0xa367da00 XML Service Library' detected the 'fatal' condition
308+
# 'Sending multiple documents is not supported.'
309+
# ---
305310
# we could use a mechanism similar to NETCONF and push the requests in queue and serve them sequentially
306311
# BUT we are not able to assign unique IDs and identify the request-reply map
307312
# so will throw an error that does not help too much :(

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
# e.g. ['django==1.5.1', 'mezzanine==1.4.6']
2929
reqs = [str(ir.req) for ir in install_reqs]
3030

31-
version = '0.29'
31+
version = '0.30'
3232

3333
setup(
3434
name='pyIOSXR',

0 commit comments

Comments
 (0)