Re: [j-nsp] Getting configuration diffs via NETCONF

2009-11-17 Thread Phil Shafer
Ross Vandegrift writes: >It doesn't work as an RPC call on 9.5R2: Sorry about that. All JS RPCs should work in NETCONF mode. This is now PR 488377. Thanks, Phil ___ juniper-nsp mailing list juniper-nsp@puck.nether.net https://puck.nether.net/mailman/

Re: [j-nsp] Getting configuration diffs via NETCONF

2009-11-17 Thread Ross Vandegrift
On Tue, Nov 17, 2009 at 01:43:31PM -0500, Phil Shafer wrote: > Ross Vandegrift writes: > >Looks like I spoke too soon - the NETCONF equivalent of > > 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 bas

Re: [j-nsp] Getting configuration diffs via NETCONF

2009-11-17 Thread Phil Shafer
Ross Vandegrift writes: >Looks like I spoke too soon - the NETCONF equivalent of > 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

Re: [j-nsp] Getting configuration diffs via NETCONF

2009-11-17 Thread Ross Vandegrift
On Tue, Nov 17, 2009 at 08:37:42AM -0500, Ross Vandegrift wrote: > On Mon, Nov 16, 2009 at 02:57:43PM -0800, Curtis Call wrote: > > Would "file compare ..." output, rather than "show | compare" > > output, be good enough? Because you can do that through an op > > script. Couldn't these RPC calls

Re: [j-nsp] Getting configuration diffs via NETCONF

2009-11-17 Thread Ross Vandegrift
On Mon, Nov 16, 2009 at 02:57:43PM -0800, Curtis Call wrote: > Would "file compare ..." output, rather than "show | compare" > output, be good enough? Because you can do that through an op > script. Couldn't these RPC calls be translated into an equivalent > NETCONF script? This looks perfect!

Re: [j-nsp] Getting configuration diffs via NETCONF

2009-11-16 Thread Curtis Call
> Ross Vandegrift writes: > >Damn, that'd have been a really great feature. I need to record > deltas > >of automated changes for approval by a human in a change control > >application. > Would "file compare ..." output, rather than "show | compare" output, be good enough? Because you can do t

Re: [j-nsp] Getting configuration diffs via NETCONF

2009-11-16 Thread Ross Vandegrift
On Mon, Nov 16, 2009 at 09:32:52PM +, jmadr...@gmail.com wrote: > Maybe what you want/need would be Rancid. It does exactly what you > are requesting. Its distributed by Shrubbery Networks. No, Rancid isn't going to address this, since I need diffs between candidate and commited configurations

Re: [j-nsp] Getting configuration diffs via NETCONF

2009-11-16 Thread jmadrid2
Maybe what you want/need would be Rancid. It does exactly what you are requesting. Its distributed by Shrubbery Networks. Sent via BlackBerry by AT&T -Original Message- From: Ross Vandegrift Date: Mon, 16 Nov 2009 11:55:47 To: Subject: [j-nsp] Getting configuration diffs via NET

Re: [j-nsp] Getting configuration diffs via NETCONF

2009-11-16 Thread Phil Shafer
Ross Vandegrift writes: >Damn, that'd have been a really great feature. I need to record >deltas of automated changes for approval by a human in a change >control application. I'm not recommending this but I've seen folks use events to trigger event policies that issue the commands you need.

Re: [j-nsp] Getting configuration diffs via NETCONF

2009-11-16 Thread Ross Vandegrift
On Mon, Nov 16, 2009 at 12:43:47PM -0500, Phil Shafer wrote: > Ross Vandegrift writes: > >Is there anyway to programmatically request a diff of the candidate > >and committed configurations? I want the exact output of "show | > >compare", and I want it in the form at the CLI for human documentatio

Re: [j-nsp] Getting configuration diffs via NETCONF

2009-11-16 Thread Phil Shafer
Ross Vandegrift writes: >Is there anyway to programmatically request a diff of the candidate >and committed configurations? I want the exact output of "show | >compare", and I want it in the form at the CLI for human documentation >purposes. No, we don't have this yet, but should. We can easily

[j-nsp] Getting configuration diffs via NETCONF

2009-11-16 Thread Ross Vandegrift
Hey all, Is there anyway to programmatically request a diff of the candidate and committed configurations? I want the exact output of "show | compare", and I want it in the form at the CLI for human documentation purposes. I've seen that I can request the candidate configuration hierarchy with "