oxidized 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/oxidized/model/eos.rb +5 -3
- data/lib/oxidized/output/file.rb +1 -0
- data/oxidized.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe0fdfc750565821617c3d13ebe990821f30aeec
|
4
|
+
data.tar.gz: 3030719bac957813ff5a56799cd76a95e7219789
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: adfc55ef26a4b72afc8e165f3c7e7b5ed4e138185125ed6601bd68cc2b9597f8549f0893be75627d3ecd9c793796d63a3b0985294c44dcff9aa11de5ab898ea3
|
7
|
+
data.tar.gz: 0eec4da96cd31c171c8507152a9fbe555a1833e46ead96c6085d16180d0b28a35f523eaf3d1c5153e222863a133918208049c5a23c8a954ab623731bbaa1cb4a
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
# 0.4.1
|
2
|
+
- BUGFIX: handle missing output file (by @brandt)
|
3
|
+
- BUGFIX: fix passwordless enable on Arista EOS model (by @brandt)
|
4
|
+
|
1
5
|
# 0.4.0
|
2
6
|
- FEATURE: allow setting IP address in addition to name in source (SQL/CSV)
|
3
7
|
- FEATURE: approximate how long it takes to get node from larger view than 1
|
data/lib/oxidized/model/eos.rb
CHANGED
@@ -28,8 +28,11 @@ class EOS < Oxidized::Model
|
|
28
28
|
if vars :enable
|
29
29
|
post_login do
|
30
30
|
send "enable\n"
|
31
|
-
|
32
|
-
|
31
|
+
# Interpret enable: true as meaning we won't be prompted for a password
|
32
|
+
unless vars(:enable).is_a? TrueClass
|
33
|
+
expect /[pP]assword:\s?$/
|
34
|
+
send vars(:enable) + "\n"
|
35
|
+
end
|
33
36
|
expect /^.+[#>]\s?$/
|
34
37
|
end
|
35
38
|
post_login 'terminal length 0'
|
@@ -38,4 +41,3 @@ class EOS < Oxidized::Model
|
|
38
41
|
end
|
39
42
|
|
40
43
|
end
|
41
|
-
|
data/lib/oxidized/output/file.rb
CHANGED
data/oxidized.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oxidized
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Saku Ytti
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-03-
|
12
|
+
date: 2015-03-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: asetus
|