From 898aafcdd33c46eb6819f0d6bb2aa18e426c929d Mon Sep 17 00:00:00 2001 From: Stefano Sasso <852093+ssasso@users.noreply.github.com> Date: Tue, 18 Jan 2022 21:27:35 +0100 Subject: [PATCH] Gen RANCID host also for FS.com devices (#13682) On the RANCID perspective, a FS.com switch behaves exactly as a Cisco switch, and the RANCID modules for Cisco work well. --- scripts/gen_rancid.php | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/gen_rancid.php b/scripts/gen_rancid.php index 684aa6e212..a12cdc55aa 100755 --- a/scripts/gen_rancid.php +++ b/scripts/gen_rancid.php @@ -52,6 +52,7 @@ $rancid_map['radlan'] = 'at'; $rancid_map['ciscowlc'] = 'cisco-wlc8'; $rancid_map['comware'] = 'h3c'; $rancid_map['panos'] = 'paloalto'; +$rancid_map['fs-switch'] = 'cisco'; foreach (dbFetchRows("SELECT `hostname`,`os`,`disabled`,`status` FROM `devices` WHERE `ignore` = 0 AND `type` != '' GROUP BY `hostname`") as $devices) { if (isset($rancid_map[$devices['os']])) {