summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/eos.rb
diff options
context:
space:
mode:
authorSamer Abdel-Hafez <sam@arahant.net>2015-02-27 12:09:43 +0100
committerSamer Abdel-Hafez <sam@arahant.net>2015-02-27 12:09:43 +0100
commit0bf2f56389dee1d4ea8b2a8818580d49f346ebd6 (patch)
tree727856d7a06ed8a34734dbf13ad4178b5d69fd21 /lib/oxidized/model/eos.rb
parentb486d6af369ee3dcac00a92b646245c93abead14 (diff)
better prompt for Arista EOS
Diffstat (limited to 'lib/oxidized/model/eos.rb')
-rw-r--r--lib/oxidized/model/eos.rb3
1 files changed, 1 insertions, 2 deletions
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 '! '