Class | AutomateIt::AddressManager::SunOS |
In: |
lib/automateit/address_manager/sunos.rb
|
Parent: | AutomateIt::AddressManager::BaseDriver |
A SunOS-specific driver for the AddressManager provides complete support for querying, adding and removing addresses.
See AddressManager#add
# File lib/automateit/address_manager/sunos.rb, line 19 def add(opts) _add_helper(opts) do |opts| interpreter.sh("ifconfig %s plumb" % _interface_and_label(opts)) interpreter.sh(_ifconfig_helper(:add, opts)) end end