+
+ #
+ # register activity
+ #
+ # resource reservation
+ if (manifold_query.action.lower() == 'update') :
+ logger.debug(result['value'][0])
+ if 'resource' in result['value'][0] :
+ for resource in result['value'][0]['resource'] :
+ activity.slice.resource(request,
+ {
+ 'slice' : result['value'][0]['slice_hrn'],
+ 'resource' : resource['hostname'],
+ 'resource_type' : resource['type'],
+ 'facility' : resource['facility_name'],
+ 'testbed' : resource['testbed_name']
+ }
+ )
+