blob: c9434220b88c201d7eee0769d176f6958d4731cf (
plain)
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
|
---
Update openrc
This api offers the interface to Update openstack.creds.
---
tags:
- Creds
parameters:
- in: body
name: body
description: this is the input json dict
schema:
required:
- action
- args
properties:
action:
type: string
description: this is action for creds
default: update_openrc
args:
schema:
required:
- openrc
properties:
openrc:
type: string
description: this is the test case name
default:
"OS_AUTH_URL": "http://192.16.1.222:5000/v3"
"OS_IDENTITY_API_VERSION": "3"
"OS_INTERFACE": "public"
"OS_PASSWORD": "admn"
"OS_PROJECT_DOMAIN_NAME": "Default"
"OS_PROJECT_NAME": "admin"
"OS_REGION_NAME": "RegionOne"
"OS_TENANT_NAME": "admin"
"OS_USERNAME": "admin"
"OS_USER_DOMAIN_NAME": "Default"
definitions:
Credentials:
type: object
properties:
creds_name:
$ref: '#/definitions/Name'
Name:
type: dict
responses:
200:
description: Update openrc
schema:
$ref: '#/definitions/Credentials'
examples:
'status': 0
'result': 'Update openrc successfully'
|