def notify_about_volume_type_access_usage(context, volume_type_id, project_id, event_suffix, host=None):
 notifier_info = {'volume_type_id': volume_type_id, 'project_id': project_id}
 if (not host):
  host = CONF.host
 notifier = rpc.get_notifier('volume_type_project', host)
 notifier.info(context, ('volume_type_project.%s' % event_suffix), notifier_info)

def notify_about_volume_type_access_usage ( context , volume_type_id , project_id , event_suffix , host = None ) : notifier_info = { 'volume_type_id' : volume_type_id , 'project_id' : project_id } if ( not host ) : host = CONF . host notifier = rpc . get_notifier ( 'volume_type_project' , host ) notifier . info ( context , ( 'volume_type_project.%s' % event_suffix ) , notifier_info )
notify about successful usage type-access- command .