[email protected] wrote:
Hi,

I tried to do something similar a while ago and hit a brick wall on
API documentation.  It would be nice to see some if available.

I've had a lot of trouble trying to speak netconf to our 6500s running SXI; the XML PI docs seem to be just flat-out wrong in many places, not to mention the SSH bugs I'm chasing in SXI relating to RFC compliance...

I did eventually get it sort-of working with XML such as the following:

<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
   <edit-config>
      <target>
         <running/>
      </target>
      <config>
         <cli-config-data>
<cmd>hostname core-spare</cmd>
<cmd>no interface Lo99</cmd>
         </cli-config-data>
      </config>
   </edit-config>
</rpc>

It would be great if Cisco would step up and actually give someone to engage with for the xml/netconf/cns stuff - at the moment it looks like abandonware on IOS platforms (I'm sure it's not, but that's the impression it gives)
_______________________________________________
cisco-nsp mailing list  [email protected]
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/

Reply via email to