[rancid] Cisco devices and calculating percent free

Piegorsch, Weylin William weylin at bu.edu
Fri Nov 13 00:55:46 UTC 2020


If I recall, end users should alter rancid.types.conf, not .base - or better yet, add a custom device type to rancid.types.conf and leave the defaults alone.
weylin

-----Original Message-----
From: Randy Bush <randy at psg.com>
Date: Thursday, November 12, 2020 at 1:17 PM
To: Chris Wopat <me at falz.net>
Cc: <rancid-discuss at www.shrubbery.net>
Subject: Re: [rancid] Cisco devices and calculating percent free

    something analogous to

    --- rancid.types.base.ORIG      2020-03-19 01:11:40.000000000 +0000
    +++ rancid.types.base   2020-03-21 19:41:36.522622000 +0000
    @@ -221,7 +221,7 @@
     cisco-nx;command;nxos::ShowEnvPower;show environment power
     cisco-nx;command;nxos::ShowBoot;show boot
     cisco-nx;command;nxos::DirSlotN;dir bootflash:
    -cisco-nx;command;nxos::DirSlotN;dir debug:
    +## cisco-nx;command;nxos::DirSlotN;dir debug:
     cisco-nx;command;nxos::DirSlotN;dir logflash:
     cisco-nx;command;nxos::DirSlotN;dir slot0:
     cisco-nx;command;nxos::DirSlotN;dir usb1:
    @@ -598,7 +598,7 @@
     junos;module;junos
     junos;inloop;junos::inloop
     junos;command;junos::ShowChassisClocks;show chassis clocks
    -junos;command;junos::ShowChassisEnvironment;show chassis environment
    +## junos;command;junos::ShowChassisEnvironment;show chassis environment
     junos;command;junos::ShowChassisFirmware;show chassis firmware local
     junos;command;junos::ShowChassisFirmware;show chassis firmware





More information about the Rancid-discuss mailing list