Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Completely rework the properties of netzones
authorMartin Quinson <martin.quinson@loria.fr>
Fri, 16 Dec 2016 08:15:24 +0000 (09:15 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Fri, 16 Dec 2016 16:18:49 +0000 (17:18 +0100)
commit55e3e5942266691da7914fc1e9fdc894a802a966
tree83d272dff421a93b7dfc9daa3d4a200417ef05d3
parent9a216a5d8f6778340084eb0aa79c46440c4cf3fd
Completely rework the properties of netzones

- This changes some MSG functions, but I doubt that any users really
  used them. Even if someone did, there is no real loss of
  functionnality. The only missing thing would be if someone wants to
  traverse the whole set, but I don't have no good idea here since the
  data is stored in a C++ container. It's hard to let C code traverse
  it. I could add a _dump() method to just display it.
- the change in the tesh file denotes an old bug that this change
  fixes. The name property was not defined in the cluster tag, but in
  the previous one in the XML, so it should not have landed in the
  properties of the cluster's hosts.
- the code in the XML to stack the dictionnaries for each AS is simply
  gone. The AS is created in the STag function, so simply retrieve it
  by name and use it when we need it. No need for an additional storage.
- surf_routing is almost gone, now \o/
22 files changed:
ChangeLog
examples/msg/platform-properties/platform-properties.tesh
include/simgrid/msg.h
include/simgrid/s4u/NetZone.hpp
include/simgrid/simix.h
include/surf/surf_routing.h
src/include/surf/surf.h
src/kernel/routing/NetZoneImpl.hpp
src/msg/msg_environment.cpp
src/msg/msg_gos.cpp
src/s4u/s4u_host.cpp
src/s4u/s4u_netzone.cpp
src/simix/libsmx.cpp
src/simix/popping_accessors.h
src/simix/popping_bodies.cpp
src/simix/popping_enum.h
src/simix/popping_generated.cpp
src/simix/simcalls.in
src/simix/smx_global.cpp
src/surf/surf_interface.cpp
src/surf/surf_routing.cpp
src/surf/xml/surfxml_sax_cb.cpp