12-07-2012 07:29 AM - edited 03-07-2019 10:27 AM
Hello,
Not sure if this is the correct area to post this. 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>]]>]]>
If you anyone can help I would greatly appreciate it.
Thanks, Joe
Solved! Go to Solution.
12-09-2012 10:26 PM
Please use the community site for 1000V specific questions -
https://communities.cisco.com/community/technology/datacenter/nexus1000v
12-09-2012 10:24 PM
Can you copy the output of "show xml server status"?
Also please try validating the sessions using "xml server validate all/
12-09-2012 10:26 PM
Please use the community site for 1000V specific questions -
https://communities.cisco.com/community/technology/datacenter/nexus1000v
12-10-2012 07:24 AM
Started post:
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