This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # MIB2YAML converts MIB files to YAML files for the Ruby SNMP library with support for imports | |
| # | |
| # The code is heavily based on http://snmplib.rubyforge.org/, the only addition is the "find imports" block | |
| # | |
| # modify for ruby 2.3.3p222 (2016-11-21) [x86_64-linux-gnu] | |
| # | |
| # apt-get install smitools | |
| require 'rubygems' | |
| require 'fileutils' |