Method: Rbeapi::Api::BaseInterface#set_load_interval

Defined in:
lib/rbeapi/api/interfaces.rb

#set_load_interval(name, opts = {}) ⇒ Boolean

set_load_interval is a convenience function for configuring the value of interface load-interval

values to. The name must be the full interface identifier.

load-interval setting for. Valid values are between 5 and 600.

the interface using the default keyword.

Options Hash (opts):

  • value (String)

    Specifies the value to configure the

  • default (Boolean)

    Configures the load-interval value on



435
436
437
438
# File 'lib/rbeapi/api/interfaces.rb', line 435

def set_load_interval(name, opts = {})
  commands = command_builder('load-interval', opts)
  configure_interface(name, commands)
end