Method: Rbeapi::Api::EthernetInterface#set_flowcontrol_receive

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

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

set_flowcontrol_receive is a convenience function for configuring th e value of interface flowcontrol

Parameters:

  • :name (String)

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

  • :opts (Hash)

    optional keyword arguments

Returns:

  • (Boolean)

    returns true if the command completed successfully

See Also:



646
647
648
# File 'lib/rbeapi/api/interfaces.rb', line 646

def set_flowcontrol_receive(name, opts = {})
  set_flowcontrol(name, 'receive', opts)
end