summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartek <bartek@sq9mev.info>2018-06-05 15:34:20 +0200
committerWild Kat <wk@users.noreply.github.com>2018-06-05 15:34:20 +0200
commit5cfdbaa959b86d2c8e65963a828ab309302c9020 (patch)
tree22ba13bc0e4399a1889bb2af92238b870b4ac5ed
parentff4eaaebf749e6b91ea0ef96c3eaa36776e9a4b5 (diff)
edgecos overly verbose memory and uptime (#1366)
-rw-r--r--CHANGELOG.md4
-rw-r--r--docs/Supported-OS-Types.md2
-rw-r--r--lib/oxidized/model/edgecos.rb9
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