Cleaned up code for dictionary-style access to simulator objects. Doing topo.sim['V1']=EP where EP already exists in the simulator results in a warning and the object not being added. Doing topo.sim['V1']=EP2 where topo.sim['V1'] already exists results in the EP already in topo.sim['V1'] being overwritten with EP2 (as for dictionaries). Simulator's _event_processors is now a dict rather than a list to make things simpler.
Cleaned up code for dictionary-style access to simulator objects. Doing topo.sim['V1']=EP where EP already exists in the simulator results in a warning and the object not being added. Doing topo.sim['V1']=EP2 where topo.sim['V1'] already exists results in the EP already in topo.sim['V1'] being overwritten with EP2 (as for dictionaries). Simulator's _event_processors is now a dict rather than a list to make things simpler.


ioam/svn-history,ioam/svn-history,ioam/svn-history,ioam/svn-history,ioam/svn-history