Skip to content

Commit

Permalink
Add support for VyOS on Rancid conf (librenms#13874)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssasso authored Mar 24, 2022
1 parent 4df7968 commit e7205b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/gen_rancid.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
$rancid_map['comware'] = 'h3c';
$rancid_map['panos'] = 'paloalto';
$rancid_map['fs-switch'] = 'cisco';
$rancid_map['vyos'] = 'vyos';

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']])) {
Expand Down

0 comments on commit e7205b4

Please sign in to comment.