Created
June 13, 2016 22:19
-
-
Save icarocamelo/aeeff07bddd378cfca97db12f4d7c83a 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
ubuntu@inocybevm:/opt/confd/bin[15:09]$ ./netconf-console-tcp -i | |
* Enter a NETCONF operation, end with an empty line | |
<get-tank-state xmlns="urn:opendaylight:car"> | |
<car-id>1</car-id> | |
</get-tank-state> | |
<?xml version="1.0" encoding="UTF-8"?> | |
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="2"> | |
<rpc-error> | |
<error-type>protocol</error-type> | |
<error-tag>unknown-namespace</error-tag> | |
<error-severity>error</error-severity> | |
<error-path> | |
/rpc | |
</error-path> | |
<error-info> | |
<bad-element>get-tank-state</bad-element> | |
<bad-namespace>urn:opendaylight:car</bad-namespace> | |
</error-info> | |
</rpc-error> | |
</rpc-reply> | |
* Enter a NETCONF operation, end with an empty line | |
<?xml version="1.0" encoding="UTF-8"?> | |
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="2"> | |
<rpc-error> | |
<error-type>protocol</error-type> | |
<error-tag>unknown-element</error-tag> | |
<error-severity>error</error-severity> | |
<error-path> | |
/rpc | |
</error-path> | |
<error-info> | |
<bad-element>car-id</bad-element> | |
</error-info> | |
</rpc-error> | |
</rpc-reply> | |
* Enter a NETCONF operation, end with an empty line | |
<?xml version="1.0" encoding="UTF-8"?> | |
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="2"> | |
<rpc-error> | |
<error-type>rpc</error-type> | |
<error-tag>malformed-message</error-tag> | |
<error-severity>error</error-severity> | |
<error-path> | |
/rpc | |
</error-path> | |
<error-message xml:lang="en">The end tag 'get-tank-state' does not match the start tag 'rpc'.</error-message> | |
<error-info> | |
<bad-element>rpc</bad-element> | |
</error-info> | |
</rpc-error> | |
</rpc-reply> | |
* Enter a NETCONF operation, end with an empty line | |
^CTraceback (most recent call last): | |
File "./netconf-console", line 879, in <module> | |
msg = read_msg() | |
File "./netconf-console", line 513, in read_msg | |
ln = sys.stdin.readline() | |
KeyboardInterrupt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment