Ghanshyam | 7fa397c | 2014-04-01 19:32:38 +0900 | [diff] [blame] | 1 | # 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 | |
| 15 | get_password = { |
| 16 | 'status_code': [200], |
| 17 | 'response_body': { |
| 18 | 'type': 'object', |
| 19 | 'properties': { |
| 20 | 'password': {'type': 'string'} |
| 21 | }, |
| 22 | 'required': ['password'] |
| 23 | } |
| 24 | } |
Ghanshyam | d6d3040 | 2014-04-02 15:28:37 +0900 | [diff] [blame] | 25 | |
| 26 | get_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 | } |
Ghanshyam | 4ac0274 | 2014-04-17 19:15:47 +0900 | [diff] [blame^] | 46 | |
| 47 | delete_server = { |
| 48 | 'status_code': [204], |
| 49 | } |