Method: Rbeapi::Api::BaseInterface#delete

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

#delete(value) ⇒ Boolean

delete will delete an existing interface resource in the node’s current configuration with the specified interface name. If the delete method is called and interface does not exist, this method will return successful.

Parameters:

  • value (String)

    The interface name to delete from the node. The interface name must be the full interface identifier (ie Loopback, no Lo).

Returns:

  • (Boolean)

    Returns true if the command completed successfully.

Since:

  • eos_version 4.13.7M



297
298
299
# File 'lib/rbeapi/api/interfaces.rb', line 297

def delete(value)
  configure("no interface #{value}")
end