diff options
author | Samer Abdel-Hafez <sam@arahant.net> | 2015-02-27 12:09:43 +0100 |
---|---|---|
committer | Samer Abdel-Hafez <sam@arahant.net> | 2015-02-27 12:09:43 +0100 |
commit | 0bf2f56389dee1d4ea8b2a8818580d49f346ebd6 (patch) | |
tree | 727856d7a06ed8a34734dbf13ad4178b5d69fd21 /lib/oxidized/model | |
parent | b486d6af369ee3dcac00a92b646245c93abead14 (diff) |
better prompt for Arista EOS
Diffstat (limited to 'lib/oxidized/model')
-rw-r--r-- | lib/oxidized/model/eos.rb | 3 |
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 '! ' |