Created
March 20, 2014 03:24
-
-
Save Mierdin/9656596 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[LOG - SUBSYSTEM DETECTED]: ----- netconf-subsystem-1 | |
[LOG - SUBSYSTEM DETECTED]: ----- xmlagent-subsystem-2 | |
[LOG - DISPATCH_MSG]: ----- <?xml version="1.0" encoding="ISO-8859-1"?> | |
<hello xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"> | |
<capabilities> | |
<capability>urn:ietf:params:xml:ns:netconf:base:1.0</capability> | |
<capability>urn:ietf:params:netconf:base:1.0</capability> | |
</capabilities> | |
<session-id>26943</session-id> | |
</hello> | |
[LOG - DISPATCH_MSG]: ----- <?xml version="1.0" encoding="ISO-8859-1"?> | |
<nc:rpc-reply xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:1d98fc61-afdf-11e3-9a80-005056c00008"> | |
<nc:ok/> | |
</nc:rpc-reply> | |
Traceback (most recent call last): | |
File "C:\Users\Mierdin\Dropbox\Code\git\ncclient\NetConfTest.py", line 10, in <module> | |
c = m.get_capabilities() | |
File "C:\Users\Mierdin\Dropbox\Code\git\ncclient\ncclient\manager.py", line 206, in _missing | |
r = self.rpc(root) | |
File "C:\Users\Mierdin\Dropbox\Code\git\ncclient\ncclient\manager.py", line 205, in _missing | |
sub_ele(root, arg) | |
File "C:\Users\Mierdin\Dropbox\Code\git\ncclient\ncclient\xml_.py", line 160, in <lambda> | |
sub_ele = lambda parent, tag, attrs={}, **extra: etree.SubElement(parent, qualify(tag), attrs, **extra) | |
File "lxml.etree.pyx", line 2906, in lxml.etree.SubElement (src\lxml\lxml.etree.c:66226) | |
File "apihelpers.pxi", line 181, in lxml.etree._makeSubElement (src\lxml\lxml.etree.c:14635) | |
File "apihelpers.pxi", line 1575, in lxml.etree._tagValidOrRaise (src\lxml\lxml.etree.c:27942) | |
ValueError: Invalid tag name u'<Element {urn:ietf:params:xml:ns:netconf:base:1.0}get-capabilities at 0x3032308>' | |
[Finished in 2.3s with exit code 1] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment