Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update the bypass example to the lastest DTD
[simgrid.git] / src / surf / network_private.h
index 8b4ee26..4cc3cf0 100644 (file)
 #include "xbt/dict.h"
 
 typedef struct network_link_CM02 {
-  surf_resource_t resource;    /* Any such object, added in a trace
+  surf_model_t model;  /* Any such object, added in a trace
                                   should start by this field!!! */
   /* Using this object with the public part of
-     resource does not make sense */
+     model does not make sense */
   char *name;
   double bw_current;
   tmgr_trace_event_t bw_event;
@@ -24,6 +24,8 @@ typedef struct network_link_CM02 {
   e_surf_network_link_state_t state_current;
   tmgr_trace_event_t state_event;
   lmm_constraint_t constraint;
+  /*holds the properties associated with a link*/
+  xbt_dict_t properties;
 } s_network_link_CM02_t, *network_link_CM02_t;