Method: Odn#get_largest_block
- Defined in:
- lib/platform/stb/odn/odn.rb
#get_largest_block ⇒ Object
Public: get largest block data in the STB via snmp
Returns the largest block value
403 404 405 406 407 408 409 410 411 |
# File 'lib/platform/stb/odn/odn.rb', line 403 def get_largest_block() begin r = snmp_get(".1.3.6.1.4.1.4491.2.3.1.1.4.7.1.0") logger.info("largest_block=#{r}") r.to_i rescue StandardError => e 0 end end |