oxidized 0.28.0 → 0.29.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (233) hide show
  1. checksums.yaml +4 -4
  2. data/.github/dependabot.yml +31 -0
  3. data/.github/workflows/codeql.yml +76 -0
  4. data/.github/workflows/publishdocker.yml +11 -2
  5. data/.github/workflows/ruby.yml +42 -0
  6. data/.github/workflows/stale.yml +16 -0
  7. data/.rubocop.yml +30 -10
  8. data/.rubocop_todo.yml +97 -43
  9. data/CHANGELOG.md +149 -2
  10. data/Dockerfile +15 -9
  11. data/README.md +63 -32
  12. data/Rakefile +2 -0
  13. data/docs/Configuration.md +49 -7
  14. data/docs/Creating-Models.md +24 -19
  15. data/docs/Hooks.md +35 -6
  16. data/docs/Model-Notes/ADVA.md +12 -0
  17. data/docs/Model-Notes/Cumulus.md +7 -1
  18. data/docs/Model-Notes/IOS.md +36 -0
  19. data/docs/Model-Notes/JunOS.md +3 -3
  20. data/docs/Model-Notes/LenovoNOS.md +29 -0
  21. data/docs/Model-Notes/LinksysSRW.md +15 -0
  22. data/docs/Model-Notes/Nokia.md +3 -0
  23. data/docs/Model-Notes/OS10.md +33 -0
  24. data/docs/Model-Notes/PanOS_API.md +28 -0
  25. data/docs/Model-Notes/README.md +2 -0
  26. data/docs/Ruby-API.md +12 -8
  27. data/docs/Sources.md +18 -0
  28. data/docs/Supported-OS-Types.md +51 -6
  29. data/docs/Troubleshooting.md +1 -1
  30. data/extra/gitdiff-msteams.sh +91 -0
  31. data/extra/nagios_check_failing_nodes.rb +6 -9
  32. data/extra/oxidized-report-git-commits +71 -14
  33. data/extra/oxidized.init +2 -5
  34. data/extra/oxidized.logrotate +1 -0
  35. data/extra/oxidized.runit +4 -1
  36. data/extra/oxidized.service +5 -8
  37. data/extra/rest_client.rb +1 -1
  38. data/extra/syslog.rb +2 -2
  39. data/lib/oxidized/cli.rb +1 -1
  40. data/lib/oxidized/config/vars.rb +5 -2
  41. data/lib/oxidized/config.rb +6 -3
  42. data/lib/oxidized/core.rb +1 -1
  43. data/lib/oxidized/hook/exec.rb +6 -6
  44. data/lib/oxidized/hook/githubrepo.rb +42 -11
  45. data/lib/oxidized/hook/slackdiff.rb +2 -2
  46. data/lib/oxidized/hook/xmppdiff.rb +45 -25
  47. data/lib/oxidized/hook.rb +4 -8
  48. data/lib/oxidized/input/exec.rb +1 -1
  49. data/lib/oxidized/input/input.rb +1 -0
  50. data/lib/oxidized/input/ssh.rb +23 -20
  51. data/lib/oxidized/input/telnet.rb +52 -44
  52. data/lib/oxidized/job.rb +1 -0
  53. data/lib/oxidized/jobs.rb +11 -6
  54. data/lib/oxidized/manager.rb +1 -0
  55. data/lib/oxidized/model/acmepacket.rb +40 -0
  56. data/lib/oxidized/model/acos.rb +3 -1
  57. data/lib/oxidized/model/acsw.rb +2 -0
  58. data/lib/oxidized/model/adtran.rb +7 -3
  59. data/lib/oxidized/model/adva.rb +68 -0
  60. data/lib/oxidized/model/aen.rb +2 -0
  61. data/lib/oxidized/model/aireos.rb +2 -0
  62. data/lib/oxidized/model/airfiber.rb +3 -1
  63. data/lib/oxidized/model/airos.rb +2 -0
  64. data/lib/oxidized/model/alteonos.rb +2 -0
  65. data/lib/oxidized/model/alvarion.rb +2 -0
  66. data/lib/oxidized/model/aos.rb +2 -0
  67. data/lib/oxidized/model/aos7.rb +2 -0
  68. data/lib/oxidized/model/aoscx.rb +98 -0
  69. data/lib/oxidized/model/aosw.rb +4 -2
  70. data/lib/oxidized/model/apc_aos.rb +2 -0
  71. data/lib/oxidized/model/arbos.rb +2 -0
  72. data/lib/oxidized/model/aricentiss.rb +2 -0
  73. data/lib/oxidized/model/asa.rb +4 -0
  74. data/lib/oxidized/model/asyncos.rb +2 -0
  75. data/lib/oxidized/model/audiocodes.rb +2 -0
  76. data/lib/oxidized/model/audiocodesmp.rb +2 -0
  77. data/lib/oxidized/model/awplus.rb +3 -1
  78. data/lib/oxidized/model/axos.rb +2 -0
  79. data/lib/oxidized/model/bdcom.rb +51 -0
  80. data/lib/oxidized/model/boss.rb +3 -1
  81. data/lib/oxidized/model/br6910.rb +2 -0
  82. data/lib/oxidized/model/c4cmts.rb +2 -0
  83. data/lib/oxidized/model/cambium.rb +2 -0
  84. data/lib/oxidized/model/cambiumepmp.rb +19 -0
  85. data/lib/oxidized/model/casa.rb +6 -1
  86. data/lib/oxidized/model/catos.rb +2 -0
  87. data/lib/oxidized/model/ciscoce.rb +14 -0
  88. data/lib/oxidized/model/cisconga.rb +2 -0
  89. data/lib/oxidized/model/ciscosma.rb +2 -0
  90. data/lib/oxidized/model/ciscosmb.rb +4 -0
  91. data/lib/oxidized/model/ciscovpn3k.rb +2 -0
  92. data/lib/oxidized/model/cnos.rb +2 -0
  93. data/lib/oxidized/model/comnetms.rb +2 -0
  94. data/lib/oxidized/model/comtrol.rb +2 -0
  95. data/lib/oxidized/model/comware.rb +17 -1
  96. data/lib/oxidized/model/coriant8600.rb +2 -0
  97. data/lib/oxidized/model/coriantgroove.rb +2 -0
  98. data/lib/oxidized/model/corianttmos.rb +2 -0
  99. data/lib/oxidized/model/cumulus.rb +60 -44
  100. data/lib/oxidized/model/datacom.rb +2 -0
  101. data/lib/oxidized/model/dcnos.rb +2 -0
  102. data/lib/oxidized/model/dellx.rb +3 -3
  103. data/lib/oxidized/model/dlink.rb +4 -1
  104. data/lib/oxidized/model/dnos.rb +2 -0
  105. data/lib/oxidized/model/eciapollo.rb +2 -0
  106. data/lib/oxidized/model/edgecos.rb +24 -2
  107. data/lib/oxidized/model/edgeos.rb +2 -0
  108. data/lib/oxidized/model/edgeswitch.rb +6 -4
  109. data/lib/oxidized/model/eltex.rb +50 -0
  110. data/lib/oxidized/model/enterasys.rb +20 -3
  111. data/lib/oxidized/model/enterasys800.rb +31 -0
  112. data/lib/oxidized/model/eos.rb +4 -1
  113. data/lib/oxidized/model/fabricos.rb +3 -1
  114. data/lib/oxidized/model/fastiron.rb +5 -2
  115. data/lib/oxidized/model/fiberdriver.rb +2 -0
  116. data/lib/oxidized/model/firebrick.rb +2 -0
  117. data/lib/oxidized/model/firelinuxos.rb +2 -0
  118. data/lib/oxidized/model/firewareos.rb +2 -0
  119. data/lib/oxidized/model/fortios.rb +26 -11
  120. data/lib/oxidized/model/fortiwlc.rb +26 -0
  121. data/lib/oxidized/model/ftos.rb +2 -0
  122. data/lib/oxidized/model/fujitsupy.rb +2 -0
  123. data/lib/oxidized/model/gaiaos.rb +42 -3
  124. data/lib/oxidized/model/gcombnps.rb +2 -0
  125. data/lib/oxidized/model/grandstream.rb +2 -0
  126. data/lib/oxidized/model/h3c.rb +42 -0
  127. data/lib/oxidized/model/hatteras.rb +4 -2
  128. data/lib/oxidized/model/hios.rb +40 -0
  129. data/lib/oxidized/model/hirschmann.rb +2 -0
  130. data/lib/oxidized/model/hpebladesystem.rb +3 -1
  131. data/lib/oxidized/model/hpemsa.rb +2 -0
  132. data/lib/oxidized/model/hpmsm.rb +2 -0
  133. data/lib/oxidized/model/ibos.rb +2 -0
  134. data/lib/oxidized/model/icotera.rb +2 -0
  135. data/lib/oxidized/model/ios.rb +15 -10
  136. data/lib/oxidized/model/iosxe.rb +1 -1
  137. data/lib/oxidized/model/iosxr.rb +2 -0
  138. data/lib/oxidized/model/ipos.rb +2 -0
  139. data/lib/oxidized/model/ironware.rb +10 -4
  140. data/lib/oxidized/model/isam.rb +2 -0
  141. data/lib/oxidized/model/junos.rb +7 -1
  142. data/lib/oxidized/model/lancom.rb +25 -0
  143. data/lib/oxidized/model/lenovonos.rb +84 -0
  144. data/lib/oxidized/model/linksyssrw.rb +73 -0
  145. data/lib/oxidized/model/linuxgeneric.rb +2 -0
  146. data/lib/oxidized/model/masteros.rb +2 -0
  147. data/lib/oxidized/model/mlnxos.rb +4 -0
  148. data/lib/oxidized/model/model.rb +35 -8
  149. data/lib/oxidized/model/mtrlrfs.rb +2 -0
  150. data/lib/oxidized/model/ndms.rb +3 -1
  151. data/lib/oxidized/model/necix.rb +32 -0
  152. data/lib/oxidized/model/netgear.rb +7 -2
  153. data/lib/oxidized/model/netonix.rb +2 -0
  154. data/lib/oxidized/model/netscaler.rb +40 -1
  155. data/lib/oxidized/model/nodegrid.rb +25 -0
  156. data/lib/oxidized/model/nos.rb +2 -0
  157. data/lib/oxidized/model/nsxconfig.rb +2 -0
  158. data/lib/oxidized/model/nsxfirewall.rb +2 -0
  159. data/lib/oxidized/model/nxos.rb +5 -2
  160. data/lib/oxidized/model/oneos.rb +2 -0
  161. data/lib/oxidized/model/openbsd.rb +11 -0
  162. data/lib/oxidized/model/opengear.rb +3 -1
  163. data/lib/oxidized/model/openwrt.rb +2 -0
  164. data/lib/oxidized/model/opnsense.rb +14 -4
  165. data/lib/oxidized/model/os10.rb +2 -0
  166. data/lib/oxidized/model/outputs.rb +2 -0
  167. data/lib/oxidized/model/panos.rb +2 -0
  168. data/lib/oxidized/model/panos_api.rb +73 -0
  169. data/lib/oxidized/model/pfsense.rb +14 -7
  170. data/lib/oxidized/model/planet.rb +2 -0
  171. data/lib/oxidized/model/powerconnect.rb +3 -3
  172. data/lib/oxidized/model/procurve.rb +4 -2
  173. data/lib/oxidized/model/purityos.rb +10 -1
  174. data/lib/oxidized/model/qtech.rb +2 -0
  175. data/lib/oxidized/model/quantaos.rb +3 -5
  176. data/lib/oxidized/model/raisecom.rb +2 -0
  177. data/lib/oxidized/model/routeros.rb +17 -2
  178. data/lib/oxidized/model/saos.rb +2 -0
  179. data/lib/oxidized/model/screenos.rb +2 -0
  180. data/lib/oxidized/model/sgos.rb +2 -0
  181. data/lib/oxidized/model/siklu.rb +2 -0
  182. data/lib/oxidized/model/slxos.rb +3 -0
  183. data/lib/oxidized/model/smartax.rb +2 -0
  184. data/lib/oxidized/model/smartcs.rb +42 -0
  185. data/lib/oxidized/model/sonicos.rb +11 -1
  186. data/lib/oxidized/model/speedtouch.rb +2 -0
  187. data/lib/oxidized/model/sros.rb +3 -1
  188. data/lib/oxidized/model/srosmd.rb +99 -0
  189. data/lib/oxidized/model/stoneos.rb +8 -2
  190. data/lib/oxidized/model/supermicro.rb +1 -1
  191. data/lib/oxidized/model/swos.rb +11 -0
  192. data/lib/oxidized/model/tdre.rb +2 -0
  193. data/lib/oxidized/model/telco.rb +2 -0
  194. data/lib/oxidized/model/timos.rb +1 -1
  195. data/lib/oxidized/model/tmos.rb +5 -2
  196. data/lib/oxidized/model/tplink.rb +4 -0
  197. data/lib/oxidized/model/trango.rb +13 -11
  198. data/lib/oxidized/model/truenas.rb +22 -0
  199. data/lib/oxidized/model/ucs.rb +2 -0
  200. data/lib/oxidized/model/viptela.rb +2 -0
  201. data/lib/oxidized/model/voltaire.rb +2 -0
  202. data/lib/oxidized/model/voss.rb +2 -0
  203. data/lib/oxidized/model/vrp.rb +3 -1
  204. data/lib/oxidized/model/vyatta.rb +2 -0
  205. data/lib/oxidized/model/weos.rb +2 -0
  206. data/lib/oxidized/model/xos.rb +6 -3
  207. data/lib/oxidized/model/yamaha.rb +59 -0
  208. data/lib/oxidized/model/zhoneolt.rb +2 -0
  209. data/lib/oxidized/model/zteolt.rb +54 -0
  210. data/lib/oxidized/model/zy1308.rb +13 -0
  211. data/lib/oxidized/model/zynos.rb +2 -0
  212. data/lib/oxidized/model/zynoscli.rb +2 -0
  213. data/lib/oxidized/model/zynosgs.rb +2 -0
  214. data/lib/oxidized/node/stats.rb +1 -0
  215. data/lib/oxidized/node.rb +16 -11
  216. data/lib/oxidized/nodes.rb +7 -6
  217. data/lib/oxidized/output/file.rb +2 -1
  218. data/lib/oxidized/output/git.rb +5 -3
  219. data/lib/oxidized/output/gitcrypt.rb +5 -8
  220. data/lib/oxidized/output/http.rb +2 -0
  221. data/lib/oxidized/source/csv.rb +1 -0
  222. data/lib/oxidized/source/http.rb +4 -0
  223. data/lib/oxidized/source/source.rb +7 -2
  224. data/lib/oxidized/source/sql.rb +15 -5
  225. data/lib/oxidized/version.rb +2 -2
  226. data/lib/oxidized/worker.rb +5 -5
  227. data/lib/oxidized.rb +1 -1
  228. data/lib/refinements.rb +43 -0
  229. data/oxidized.gemspec +22 -16
  230. metadata +120 -31
  231. data/.github/no-response.yml +0 -13
  232. data/.travis.yml +0 -10
  233. data/lib/oxidized/string.rb +0 -36
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oxidized
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.28.0
4
+ version: 0.29.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Saku Ytti
8
8
  - Samer Abdel-Hafez
