Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults kwarg body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr keyword Dict Str Str Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr keyword NameLoad Call AttributeLoad NameLoad attr keyword Dict Str ListLoad Str FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr keyword NameLoad Call AttributeLoad NameLoad attr keyword Dict Str ListLoad Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr keyword NameLoad Call AttributeLoad NameLoad attr keyword Dict Str ListLoad Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr keyword Dict Str Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr keyword NameLoad Call AttributeLoad NameLoad attr keyword Dict Str ListLoad Str Str decorator_list
N/A rally consts rally.plugins.openstack scenario rally.plugins.openstack.scenarios.glance utils rally.plugins.openstack.scenarios.nova utils nova_utils rally.task types rally.task validation GlanceImages N/A N/A utils GlanceScenario N/A nova_utils NovaScenario N/A N/A Benchmark scenarios for Glance images. create_and_list_image N/A N/A self container_format image_location disk_format N/A kwargs N/A N/A Create an image and then list all images.

        Measure the "glance image-list" command performance.

        If you have only 1 user in your context, you will
        add 1 image on every iteration. So you will have more
        and more images and will be able to measure the
        performance of the "glance image-list" command depending on
        the number of images owned by users.

        :param container_format: container format of image. Acceptable
                                 formats: ami, ari, aki, bare, and ovf
        :param image_location: image file location
        :param disk_format: disk format of image. Acceptable formats:
                            ami, ari, aki, vhd, vmdk, raw, qcow2, vdi, and iso
        :param kwargs: optional parameters to create image
         N/A N/A N/A self _create_image container_format image_location disk_format kwargs N/A N/A N/A self _list_images N/A N/A N/A types convert image_location N/A type path_or_url N/A N/A validation required_services N/A N/A consts Service GLANCE N/A N/A validation required_openstack users True N/A N/A scenario configure context N/A cleanup N/A glance list_images N/A N/A self N/A N/A N/A List all images.

        This simple scenario tests the glance image-list command by listing
        all the images.

        Suppose if we have 2 users in context and each has 2 images
        uploaded for them we will be able to test the performance of
        glance image-list command in this case.
         N/A N/A N/A self _list_images N/A N/A N/A validation required_services N/A N/A consts Service GLANCE N/A N/A validation required_openstack users True N/A N/A scenario configure context N/A cleanup N/A glance create_and_delete_image N/A N/A self container_format image_location disk_format N/A kwargs N/A N/A Create and then delete an image.

        :param container_format: container format of image. Acceptable
                                 formats: ami, ari, aki, bare, and ovf
        :param image_location: image file location
        :param disk_format: disk format of image. Acceptable formats:
                            ami, ari, aki, vhd, vmdk, raw, qcow2, vdi, and iso
        :param kwargs: optional parameters to create image
         N/A image N/A N/A self _create_image container_format image_location disk_format kwargs N/A N/A N/A self _delete_image image N/A N/A N/A validation required_services N/A N/A consts Service GLANCE N/A N/A validation required_openstack users True N/A N/A scenario configure context N/A cleanup N/A glance create_image_and_boot_instances N/A N/A self container_format image_location disk_format flavor number_instances N/A kwargs N/A N/A Create an image and boot several instances from it.

        :param container_format: container format of image. Acceptable
                                 formats: ami, ari, aki, bare, and ovf
        :param image_location: image file location
        :param disk_format: disk format of image. Acceptable formats:
                            ami, ari, aki, vhd, vmdk, raw, qcow2, vdi, and iso
        :param flavor: Nova flavor to be used to launch an instance
        :param number_instances: number of Nova servers to boot
        :param kwargs: optional parameters to create server
         N/A image N/A N/A self _create_image container_format image_location disk_format N/A image_id N/A image id N/A N/A N/A self _boot_servers image_id flavor number_instances kwargs N/A N/A N/A types convert flavor N/A type nova_flavor N/A N/A validation flavor_exists flavor N/A N/A validation required_services N/A N/A consts Service GLANCE N/A N/A consts Service NOVA N/A N/A validation required_openstack users True N/A N/A scenario configure context N/A cleanup N/A glance nova N/A