5 "title": "MultiVIM Service rest API"
7 "basePath": "/openoapi/multivim/v1/",
10 "name": "MultiVIM services"
14 "/{vimid}/{tenantid}/servers": {
19 "summary": "create a server",
20 "description": "create a server",
21 "operationId": "create_vim_server",
32 "description": "vim instance id",
39 "description": "tenant UUID",
46 "description": "create vim server request param",
49 "$ref": "#/definitions/CreateVimServer"
55 "description": "successful operation",
57 "$ref": "#/definitions/VimServerInfo"
61 "description": "the vim id or tenant UUID is wrong"
64 "description": "the vim server is not accessable"
72 "summary": "query vim servers list",
73 "description": "query vim servers list",
74 "operationId": "query_vim_servers",
85 "description": "vim instance id",
92 "description": "tenant UUID",
99 "description": "get a list of vim servers request param",
102 "$ref": "#/definitions/ListVimServers"
108 "description": "successful operation",
110 "$ref": "#/definitions/VimServersInfo"
114 "description": "the vim id or tenant UUID is wrong"
117 "description": "the vim server is not accessable"
122 "/{vimid}/{tenantid}/servers/{serverid}": {
127 "summary": "delete specific vim server",
128 "description": "delete specific vim server",
129 "operationId": "delete_vim_server",
140 "description": "vim instance id",
147 "description": "tenant UUID",
154 "description": "vim server id",
161 "description": "successful operation"
164 "description": "the vim id or tenant UUID is wrong"
167 "description": "the vim server is not accessable"
175 "summary": "query specific vim server",
176 "description": "query specific vim server",
177 "operationId": "query_vim_server",
188 "description": "vim instance id",
195 "description": "tenant UUID",
202 "description": "vim server id",
209 "description": "successful operation",
211 "$ref": "#/definitions/VimServerInfo"
215 "description": "the vim id or tenant UUID is wrong"
218 "description": "the vim server is not accessable"
235 "description": "server name"
239 "description": "Parameters to start a server",
243 "description": "boot type: 1: boot from volume, 2: boot from image"
247 "description": "volume UUID to boot server"
251 "description": "image UUID to boot server"
257 "description": "flavor uuid to start server"
261 "description": "list of injected files",
263 "$ref": "#/definitions/VimServerContextInfo"
268 "description": "list of volumes attached to a server",
270 "$ref": "#/definitions/VimServerVolumeInfo"
275 "description": "list of volumes attached to a server",
277 "$ref": "#/definitions/VimServerNicInfo"
280 "availabilityZone": {
282 "description": "The availability zone from which to launch the server."
286 "description": "list of key-value pairs for metadata to start a server",
288 "$ref": "#/definitions/VimServerKeyValuePair"
293 "description": "user data to start a aserver"
297 "description": "list of security groups for a server",
300 "description": "name of security group"
305 "description": "server group"
309 "VimServerKeyValuePair": {
314 "description": "key name"
318 "description": "value "
322 "VimServerContextInfo": {
327 "description": "Injected file name"
331 "description": "Injected file content "
335 "VimServerVolumeInfo": {
340 "description": "volume UUID"
344 "VimServerNicInfo": {
349 "description": "virtual port UUID to boot a server"
358 "description": "server name to filter server list"
362 "description": "Requests a page size of items"
366 "description": "server ID of the last-seen item"
386 "description": "tenant UUID"
390 "description": "server list information",
392 "$ref": "#/definitions/VimServerInfo"
407 "description": "server name"
411 "description": "server UUID"
415 "description": "server status,0:INACTIVE,1:ACTIVE,2:ERROR"
419 "description": "Parameters to start a server",
423 "description": "boot type: 1: boot from volume, 2: boot from image"
427 "description": "volume UUID to boot server"
431 "description": "image UUID to boot server"
437 "description": "flavor uuid to start server"
441 "description": "list of volumes attached to a server",
443 "$ref": "#/definitions/VimServerVolumeInfo"
448 "description": "list of volumes attached to a server",
450 "$ref": "#/definitions/VimServerNicInfo"
453 "availabilityZone": {
455 "description": "available zone for a server"
459 "description": "list of key-value pairs for metadata to start a server",
461 "$ref": "#/definitions/VimServerKeyValuePair"
466 "description": "list of security groups for a server",
469 "description": "name of security group"
474 "description": "server group"
484 "description": "tenant UUID"
488 "description": "0: Already exist 1: Newly created"