diff options
author | Reinier Schoof <reinier@skoef.nl> | 2015-09-28 09:40:16 +0200 |
---|---|---|
committer | Reinier Schoof <reinier@skoef.nl> | 2015-09-28 09:40:16 +0200 |
commit | dbaa0aa77d4420f660262222cbcf99fa3e3cbf4e (patch) | |
tree | 8919480bf00a7768966d3bd20e9c9b57dcb8b294 /lib/oxidized/model/asa.rb | |
parent | bf999706f0be794563b78fb90999b5c5fa8e54d5 (diff) | |
parent | 073a1bb7e569ed07214249a6b200d310be29709f (diff) |
Merge remote-tracking branch 'ytti/master'
Conflicts:
lib/oxidized/model/ironware.rb
Diffstat (limited to 'lib/oxidized/model/asa.rb')
-rw-r--r-- | lib/oxidized/model/asa.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/oxidized/model/asa.rb b/lib/oxidized/model/asa.rb index d257e9e..547afd7 100644 --- a/lib/oxidized/model/asa.rb +++ b/lib/oxidized/model/asa.rb @@ -23,16 +23,16 @@ class ASA < Oxidized::Model comment cfg end + cmd 'show inventory' do |cfg| + comment cfg + end + cmd 'more system:running-config' do |cfg| cfg = cfg.each_line.to_a[3..-1].join cfg.gsub! /^: [^\n]*\n/, '' cfg end - cmd 'show inventory' do |cfg| - comment cfg - end - cfg :ssh do if vars :enable post_login do |