9
9
  - Anton Aksola
10
- autorequire:
10
+ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2020-05-18 00:00:00.000000000 Z
13
+ date: 2023-04-24 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: asetus
@@ -60,14 +60,14 @@ dependencies:
60
60
  requirements:
61
61
  - - "~>"
62
62
  - !ruby/object:Gem::Version
63
- version: '5'
63
+ version: '7.1'
64
64
  type: :runtime
65
65
  prerelease: false
66
66
  version_requirements: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - "~>"
69
69
  - !ruby/object:Gem::Version
70
- version: '5'
70
+ version: '7.1'
71
71
  - !ruby/object:Gem::Dependency
72
72
  name: net-telnet
73
73
  requirement: !ruby/object:Gem::Requirement
@@ -88,14 +88,14 @@ dependencies:
88
88
  requirements:
89
89
  - - "~>"
90
90
  - !ruby/object:Gem::Version
91
- version: 0.28.0
91
+ version: '1.6'
92
92
  type: :runtime
93
93
  prerelease: false
94
94
  version_requirements: !ruby/object:Gem::Requirement
95
95
  requirements:
96
96
  - - "~>"
97
97
  - !ruby/object:Gem::Version
98
- version: 0.28.0
98
+ version: '1.6'
99
99
  - !ruby/object:Gem::Dependency
