Difference between revisions of "GlanceUsageNotifications"
Line 8: | Line 8: | ||
'''image.create''': generated upon the creation of an image. | '''image.create''': generated upon the creation 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''': | + | * '''image_id''': ID of the image (UUID) |
− | * '''size''': | + | * '''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. | '''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''': | + | * '''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 | ||
+ | |||
+ | * '''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 | ||
+ | * '''received_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''': |
Revision as of 19:44, 15 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.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
- 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
- received_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: