[j-nsp] Getting configuration diffs via NETCONF

Phil Shafer phil at juniper.net
Tue Nov 17 13:43:31 EST 2009


Ross Vandegrift writes:
>Looks like I spoke too soon - the NETCONF equivalent of
><get-configuration> doesn't provide format control - it always returns
>the full XML tree.  I can use NETCONF to call the op script, but at
>that point, ssh does basically the same thing without needing to
>distribute a script to all of my boxes.

You can use any JUNOS XML API call a NETCONF session,
so <get-configuration format="text"/> will work.

Thanks,
 Phil


More information about the juniper-nsp mailing list