100
100
  name: slop
101
101
  requirement: !ruby/object:Gem::Requirement
@@ -116,14 +116,14 @@ dependencies:
116
116
  requirements:
117
117
  - - "~>"
118
118
  - !ruby/object:Gem::Version
119
- version: '2.0'
119
+ version: '2.2'
120
120
  type: :development
121
121
  prerelease: false
122
122
  version_requirements: !ruby/object:Gem::Requirement
123
123
  requirements:
124
124
  - - "~>"
125
125
  - !ruby/object:Gem::Version
126
- version: '2.0'
126
+ version: '2.2'
127
127
  - !ruby/object:Gem::Dependency
128
128
  name: git
129
129
  requirement: !ruby/object:Gem::Requirement
@@ -144,84 +144,140 @@ dependencies:
144
144
  requirements:
145
145
  - - "~>"
146
146
  - !ruby/object:Gem::Version
147
- version: '5.8'
147
+ version: '5.18'
148
148
  type: :development
149
149
  prerelease: false
150
150
  version_requirements: !ruby/object:Gem::Requirement
151
151
  requirements:
152
152
  - - "~>"
153
153
  - !ruby/object:Gem::Version
154
- version: '5.8'
154
+ version: '5.18'
155
155
  - !ruby/object:Gem::Dependency
