corona 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a6078953b980bf735927f7648f7795262bb935dd
4
- data.tar.gz: 7c92e76091180cd0d6cf9ba21e3cb69c4fa361ff
3
+ metadata.gz: a58477906743f5fac988279012b93487a41bab83
4
+ data.tar.gz: 0b29989d94860c8dc7ad9115af8ca054dee38866
5
5
  SHA512:
6
- metadata.gz: cfb884daf5cea206fb068ff87990e5a81a890bea7576c117f40a9a227fedb9642cf73eee46862b1781ba0d8035d1acc9213e64008a214bb0f4c0bf7859f8fc06
7
- data.tar.gz: ea16309908cbe109be9e51c94c402722bff4165dd5541c77c4ae5172b5b92c9949eb6eb336bdbad77f4ec44ac29a07eb74a6f504fd0f3d52a626d37361191be0
6
+ metadata.gz: 3de9ea50f8b4df65e3690219c6ac078c9ee2ab3af19286dda0ab0593b4f5a85790b371aaa95233723acdb61e2811dbd8bf3926249293bc836675be0e056df8cc
7
+ data.tar.gz: 78c5edd96e99b229212fd02b2c783251d5045be295d7db0ed5d2a846c89af575a5360ef6417ad5063093320acc3bbfc1666b168b2e112201af7c09690ab1d716
@@ -1,2 +1,8 @@
1
+ # 0.1.2
2
+ - FEATURE: Alcatel ISAM support
3
+ - FEATURE: Huawei VRP support
4
+ - FEATURE: Extreme XOS support
5
+ - FEATURE: Brocade NOS support
6
+
1
7
  # 0.1.1
2
- - fix incorrect hash assingment for results
8
+ - FIX incorrect hash assingment for results
data/TODO.md CHANGED
@@ -1,6 +1,2 @@
1
- # CLI options
2
- * option to purge old device
3
- * instead of _sqlite corona.db "delete from device where last_seen < datetime('now', '-7days')"
4
-
5
1
  # Core#process
6
2
  * maybe it can be made cleaner/smarter
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'corona'
3
- s.version = '0.1.1'
4
- s.licenses = ['Apache-2.0']
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.add_dependency 'sequel', '~> 4.12'
17
- s.add_dependency 'sqlite3', '~> 1.3'
18
- s.add_dependency 'snmp', '~> 1.2'
19
- s.add_dependency 'slop', '~> 3.5'
20
- s.add_dependency 'asetus', '~> 0.1'
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
@@ -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.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: 2014-07-22 00:00:00.000000000 Z
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: []