Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
* Cleanup the DTD by renaming:
authorquasar <quasar@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 26 Oct 2007 16:45:56 +0000 (16:45 +0000)
committerquasar <quasar@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 26 Oct 2007 16:45:56 +0000 (16:45 +0000)
commit504b4d20dd2db9ea1eaa9c4b390b2a412d7c9779
treedc3b1f9b3f3e3bef4c065c53899aa6130a209d22
parent97fad7c050587ca9dc0951b77d73e283b1dc9457
* Cleanup the DTD by renaming:
   <cpu> to <host>
   <network_link> to <link>
   <route_element> to <link:ctn>
   "name" attributes to "id"
* Modify the DTD to add properties to <process>, <host> and <link>
  In the DTD, these are <prop name=... value=...> subtags, and this
  can be retrieved as a xbt_dict from the source code (see below)
* Add the following functions to the user API to retrieve (as
  xbt_dict) the  properties defined in XML:
    xbt_dict_t SD_link_get_properties(SD_link_t link);
    const char* SD_link_get_property_value(SD_link_t l,char* name);
   and, on the same model,
    SD_workstation_get_{properties,property_value}()
    MSG_process_get_{properties,property_value}()
    MSG_host_get_{properties,property_value}()
    gras_process_get_{properties,property_value}()
    gras_os_host_get_{properties,property_value}()
* Modify the parser to work in one pass only.
  Some more work may be done so that surf does the parsing after the
  models have declared the callbacks.
* Enforce the order in the DTD: routes must come after the last CPU,
  router and link

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4876 48e7efb5-ca39-0410-a469-dd3cf9ba447f
39 files changed:
include/gras/process.h
include/gras/virtu.h
include/msg/msg.h
include/simdag/simdag.h
include/surf/surfxml.h
include/surf/surfxml_parse.h
src/gras/Virtu/rl_process.c
src/gras/Virtu/sg_process.c
src/gras/Virtu/virtu_private.h
src/gras/Virtu/virtu_sg.h
src/include/simix/datatypes.h
src/include/simix/simix.h
src/include/surf/surf.h
src/msg/global.c
src/msg/host.c
src/msg/m_process.c
src/msg/private.h
src/simdag/sd_link.c
src/simdag/sd_workstation.c
src/simix/private.h
src/simix/smx_deployment.c
src/simix/smx_global.c
src/simix/smx_host.c
src/simix/smx_process.c
src/surf/cpu.c
src/surf/cpu_private.h
src/surf/network.c
src/surf/network_gtnets.c
src/surf/network_gtnets_private.h
src/surf/network_private.h
src/surf/surf_private.h
src/surf/surfxml.c
src/surf/surfxml.dtd
src/surf/surfxml.l
src/surf/surfxml_parse.c
src/surf/workstation.c
src/surf/workstation_KCCFLN05.c
src/surf/workstation_ptask_L07.c
src/xbt/xbt_sg_synchro.c