156
156
  name: mocha
157
157
  requirement: !ruby/object:Gem::Requirement
158
158
  requirements:
159
159
  - - "~>"
160
160
  - !ruby/object:Gem::Version
161
- version: '1.1'
161
+ version: '1.2'
162
162
  type: :development
163
163
  prerelease: false
164
164
  version_requirements: !ruby/object:Gem::Requirement
165
165
  requirements:
166
166
  - - "~>"
167
167
  - !ruby/object:Gem::Version
168
- version: '1.1'
168
+ version: '1.2'
169
169
  - !ruby/object:Gem::Dependency
170
170
  name: pry
171
171
  requirement: !ruby/object:Gem::Requirement
172
172
  requirements:
173
173
  - - "~>"
174
174
  - !ruby/object:Gem::Version
175
- version: '0'
175
+ version: 0.14.2
176
176
  type: :development
177
177
  prerelease: false
178
178
  version_requirements: !ruby/object:Gem::Requirement
179
179
  requirements:
180
180
  - - "~>"
181
181
  - !ruby/object:Gem::Version
182
- version: '0'
182
+ version: 0.14.2
183
183
  - !ruby/object:Gem::Dependency
184
184
  name: rake
185
185
  requirement: !ruby/object:Gem::Requirement
186
186
  requirements:
