From 0bf2f56389dee1d4ea8b2a8818580d49f346ebd6 Mon Sep 17 00:00:00 2001 From: Samer Abdel-Hafez Date: Fri, 27 Feb 2015 12:09:43 +0100 Subject: better prompt for Arista EOS --- lib/oxidized/model/eos.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/oxidized') diff --git a/lib/oxidized/model/eos.rb b/lib/oxidized/model/eos.rb index eb1d9c7..1b43221 100644 --- a/lib/oxidized/model/eos.rb +++ b/lib/oxidized/model/eos.rb @@ -1,9 +1,8 @@ class EOS < Oxidized::Model # Arista EOS model # - # need to add telnet support here .. # - prompt /^[^\(]+\([^\)]+\)#/ + prompt /^([\w.@()-]+[#>]\s?)$/ comment '! ' -- cgit v1.2.1