From 8862e0b303b2fdc4c50992cfbffbbccb9b88bc91 Mon Sep 17 00:00:00 2001 From: Robert Drake Date: Fri, 4 Nov 2016 14:21:09 -0400 Subject: This adds support for the Casa C1G CMTS This will probably work for the other Casa CMTS as well. --- lib/oxidized/model/casa.rb | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 lib/oxidized/model/casa.rb (limited to 'lib') diff --git a/lib/oxidized/model/casa.rb b/lib/oxidized/model/casa.rb new file mode 100644 index 0000000..e85c904 --- /dev/null +++ b/lib/oxidized/model/casa.rb @@ -0,0 +1,46 @@ +class Casa < Oxidized::Model + # Casa Systems CMTS + + prompt /^([\w.@()-]+[#>]\s?)$/ + comment '! ' + + cmd :secret do |cfg| + cfg.gsub! /^(snmp community) \S+/, '\\1 ' + cfg.gsub! /^(snmp comm-tbl) \S+ \S+/, '\\1 ' + cfg.gsub! /^(console-password encrypted) \S+/, '\\1