187
187
  - - "~>"
188
188
  - !ruby/object:Gem::Version
189
- version: '10.0'
189
+ version: '13.0'
190
190
  type: :development
191
191
  prerelease: false
192
192
  version_requirements: !ruby/object:Gem::Requirement
193
193
  requirements:
194
194
  - - "~>"
195
195
  - !ruby/object:Gem::Version
196
- version: '10.0'
196
+ version: '13.0'
197
197
  - !ruby/object:Gem::Dependency
198
198
  name: rubocop
199
199
  requirement: !ruby/object:Gem::Requirement
200
200
  requirements:
201
201
  - - "~>"
202
202
  - !ruby/object:Gem::Version
203
- version: 0.80.0
203
+ version: 1.48.0
204
+ type: :development
205
+ prerelease: false
206
+ version_requirements: !ruby/object:Gem::Requirement
207
+ requirements:
208
+ - - "~>"
209
+ - !ruby/object:Gem::Version
210
+ version: 1.48.0
211
+ - !ruby/object:Gem::Dependency
212
+ name: rubocop-minitest
213
+ requirement: !ruby/object:Gem::Requirement
214
+ requirements:
215
+ - - "~>"
216
+ - !ruby/object:Gem::Version
217
+ version: 0.29.0
218
+ type: :development
219
+ prerelease: false
220
+ version_requirements: !ruby/object:Gem::Requirement
221
+ requirements:
222
+ - - "~>"
223
+ - !ruby/object:Gem::Version
224
+ version: 0.29.0
225
+ - !ruby/object:Gem::Dependency
226
+ name: rubocop-rake
227
+ requirement: !ruby/object:Gem::Requirement
228
+ requirements:
229
+ - - "~>"
230
+ - !ruby/object:Gem::Version
231
+ version: 0.6.0
204
232
  type: :development
205
233
  prerelease: false
206
234
  version_requirements: !ruby/object:Gem::Requirement
207
235
  requirements:
208
236
  - - "~>"
209
237
  - !ruby/object:Gem::Version
210
- version: 0.80.0
238
+ version: 0.6.0
211
239
  - !ruby/object:Gem::Dependency
212
240
  name: simplecov
213
241
  requirement: !ruby/object:Gem::Requirement
214
242
  requirements:
215
- - - ">="
243
+ - - "~>"
244
+ - !ruby/object:Gem::Version
245
+ version: 0.22.0
246
+ type: :development
247
+ prerelease: false
248
+ version_requirements: !ruby/object:Gem::Requirement
249
+ requirements:
250
+ - - "~>"
251
+ - !ruby/object:Gem::Version
252
+ version: 0.22.0
253
+ - !ruby/object:Gem::Dependency
254
+ name: simplecov-cobertura
255
+ requirement: !ruby/object:Gem::Requirement
256
+ requirements:
257
+ - - "~>"
216
258
  - !ruby/object:Gem::Version
217
- version: '0'
259
+ version: 2.1.0
218
260
  type: :development
219
261
  prerelease: false
220
262
  version_requirements: !ruby/object:Gem::Requirement
221
263
  requirements:
222
- - - ">="
264
+ - - "~>"
265
+ - !ruby/object:Gem::Version
266
+ version: 2.1.0
267
+ - !ruby/object:Gem::Dependency
268
+ name: simplecov-html
269
+ requirement: !ruby/object:Gem::Requirement
270
+ requirements:
271
+ - - "~>"
272
+ - !ruby/object:Gem::Version
273
+ version: 0.12.3
274
+ type: :development
275
+ prerelease: false
276
+ version_requirements: !ruby/object:Gem::Requirement
277
+ requirements:
278
+ - - "~>"
223
279
  - !ruby/object:Gem::Version
