Merge pull request #2558 from vizay/brocade-vdx-support

Added full discovery and polling support for brocade VDX devices.
This commit is contained in:
Neil Lathwood
2015-12-18 15:57:27 +00:00
9 changed files with 55 additions and 9 deletions
+1 -1
View File
@@ -354,7 +354,7 @@ foreach ($ports as $port) {
echo 'VLAN == '.$this_port['ifVlan'];
// When devices do not provide ifAlias data, populate with ifDescr data if configured
if (($this_port['ifAlias'] == '' || $this_port['ifAlias'] == NULL) || $config['os'][$device['os']]['descr_to_alias'] == 1) {
if ($this_port['ifAlias'] == '' || $this_port['ifAlias'] == NULL) {
$this_port['ifAlias'] = $this_port['ifDescr'];
d_echo('Using ifDescr as ifAlias');
}