blob: a273abbc9ff284995f3abd518f0c2b42b9c96900 [file] [log] [blame]
Ghanshyam7fa397c2014-04-01 19:32:38 +09001# 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
15get_password = {
16 'status_code': [200],
17 'response_body': {
18 'type': 'object',
19 'properties': {
20 'password': {'type': 'string'}
21 },
22 'required': ['password']
23 }
24}
Ghanshyamd6d30402014-04-02 15:28:37 +090025
26get_vnc_console = {
27 'status_code': [200],
28 'response_body': {
29 'type': 'object',
30 'properties': {
31 'console': {
32 'type': 'object',
33 'properties': {
34 'type': {'type': 'string'},
35 'url': {
36 'type': 'string',
37 'format': 'uri'
38 }
39 },
40 'required': ['type', 'url']
41 }
42 },
43 'required': ['console']
44 }
45}
Ghanshyam4ac02742014-04-17 19:15:47 +090046
47delete_server = {
48 'status_code': [204],
49}