224
- version: '0'
280
+ version: 0.12.3
225
281
  description: software to fetch configuration from network devices and store them
226
282
  email:
227
283
  - saku@ytti.fi
@@ -234,12 +290,14 @@ extra_rdoc_files: []
234
290
  files:
235
291
  - ".codeclimate.yml"
236
292
  - ".github/PULL_REQUEST_TEMPLATE.md"
237
- - ".github/no-response.yml"
293
+ - ".github/dependabot.yml"
294
+ - ".github/workflows/codeql.yml"
238
295
  - ".github/workflows/publishdocker.yml"
296
+ - ".github/workflows/ruby.yml"
297
+ - ".github/workflows/stale.yml"
239
298
  - ".gitignore"
240
299
  - ".rubocop.yml"
241
300
  - ".rubocop_todo.yml"
242
- - ".travis.yml"
243
301
  - CHANGELOG.md
244
302
  - Dockerfile
245
303
  - Gemfile
@@ -252,6 +310,7 @@ files:
252
310
  - docs/Configuration.md
253
311
  - docs/Creating-Models.md
254
312
  - docs/Hooks.md
313
+ - docs/Model-Notes/ADVA.md
255
314
  - docs/Model-Notes/AireOS.md
256
315
  - docs/Model-Notes/ArbOS.md
257
316
  - docs/Model-Notes/Comware.md
@@ -259,9 +318,13 @@ files:
259
318
  - docs/Model-Notes/EOS.md
260
319
  - docs/Model-Notes/IOS.md
261
320
  - docs/Model-Notes/JunOS.md
321
+ - docs/Model-Notes/LenovoNOS.md
322
+ - docs/Model-Notes/LinksysSRW.md
262
323
  - docs/Model-Notes/LinuxGeneric.md
263
324
  - docs/Model-Notes/Netgear.md
264
325
  - docs/Model-Notes/Nokia.md
326
+ - docs/Model-Notes/OS10.md
327
+ - docs/Model-Notes/PanOS_API.md
265
328
  - docs/Model-Notes/README.md
266
329
  - docs/Model-Notes/SmartAX-Huawei.md
267
330
  - docs/Model-Notes/VRP-Huawei.md
@@ -273,6 +336,7 @@ files:
273
336
  - docs/Supported-OS-Types.md
274
337
  - docs/Troubleshooting.md
275
338
  - extra/auto-reload-config.runit
339
+ - extra/gitdiff-msteams.sh
276
340
  - extra/nagios_check_failing_nodes.rb
277
341
  - extra/oxidized-report-git-commits
278
342
  - extra/oxidized-ubuntu.haproxy
@@ -313,9 +377,11 @@ files:
313
377
  - lib/oxidized/job.rb
314
378
  - lib/oxidized/jobs.rb
315
379
  - lib/oxidized/manager.rb
380
+ - lib/oxidized/model/acmepacket.rb
316
381
  - lib/oxidized/model/acos.rb
317
382
  - lib/oxidized/model/acsw.rb
318
383
  - lib/oxidized/model/adtran.rb
384
+ - lib/oxidized/model/adva.rb
319
385
  - lib/oxidized/model/aen.rb
320
386
  - lib/oxidized/model/aireos.rb
321
387
  - lib/oxidized/model/airfiber.rb
@@ -324,6 +390,7 @@ files:
324
390
  - lib/oxidized/model/alvarion.rb
325
391
  - lib/oxidized/model/aos.rb
326
392
  - lib/oxidized/model/aos7.rb
393
+ - lib/oxidized/model/aoscx.rb
327
394
  - lib/oxidized/model/aosw.rb
328
395
  - lib/oxidized/model/apc_aos.rb
329
396
  - lib/oxidized/model/arbos.rb
@@ -334,12 +401,15 @@ files:
334
401
  - lib/oxidized/model/audiocodesmp.rb
335
402
  - lib/oxidized/model/awplus.rb
336
403
  - lib/oxidized/model/axos.rb
404
+ - lib/oxidized/model/bdcom.rb
337
405
  - lib/oxidized/model/boss.rb
338
406
  - lib/oxidized/model/br6910.rb
339
407
  - lib/oxidized/model/c4cmts.rb
340
408
  - lib/oxidized/model/cambium.rb
409
+ - lib/oxidized/model/cambiumepmp.rb
341
410
  - lib/oxidized/model/casa.rb
