From a42d1bad82e37975d674b560b18bc153a2786669 Mon Sep 17 00:00:00 2001 From: dhooper6430 Date: Wed, 21 Feb 2018 17:25:49 +0800 Subject: model: Update br6910 model prompt detection (#1188) The BR6910 switch can be configured to display anything on the prompt, by default it's vty-, I have modified the prompt statement to allow for whatever the user has configured the prompt to be. --- lib/oxidized/model/br6910.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/oxidized/model/br6910.rb') diff --git a/lib/oxidized/model/br6910.rb b/lib/oxidized/model/br6910.rb index b5c9bcf..df93793 100644 --- a/lib/oxidized/model/br6910.rb +++ b/lib/oxidized/model/br6910.rb @@ -1,7 +1,7 @@ class BR6910 < Oxidized::Model - prompt /^Vty-[0-9]\#$/ + prompt /^([\w.@()-]+[#>]\s?)$/ comment '! ' # not possible to disable paging prior to show running-config -- cgit v1.2.1