Method: Rbeapi::Api::EthernetInterface#set_sflow
- Defined in:
- lib/rbeapi/api/interfaces.rb
#set_sflow(name, opts = {}) ⇒ Boolean
set_sflow configures the administrative state of sflow on the interface. Setting the enable keyword to true enables sflow on the interface and setting enable to false disables sflow on the interface. If the default keyword is set to true, then the sflow value is defaulted using the default keyword. The default keyword takes precedence over the enable keyword
675 676 677 678 |
# File 'lib/rbeapi/api/interfaces.rb', line 675 def set_sflow(name, opts = {}) commands = command_builder('sflow enable', opts) configure_interface(name, commands) end |