Jump to: navigation, search

Difference between revisions of "GlanceUsageNotifications"

m (Text replace - "__NOTOC__" to "")
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
__NOTOC__
+
 
 
= Glance Usage Notifications =
 
= Glance Usage Notifications =
  
Line 5: Line 5:
  
 
== Glance Notifications ==
 
== Glance Notifications ==
 
'''image.create''': generated upon the creation of an image.
 
 
* '''tenant_id''': Tenant ID that owns this image (string)
 
* '''user_id''': User ID that owns this image (string)
 
* '''image_id''': ID of the image (UUID)
 
* '''size''': Number of bytes in the image (integer)
 
* '''image_status''':
 
* '''image_url''': Canonical URL of the image
 
 
'''image.delete''': generated upon the deletion of an image.
 
 
* '''tenant_id''': Tenant ID that owns this image (string)
 
* '''user_id''': User ID that owns this image (string)
 
* '''image_id''': ID of the image (UUID)
 
  
 
'''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
 
'''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
Line 26: Line 11:
 
* '''user_id''': User 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_tenant_id''': The tenant ID of the account that is receiving the image
* '''received_user_id''': The user 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)
 
* '''image_id''': ID of the image (UUID)
 
* '''bytes_sent''':
 
* '''bytes_sent''':
 
* '''transmit_status''': should at least show success/failure state
 
* '''transmit_status''': should at least show success/failure state
 
* '''destination_ip''':
 
* '''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: