Swimlanes::Discovery ] } def self.start(device, step) kick_process = new(device, step) kick_process.start end def start STEPS[step].each do |action| action.perform(device) end self end end Friday, March 1, 13
run switch = FE::Switch.discover(device) mac = switch.mac_address. select { |m| m == device.mac_address }.first FE::MacAddress.update(mac, device) end end Friday, March 1, 13