Jump to: navigation, search

Difference between revisions of "GlanceUsageNotifications"

 
m (Text replace - "__NOTOC__" to "")
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
__NOTOC__
+
 
 
= Glance Usage Notifications =
 
= Glance Usage Notifications =
  
Line 6: Line 6:
 
== Glance Notifications ==
 
== Glance Notifications ==
  
'''image.create''': generated upon the creation of an image.
+
'''image.send''': generated every time the image is transmitted. Generally, this will be created when the image is being used by compute (Nova) to create a new server
 
 
* '''tenant_id''':
 
* '''user_id''':
 
* '''image_id''':
 
* '''size''':
 
* '''status''':
 
 
 
'''image.delete''': generated upon the deletion of an image.
 
  
* '''tenant_id''':  
+
* '''tenant_id''': Tenant ID that owns this image (string)
* '''user_id''':
+
* '''user_id''': User ID that owns this image (string)
* '''image_id''':
+
* '''receiver_tenant_id''': The tenant ID of the account that is receiving the image
 +
* '''receiver_user_id''': The user ID of the account that is receiving the image
 +
* '''image_id''': ID of the image (UUID)
 +
* '''bytes_sent''':
 +
* '''transmit_status''': should at least show success/failure state
 +
* '''destination_ip''':

Latest revision as of 23:29, 17 February 2013

Glance Usage Notifications

Glance should produce RabbitMQ notifications in a manner and format that is compatible with those generated by OpenStack Compute (Nova).

Glance Notifications

image.send: generated every time the image is transmitted. Generally, this will be created when the image is being used by compute (Nova) to create a new server

  • tenant_id: Tenant ID that owns this image (string)
  • user_id: User ID that owns this image (string)
  • receiver_tenant_id: The tenant ID of the account that is receiving the image
  • receiver_user_id: The user ID of the account that is receiving the image
  • image_id: ID of the image (UUID)
  • bytes_sent:
  • transmit_status: should at least show success/failure state
  • destination_ip: