summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/oxidized/model/powerconnect.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/oxidized/model/powerconnect.rb b/lib/oxidized/model/powerconnect.rb
index cd04766..f0fa3df 100644
--- a/lib/oxidized/model/powerconnect.rb
+++ b/lib/oxidized/model/powerconnect.rb
@@ -26,7 +26,9 @@ class PowerConnect < Oxidized::Model
clean cfg
end
- cmd 'show running-config'
+ cmd 'show running-config' do |cfg|
+ cfg.sub(/^(sflow \S+ destination owner \S+ timeout )\d+$/, '! \1<timeout>')
+ end
cfg :telnet, :ssh do
username /^User( Name)?:/