Changes between Version 22 and Version 23 of Internal/NewNodeAgent


Ignore:
Timestamp:
Feb 24, 2015, 12:32:37 AM (10 years ago)
Author:
ssugrim
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/NewNodeAgent

    v22 v23  
    247247[[Image(HwDiscover - New Page.png​​, 700px)]]
    248248----
    249 12/19/2015
     2492/19/2015
    250250
    251251Tow major discrepencaies were discovered when during the last expirement run.
     
    274274 * Passive:
    275275  * configure
    276 
     276----
     2772/23/2015
     278
     279There is a logical loop that could potentially happen. The issue is that settings have to be applied in order. If  several settings are stored before the call to connect goes out, there may be a loop introduced by calling configure from connect. The solution is build a new function called by both configure and connect called apply_config. It will check the config and impose and ordering on the properties (stored in an ordered has).
     280
     281Configure should have the following logic:
     282
     283if connected:
     284   disconnect
     285   connect
     286
     287Where connect does:
     288
     289apply_config
     290connect
     291
     292apply_config should maintain an the order of the settings. (maybe connect can / should do this)