- !strcmp(val, "KCCFLN05_proportional") ||
- !strcmp(val, "KCCFLN05_Vegas") ||
- !strcmp(val, "KCCFLN05_Reno") ||
- !strcmp(val, "GTNETS"),
- "Unknown workstation model: %s (choices are: 'CLM03', 'KCCFLN05', 'KCCFLN05_proportional', 'KCCFLN05_Vegas', 'KCCFLN05_Reno' and 'GTNETS'",val);
+ !strcmp(val, "SDP") ||
+ !strcmp(val, "Vegas") ||
+ !strcmp(val, "Reno") ||
+ !strcmp(val, "GTNets") ||
+ !strcmp(val, "compound"),
+ "Unknown workstation model: %s (choices are: 'CLM03', 'KCCFLN05', 'SDP', 'Vegas', 'Reno', 'GTNets' and 'Compound'",val);
+}
+
+/* callback of the cpu_model variable */
+static void _simix_cfg_cb__cpu_model(const char *name, int pos)
+{
+ char *val;
+
+ xbt_assert0(_simix_init_status<2, "Cannot change the model after the initialization");
+
+ val = xbt_cfg_get_string (_simix_cfg_set, name);
+ /* New Module missing */
+ xbt_assert1(!strcmp(val, "Cas01"),
+ "Unknown CPU model: %s (choices are: 'Cas01'",val);
+}
+/* callback of the workstation_model variable */
+static void _simix_cfg_cb__network_model(const char *name, int pos)
+{
+ char *val;
+
+ xbt_assert0(_simix_init_status<2, "Cannot change the model after the initialization");
+
+ val = xbt_cfg_get_string (_simix_cfg_set, name);
+ /* New Module missing */
+ xbt_assert1(!strcmp(val, "CM02") ||
+ !strcmp(val, "GTNets") ||
+ !strcmp(val, "SDP") ||
+ !strcmp(val, "Vegas") ||
+ !strcmp(val, "Reno"),
+ "Unknown workstation model: %s (choices are: 'CM02', 'GTNets', 'SDP', 'Vegas' and 'Reno'",val);