Module Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Dict Str NameLoad decorator_list Call AttributeLoad NameLoad attr TupleLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call NameLoad NameLoad TryExcept body If CompareIn Str NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Str orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Str handlers ExceptHandler type NameLoad body Assign NameStore BinOpMod Call NameLoad Str NameLoad Raise Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Return Dict Str NameLoad decorator_list Call AttributeLoad NameLoad attr Num FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr keyword NameLoad If CompareIs NameLoad NameLoad body Assign NameStore NameLoad If CompareIs NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameLoad NameLoad Assign NameStore Dict Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad Assign NameStore Call NameLoad GeneratorExp SubscriptLoad NameLoad Index Str comprehension NameStore NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Num Assign NameStore Num For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str If CompareEq SubscriptLoad NameLoad Index Str Str body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str If CompareEq SubscriptLoad NameLoad Index Str Str body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str AugAssignAdd NameStore SubscriptLoad NameLoad Index Str AugAssignAdd NameStore SubscriptLoad NameLoad Index Str Assign NameStore DictComp SubscriptLoad NameLoad Index Str Call NameLoad keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str comprehension NameStore NameLoad Assign NameStore BinOpSub NameLoad NameLoad Assign NameStore BinOpMod Str TupleLoad IfExp CompareEq Call NameLoad NameLoad Call NameLoad NameLoad Str BinOpMod Str TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad NameLoad Return Call NameLoad keyword Call NameLoad NameLoad keyword Call NameLoad NameLoad keyword Call NameLoad NameLoad keyword Call NameLoad NameLoad keyword Call NameLoad NameLoad keyword Call NameLoad NameLoad keyword Call NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Str Assign NameStore NameLoad Assign NameStore Num FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Call NameLoad Return ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return ListLoad decorator_list decorator_list
N/A N/A datetime N/A webob.exc nova.api.openstack extensions nova.api.openstack wsgi nova compute N/A nova.conf nova.i18n _ nova utils N/A CONF N/A N/A nova conf CONF N/A ALIAS os-instance-usage-audit-log N/A authorize N/A N/A extensions os_compute_authorizer ALIAS InstanceUsageAuditLogController N/A N/A wsgi Controller N/A __init__ N/A N/A self N/A N/A N/A N/A self host_api N/A N/A compute HostAPI N/A index N/A N/A self req N/A N/A N/A context N/A N/A req environ N/A nova.context N/A N/A authorize context N/A task_log N/A N/A self _get_audit_task_logs context N/A N/A instance_usage_audit_logs task_log N/A N/A N/A extensions expected_errors N/A show N/A N/A self req id N/A N/A N/A context N/A N/A req environ N/A nova.context N/A N/A authorize context N/A N/A N/A N/A . id N/A N/A before_date N/A N/A N/A datetime datetime strptime N/A str id %Y-%m-%d %H:%M:%S.%f N/A N/A before_date N/A N/A N/A datetime datetime strptime N/A str id %Y-%m-%d %H:%M:%S N/A N/A N/A ValueError N/A N/A msg N/A N/A _ Invalid timestamp for date %s id N/A N/A N/A N/A webob exc HTTPBadRequest explanation msg N/A task_log N/A N/A self _get_audit_task_logs context before before_date N/A N/A instance_usage_audit_log task_log N/A N/A N/A extensions expected_errors 400 _get_audit_task_logs N/A N/A self context begin end before N/A None None None N/A N/A Returns a full log for all instance usage audit tasks on all
           computes.

        :param begin: datetime beginning of audit period to get logs for,
            Defaults to the beginning of the most recently completed
            audit period prior to the 'before' date.
        :param end: datetime ending of audit period to get logs for,
            Defaults to the ending of the most recently completed
            audit period prior to the 'before' date.
        :param before: By default we look for the audit period most recently
            completed before this datetime. Has no effect if both begin and end
            are specified.
         N/A N/A defbegin defend N/A N/A utils last_completed_audit_period before before N/A N/A begin None N/A N/A begin defbegin N/A N/A end None N/A N/A end defend N/A task_logs N/A N/A N/A self host_api task_log_get_all context instance_usage_audit begin end N/A filters N/A topic N/A CONF compute_topic N/A services N/A N/A N/A self host_api service_get_all context filters filters N/A hosts N/A set N/A N/A serv N/A host N/A serv services N/A seen_hosts N/A set N/A done_hosts N/A set N/A running_hosts N/A set N/A total_errors 0 N/A total_items 0 N/A tlog task_logs N/A N/A N/A N/A seen_hosts add N/A tlog N/A host N/A N/A N/A tlog N/A state DONE N/A N/A N/A N/A done_hosts add N/A tlog N/A host N/A N/A N/A tlog N/A state RUNNING N/A N/A N/A N/A running_hosts add N/A tlog N/A host N/A total_errors N/A tlog N/A errors N/A total_items N/A tlog N/A task_items N/A log N/A N/A tl N/A host N/A dict state N/A tl N/A state instances N/A tl N/A task_items errors N/A tl N/A errors message N/A tl N/A message N/A tl task_logs N/A missing_hosts N/A hosts seen_hosts N/A overall_status N/A %s hosts done. %s errors. N/A N/A N/A N/A len done_hosts N/A len hosts ALL N/A %s of %s N/A N/A len done_hosts N/A len hosts total_errors N/A N/A dict period_beginning N/A str begin period_ending N/A str end num_hosts N/A len hosts num_hosts_done N/A len done_hosts num_hosts_running N/A len running_hosts num_hosts_not_run N/A len missing_hosts hosts_not_run N/A list missing_hosts total_instances total_items total_errors total_errors overall_status overall_status log log N/A N/A InstanceUsageAuditLog N/A N/A extensions V21APIExtensionBase N/A N/A Admin-only Task Log Monitoring. N/A name OSInstanceUsageAuditLog N/A alias ALIAS N/A version 1 get_resources N/A N/A self N/A N/A N/A ext N/A N/A extensions ResourceExtension os-instance_usage_audit_log N/A InstanceUsageAuditLogController N/A N/A ext N/A get_controller_extensions N/A N/A self N/A N/A N/A N/A N/A N/A