Phil Mayers wrote:
On Mon, Feb 02, 2009 at 12:11:23PM +0000, Lincoln Dale wrote:
Phil Mayers wrote:
Does anyone have working examples talking to the netconf
implementation in 12.2(33)SXI? Or pointers to libraries / code that
works?
[..]
<rpc ... xmlns:cpi="http://www.cisc.com/cpi_10/schema">
<get>
<filter>
<cpi:config-format-cli-ios-text-cmd> ... </..>
<cpi:cli-operational-data>
<show>arp</show>
</cpi:cli...>
...I get error messages about the cpi: namespace and "debug cns xml"
on the box tells me the XML stanzas in that namespace have no handler.
i have worked extensively with Netconf/XML on NX-OS on Nexus 7000.
whatever you're requesting needs to match the schema. based on my
experience, i think you'll most likely need to modify what you have to:
<show><arp /></show>
That directly contradicts Cisco's examples.
indeed it does contradict the example you pointed to in 7600 IOS 12.2SR
documentation, and isn't what i would have expected.
one thing i did notice is that your example had an incorrect xmlns
specified (www.cisc.com/... rather than www.cisco.com/...). the xmlns
needs to be exact.
and again - if you're testing this on a 6500 IOS 12.2SXI, make sure you
are matching the schema for _that_.
Can you share the xml for any non-trivial thing you have working? I
have literally tried every combo of xml and namespacing I can imagine.
to reiterate, its important that what you're requesting match the schema
(XSD). the .XSD files are on cisco.com somewhere matching the IOS
release you are running.
cheers,
lincoln.
_______________________________________________
cisco-nsp mailing list [email protected]
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/