lib/wire/commands/up_command_handler.rb
# bring ip resource up on device identified by
# +bridge_name+ and +host_ip+
# Returns
# - [Bool] true if hostip if up on bridge
bring ip resource up on device identified by
Returns
[Bool] true if hostip if up on bridge
bring ip resource up on device identified by Returns [ Bool ] true if hostip if up on bridge
def handle_hostip(bridge_name, hostip)
      hostip_resource = Wire::Resource::ResourceFactory
        .instance.create(:bridgeip, hostip, bridge_name)
      default_handle_resource(hostip_resource, :hostip,
                              "IP \'#{hostip}\' on bridge \'#{bridge_name}\'", :up)
    rescue => e
      $log.error "processing host ip: #{e}"
    end
def handle_hostip ( bridge_name , hostip ) hostip_resource = Wire :: Resource :: ResourceFactory . instance . create ( :bridgeip , hostip , bridge_name ) default_handle_resource ( hostip_resource , :hostip , "IP \'#{hostip}\' on bridge \'#{bridge_name}\'" , :up ) rescue => e $log . error "processing host ip: #{e}" end
bring ip resource up on device identified by
+bridge_name+ and +host_ip+
Returns
 [Bool] true if hostip if up on bridge
bring ip resource up on device identified by + bridge_name + and + host_ip + Returns [ Bool ] true if hostip if up on bridge
# we should have a bridge with that name.
bridge_name
<not_specific>
hostip
<not_specific>