Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Dict Str Num Dict Str Num Dict Str Num Dict Str Num Dict Str Num Dict Str Num Dict Str Str Str Num Num Num Dict Str Str Str Num Num Num Dict Str Str Str Num Num Num Dict Str Str Str Num Num Num If NameLoad body Expr Call AttributeLoad NameLoad attr Dict Str Str Str Dict Str Str Str Num Num Num Dict Str Str Str Num Num Num Dict Str Str Str Num Num Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListComp NameLoad comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr Str attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr attr ListLoad NameLoad NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad TupleLoad Str Str Str TupleLoad Str TupleLoad Str TupleLoad Str Str Str FunctionDef arguments args NameParam defaults body Assign NameStore ListComp NameLoad comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr Str attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr attr ListLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad Str Str Str TupleLoad Str TupleLoad Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr Str attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr attr ListLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr attr ListLoad ListLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Dict Str Str Str Str Dict Str Str Str Num Num Num Dict Str Str Str Num Num Num Dict Str Str Str Num Num Num Dict Str Str Str Num Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad Str Str Str TupleLoad Str TupleLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore NameLoad Index Str Num Assign NameStore ListComp NameLoad comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr attr ListLoad NameLoad NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Dict Str Dict Str Str Str Call NameLoad Str Num Call NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad TupleLoad Str Str Str TupleLoad Str TupleLoad Str TupleLoad Str Str Str decorator_list
N/A __future__ absolute_import django http mox IsA openstack_dashboard api openstack_dashboard.api cinder openstack_dashboard.test helpers test openstack_dashboard.usage quotas QuotaTests N/A N/A test APITestCase N/A get_usages N/A N/A self with_volume N/A True N/A N/A usages N/A injected_file_content_bytes metadata_items injected_files security_groups security_group_rules fixed_ips ram floating_ips instances cores N/A quota 1 N/A quota 1 N/A quota 1 N/A quota 10 N/A quota 20 N/A quota 10 N/A available used quota 8976 1024 10000 N/A available used quota 0 2 1 N/A available used quota 8 2 10 N/A available used quota 8 2 10 N/A with_volume N/A N/A N/A N/A usages update N/A volumes snapshots gigabytes N/A available used quota 0 3 1 N/A available used quota 0 3 1 N/A available used quota 920 80 1000 N/A usages N/A test_tenant_quota_usages N/A N/A self N/A N/A N/A servers N/A s N/A s N/A N/A N/A self servers list N/A N/A s tenant_id N/A N/A N/A self request user tenant_id N/A N/A N/A N/A N/A N/A api base is_service_enabled N/A IsA N/A http HttpRequest volume AndReturn True N/A N/A N/A N/A N/A N/A api base is_service_enabled N/A IsA N/A http HttpRequest network AndReturn False N/A N/A N/A N/A N/A N/A api nova flavor_list N/A IsA N/A http HttpRequest AndReturn N/A N/A N/A self flavors list N/A N/A N/A N/A N/A N/A api nova tenant_quota_get N/A IsA N/A http HttpRequest 1 AndReturn N/A N/A N/A self quotas first N/A N/A N/A N/A N/A N/A api network tenant_floating_ip_list N/A IsA N/A http HttpRequest AndReturn N/A N/A N/A self floating_ips list N/A N/A N/A N/A N/A N/A api nova server_list N/A IsA N/A http HttpRequest AndReturn N/A servers False N/A N/A N/A N/A N/A cinder volume_list N/A IsA N/A http HttpRequest AndReturn N/A N/A N/A self volumes list N/A N/A N/A N/A N/A cinder volume_snapshot_list N/A IsA N/A http HttpRequest AndReturn N/A N/A N/A self snapshots list N/A N/A N/A N/A N/A cinder tenant_quota_get N/A IsA N/A http HttpRequest 1 AndReturn N/A N/A N/A self cinder_quotas first N/A N/A N/A N/A self mox ReplayAll N/A quota_usages N/A N/A quotas tenant_quota_usages N/A self request N/A expected_output N/A N/A self get_usages N/A N/A N/A self assertEqual N/A quota_usages usages expected_output N/A N/A N/A test create_stubs N/A N/A api nova N/A api network N/A api base cinder N/A server_list flavor_list tenant_quota_get N/A tenant_floating_ip_list N/A is_service_enabled N/A volume_list volume_snapshot_list tenant_quota_get test_tenant_quota_usages_without_volume N/A N/A self N/A N/A N/A servers N/A s N/A s N/A N/A N/A self servers list N/A N/A s tenant_id N/A N/A N/A self request user tenant_id N/A N/A N/A N/A N/A N/A api base is_service_enabled N/A IsA N/A http HttpRequest volume AndReturn False N/A N/A N/A N/A N/A N/A api base is_service_enabled N/A IsA N/A http HttpRequest network AndReturn False N/A N/A N/A N/A N/A N/A api nova flavor_list N/A IsA N/A http HttpRequest AndReturn N/A N/A N/A self flavors list N/A N/A N/A N/A N/A N/A api nova tenant_quota_get N/A IsA N/A http HttpRequest 1 AndReturn N/A N/A N/A self quotas first N/A N/A N/A N/A N/A N/A api network tenant_floating_ip_list N/A IsA N/A http HttpRequest AndReturn N/A N/A N/A self floating_ips list N/A N/A N/A N/A N/A N/A api nova server_list N/A IsA N/A http HttpRequest AndReturn N/A servers False N/A N/A N/A N/A self mox ReplayAll N/A quota_usages N/A N/A quotas tenant_quota_usages N/A self request N/A expected_output N/A N/A self get_usages with_volume False N/A N/A N/A self assertEqual N/A quota_usages usages expected_output N/A N/A N/A test create_stubs N/A N/A api nova N/A api network N/A api base N/A server_list flavor_list tenant_quota_get N/A tenant_floating_ip_list N/A is_service_enabled test_tenant_quota_usages_no_instances_running N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A api base is_service_enabled N/A IsA N/A http HttpRequest volume AndReturn False N/A N/A N/A N/A N/A N/A api base is_service_enabled N/A IsA N/A http HttpRequest network AndReturn False N/A N/A N/A N/A N/A N/A api nova flavor_list N/A IsA N/A http HttpRequest AndReturn N/A N/A N/A self flavors list N/A N/A N/A N/A N/A N/A api nova tenant_quota_get N/A IsA N/A http HttpRequest 1 AndReturn N/A N/A N/A self quotas first N/A N/A N/A N/A N/A N/A api network tenant_floating_ip_list N/A IsA N/A http HttpRequest AndReturn N/A N/A N/A N/A N/A N/A N/A api nova server_list N/A IsA N/A http HttpRequest AndReturn N/A N/A False N/A N/A N/A N/A self mox ReplayAll N/A quota_usages N/A N/A quotas tenant_quota_usages N/A self request N/A expected_output N/A N/A self get_usages with_volume False N/A N/A N/A expected_output update N/A ram floating_ips instances cores N/A available used quota 10000 0 10000 N/A available used quota 1 0 1 N/A available used quota 10 0 10 N/A available used quota 10 0 10 N/A N/A N/A self assertEqual N/A quota_usages usages expected_output N/A N/A N/A test create_stubs N/A N/A api nova N/A api network N/A api base N/A server_list flavor_list tenant_quota_get N/A tenant_floating_ip_list N/A is_service_enabled test_tenant_quota_usages_unlimited_quota N/A N/A self N/A N/A N/A inf_quota N/A N/A N/A self quotas first N/A N/A inf_quota N/A ram -1 N/A servers N/A s N/A s N/A N/A N/A self servers list N/A N/A s tenant_id N/A N/A N/A self request user tenant_id N/A N/A N/A N/A N/A N/A api base is_service_enabled N/A IsA N/A http HttpRequest volume AndReturn True N/A N/A N/A N/A N/A N/A api base is_service_enabled N/A IsA N/A http HttpRequest network AndReturn False N/A N/A N/A N/A N/A N/A api nova flavor_list N/A IsA N/A http HttpRequest AndReturn N/A N/A N/A self flavors list N/A N/A N/A N/A N/A N/A api nova tenant_quota_get N/A IsA N/A http HttpRequest 1 AndReturn inf_quota N/A N/A N/A N/A N/A N/A api network tenant_floating_ip_list N/A IsA N/A http HttpRequest AndReturn N/A N/A N/A self floating_ips list N/A N/A N/A N/A N/A N/A api nova server_list N/A IsA N/A http HttpRequest AndReturn N/A servers False N/A N/A N/A N/A N/A cinder volume_list N/A IsA N/A http HttpRequest AndReturn N/A N/A N/A self volumes list N/A N/A N/A N/A N/A cinder volume_snapshot_list N/A IsA N/A http HttpRequest AndReturn N/A N/A N/A self snapshots list N/A N/A N/A N/A N/A cinder tenant_quota_get N/A IsA N/A http HttpRequest 1 AndReturn N/A N/A N/A self cinder_quotas first N/A N/A N/A N/A self mox ReplayAll N/A quota_usages N/A N/A quotas tenant_quota_usages N/A self request N/A expected_output N/A N/A self get_usages N/A N/A N/A expected_output update N/A ram N/A available used quota N/A float inf 1024 N/A float inf N/A N/A N/A self assertEqual N/A quota_usages usages expected_output N/A N/A N/A test create_stubs N/A N/A api nova N/A api network N/A api base cinder N/A server_list flavor_list tenant_quota_get N/A tenant_floating_ip_list N/A is_service_enabled N/A volume_list volume_snapshot_list tenant_quota_get N/A