[rancid] Re: [PATCH] Add support for the Cisco WLC
Michael Stefaniuc
mstefani at redhat.com
Wed Apr 28 22:11:17 UTC 2010
On 04/28/2010 01:46 AM, Ryan West wrote:
Hello Ryan,
>> -----Original Message-----
>> From: rancid-discuss-bounces at shrubbery.net [mailto:rancid-discuss-
>> bounces at shrubbery.net] On Behalf Of Michael Stefaniuc
>> Sent: Tuesday, April 27, 2010 4:04 PM
>> To: rancid-discuss at shrubbery.net
>> Subject: [rancid] [PATCH] Add support for the Cisco WLC
>>
>> Hello guys,
>>
>> I hoped that somebody would beat me to add the Cisco WLC upstream...
>> Though there was a lot of interest in testing such a patch so here it is.
>> Especially testing on versions 4.x is needed as I could test it only on 5.2.x
>> and 6.0.x.
>
> It's much cleaner with this version, but it's still failing on the pager or an expect loop. I would move over to version 6 assurewave but I think I would hit some of the bugs, so I'm holding on to 4.2.207 for a bit longer.
>
> Here is what's happening:
thanks for the detailed report; it made it easy to figure out what goes
wrong. The 4.x versions seem to use this pager prompt too:
Press Enter to continue Or<Ctl Z> to abort
The fix was easy aka accept both "or" and "Or" and don't send a
CTRL-Z but an ENTER. It still worked just fine on my 6.0.x boxes but the
5.2.x box begged to differ... There is one place in the "show
running-config" where the pager "--More-- or (q)uit" clobbers a previous
line.
Can you please give the attached patch a whirl? It applies on top of my
previous patch. I have added also an unrelated change for wlcrancid
where the "External Temperature" is filtered out too.
thanks
bye
michael
--
Michael Stefaniuc Tel.: +49-711-96437-199
Consulting Communications Engineer Fax.: +49-711-96437-111
--------------------------------------------------------------------
Reg. Adresse: Red Hat GmbH, Otto-Hahn-Strasse 20, 85609 Dornach
Handelsregister: Amtsgericht Muenchen HRB 153243
Geschäftsführer: Brendan Lane, Charlie Peters, Michael Cunningham,
Charles Cachera
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wlc-v4-fix.diff
Type: text/x-patch
Size: 1925 bytes
Desc: not available
Url : http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20100429/92247240/attachment.bin
More information about the Rancid-discuss
mailing list