Jump to: navigation, search

Difference between revisions of "GlanceUsageNotifications"

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

Revision as of 14:25, 17 November 2011

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: