Add MRV OptiDriver support in gen_rancid (#13900)

This commit is contained in:
Cliff Albert
2022-04-08 13:37:20 +02:00
committed by GitHub
parent b33bbd472e
commit 4910761c25

View File

@ -54,6 +54,7 @@ $rancid_map['comware'] = 'h3c';
$rancid_map['panos'] = 'paloalto';
$rancid_map['fs-switch'] = 'cisco';
$rancid_map['vyos'] = 'vyos';
$rancid_map['mrv-od'] = 'mrv';
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']])) {