summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Smith <zero1three@gmail.com>2018-09-17 13:31:03 -0700
committerWild Kat <wk@users.noreply.github.com>2018-09-17 22:31:03 +0200
commit0a5830c489e31ce21d715c9dd2299513c3151f4e (patch)
tree80b49d60aea42f4a28cd1dbc72d7651dd8047f32
parenta0b0ec5b06d5fb1890aa38d6c1cb319861573ca7 (diff)
capture ZebOS configuration from F5 (#1501)
-rw-r--r--CHANGELOG.md1
-rw-r--r--lib/oxidized/model/tmos.rb2
2 files changed, 3 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9642421..a03ab74 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -14,6 +14,7 @@
* MISC: add gpgme and sequel gems to Dockerfile for sources
* MISC: eos model removes user secrets and BGP secrets (@yzguy)
* MISC: add secret filtering to netscaler (@shepherdjay)
+* MISC: capture ZebOS configuration for TMOS model (@yzguy)
## 0.24.0
diff --git a/lib/oxidized/model/tmos.rb b/lib/oxidized/model/tmos.rb
index 69b0e1b..fff7534 100644
--- a/lib/oxidized/model/tmos.rb
+++ b/lib/oxidized/model/tmos.rb
@@ -42,6 +42,8 @@ class TMOS < Oxidized::Model
comment cfg
end
+ cmd('cat /config/zebos/*/ZebOS.conf') { |cfg| comment cfg }
+
cmd('cat /config/partitions/*/bigip.conf') { |cfg| comment cfg }
cfg :ssh do