line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# |
2
|
|
|
|
|
|
|
# This module is generated with gen.pl |
3
|
|
|
|
|
|
|
# Do not modify. |
4
|
|
|
|
|
|
|
# |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
package Net::OpenStack::Client::API::Identity::v3; |
7
|
|
|
|
|
|
|
|
8
|
4
|
|
|
4
|
|
1949
|
use strict; |
|
4
|
|
|
|
|
8
|
|
|
4
|
|
|
|
|
100
|
|
9
|
4
|
|
|
4
|
|
17
|
use warnings; |
|
4
|
|
|
|
|
7
|
|
|
4
|
|
|
|
|
81
|
|
10
|
|
|
|
|
|
|
|
11
|
4
|
|
|
4
|
|
16
|
use version; |
|
4
|
|
|
|
|
7
|
|
|
4
|
|
|
|
|
19
|
|
12
|
|
|
|
|
|
|
our $VERSION = version->new("v3"); |
13
|
|
|
|
|
|
|
|
14
|
4
|
|
|
4
|
|
302
|
use Readonly; |
|
4
|
|
|
|
|
8
|
|
|
4
|
|
|
|
|
1231
|
|
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
Readonly our $API_DATA => { |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
add_domain => { |
19
|
|
|
|
|
|
|
method => 'POST', |
20
|
|
|
|
|
|
|
endpoint => '/domains', |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
options => { |
24
|
|
|
|
|
|
|
'description' => {'path' => ['domain','description'],'type' => 'string'}, |
25
|
|
|
|
|
|
|
'enabled' => {'path' => ['domain','enabled'],'type' => 'boolean'}, |
26
|
|
|
|
|
|
|
'name' => {'path' => ['domain','name'],'type' => 'string'}, |
27
|
|
|
|
|
|
|
}, |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
}, |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
add_project => { |
32
|
|
|
|
|
|
|
method => 'POST', |
33
|
|
|
|
|
|
|
endpoint => '/projects', |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
options => { |
37
|
|
|
|
|
|
|
'description' => {'path' => ['project','description'],'type' => 'string'}, |
38
|
|
|
|
|
|
|
'domain_id' => {'path' => ['project','domain_id'],'type' => 'string'}, |
39
|
|
|
|
|
|
|
'enabled' => {'path' => ['project','enabled'],'type' => 'boolean'}, |
40
|
|
|
|
|
|
|
'name' => {'path' => ['project','name'],'type' => 'string'}, |
41
|
|
|
|
|
|
|
'parent_id' => {'path' => ['project','parent_id'],'type' => 'string'}, |
42
|
|
|
|
|
|
|
}, |
43
|
|
|
|
|
|
|
result => '/project', |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
}, |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
add_tag => { |
48
|
|
|
|
|
|
|
method => 'PUT', |
49
|
|
|
|
|
|
|
endpoint => '/projects/{project_id}/tags/{tag}', |
50
|
|
|
|
|
|
|
templates => ['project_id','tag'], |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
options => { |
54
|
|
|
|
|
|
|
}, |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
}, |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
catalog => { |
59
|
|
|
|
|
|
|
method => 'GET', |
60
|
|
|
|
|
|
|
endpoint => '/auth/catalog', |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
options => { |
64
|
|
|
|
|
|
|
}, |
65
|
|
|
|
|
|
|
result => '/catalog', |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
}, |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
delete_tag => { |
70
|
|
|
|
|
|
|
method => 'DELETE', |
71
|
|
|
|
|
|
|
endpoint => '/projects/{project_id}/tags/{tag}', |
72
|
|
|
|
|
|
|
templates => ['project_id','tag'], |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
options => { |
76
|
|
|
|
|
|
|
}, |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
}, |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
domain => { |
81
|
|
|
|
|
|
|
method => 'GET', |
82
|
|
|
|
|
|
|
endpoint => '/domains/{domain_id}', |
83
|
|
|
|
|
|
|
templates => ['domain_id'], |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
options => { |
87
|
|
|
|
|
|
|
}, |
88
|
|
|
|
|
|
|
result => '/domain', |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
}, |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
domains => { |
93
|
|
|
|
|
|
|
method => 'GET', |
94
|
|
|
|
|
|
|
endpoint => '/domains', |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
options => { |
98
|
|
|
|
|
|
|
}, |
99
|
|
|
|
|
|
|
result => '/domains', |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
}, |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
project => { |
104
|
|
|
|
|
|
|
method => 'GET', |
105
|
|
|
|
|
|
|
endpoint => '/projects/{project_id}', |
106
|
|
|
|
|
|
|
templates => ['project_id'], |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
options => { |
110
|
|
|
|
|
|
|
}, |
111
|
|
|
|
|
|
|
result => '/project', |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
}, |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
projects => { |
116
|
|
|
|
|
|
|
method => 'GET', |
117
|
|
|
|
|
|
|
endpoint => '/projects?domain_id=did&enabled=1&name=name&parent_id=pid', |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
parameters => ['domain_id','enabled','name','parent_id'], |
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
options => { |
122
|
|
|
|
|
|
|
}, |
123
|
|
|
|
|
|
|
result => '/projects', |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
}, |
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
tag => { |
128
|
|
|
|
|
|
|
method => 'GET', |
129
|
|
|
|
|
|
|
endpoint => '/projects/{project_id}/tags/{tag}', |
130
|
|
|
|
|
|
|
templates => ['project_id','tag'], |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
options => { |
134
|
|
|
|
|
|
|
}, |
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
}, |
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
tags => { |
139
|
|
|
|
|
|
|
method => 'GET', |
140
|
|
|
|
|
|
|
endpoint => '/projects/{project_id}/tags', |
141
|
|
|
|
|
|
|
templates => ['project_id'], |
142
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
options => { |
145
|
|
|
|
|
|
|
}, |
146
|
|
|
|
|
|
|
result => '/tags', |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
}, |
149
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
tokens => { |
151
|
|
|
|
|
|
|
method => 'POST', |
152
|
|
|
|
|
|
|
endpoint => '/auth/tokens', |
153
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
options => { |
156
|
|
|
|
|
|
|
'methods' => {'islist' => 1,'path' => ['auth','identity','methods'],'type' => 'string'}, |
157
|
|
|
|
|
|
|
'password' => {'path' => ['auth','identity','password','user','password'],'type' => 'string'}, |
158
|
|
|
|
|
|
|
'project_domain_name' => {'path' => ['auth','scope','project','domain','name'],'type' => 'string'}, |
159
|
|
|
|
|
|
|
'project_name' => {'path' => ['auth','scope','project','name'],'type' => 'string'}, |
160
|
|
|
|
|
|
|
'user_domain_name' => {'path' => ['auth','identity','password','user','domain','name'],'type' => 'string'}, |
161
|
|
|
|
|
|
|
'user_name' => {'path' => ['auth','identity','password','user','name'],'type' => 'string'}, |
162
|
|
|
|
|
|
|
}, |
163
|
|
|
|
|
|
|
result => 'X-Subject-Token', |
164
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
}, |
166
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
}; |
168
|
|
|
|
|
|
|
|
169
|
|
|
|
|
|
|
1; |