summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/panos.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized/model/panos.rb')
-rw-r--r--lib/oxidized/model/panos.rb18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/oxidized/model/panos.rb b/lib/oxidized/model/panos.rb
index 422a9fe..3fdebf7 100644
--- a/lib/oxidized/model/panos.rb
+++ b/lib/oxidized/model/panos.rb
@@ -3,21 +3,21 @@ class PanOS < Oxidized::Model
comment '! '
- prompt /^[\w.\@:\(\)-]+>\s?$/
+ prompt /^[\w.@:()-]+>\s?$/
cmd :all do |cfg|
cfg.each_line.to_a[2..-3].join
end
cmd 'show system info' do |cfg|
- cfg.gsub! /^(up)?time:\ .*$/, ''
- cfg.gsub! /^app-.*?:\ .*$/, ''
- cfg.gsub! /^av-.*?:\ .*$/, ''
- cfg.gsub! /^threat-.*?:\ .*$/, ''
- cfg.gsub! /^wildfire-.*?:\ .*$/, ''
- cfg.gsub! /^wf-private.*?:\ .*$/, ''
- cfg.gsub! /^url-filtering.*?:\ .*$/, ''
- cfg.gsub! /^global-.*?:\ .*$/, ''
+ cfg.gsub! /^(up)?time: .*$/, ''
+ cfg.gsub! /^app-.*?: .*$/, ''
+ cfg.gsub! /^av-.*?: .*$/, ''
+ cfg.gsub! /^threat-.*?: .*$/, ''
+ cfg.gsub! /^wildfire-.*?: .*$/, ''
+ cfg.gsub! /^wf-private.*?: .*$/, ''
+ cfg.gsub! /^url-filtering.*?: .*$/, ''
+ cfg.gsub! /^global-.*?: .*$/, ''
comment cfg
end