Difference between revisions of "GlanceUsageNotifications"
Line 26: | Line 26: | ||
* '''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 | ||
− | * ''' | + | * '''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''': |
Revision as of 19:45, 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
- 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: