12-10-2012 07:24 AM
I am trying to do netconf on a Nexus 1KV for VMware Orchestrator automation. Initially I am trying to just send the hello thru ssh. I receive the hello from the server, then send the hello XML from the XML API documentation. And nothing happens. If I send another ]]>]]> I receive:
<?xml version="1.0"?>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<rpc-error>
<error-type>application</error-type>
<error-tag>invalid-value</error-tag>
<error-severity>error</error-severity>
</rpc-error>
</rpc-reply>
system: version 4.2(1)SV1(5.2)
Here is the initial testing that I did.
ubtphx001:~/rubydev$ ssh admin@10.10.10.9 -s xmlagent
Nexus 1000v Switch
Password:
<?xml version="1.0"?>
<hello xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<capabilities>
<capability>urn:ietf:params:xml:ns:netconf:base:1.0</capability>
</capabilities>
<session-id>29248</session-id>
</hello>
]]>]]><?xml version="1.0"?><nc:hello xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0"><nc:capabilities><nc:capability>urn:ietf:params:xml:ns:netconf:base:1.0</nc:capability></nc:capabilities></nc:hello>]]>]]>
Questions from previous post.
cabn1kphx002# show xml server status
operational status is enabled
maximum session configured is 8
xml server validate all/<session id> is unavailable.
If you anyone can help I would greatly appreciate it.
Thanks, Joe
12-10-2012 07:37 PM
I tried this on our 2.1.1 setup and it works fine. Is this your production setup? If not can you try it on 2.1.1?
12-13-2012 01:55 PM
Never mind I figured it out. I didn't realize that once you say hello the server doesn't send a response.
Thanks,
Joe
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide