p_osmt ,
cl_ntoh64(id[1]), /* IN ib_net64_t service_id, */
IB_DEFAULT_PKEY,/* IN ib_net16_t service_pkey, */
- cl_hton32(0x00000001), /* IN ib_net32_t service_lease, */
+<<<<<<< .mine
+ cl_hton32(0x00000005), /* IN ib_net32_t service_lease, */
+=======
+ cl_hton32(0x00000004), /* IN ib_net32_t service_lease, */
+>>>>>>> .r614
11, /* IN uint8_t service_key_lsb, */
(char*)service_name[1] /* IN char *service_name */
);
/* Let OpenSM handle it */
usleep(100);
-
+
+ osm_log( &p_osmt->log, OSM_LOG_ERROR,
+ "osmt_run_service_records_flow: Get 1\n");
status = osmt_get_service_by_name(p_osmt,
(char*)service_name[0],1, &srv_rec);
if (status != IB_SUCCESS)
goto Exit;
}
+ osm_log( &p_osmt->log, OSM_LOG_ERROR,
+ "osmt_run_service_records_flow: Get 2\n");
status = osmt_get_service_by_name(p_osmt,
(char*)service_name[1],1, &srv_rec);
if (status != IB_SUCCESS)
goto Exit;
}
+ osm_log( &p_osmt->log, OSM_LOG_ERROR,
+ "osmt_run_service_records_flow: Get 3\n");
status = osmt_get_service_by_name(p_osmt,
(char*)service_name[2],1, &srv_rec);
if (status != IB_SUCCESS)
}
/* Try to get osmt.srvc.4 b4 (there should be 1 records ) and after 10 sec - It should be deleted */
+ osm_log( &p_osmt->log, OSM_LOG_ERROR,
+ "osmt_run_service_records_flow: Get 4\n");
status = osmt_get_service_by_name(p_osmt,
(char*)service_name[3],1, &srv_rec);
if (status != IB_SUCCESS)
goto Exit;
}
sleep(10);
+ osm_log( &p_osmt->log, OSM_LOG_ERROR,
+ "osmt_run_service_records_flow: Get 5\n");
status = osmt_get_service_by_name(p_osmt,
(char*)service_name[3],0, &srv_rec);
if (status == IB_SUCCESS)
goto Exit;
}
/* Check that for the current Service ID only one record exists */
+ osm_log( &p_osmt->log, OSM_LOG_ERROR,
+ "osmt_run_service_records_flow: Get 6\n");
status = osmt_get_service_by_id(p_osmt, 1, cl_ntoh64(id[5]),&srv_rec);
if (status != IB_SUCCESS)
{