Module ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults kwarg body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad 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 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 FunctionDef arguments args NameParam NameParam NameParam defaults kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr 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 defaults kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Dict Str Str Expr Call AttributeLoad NameLoad attr 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 defaults kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr 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 NameParam defaults Num kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad 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 decorator_list
N/A rally consts rally.plugins.openstack scenario rally.plugins.openstack.scenarios.ceilometer utils ceiloutils rally.task validation CeilometerAlarms N/A N/A ceiloutils CeilometerScenario N/A N/A Benchmark scenarios for Ceilometer Alarms API. create_alarm N/A N/A self meter_name threshold N/A kwargs N/A N/A Create an alarm.

        This scenarios test POST /v2/alarms.
        meter_name and threshold are required parameters for alarm creation.
        kwargs stores other optional parameters like 'ok_actions',
        'project_id' etc that may be passed while creating an alarm.

        :param meter_name: specifies meter name of the alarm
        :param threshold: specifies alarm threshold
        :param kwargs: specifies optional arguments for alarm creation.
         N/A N/A N/A self _create_alarm meter_name threshold kwargs N/A N/A N/A validation required_services N/A N/A consts Service CEILOMETER N/A N/A validation required_openstack users True N/A N/A scenario configure context N/A cleanup N/A ceilometer list_alarms N/A N/A self N/A N/A N/A Fetch all alarms.

        This scenario fetches list of all alarms using GET /v2/alarms.
         N/A N/A N/A self _list_alarms N/A N/A N/A validation required_services N/A N/A consts Service CEILOMETER N/A N/A validation required_openstack users True N/A N/A scenario configure create_and_list_alarm N/A N/A self meter_name threshold N/A kwargs N/A N/A Create and get the newly created alarm.

        This scenarios test GET /v2/alarms/(alarm_id)
        Initially alarm is created and then the created alarm is fetched using
        its alarm_id. meter_name and threshold are required parameters
        for alarm creation. kwargs stores other optional parameters like
        'ok_actions', 'project_id' etc. that may be passed while creating
        an alarm.

        :param meter_name: specifies meter name of the alarm
        :param threshold: specifies alarm threshold
        :param kwargs: specifies optional arguments for alarm creation.
         N/A alarm N/A N/A self _create_alarm meter_name threshold kwargs N/A N/A N/A self _list_alarms N/A alarm alarm_id N/A N/A N/A validation required_services N/A N/A consts Service CEILOMETER N/A N/A validation required_openstack users True N/A N/A scenario configure context N/A cleanup N/A ceilometer create_and_update_alarm N/A N/A self meter_name threshold N/A kwargs N/A N/A Create and update the newly created alarm.

        This scenarios test PUT /v2/alarms/(alarm_id)
        Initially alarm is created and then the created alarm is updated using
        its alarm_id. meter_name and threshold are required parameters
        for alarm creation. kwargs stores other optional parameters like
        'ok_actions', 'project_id' etc that may be passed while alarm creation.

        :param meter_name: specifies meter name of the alarm
        :param threshold: specifies alarm threshold
        :param kwargs: specifies optional arguments for alarm creation.
         N/A alarm N/A N/A self _create_alarm meter_name threshold kwargs N/A alarm_dict_diff N/A description Changed Test Description N/A N/A N/A self _update_alarm N/A alarm alarm_id alarm_dict_diff N/A N/A N/A validation required_services N/A N/A consts Service CEILOMETER N/A N/A validation required_openstack users True N/A N/A scenario configure context N/A cleanup N/A ceilometer create_and_delete_alarm N/A N/A self meter_name threshold N/A kwargs N/A N/A Create and delete the newly created alarm.

        This scenarios test DELETE /v2/alarms/(alarm_id)
        Initially alarm is created and then the created alarm is deleted using
        its alarm_id. meter_name and threshold are required parameters
        for alarm creation. kwargs stores other optional parameters like
        'ok_actions', 'project_id' etc that may be passed while alarm creation.

        :param meter_name: specifies meter name of the alarm
        :param threshold: specifies alarm threshold
        :param kwargs: specifies optional arguments for alarm creation.
         N/A alarm N/A N/A self _create_alarm meter_name threshold kwargs N/A N/A N/A self _delete_alarm N/A alarm alarm_id N/A N/A N/A validation required_services N/A N/A consts Service CEILOMETER N/A N/A validation required_openstack users True N/A N/A scenario configure context N/A cleanup N/A ceilometer create_alarm_and_get_history N/A N/A self meter_name threshold state timeout N/A 60 kwargs N/A N/A Create an alarm, get and set the state and get the alarm history.

         This scenario makes following queries:
            GET /v2/alarms/{alarm_id}/history
            GET /v2/alarms/{alarm_id}/state
            PUT /v2/alarms/{alarm_id}/state
        Initially alarm is created and then get the state of the created alarm
        using its alarm_id. Then get the history of the alarm. And finally the
        state of the alarm is updated using given state. meter_name and
        threshold are required parameters for alarm creation. kwargs stores
        other optional parameters like 'ok_actions', 'project_id' etc that may
        be passed while alarm creation.

        :param meter_name: specifies meter name of the alarm
        :param threshold: specifies alarm threshold
        :param state: an alarm state to be set
        :param timeout: The number of seconds for which to attempt a
                        successful check of the alarm state
        :param kwargs: specifies optional arguments for alarm creation.
         N/A alarm N/A N/A self _create_alarm meter_name threshold kwargs N/A N/A N/A self _get_alarm_state N/A alarm alarm_id N/A N/A N/A self _get_alarm_history N/A alarm alarm_id N/A N/A N/A self _set_alarm_state alarm state timeout N/A N/A N/A validation required_services N/A N/A consts Service CEILOMETER N/A N/A validation required_openstack users True N/A N/A scenario configure context N/A cleanup N/A ceilometer N/A