342
411
  - lib/oxidized/model/catos.rb
412
+ - lib/oxidized/model/ciscoce.rb
343
413
  - lib/oxidized/model/cisconga.rb
344
414
  - lib/oxidized/model/ciscosma.rb
345
415
  - lib/oxidized/model/ciscosmb.rb
@@ -361,7 +431,9 @@ files:
361
431
  - lib/oxidized/model/edgecos.rb
362
432
  - lib/oxidized/model/edgeos.rb
363
433
  - lib/oxidized/model/edgeswitch.rb
434
+ - lib/oxidized/model/eltex.rb
364
435
  - lib/oxidized/model/enterasys.rb
436
+ - lib/oxidized/model/enterasys800.rb
365
437
  - lib/oxidized/model/eos.rb
366
438
  - lib/oxidized/model/fabricos.rb
367
439
  - lib/oxidized/model/fastiron.rb
@@ -370,12 +442,15 @@ files:
370
442
  - lib/oxidized/model/firelinuxos.rb
371
443
  - lib/oxidized/model/firewareos.rb
372
444
  - lib/oxidized/model/fortios.rb
445
+ - lib/oxidized/model/fortiwlc.rb
373
446
  - lib/oxidized/model/ftos.rb
374
447
  - lib/oxidized/model/fujitsupy.rb
375
448
  - lib/oxidized/model/gaiaos.rb
376
449
  - lib/oxidized/model/gcombnps.rb
377
450
  - lib/oxidized/model/grandstream.rb
451
+ - lib/oxidized/model/h3c.rb
378
452
  - lib/oxidized/model/hatteras.rb
453
+ - lib/oxidized/model/hios.rb
379
454
  - lib/oxidized/model/hirschmann.rb
380
455
  - lib/oxidized/model/hpebladesystem.rb
381
456
  - lib/oxidized/model/hpemsa.rb
@@ -389,15 +464,20 @@ files:
389
464
  - lib/oxidized/model/ironware.rb
390
465
  - lib/oxidized/model/isam.rb
391
466
  - lib/oxidized/model/junos.rb
467
+ - lib/oxidized/model/lancom.rb
468
+ - lib/oxidized/model/lenovonos.rb
469
+ - lib/oxidized/model/linksyssrw.rb
392
470
  - lib/oxidized/model/linuxgeneric.rb
393
471
  - lib/oxidized/model/masteros.rb
394
472
  - lib/oxidized/model/mlnxos.rb
395
473
  - lib/oxidized/model/model.rb
396
474
  - lib/oxidized/model/mtrlrfs.rb
397
475
  - lib/oxidized/model/ndms.rb
476
+ - lib/oxidized/model/necix.rb
398
477
  - lib/oxidized/model/netgear.rb
399
478
  - lib/oxidized/model/netonix.rb
400
479
  - lib/oxidized/model/netscaler.rb
480
+ - lib/oxidized/model/nodegrid.rb
401
481
  - lib/oxidized/model/nos.rb
402
482
  - lib/oxidized/model/nsxconfig.rb
403
483
  - lib/oxidized/model/nsxfirewall.rb
@@ -410,6 +490,7 @@ files:
410
490
  - lib/oxidized/model/os10.rb
411
491
  - lib/oxidized/model/outputs.rb
412
492
  - lib/oxidized/model/panos.rb
493
+ - lib/oxidized/model/panos_api.rb
413
494
  - lib/oxidized/model/pfsense.rb
414
495
  - lib/oxidized/model/planet.rb
415
496
  - lib/oxidized/model/powerconnect.rb
@@ -425,17 +506,21 @@ files:
425
506
  - lib/oxidized/model/siklu.rb
426
507
  - lib/oxidized/model/slxos.rb
427
508
  - lib/oxidized/model/smartax.rb
509
+ - lib/oxidized/model/smartcs.rb
428
510
  - lib/oxidized/model/sonicos.rb
429
511
  - lib/oxidized/model/speedtouch.rb
430
512
  - lib/oxidized/model/sros.rb
513
+ - lib/oxidized/model/srosmd.rb
431
514
  - lib/oxidized/model/stoneos.rb
432
515
  - lib/oxidized/model/supermicro.rb
516
+ - lib/oxidized/model/swos.rb
433
517
  - lib/oxidized/model/tdre.rb
434
518
  - lib/oxidized/model/telco.rb
435
519
  - lib/oxidized/model/timos.rb
436
520
  - lib/oxidized/model/tmos.rb
437
521
  - lib/oxidized/model/tplink.rb
438
522
  - lib/oxidized/model/trango.rb
