diff options
Diffstat (limited to 'lib/oxidized/model')
-rw-r--r-- | lib/oxidized/model/axos.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/oxidized/model/axos.rb b/lib/oxidized/model/axos.rb new file mode 100644 index 0000000..5ce2b68 --- /dev/null +++ b/lib/oxidized/model/axos.rb @@ -0,0 +1,11 @@ +class AXOS < Oxidized::Model + prompt /([\w.@()-]+[#]\s?)$/ + comment '! ' + cmd 'show running-config | nomore' do |cfg| + cfg + end + + cfg :ssh do + pre_logout 'exit' + end +end |