From 0c925a7e8e3ff2b8b1f8b69443032a37c7f8dbcc Mon Sep 17 00:00:00 2001 From: Arnoud Vermeer Date: Tue, 23 Aug 2016 13:38:07 +0200 Subject: !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. --- lib/oxidized/model/acos.rb | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lib/oxidized') 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 ' + cfg.gsub! /(Configuration last updated at).*/, '\\1 ' + cfg.gsub! /(Configuration last saved at).*/, '\\1 ' + cfg.gsub! /(Configuration last synchronized at).*/, '\\1 ' + cfg + end + cmd 'show aflex all-partitions' do |cfg| comment cfg end -- cgit v1.2.1