Extend FS switches support, handle lowerLayerDown ifOperStatus (#10904)

* extend FS switches support

* MIB compilation

* HW and Ver

* sensors and CPU

* tests

* correct version

* try to handle properly "down" as not up, for OperStat like lowerLayerDown

* try to handle properly "down" as not up, for OperStat like lowerLayerDown

* try to handle properly "down" as not up, for OperStat like lowerLayerDown

* try to replace "down" with "not up" :)

* fix other ifOperStatus checks
This commit is contained in:
PipoCanaja
2020-01-15 15:28:36 +01:00
committed by Kevin Krumm
parent 252ee125b5
commit ee8297df19
23 changed files with 30540 additions and 26 deletions

View File

@@ -137,7 +137,7 @@ class Port extends DeviceRelatedModel
['deleted', '=', 0],
['ignore', '=', 0],
['disabled', '=', 0],
['ifOperStatus', '=', 'down'],
['ifOperStatus', '!=', 'up'],
['ifAdminStatus', '=', 'up'],
]);
}