From 6038c0afea18c27e5653de48f8223d83093796a1 Mon Sep 17 00:00:00 2001 From: djamp42 Date: Fri, 27 Jul 2018 23:31:18 -0400 Subject: Support for Calix AXOS Devices I have tested this on a Calix AxOS E5, backups config perfectly. The first line in the config file is the command to show the config, i don't know how to remove this, so if someone tells me i can update it and test again. --- lib/oxidized/model/axos.rb | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 lib/oxidized/model/axos.rb 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 -- cgit v1.2.1