summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorArnoud Vermeer <a.vermeer@tech.leaseweb.com>2016-08-23 13:38:07 +0200
committerArnoud Vermeer <a.vermeer@tech.leaseweb.com>2016-08-23 13:38:07 +0200
commit0c925a7e8e3ff2b8b1f8b69443032a37c7f8dbcc (patch)
treeac03e6a2da36152d46a233cf547a48420deea8a2 /lib
parentfef6b89aaeb44ab2b0601ee8a8924f20958cf507 (diff)
!Current config commit point for partition 0 is 0 & config mode is classical-mode
! COMMAND: show running-config all-partitions ^ % Unrecognized command.Invalid input detected at '^' marker.
Diffstat (limited to 'lib')
-rw-r--r--lib/oxidized/model/acos.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/oxidized/model/acos.rb b/lib/oxidized/model/acos.rb
index 6b5bc41..ec78711 100644
--- a/lib/oxidized/model/acos.rb
+++ b/lib/oxidized/model/acos.rb
@@ -37,6 +37,14 @@ class ACOS < Oxidized::Model
cfg
end
+ cmd 'show running-config all-partitions' do |cfg|
+ cfg.gsub! /(Current configuration).*/, '\\1 <removed>'
+ cfg.gsub! /(Configuration last updated at).*/, '\\1 <removed>'
+ cfg.gsub! /(Configuration last saved at).*/, '\\1 <removed>'
+ cfg.gsub! /(Configuration last synchronized at).*/, '\\1 <removed>'
+ cfg
+ end
+
cmd 'show aflex all-partitions' do |cfg|
comment cfg
end