summaryrefslogtreecommitdiff
path: root/lib/oxidized/model
diff options
context:
space:
mode:
authorSander Wegter <pilot008@gmail.com>2016-01-28 11:03:51 +0100
committerSander Wegter <pilot008@gmail.com>2016-01-28 11:03:51 +0100
commit304c98017b32f37d07099b8e1c4a986a21be924b (patch)
treeb23ac8c8ce099d8292a40939410add44e90c43a3 /lib/oxidized/model
parent3346293927a52012831847954bbad4410049ea2e (diff)
Added the regex for variable sflow ids
Diffstat (limited to 'lib/oxidized/model')
-rw-r--r--lib/oxidized/model/powerconnect.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/powerconnect.rb b/lib/oxidized/model/powerconnect.rb
index 70a0991..f0fa3df 100644
--- a/lib/oxidized/model/powerconnect.rb
+++ b/lib/oxidized/model/powerconnect.rb
@@ -27,7 +27,7 @@ class PowerConnect < Oxidized::Model
end
cmd 'show running-config' do |cfg|
- cfg.sub(/^(sflow 1 destination owner 1 timeout )\d+$/, '! \1<timeout>')
+ cfg.sub(/^(sflow \S+ destination owner \S+ timeout )\d+$/, '! \1<timeout>')
end
cfg :telnet, :ssh do