523
+ - lib/oxidized/model/truenas.rb
439
524
  - lib/oxidized/model/ucs.rb
440
525
  - lib/oxidized/model/viptela.rb
441
526
  - lib/oxidized/model/voltaire.rb
@@ -444,7 +529,10 @@ files:
444
529
  - lib/oxidized/model/vyatta.rb
445
530
  - lib/oxidized/model/weos.rb
446
531
  - lib/oxidized/model/xos.rb
532
+ - lib/oxidized/model/yamaha.rb
447
533
  - lib/oxidized/model/zhoneolt.rb
534
+ - lib/oxidized/model/zteolt.rb
535
+ - lib/oxidized/model/zy1308.rb
448
536
  - lib/oxidized/model/zynos.rb
449
537
  - lib/oxidized/model/zynoscli.rb
450
538
  - lib/oxidized/model/zynosgs.rb
@@ -460,15 +548,16 @@ files:
460
548
  - lib/oxidized/source/http.rb
461
549
  - lib/oxidized/source/source.rb
462
550
  - lib/oxidized/source/sql.rb
463
- - lib/oxidized/string.rb
464
551
  - lib/oxidized/version.rb
465
552
  - lib/oxidized/worker.rb
553
+ - lib/refinements.rb
466
554
  - oxidized.gemspec
467
555
  homepage: http://github.com/ytti/oxidized
468
556
  licenses:
469
557
  - Apache-2.0
470
- metadata: {}
471
- post_install_message:
558
+ metadata:
559
+ rubygems_mfa_required: 'true'
560
+ post_install_message:
472
561
  rdoc_options: []
473
562
  require_paths:
474
563
  - lib
@@ -476,15 +565,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
476
565
  requirements:
477
566
  - - ">="
478
567
  - !ruby/object:Gem::Version
479
- version: '2.3'
568
+ version: '3.0'
480
569
  required_rubygems_version: !ruby/object:Gem::Requirement
481
570
  requirements:
482
571
  - - ">="
483
572
  - !ruby/object:Gem::Version
484
573
  version: '0'
485
574
  requirements: []
486
- rubygems_version: 3.1.3
487
- signing_key:
575
+ rubygems_version: 3.4.10
576
+ signing_key:
488
577
  specification_version: 4
489
578
  summary: feeble attempt at rancid
490
579
  test_files: []
@@ -1,13 +0,0 @@
1
- # Configuration for probot-no-response - https://github.com/probot/no-response
2
-
3
- # Number of days of inactivity before an Issue is closed for lack of response
4
- daysUntilClose: 21
5
- # Label requiring a response
6
- responseRequiredLabel: user_pending
7
- # Comment to post when closing an Issue for lack of response. Set to `false` to disable
8
- closeComment: >
9
- This issue has been automatically closed because there has been no response
10
- to our request for more information from the original author. The information
11
- that is currently in the issue is insufficient to take further action.
12
- Feel free to re-open this issue if additional information becomes available,
13
- or if you believe it has been closed in error.
data/.travis.yml DELETED
@@ -1,10 +0,0 @@
1
- language: ruby
2
- sudo: false
3
- cache: bundler
4
- before_install:
5
- - gem install bundler
6
- rvm:
7
- - 2.3
8
- - 2.4
9
- - 2.5
10
- - 2.6
@@ -1,36 +0,0 @@
1
- module Oxidized
2
- # Used in models, contains convenience methods
3
- class String < String
4
- attr_accessor :type, :cmd, :name
5
-
6
- # @return [Oxidized::String] copy of self with last line removed
7
- def cut_tail(lines = 1)
8
- Oxidized::String.new each_line.to_a[0..-1 - lines].join
9
- end
10
-
11
- # @return [Oxidized::String] copy of self with first line removed
12
- def cut_head(lines = 1)
13
- Oxidized::String.new each_line.to_a[lines..-1].join
14
- end
15
-
16
- # @return [Oxidized::String] copy of self with first and last lines removed
17
- def cut_both(head = 1, tail = 1)
18
- Oxidized::String.new each_line.to_a[head..-1 - tail].join
19
- end
20
-
21
- # sets @cmd and @name unless @name is already set
22
- def set_cmd(command)
23
- @cmd = command
24
- @name ||= @cmd.to_s.strip.gsub(/\s+/, '_') # what to do when command is proc? #to_s seems ghetto
25
- end
26
-
27
- def initialize(str = '')
28
- super
29
- return unless str.class == Oxidized::String
30
-
31
- @cmd = str.cmd
32
- @name = str.name
33
- @type = str.type
34
- end
35
- end
36
- end