- if(((((network_link_KCCFLN05_t)constraint_id)->type==
- SURF_WORKSTATION_RESOURCE_LINK) &&
- (((network_link_KCCFLN05_t)constraint_id)->state_current==
- SURF_NETWORK_LINK_OFF)) ||
- ((((cpu_KCCFLN05_t)constraint_id)->type==
- SURF_WORKSTATION_RESOURCE_CPU) &&
- (((cpu_KCCFLN05_t)constraint_id)->state_current==
- SURF_CPU_OFF))) {
+
+/* if(((network_link_KCCFLN05_t)constraint_id)->type== */
+/* SURF_WORKSTATION_RESOURCE_LINK) { */
+/* DEBUG2("Checking for link %s (%p)", */
+/* ((network_link_KCCFLN05_t)constraint_id)->name, */
+/* ((network_link_KCCFLN05_t)constraint_id)); */
+/* } */
+/* if(((cpu_KCCFLN05_t)constraint_id)->type== */
+/* SURF_WORKSTATION_RESOURCE_CPU) { */
+/* DEBUG3("Checking for cpu %s (%p) : %s", */
+/* ((cpu_KCCFLN05_t)constraint_id)->name, */
+/* ((cpu_KCCFLN05_t)constraint_id), */
+/* ((cpu_KCCFLN05_t)constraint_id)->state_current==SURF_CPU_OFF?"Off":"On"); */
+/* } */
+
+ if (((((network_link_KCCFLN05_t) constraint_id)->type ==
+ SURF_WORKSTATION_RESOURCE_LINK) &&
+ (((network_link_KCCFLN05_t) constraint_id)->state_current ==
+ SURF_NETWORK_LINK_OFF)) ||
+ ((((cpu_KCCFLN05_t) constraint_id)->type ==
+ SURF_WORKSTATION_RESOURCE_CPU) &&
+ (((cpu_KCCFLN05_t) constraint_id)->state_current ==
+ SURF_CPU_OFF))) {
+ DEBUG1("Action (%p) Failed!!", action);