diff options
-rw-r--r-- | CHANGELOG.md | 4 | ||||
-rw-r--r-- | docs/Supported-OS-Types.md | 2 | ||||
-rw-r--r-- | lib/oxidized/model/edgecos.rb | 9 |
3 files changed, 7 insertions, 8 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index b9a9637..a43cff0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## Master + +* BUGFIX: model edgecos does not trigger falsepositives due to uptime and memory utilization + ## 0.22.0 * FEATURE: openbsd model (@amarti2038) diff --git a/docs/Supported-OS-Types.md b/docs/Supported-OS-Types.md index 62c7989..fc010db 100644 --- a/docs/Supported-OS-Types.md +++ b/docs/Supported-OS-Types.md @@ -76,6 +76,8 @@ * [AOSW](/lib/oxidized/model/aosw.rb) * D-Link * [D-Link](/lib/oxidized/model/dlink.rb) +* EdgeCore + * [ES3528M](/lib/oxidized/model/edgecos.rb) * Ericsson/Redback * [IPOS (former SEOS)](/lib/oxidized/model/ipos.rb) * Extreme Networks diff --git a/lib/oxidized/model/edgecos.rb b/lib/oxidized/model/edgecos.rb index 3668769..e92686c 100644 --- a/lib/oxidized/model/edgecos.rb +++ b/lib/oxidized/model/edgecos.rb @@ -13,15 +13,8 @@ class EdgeCOS < Oxidized::Model cmd 'show running-config' - cmd 'show access-list tcam-utilization' do |cfg| - comment cfg - end - - cmd 'show memory' do |cfg| - comment cfg - end - cmd 'show system' do |cfg| + cfg.gsub! /^\s*System Up Time\s*:.*\n/i, '' comment cfg end |