summaryrefslogtreecommitdiff
path: root/lib/oxidized
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized')
-rw-r--r--lib/oxidized/model/axos.rb9
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/oxidized/model/axos.rb b/lib/oxidized/model/axos.rb
index 5ce2b68..9c1a663 100644
--- a/lib/oxidized/model/axos.rb
+++ b/lib/oxidized/model/axos.rb
@@ -1,8 +1,13 @@
-class AXOS < Oxidized::Model
+class AxOS < Oxidized::Model
prompt /([\w.@()-]+[#]\s?)$/
comment '! '
+
cmd 'show running-config | nomore' do |cfg|
- cfg
+ cfg.cut_head
+ end
+
+ cmd :all do |cfg|
+ cfg.cut_tail
end
cfg :ssh do