blob: d69cbd714cbb707e5cd8ae3dec5264c2358a42a4 [file] [log] [blame]
Yuiko Takada26c3b172014-03-19 14:03:28 +00001# Copyright 2014 NEC Corporation. All rights reserved.
2#
3# Licensed under the Apache License, Version 2.0 (the "License"); you may
4# not use this file except in compliance with the License. You may obtain
5# a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12# License for the specific language governing permissions and limitations
13# under the License.
14
15quota_set = {
16 'status_code': [200],
17 'response_body': {
18 'type': 'object',
19 'properties': {
20 'quota_set': {
21 'type': 'object',
22 'properties': {
23 'id': {'type': 'string'},
24 'instances': {'type': 'integer'},
25 'cores': {'type': 'integer'},
26 'ram': {'type': 'integer'},
27 'floating_ips': {'type': 'integer'},
28 'fixed_ips': {'type': 'integer'},
29 'metadata_items': {'type': 'integer'},
30 'injected_files': {'type': 'integer'},
31 'injected_file_content_bytes': {'type': 'integer'},
32 'injected_file_path_bytes': {'type': 'integer'},
33 'key_pairs': {'type': 'integer'},
34 'security_groups': {'type': 'integer'},
35 'security_group_rules': {'type': 'integer'}
36 },
37 'required': ['id', 'instances', 'cores', 'ram',
38 'floating_ips', 'fixed_ips',
39 'metadata_items', 'injected_files',
40 'injected_file_content_bytes',
41 'injected_file_path_bytes', 'key_pairs',
42 'security_groups', 'security_group_rules']
43 }
44 },
45 'required': ['quota_set']
46 }
47}