oxidized 0.24.0 → 0.25.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.codeclimate.yml +4 -0
- data/.rubocop.yml +3 -0
- data/CHANGELOG.md +26 -2
- data/Dockerfile +8 -32
- data/README.md +17 -5
- data/bin/oxidized +1 -1
- data/docs/Configuration.md +41 -3
- data/docs/Hooks.md +26 -0
- data/docs/Model-Notes/AireOS.md +1 -2
- data/docs/Model-Notes/ArbOS.md +1 -2
- data/docs/Model-Notes/Comware.md +1 -2
- data/docs/Model-Notes/EOS.md +1 -2
- data/docs/Model-Notes/JunOS.md +1 -2
- data/docs/Model-Notes/Netgear.md +5 -6
- data/docs/Model-Notes/Nokia.md +9 -0
- data/docs/Model-Notes/README.md +3 -2
- data/docs/Model-Notes/VRP-Huawei.md +1 -2
- data/docs/Model-Notes/Viptela.md +12 -0
- data/docs/Model-Notes/XGS4600-Zyxel.md +1 -2
- data/docs/Ruby-API.md +54 -2
- data/docs/Supported-OS-Types.md +12 -0
- data/extra/oxidized.service +7 -0
- data/lib/oxidized/cli.rb +7 -0
- data/lib/oxidized/config.rb +3 -0
- data/lib/oxidized/core.rb +1 -0
- data/lib/oxidized/hook/ciscosparkdiff.rb +11 -17
- data/lib/oxidized/hook/slackdiff.rb +5 -11
- data/lib/oxidized/hook/xmppdiff.rb +1 -0
- data/lib/oxidized/input/ssh.rb +43 -27
- data/lib/oxidized/input/telnet.rb +1 -0
- data/lib/oxidized/model/acos.rb +2 -2
- data/lib/oxidized/model/acsw.rb +6 -6
- data/lib/oxidized/model/adtran.rb +22 -0
- data/lib/oxidized/model/aen.rb +2 -2
- data/lib/oxidized/model/aireos.rb +3 -2
- data/lib/oxidized/model/alteonos.rb +2 -2
- data/lib/oxidized/model/aos.rb +1 -1
- data/lib/oxidized/model/aos7.rb +1 -1
- data/lib/oxidized/model/aosw.rb +5 -3
- data/lib/oxidized/model/apc_aos.rb +1 -1
- data/lib/oxidized/model/arbos.rb +2 -2
- data/lib/oxidized/model/asa.rb +8 -2
- data/lib/oxidized/model/awplus.rb +1 -1
- data/lib/oxidized/model/axos.rb +16 -0
- data/lib/oxidized/model/c4cmts.rb +3 -5
- data/lib/oxidized/model/casa.rb +1 -1
- data/lib/oxidized/model/catos.rb +1 -1
- data/lib/oxidized/model/ciscosma.rb +1 -1
- data/lib/oxidized/model/ciscosmb.rb +10 -4
- data/lib/oxidized/model/comtrol.rb +41 -0
- data/lib/oxidized/model/comware.rb +1 -1
- data/lib/oxidized/model/coriantgroove.rb +4 -6
- data/lib/oxidized/model/cumulus.rb +14 -1
- data/lib/oxidized/model/datacom.rb +1 -2
- data/lib/oxidized/model/dcnos.rb +1 -1
- data/lib/oxidized/model/dellx.rb +76 -0
- data/lib/oxidized/model/dlink.rb +2 -2
- data/lib/oxidized/model/dnos.rb +3 -1
- data/lib/oxidized/model/eciapollo.rb +34 -0
- data/lib/oxidized/model/edgecos.rb +1 -0
- data/lib/oxidized/model/edgeos.rb +6 -1
- data/lib/oxidized/model/eos.rb +3 -2
- data/lib/oxidized/model/fiberdriver.rb +1 -1
- data/lib/oxidized/model/firebrick.rb +31 -0
- data/lib/oxidized/model/firewareos.rb +1 -1
- data/lib/oxidized/model/fortios.rb +5 -4
- data/lib/oxidized/model/ftos.rb +4 -1
- data/lib/oxidized/model/fujitsupy.rb +3 -3
- data/lib/oxidized/model/gaiaos.rb +1 -1
- data/lib/oxidized/model/gcombnps.rb +3 -1
- data/lib/oxidized/model/hatteras.rb +1 -1
- data/lib/oxidized/model/hirschmann.rb +2 -2
- data/lib/oxidized/model/hpebladesystem.rb +1 -1
- data/lib/oxidized/model/ios.rb +21 -13
- data/lib/oxidized/model/ipos.rb +3 -3
- data/lib/oxidized/model/ironware.rb +3 -3
- data/lib/oxidized/model/isam.rb +1 -1
- data/lib/oxidized/model/junos.rb +1 -1
- data/lib/oxidized/model/masteros.rb +2 -3
- data/lib/oxidized/model/mlnxos.rb +5 -5
- data/lib/oxidized/model/model.rb +3 -0
- data/lib/oxidized/model/ndms.rb +1 -2
- data/lib/oxidized/model/netgear.rb +7 -9
- data/lib/oxidized/model/netonix.rb +1 -1
- data/lib/oxidized/model/netscaler.rb +6 -1
- data/lib/oxidized/model/nos.rb +2 -2
- data/lib/oxidized/model/oneos.rb +1 -1
- data/lib/oxidized/model/openbsd.rb +8 -22
- data/lib/oxidized/model/openwrt.rb +1 -0
- data/lib/oxidized/model/opnsense.rb +1 -1
- data/lib/oxidized/model/panos.rb +9 -9
- data/lib/oxidized/model/pfsense.rb +2 -1
- data/lib/oxidized/model/planet.rb +1 -1
- data/lib/oxidized/model/powerconnect.rb +7 -4
- data/lib/oxidized/model/procurve.rb +7 -5
- data/lib/oxidized/model/routeros.rb +1 -1
- data/lib/oxidized/model/saos.rb +1 -1
- data/lib/oxidized/model/screenos.rb +3 -3
- data/lib/oxidized/model/sros.rb +2 -2
- data/lib/oxidized/model/stoneos.rb +1 -1
- data/lib/oxidized/model/tmos.rb +2 -0
- data/lib/oxidized/model/tplink.rb +4 -0
- data/lib/oxidized/model/viptela.rb +29 -0
- data/lib/oxidized/model/voltaire.rb +5 -5
- data/lib/oxidized/model/voss.rb +4 -4
- data/lib/oxidized/model/vrp.rb +1 -1
- data/lib/oxidized/model/vyatta.rb +1 -1
- data/lib/oxidized/model/weos.rb +1 -1
- data/lib/oxidized/model/xos.rb +9 -2
- data/lib/oxidized/node.rb +20 -31
- data/lib/oxidized/nodes.rb +3 -0
- data/lib/oxidized/output/git.rb +17 -20
- data/lib/oxidized/output/gitcrypt.rb +2 -1
- data/lib/oxidized/output/http.rb +19 -12
- data/lib/oxidized/source/csv.rb +15 -8
- data/lib/oxidized/source/http.rb +26 -22
- data/lib/oxidized/string.rb +9 -4
- data/lib/oxidized/version.rb +2 -2
- data/lib/oxidized/worker.rb +44 -36
- data/oxidized.gemspec +1 -4
- metadata +26 -16
data/oxidized.gemspec
CHANGED
@@ -20,13 +20,10 @@ Gem::Specification.new do |s|
|
|
20
20
|
s.required_ruby_version = '>= 2.0.0'
|
21
21
|
s.add_runtime_dependency 'asetus', '~> 0.1'
|
22
22
|
s.add_runtime_dependency 'net-ssh', '~> 4.1.0'
|
23
|
+
s.add_runtime_dependency 'net-telnet', '~> 0.1.1'
|
23
24
|
s.add_runtime_dependency 'rugged', '~> 0.21', '>= 0.21.4'
|
24
25
|
s.add_runtime_dependency 'slop', '~> 3.5'
|
25
26
|
|
26
|
-
if defined?(RUBY_VERSION) && RUBY_VERSION > '2.3'
|
27
|
-
s.add_runtime_dependency 'net-telnet', '~> 0'
|
28
|
-
end
|
29
|
-
|
30
27
|
s.add_development_dependency 'simplecov'
|
31
28
|
if ENV['CI'] == 'true'
|
32
29
|
s.add_development_dependency 'codecov'
|
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
|
+
version: 0.25.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Saku Ytti
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2018-
|
13
|
+
date: 2018-12-16 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: asetus
|
@@ -40,6 +40,20 @@ dependencies:
|
|
40
40
|
- - "~>"
|
41
41
|
- !ruby/object:Gem::Version
|
42
42
|
version: 4.1.0
|
43
|
+
- !ruby/object:Gem::Dependency
|
44
|
+
name: net-telnet
|
45
|
+
requirement: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - "~>"
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: 0.1.1
|
50
|
+
type: :runtime
|
51
|
+
prerelease: false
|
52
|
+
version_requirements: !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - "~>"
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: 0.1.1
|
43
57
|
- !ruby/object:Gem::Dependency
|
44
58
|
name: rugged
|
45
59
|
requirement: !ruby/object:Gem::Requirement
|
@@ -74,20 +88,6 @@ dependencies:
|
|
74
88
|
- - "~>"
|
75
89
|
- !ruby/object:Gem::Version
|
76
90
|
version: '3.5'
|
77
|
-
- !ruby/object:Gem::Dependency
|
78
|
-
name: net-telnet
|
79
|
-
requirement: !ruby/object:Gem::Requirement
|
80
|
-
requirements:
|
81
|
-
- - "~>"
|
82
|
-
- !ruby/object:Gem::Version
|
83
|
-
version: '0'
|
84
|
-
type: :runtime
|
85
|
-
prerelease: false
|
86
|
-
version_requirements: !ruby/object:Gem::Requirement
|
87
|
-
requirements:
|
88
|
-
- - "~>"
|
89
|
-
- !ruby/object:Gem::Version
|
90
|
-
version: '0'
|
91
91
|
- !ruby/object:Gem::Dependency
|
92
92
|
name: simplecov
|
93
93
|
requirement: !ruby/object:Gem::Requirement
|
@@ -210,6 +210,7 @@ executables:
|
|
210
210
|
extensions: []
|
211
211
|
extra_rdoc_files: []
|
212
212
|
files:
|
213
|
+
- ".codeclimate.yml"
|
213
214
|
- ".github/PULL_REQUEST_TEMPLATE.md"
|
214
215
|
- ".github/no-response.yml"
|
215
216
|
- ".gitignore"
|
@@ -235,8 +236,10 @@ files:
|
|
235
236
|
- docs/Model-Notes/EOS.md
|
236
237
|
- docs/Model-Notes/JunOS.md
|
237
238
|
- docs/Model-Notes/Netgear.md
|
239
|
+
- docs/Model-Notes/Nokia.md
|
238
240
|
- docs/Model-Notes/README.md
|
239
241
|
- docs/Model-Notes/VRP-Huawei.md
|
242
|
+
- docs/Model-Notes/Viptela.md
|
240
243
|
- docs/Model-Notes/XGS4600-Zyxel.md
|
241
244
|
- docs/Outputs.md
|
242
245
|
- docs/Ruby-API.md
|
@@ -284,6 +287,7 @@ files:
|
|
284
287
|
- lib/oxidized/manager.rb
|
285
288
|
- lib/oxidized/model/acos.rb
|
286
289
|
- lib/oxidized/model/acsw.rb
|
290
|
+
- lib/oxidized/model/adtran.rb
|
287
291
|
- lib/oxidized/model/aen.rb
|
288
292
|
- lib/oxidized/model/aireos.rb
|
289
293
|
- lib/oxidized/model/airos.rb
|
@@ -299,6 +303,7 @@ files:
|
|
299
303
|
- lib/oxidized/model/asyncos.rb
|
300
304
|
- lib/oxidized/model/audiocodes.rb
|
301
305
|
- lib/oxidized/model/awplus.rb
|
306
|
+
- lib/oxidized/model/axos.rb
|
302
307
|
- lib/oxidized/model/boss.rb
|
303
308
|
- lib/oxidized/model/br6910.rb
|
304
309
|
- lib/oxidized/model/c4cmts.rb
|
@@ -309,6 +314,7 @@ files:
|
|
309
314
|
- lib/oxidized/model/ciscosma.rb
|
310
315
|
- lib/oxidized/model/ciscosmb.rb
|
311
316
|
- lib/oxidized/model/comnetms.rb
|
317
|
+
- lib/oxidized/model/comtrol.rb
|
312
318
|
- lib/oxidized/model/comware.rb
|
313
319
|
- lib/oxidized/model/coriant8600.rb
|
314
320
|
- lib/oxidized/model/coriantgroove.rb
|
@@ -316,8 +322,10 @@ files:
|
|
316
322
|
- lib/oxidized/model/cumulus.rb
|
317
323
|
- lib/oxidized/model/datacom.rb
|
318
324
|
- lib/oxidized/model/dcnos.rb
|
325
|
+
- lib/oxidized/model/dellx.rb
|
319
326
|
- lib/oxidized/model/dlink.rb
|
320
327
|
- lib/oxidized/model/dnos.rb
|
328
|
+
- lib/oxidized/model/eciapollo.rb
|
321
329
|
- lib/oxidized/model/edgecos.rb
|
322
330
|
- lib/oxidized/model/edgeos.rb
|
323
331
|
- lib/oxidized/model/edgeswitch.rb
|
@@ -325,6 +333,7 @@ files:
|
|
325
333
|
- lib/oxidized/model/eos.rb
|
326
334
|
- lib/oxidized/model/fabricos.rb
|
327
335
|
- lib/oxidized/model/fiberdriver.rb
|
336
|
+
- lib/oxidized/model/firebrick.rb
|
328
337
|
- lib/oxidized/model/firewareos.rb
|
329
338
|
- lib/oxidized/model/fortios.rb
|
330
339
|
- lib/oxidized/model/ftos.rb
|
@@ -378,6 +387,7 @@ files:
|
|
378
387
|
- lib/oxidized/model/tplink.rb
|
379
388
|
- lib/oxidized/model/trango.rb
|
380
389
|
- lib/oxidized/model/ucs.rb
|
390
|
+
- lib/oxidized/model/viptela.rb
|
381
391
|
- lib/oxidized/model/voltaire.rb
|
382
392
|
- lib/oxidized/model/voss.rb
|
383
393
|
- lib/oxidized/model/vrp.rb
|