Re: [rancid] Dell EMC OS10 switch
Tue, Nov 05, 2019 at 09:02:19AM +0100, Bjørn Skobba: > It looks like Dell S3048-ON can use either the “old” Force10 FTOS(OS9) or > Dell’s OS10 (aka (D)NOS10). As you are running the latter, the dnos10 type > John mention should work. It is also based on a modified version of the > f10rancid script. From a quick browse of the diff, I think they are pretty > much doing the same thing. I’m using the dnos10 for our Dell S5296F-ON > switches running OS10 (version 10.4.x) FWIW, I expect that these modules will diverge as DNOS evolves, as it seems to be Dell's goal. ___ Rancid-discuss mailing list Rancid-discuss@shrubbery.net http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Re: [rancid] web frontend for git based rancid
Would you mind elaborating how you get gitlist to compare arbitrary revisions? I tried looking for gitlist documentation but it's "sparse". Thanks, andreas On Wed, Oct 30, 2019 at 4:20 PM Jason Biel wrote: > gitlist allows you to compare revisions. > > On Wed, Oct 30, 2019 at 6:14 PM Andreas Ott wrote: > >> Hello, >> >> we have recently uplifted a server from the stoneage to a current version >> of >> rancid, also now using git as the version control system. >> >> In previous generations we used cvsweb (cvs backend) and WebSVN (svn >> backend) to provide at least read-only view for our operations/support >> team into the different devices. For the git backend we installed gitlist >> but find it lacking, especially when it comes to a very common need >> "display diff between version X and version Y". >> >> Has anyone solved this problem in gitlist, or what other web frontend >> are you using to display data from the git repository that can do this? >> >> Thanks, andreas >> -- >> Andreas Ott andr...@naund.org >> >> ___ >> Rancid-discuss mailing list >> Rancid-discuss@shrubbery.net >> http://www.shrubbery.net/mailman/listinfo/rancid-discuss >> > > > -- > Jason > ___ Rancid-discuss mailing list Rancid-discuss@shrubbery.net http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Re: [rancid] web frontend for git based rancid
On 05/11/2019 11:34, shouldbe q931 wrote: My solution for this was to use a commit hook to push to an instance of gitlab ce. I miss the simple interface of viewvc, but progress... If you get fewer features, what is the progress? (serious question - I use viewvc+svn for rancid, even though I long ago switched to git for actual code. I don't know what I'd gain from this switch for rancid... there are no PRs, no merges and a single "author") ___ Rancid-discuss mailing list Rancid-discuss@shrubbery.net http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Re: [rancid] web frontend for git based rancid
Tue, Nov 05, 2019 at 11:34:05AM +, shouldbe q931: > On Wed, Oct 30, 2019 at 11:14 PM Andreas Ott wrote: > > > > Hello, > > > > we have recently uplifted a server from the stoneage to a current version of > > rancid, also now using git as the version control system. > > > > In previous generations we used cvsweb (cvs backend) and WebSVN (svn > > backend) to provide at least read-only view for our operations/support > > team into the different devices. For the git backend we installed gitlist > > but find it lacking, especially when it comes to a very common need > > "display diff between version X and version Y". > > > > Has anyone solved this problem in gitlist, or what other web frontend > > are you using to display data from the git repository that can do this? > > > > Thanks, andreas > > -- > > Andreas Ott andr...@naund.org > > > > My solution for this was to use a commit hook to push to an instance > of gitlab ce. Not know the exact nature of your hack, but if using git, there is a simple method to have a remote without hacking. See the rancid FAQ S2Q8. ___ Rancid-discuss mailing list Rancid-discuss@shrubbery.net http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Re: [rancid] web frontend for git based rancid
On Wed, Oct 30, 2019 at 11:14 PM Andreas Ott wrote: > > Hello, > > we have recently uplifted a server from the stoneage to a current version of > rancid, also now using git as the version control system. > > In previous generations we used cvsweb (cvs backend) and WebSVN (svn > backend) to provide at least read-only view for our operations/support > team into the different devices. For the git backend we installed gitlist > but find it lacking, especially when it comes to a very common need > "display diff between version X and version Y". > > Has anyone solved this problem in gitlist, or what other web frontend > are you using to display data from the git repository that can do this? > > Thanks, andreas > -- > Andreas Ott andr...@naund.org > My solution for this was to use a commit hook to push to an instance of gitlab ce. I miss the simple interface of viewvc, but progress... Cheers Arne ___ Rancid-discuss mailing list Rancid-discuss@shrubbery.net http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Re: [rancid] Dell EMC OS10 switch
On 4 Nov 2019, at 18:27, Howard Jones wrote: > > On 04/11/2019 17:12, john heasley wrote: >> Mon, Nov 04, 2019 at 04:51:23PM +, Howard Jones: >>> I made a slightly-tweaked version of the Force10 type for our Dell >>> S3048-ON switches. >>> >>> In etc/rancid.types.conf: >>> >>> dell10;script;dell10rancid >>> dell10;login;clogin >>> >>> And then these are the differences from f10rancid: >>> >>> A few commands don't exist - removed those. The switch likes to beep >>> (send ctrl-G) in responses, so I strip control chars out. It also >>> doesn't have 'end' at the end of the config, so the default 'saw all >>> commands' stuff didn't work. >>> >>> Patch is for RANCID 3.7, but hopefully the gist is clear. >>> >> I haven't looked at Howard's, but will. However, I am assuming that this >> is Dell NOS 10; maybe there is a difference from OS10 - i do not know, but >> maybe someone will enlighten me. rancid 3.10 has a dnos10 type that is >> new from another user; maybe the two should be merged. > > Mine is very much a minimum-viable-changes job, so if NOS10==OS10, the other > version is likely better! > > I am not the user for these switches, so I don't know much about them - I was > just asked to get them working with our existing RANCID. Ours report version > 10.4.1.1 (no prefix or suffix), for what it's worth. It looks like Dell S3048-ON can use either the “old” Force10 FTOS(OS9) or Dell’s OS10 (aka (D)NOS10). As you are running the latter, the dnos10 type John mention should work. It is also based on a modified version of the f10rancid script. From a quick browse of the diff, I think they are pretty much doing the same thing. I’m using the dnos10 for our Dell S5296F-ON switches running OS10 (version 10.4.x) /bjørn___ Rancid-discuss mailing list Rancid-discuss@shrubbery.net http://www.shrubbery.net/mailman/listinfo/rancid-discuss