Generalise mapping ifDescr to ifAlias

This allows both per OS enforcing of ifDescr = ifAlias as well as populating
when ifAlias = '' or NULL
This commit is contained in:
Gerben Meijer
2015-08-07 17:07:26 +02:00
parent 2dd8fe0553
commit 5467756328
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -404,7 +404,7 @@ $os = 'nos';
$config['os'][$os]['text'] = 'Brocade NOS';
$config['os'][$os]['type'] = 'network';
$config['os'][$os]['ifname'] = 1;
$config['os'][$os]['ifalias_null'] = 1;
$config['os'][$os]['descr_to_alias'] = 1;
$config['os'][$os]['over'][0]['graph'] = 'device_bits';
$config['os'][$os]['over'][0]['text'] = 'Device Traffic';
$config['os'][$os]['over'][1]['graph'] = 'device_processor';