cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
859
Views
0
Helpful
3
Replies

Nexus 1000v and Netconf

jcallen123
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

3 Replies 3

cchaitan
Level 1
Level 1

Can you copy the output of "show xml server status"?

Also please try validating the sessions using "xml server validate all/"

Please use the community site for 1000V specific questions -

https://communities.cisco.com/community/technology/datacenter/nexus1000v

Review Cisco Networking for a $25 gift card