corona 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -1
- data/TODO.md +0 -4
- data/corona.gemspec +7 -7
- data/lib/corona/model.rb +16 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a58477906743f5fac988279012b93487a41bab83
|
|
4
|
+
data.tar.gz: 0b29989d94860c8dc7ad9115af8ca054dee38866
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3de9ea50f8b4df65e3690219c6ac078c9ee2ab3af19286dda0ab0593b4f5a85790b371aaa95233723acdb61e2811dbd8bf3926249293bc836675be0e056df8cc
|
|
7
|
+
data.tar.gz: 78c5edd96e99b229212fd02b2c783251d5045be295d7db0ed5d2a846c89af575a5360ef6417ad5063093320acc3bbfc1666b168b2e112201af7c09690ab1d716
|
data/CHANGELOG.md
CHANGED
data/TODO.md
CHANGED
data/corona.gemspec
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = 'corona'
|
|
3
|
-
s.version = '0.1.
|
|
4
|
-
s.licenses =
|
|
3
|
+
s.version = '0.1.2'
|
|
4
|
+
s.licenses = %w( 'Apache-2.0' )
|
|
5
5
|
s.platform = Gem::Platform::RUBY
|
|
6
6
|
s.authors = [ 'Saku Ytti' ]
|
|
7
7
|
s.email = %w( saku@ytti.fi )
|
|
@@ -13,9 +13,9 @@ Gem::Specification.new do |s|
|
|
|
13
13
|
s.executables = %w( corona )
|
|
14
14
|
s.require_path = 'lib'
|
|
15
15
|
|
|
16
|
-
s.
|
|
17
|
-
s.
|
|
18
|
-
s.
|
|
19
|
-
s.
|
|
20
|
-
s.
|
|
16
|
+
s.add_runtime_dependency 'sequel', '~> 4.12'
|
|
17
|
+
s.add_runtime_dependency 'sqlite3', '~> 1.3'
|
|
18
|
+
s.add_runtime_dependency 'snmp', '~> 1.2'
|
|
19
|
+
s.add_runtime_dependency 'slop', '~> 3.5'
|
|
20
|
+
s.add_runtime_dependency 'asetus', '~> 0.1'
|
|
21
21
|
end
|
data/lib/corona/model.rb
CHANGED
|
@@ -18,14 +18,20 @@ module Corona
|
|
|
18
18
|
'ironware'
|
|
19
19
|
when /TiMOS/
|
|
20
20
|
'timos'
|
|
21
|
+
when /ExtremeXOS/
|
|
22
|
+
'xos'
|
|
21
23
|
when /Cisco Adaptive Security Appliance/
|
|
22
24
|
'asa'
|
|
23
25
|
when /Brocade Fibre Channel Switch/
|
|
24
26
|
'fabricos'
|
|
27
|
+
when /Brocade VDX/
|
|
28
|
+
'nos'
|
|
25
29
|
when /cisco/i, /Application Control Engine/i
|
|
26
30
|
'ios'
|
|
27
31
|
when /Force10 OS/
|
|
28
32
|
'ftos'
|
|
33
|
+
when /Versatile Routing Platform/
|
|
34
|
+
'vrp'
|
|
29
35
|
when /^NetScreen/, /^SSG-\d+/
|
|
30
36
|
'screenos'
|
|
31
37
|
when /^Summit/
|
|
@@ -40,6 +46,8 @@ module Corona
|
|
|
40
46
|
'acos'
|
|
41
47
|
when /ProCurve/ # ProCurve OS does not seem to have name?
|
|
42
48
|
'procurve'
|
|
49
|
+
when /ASAM/
|
|
50
|
+
'isam'
|
|
43
51
|
when /^\d+[A-Z]\sEthernet Switch$/
|
|
44
52
|
'powerconnect'
|
|
45
53
|
else
|
|
@@ -58,6 +66,14 @@ module Corona
|
|
|
58
66
|
'powerconnect' # 1.3.6.1.4.1.674.10895.3031
|
|
59
67
|
when Regexp.new('^' + Regexp.quote('1.3.6.1.4.1.22610.'))
|
|
60
68
|
'acos' # 1.3.6.1.4.1.22610.1.3.14
|
|
69
|
+
when Regexp.new('^' + Regexp.quote('.1.3.6.1.4.1.637.'))
|
|
70
|
+
'isam' # 1.3.6.1.4.1.637.61.1
|
|
71
|
+
when Regexp.new('^' + Regexp.quote('.1.3.6.1.4.1.2011.'))
|
|
72
|
+
'vrp' # 1.3.6.1.4.1.2011.2.224.67 (AR1220F)
|
|
73
|
+
when Regexp.new('^' + Regexp.quote('.1.3.6.1.4.1.1588.'))
|
|
74
|
+
'nos' # 1.3.6.1.4.1.1588.2.2.1.1.1.5 (VDX)
|
|
75
|
+
when Regexp.new('^' + Regexp.quote('.1.3.6.1.4.1.1916.'))
|
|
76
|
+
'xos' # 1.3.6.1.4.1.1916.2.76 (X450a-48t)
|
|
61
77
|
when Regexp.new('^' + Regexp.quote('1.3.6.1.4.1.9.1.745'))
|
|
62
78
|
'asa' # 1.3.6.1.4.1.9.1.745
|
|
63
79
|
else
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: corona
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Saku Ytti
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2015-02-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: sequel
|
|
@@ -108,7 +108,7 @@ files:
|
|
|
108
108
|
- lib/corona/snmp.rb
|
|
109
109
|
homepage: http://github.com/ytti/corona
|
|
110
110
|
licenses:
|
|
111
|
-
- Apache-2.0
|
|
111
|
+
- "'Apache-2.0'"
|
|
112
112
|
metadata: {}
|
|
113
113
|
post_install_message:
|
|
114
114
|
rdoc_options: []
|