1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
|
{
"swagger": "2.0",
"info": {
"version": "1.0.0",
"title": "MultiVIM Service rest API"
},
"basePath": "/api/multicloud-newton/v0/",
"tags": [
{
"name": "MultiVIM services"
}
],
"paths": {
"/{vimid}/{tenantid}/limits": {
"get": {
"tags": [
"vim limits"
],
"summary": "query vim limits list",
"description": "query vim limits list",
"operationId": "query_vim_limits",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "vimid",
"in": "path",
"description": "vim instance id",
"required": true,
"type": "string"
},
{
"name": "tenantid",
"in": "path",
"description": "tenant UUID",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"$ref": "#/definitions/VimLimitsInfo"
}
},
"404": {
"description": "the vim id or tenant UUID is wrong"
},
"500": {
"description": "the vim limits is not accessable"
}
}
}
}
},
"definitions": {
"VimLimitsInfo": {
"type": "object",
"required": [
"vimId",
"tenantId"
],
"properties": {
"vimId": {
"type": "string"
},
"vimName": {
"type": "string"
},
"tenantId": {
"type": "string",
"description": "tenant UUID"
},
"maxPersonality": {
"type": "integer",
"description": "The number of allowed injected files for each tenant"
},
"maxPersonalitySize": {
"type": "integer",
"description": "The number of allowed bytes of content for each injected file"
},
"maxServerGroupMembers": {
"type": "integer",
"description": "The number of allowed members for each server group"
},
"maxServerGroups": {
"type": "integer",
"description": "The number of allowed server groups for each tenant"
},
"maxServerMeta": {
"type": "integer",
"description": "The number of allowed metadata items for each instance"
},
"maxTotalCores": {
"type": "integer",
"description": "The number of allowed instance cores for each tenant"
},
"maxTotalInstances": {
"type": "integer",
"description": "The number of allowed instances for each tenant"
},
"maxTotalKeypairs": {
"type": "integer",
"description": "The number of allowed key pairs for each user"
},
"maxTotalRAMSize": {
"type": "integer",
"description": "The amount of allowed instance RAM, in MB, for each tenant"
},
"maxTotalVolumeGigabytes": {
"type": "integer",
"description": "The maximum total amount of volumes, in gibibytes (GiB)."
},
"maxTotalVolumes": {
"type": "integer",
"description": "The maximum number of volumes"
},
"totalGigabytesUsed": {
"type": "integer",
"description": "The total number of gibibytes (GiB) used"
},
"network": {
"type": "integer",
"description": "The number of networks allowed for each project"
},
"subnet": {
"type": "integer",
"description": "The number of subnets allowed for each project"
},
"subnetpool": {
"type": "integer",
"description": "The number of subnet pools allowed for each project"
},
"security_group_rule": {
"type": "integer",
"description": "The number of security group rules allowed for each project"
},
"security_group": {
"type": "integer",
"description": "The number of security groups allowed for each project"
},
"router": {
"type": "integer",
"description": "The number of routers allowed for each project"
},
"port": {
"type": "integer",
"description": "The number of ports allowed for each project"
}
}
}
}
}
|