Method: Rbeapi::Api::BaseInterface#create
- Defined in:
- lib/rbeapi/api/interfaces.rb
#create(value) ⇒ Boolean
create will create a new interface resource in the node’s current configuration with the specified interface name. If the create method is called and the interface already exists, this method will return successful.
280 281 282 |
# File 'lib/rbeapi/api/interfaces.rb', line 280 def create(value) configure("interface #{value}") end |