python-openstackclient 7.1.2__py3-none-any.whl → 7.1.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- openstackclient/compute/v2/server.py +1 -1
- openstackclient/identity/common.py +3 -0
- openstackclient/identity/v3/role_assignment.py +24 -3
- openstackclient/identity/v3/service.py +2 -1
- openstackclient/identity/v3/user.py +35 -15
- openstackclient/tests/unit/compute/v2/test_server.py +1 -1
- openstackclient/tests/unit/identity/v3/test_service.py +0 -3
- openstackclient/tests/unit/identity/v3/test_user.py +4 -90
- {python_openstackclient-7.1.2.dist-info → python_openstackclient-7.1.3.dist-info}/METADATA +1 -1
- {python_openstackclient-7.1.2.dist-info → python_openstackclient-7.1.3.dist-info}/RECORD +16 -16
- python_openstackclient-7.1.3.dist-info/pbr.json +1 -0
- python_openstackclient-7.1.2.dist-info/pbr.json +0 -1
- {python_openstackclient-7.1.2.dist-info → python_openstackclient-7.1.3.dist-info}/AUTHORS +0 -0
- {python_openstackclient-7.1.2.dist-info → python_openstackclient-7.1.3.dist-info}/LICENSE +0 -0
- {python_openstackclient-7.1.2.dist-info → python_openstackclient-7.1.3.dist-info}/WHEEL +0 -0
- {python_openstackclient-7.1.2.dist-info → python_openstackclient-7.1.3.dist-info}/entry_points.txt +0 -0
- {python_openstackclient-7.1.2.dist-info → python_openstackclient-7.1.3.dist-info}/top_level.txt +0 -0
|
@@ -2648,7 +2648,7 @@ class ListServer(command.Lister):
|
|
|
2648
2648
|
'status': parsed_args.status,
|
|
2649
2649
|
'flavor': flavor_id,
|
|
2650
2650
|
'image': image_id,
|
|
2651
|
-
'
|
|
2651
|
+
'compute_host': parsed_args.host,
|
|
2652
2652
|
'project_id': project_id,
|
|
2653
2653
|
'all_projects': parsed_args.all_projects,
|
|
2654
2654
|
'user_id': user_id,
|
|
@@ -204,6 +204,7 @@ def find_group(identity_client, name_or_id, domain_name_or_id=None):
|
|
|
204
204
|
identity_client.groups, name_or_id, groups.Group
|
|
205
205
|
)
|
|
206
206
|
else:
|
|
207
|
+
domain_id = find_domain(identity_client, domain_id).id
|
|
207
208
|
return _find_identity_resource(
|
|
208
209
|
identity_client.groups,
|
|
209
210
|
name_or_id,
|
|
@@ -219,6 +220,7 @@ def find_project(identity_client, name_or_id, domain_name_or_id=None):
|
|
|
219
220
|
identity_client.projects, name_or_id, projects.Project
|
|
220
221
|
)
|
|
221
222
|
else:
|
|
223
|
+
domain_id = find_domain(identity_client, domain_id).id
|
|
222
224
|
return _find_identity_resource(
|
|
223
225
|
identity_client.projects,
|
|
224
226
|
name_or_id,
|
|
@@ -234,6 +236,7 @@ def find_user(identity_client, name_or_id, domain_name_or_id=None):
|
|
|
234
236
|
identity_client.users, name_or_id, users.User
|
|
235
237
|
)
|
|
236
238
|
else:
|
|
239
|
+
domain_id = find_domain(identity_client, domain_id).id
|
|
237
240
|
return _find_identity_resource(
|
|
238
241
|
identity_client.users, name_or_id, users.User, domain_id=domain_id
|
|
239
242
|
)
|
|
@@ -146,12 +146,19 @@ class ListRoleAssignment(command.Lister):
|
|
|
146
146
|
domain_id=role_domain_id,
|
|
147
147
|
)
|
|
148
148
|
|
|
149
|
+
user_domain_id = None
|
|
150
|
+
if parsed_args.user_domain:
|
|
151
|
+
project_domain_id = _find_sdk_id(
|
|
152
|
+
identity_client.find_domain,
|
|
153
|
+
name_or_id=parsed_args.user_domain,
|
|
154
|
+
)
|
|
155
|
+
|
|
149
156
|
user_id = None
|
|
150
157
|
if parsed_args.user:
|
|
151
158
|
user_id = _find_sdk_id(
|
|
152
159
|
identity_client.find_user,
|
|
153
160
|
name_or_id=parsed_args.user,
|
|
154
|
-
domain_id=
|
|
161
|
+
domain_id=user_domain_id,
|
|
155
162
|
)
|
|
156
163
|
elif parsed_args.authuser:
|
|
157
164
|
if auth_ref:
|
|
@@ -171,6 +178,13 @@ class ListRoleAssignment(command.Lister):
|
|
|
171
178
|
name_or_id=parsed_args.domain,
|
|
172
179
|
)
|
|
173
180
|
|
|
181
|
+
project_domain_id = None
|
|
182
|
+
if parsed_args.project_domain:
|
|
183
|
+
project_domain_id = _find_sdk_id(
|
|
184
|
+
identity_client.find_domain,
|
|
185
|
+
name_or_id=parsed_args.project_domain,
|
|
186
|
+
)
|
|
187
|
+
|
|
174
188
|
project_id = None
|
|
175
189
|
if parsed_args.project:
|
|
176
190
|
project_id = _find_sdk_id(
|
|
@@ -178,7 +192,7 @@ class ListRoleAssignment(command.Lister):
|
|
|
178
192
|
name_or_id=common._get_token_resource(
|
|
179
193
|
identity_client, 'project', parsed_args.project
|
|
180
194
|
),
|
|
181
|
-
domain_id=
|
|
195
|
+
domain_id=project_domain_id,
|
|
182
196
|
)
|
|
183
197
|
elif parsed_args.authproject:
|
|
184
198
|
if auth_ref:
|
|
@@ -187,12 +201,19 @@ class ListRoleAssignment(command.Lister):
|
|
|
187
201
|
name_or_id=auth_ref.project_id,
|
|
188
202
|
)
|
|
189
203
|
|
|
204
|
+
group_domain_id = None
|
|
205
|
+
if parsed_args.group_domain:
|
|
206
|
+
group_domain_id = _find_sdk_id(
|
|
207
|
+
identity_client.find_domain,
|
|
208
|
+
name_or_id=parsed_args.group_domain,
|
|
209
|
+
)
|
|
210
|
+
|
|
190
211
|
group_id = None
|
|
191
212
|
if parsed_args.group:
|
|
192
213
|
group_id = _find_sdk_id(
|
|
193
214
|
identity_client.find_group,
|
|
194
215
|
name_or_id=parsed_args.group,
|
|
195
|
-
domain_id=
|
|
216
|
+
domain_id=group_domain_id,
|
|
196
217
|
)
|
|
197
218
|
|
|
198
219
|
include_names = True if parsed_args.names else None
|
|
@@ -225,7 +225,8 @@ class SetService(command.Command):
|
|
|
225
225
|
kwargs['name'] = parsed_args.name
|
|
226
226
|
if parsed_args.description:
|
|
227
227
|
kwargs['description'] = parsed_args.description
|
|
228
|
-
|
|
228
|
+
if parsed_args.is_enabled is not None:
|
|
229
|
+
kwargs['is_enabled'] = parsed_args.is_enabled
|
|
229
230
|
|
|
230
231
|
identity_client.update_service(service.id, **kwargs)
|
|
231
232
|
|
|
@@ -249,26 +249,44 @@ class CreateUser(command.ShowOne):
|
|
|
249
249
|
def take_action(self, parsed_args):
|
|
250
250
|
identity_client = self.app.client_manager.sdk_connection.identity
|
|
251
251
|
|
|
252
|
+
kwargs = {}
|
|
253
|
+
|
|
252
254
|
domain_id = None
|
|
253
255
|
if parsed_args.domain:
|
|
254
256
|
domain_id = identity_client.find_domain(
|
|
255
|
-
|
|
257
|
+
parsed_args.domain,
|
|
256
258
|
ignore_missing=False,
|
|
257
259
|
).id
|
|
260
|
+
kwargs['domain_id'] = domain_id
|
|
258
261
|
|
|
259
|
-
project_id = None
|
|
260
262
|
if parsed_args.project:
|
|
261
|
-
|
|
262
|
-
|
|
263
|
+
project_domain_id = None
|
|
264
|
+
if parsed_args.project_domain:
|
|
265
|
+
project_domain_id = identity_client.find_domain(
|
|
266
|
+
parsed_args.project_domain,
|
|
267
|
+
ignore_missing=False,
|
|
268
|
+
).id
|
|
269
|
+
kwargs['default_project_id'] = identity_client.find_project(
|
|
270
|
+
parsed_args.project,
|
|
263
271
|
ignore_missing=False,
|
|
264
|
-
domain_id=
|
|
272
|
+
domain_id=project_domain_id,
|
|
265
273
|
).id
|
|
266
274
|
|
|
275
|
+
if parsed_args.description:
|
|
276
|
+
kwargs['description'] = parsed_args.description
|
|
277
|
+
|
|
278
|
+
if parsed_args.email:
|
|
279
|
+
kwargs['email'] = parsed_args.email
|
|
280
|
+
|
|
267
281
|
is_enabled = True
|
|
268
282
|
if parsed_args.disable:
|
|
269
283
|
is_enabled = False
|
|
270
|
-
|
|
271
|
-
|
|
284
|
+
|
|
285
|
+
password = None
|
|
286
|
+
if parsed_args.password:
|
|
287
|
+
password = parsed_args.password
|
|
288
|
+
elif parsed_args.password_prompt:
|
|
289
|
+
password = utils.get_password(self.app.stdin)
|
|
272
290
|
|
|
273
291
|
if not parsed_args.password:
|
|
274
292
|
LOG.warning(
|
|
@@ -278,24 +296,26 @@ class CreateUser(command.ShowOne):
|
|
|
278
296
|
)
|
|
279
297
|
)
|
|
280
298
|
options = _get_options_for_user(identity_client, parsed_args)
|
|
299
|
+
if options:
|
|
300
|
+
kwargs['options'] = options
|
|
281
301
|
|
|
282
302
|
try:
|
|
283
303
|
user = identity_client.create_user(
|
|
284
|
-
default_project_id=project_id,
|
|
285
|
-
description=parsed_args.description,
|
|
286
|
-
domain_id=domain_id,
|
|
287
|
-
email=parsed_args.email,
|
|
288
304
|
is_enabled=is_enabled,
|
|
289
305
|
name=parsed_args.name,
|
|
290
|
-
password=
|
|
291
|
-
|
|
306
|
+
password=password,
|
|
307
|
+
**kwargs,
|
|
292
308
|
)
|
|
293
309
|
except sdk_exc.ConflictException:
|
|
294
310
|
if parsed_args.or_show:
|
|
311
|
+
kwargs = {}
|
|
312
|
+
if domain_id:
|
|
313
|
+
kwargs['domain_id'] = domain_id
|
|
314
|
+
|
|
295
315
|
user = identity_client.find_user(
|
|
296
|
-
|
|
297
|
-
domain_id=domain_id,
|
|
316
|
+
parsed_args.name,
|
|
298
317
|
ignore_missing=False,
|
|
318
|
+
**kwargs,
|
|
299
319
|
)
|
|
300
320
|
LOG.info(_('Returning existing user %s'), user.name)
|
|
301
321
|
else:
|
|
@@ -311,7 +311,6 @@ class TestServiceSet(identity_fakes.TestIdentityv3):
|
|
|
311
311
|
# Set expected values
|
|
312
312
|
kwargs = {
|
|
313
313
|
'type': self.service.type,
|
|
314
|
-
'is_enabled': None,
|
|
315
314
|
}
|
|
316
315
|
self.identity_sdk_client.update_service.assert_called_with(
|
|
317
316
|
self.service.id, **kwargs
|
|
@@ -338,7 +337,6 @@ class TestServiceSet(identity_fakes.TestIdentityv3):
|
|
|
338
337
|
# Set expected values
|
|
339
338
|
kwargs = {
|
|
340
339
|
'name': self.service.name,
|
|
341
|
-
'is_enabled': None,
|
|
342
340
|
}
|
|
343
341
|
self.identity_sdk_client.update_service.assert_called_with(
|
|
344
342
|
self.service.id, **kwargs
|
|
@@ -365,7 +363,6 @@ class TestServiceSet(identity_fakes.TestIdentityv3):
|
|
|
365
363
|
# Set expected values
|
|
366
364
|
kwargs = {
|
|
367
365
|
'description': self.service.description,
|
|
368
|
-
'is_enabled': None,
|
|
369
366
|
}
|
|
370
367
|
self.identity_sdk_client.update_service.assert_called_with(
|
|
371
368
|
self.service.id, **kwargs
|
|
@@ -91,11 +91,6 @@ class TestUserCreate(identity_fakes.TestIdentityv3):
|
|
|
91
91
|
# Set expected values
|
|
92
92
|
kwargs = {
|
|
93
93
|
'name': self.user.name,
|
|
94
|
-
'default_project_id': None,
|
|
95
|
-
'description': None,
|
|
96
|
-
'domain_id': None,
|
|
97
|
-
'email': None,
|
|
98
|
-
'options': {},
|
|
99
94
|
'is_enabled': True,
|
|
100
95
|
'password': None,
|
|
101
96
|
}
|
|
@@ -127,11 +122,6 @@ class TestUserCreate(identity_fakes.TestIdentityv3):
|
|
|
127
122
|
# Set expected values
|
|
128
123
|
kwargs = {
|
|
129
124
|
'name': self.user.name,
|
|
130
|
-
'default_project_id': None,
|
|
131
|
-
'description': None,
|
|
132
|
-
'domain_id': None,
|
|
133
|
-
'email': None,
|
|
134
|
-
'options': {},
|
|
135
125
|
'is_enabled': True,
|
|
136
126
|
'password': 'secret',
|
|
137
127
|
}
|
|
@@ -165,11 +155,6 @@ class TestUserCreate(identity_fakes.TestIdentityv3):
|
|
|
165
155
|
# Set expected values
|
|
166
156
|
kwargs = {
|
|
167
157
|
'name': self.user.name,
|
|
168
|
-
'default_project_id': None,
|
|
169
|
-
'description': None,
|
|
170
|
-
'domain_id': None,
|
|
171
|
-
'email': None,
|
|
172
|
-
'options': {},
|
|
173
158
|
'is_enabled': True,
|
|
174
159
|
'password': 'abc123',
|
|
175
160
|
}
|
|
@@ -200,12 +185,8 @@ class TestUserCreate(identity_fakes.TestIdentityv3):
|
|
|
200
185
|
# Set expected values
|
|
201
186
|
kwargs = {
|
|
202
187
|
'name': self.user.name,
|
|
203
|
-
'default_project_id': None,
|
|
204
|
-
'description': None,
|
|
205
|
-
'domain_id': None,
|
|
206
188
|
'email': 'barney@example.com',
|
|
207
189
|
'is_enabled': True,
|
|
208
|
-
'options': {},
|
|
209
190
|
'password': None,
|
|
210
191
|
}
|
|
211
192
|
self.identity_sdk_client.create_user.assert_called_with(**kwargs)
|
|
@@ -236,11 +217,7 @@ class TestUserCreate(identity_fakes.TestIdentityv3):
|
|
|
236
217
|
kwargs = {
|
|
237
218
|
'name': self.user.name,
|
|
238
219
|
'default_project_id': self.project.id,
|
|
239
|
-
'description': None,
|
|
240
|
-
'domain_id': None,
|
|
241
|
-
'email': None,
|
|
242
220
|
'is_enabled': True,
|
|
243
|
-
'options': {},
|
|
244
221
|
'password': None,
|
|
245
222
|
}
|
|
246
223
|
self.identity_sdk_client.create_user.assert_called_with(**kwargs)
|
|
@@ -284,14 +261,13 @@ class TestUserCreate(identity_fakes.TestIdentityv3):
|
|
|
284
261
|
kwargs = {
|
|
285
262
|
'name': self.user.name,
|
|
286
263
|
'default_project_id': self.project.id,
|
|
287
|
-
'description': None,
|
|
288
|
-
'domain_id': None,
|
|
289
|
-
'email': None,
|
|
290
|
-
'options': {},
|
|
291
264
|
'is_enabled': True,
|
|
292
265
|
'password': None,
|
|
293
266
|
}
|
|
294
|
-
self.identity_sdk_client.create_user.
|
|
267
|
+
self.identity_sdk_client.create_user.assert_called_once_with(**kwargs)
|
|
268
|
+
self.identity_sdk_client.find_domain.assert_called_once_with(
|
|
269
|
+
self.project.domain_id, ignore_missing=False
|
|
270
|
+
)
|
|
295
271
|
|
|
296
272
|
self.assertEqual(self.columns, columns)
|
|
297
273
|
datalist = (
|
|
@@ -328,11 +304,7 @@ class TestUserCreate(identity_fakes.TestIdentityv3):
|
|
|
328
304
|
# Set expected values
|
|
329
305
|
kwargs = {
|
|
330
306
|
'name': self.user.name,
|
|
331
|
-
'default_project_id': None,
|
|
332
|
-
'description': None,
|
|
333
307
|
'domain_id': self.domain.id,
|
|
334
|
-
'email': None,
|
|
335
|
-
'options': {},
|
|
336
308
|
'is_enabled': True,
|
|
337
309
|
'password': None,
|
|
338
310
|
}
|
|
@@ -361,11 +333,6 @@ class TestUserCreate(identity_fakes.TestIdentityv3):
|
|
|
361
333
|
# Set expected values
|
|
362
334
|
kwargs = {
|
|
363
335
|
'name': self.user.name,
|
|
364
|
-
'default_project_id': None,
|
|
365
|
-
'description': None,
|
|
366
|
-
'domain_id': None,
|
|
367
|
-
'email': None,
|
|
368
|
-
'options': {},
|
|
369
336
|
'is_enabled': True,
|
|
370
337
|
'password': None,
|
|
371
338
|
}
|
|
@@ -394,11 +361,6 @@ class TestUserCreate(identity_fakes.TestIdentityv3):
|
|
|
394
361
|
# Set expected values
|
|
395
362
|
kwargs = {
|
|
396
363
|
'name': self.user.name,
|
|
397
|
-
'default_project_id': None,
|
|
398
|
-
'description': None,
|
|
399
|
-
'domain_id': None,
|
|
400
|
-
'email': None,
|
|
401
|
-
'options': {},
|
|
402
364
|
'is_enabled': False,
|
|
403
365
|
'password': None,
|
|
404
366
|
}
|
|
@@ -428,10 +390,6 @@ class TestUserCreate(identity_fakes.TestIdentityv3):
|
|
|
428
390
|
# Set expected values
|
|
429
391
|
kwargs = {
|
|
430
392
|
'name': self.user.name,
|
|
431
|
-
'default_project_id': None,
|
|
432
|
-
'description': None,
|
|
433
|
-
'domain_id': None,
|
|
434
|
-
'email': None,
|
|
435
393
|
'is_enabled': True,
|
|
436
394
|
'options': {'ignore_lockout_failure_attempts': True},
|
|
437
395
|
'password': None,
|
|
@@ -462,10 +420,6 @@ class TestUserCreate(identity_fakes.TestIdentityv3):
|
|
|
462
420
|
# Set expected values
|
|
463
421
|
kwargs = {
|
|
464
422
|
'name': self.user.name,
|
|
465
|
-
'default_project_id': None,
|
|
466
|
-
'description': None,
|
|
467
|
-
'domain_id': None,
|
|
468
|
-
'email': None,
|
|
469
423
|
'is_enabled': True,
|
|
470
424
|
'options': {'ignore_lockout_failure_attempts': False},
|
|
471
425
|
'password': None,
|
|
@@ -496,10 +450,6 @@ class TestUserCreate(identity_fakes.TestIdentityv3):
|
|
|
496
450
|
# Set expected values
|
|
497
451
|
kwargs = {
|
|
498
452
|
'name': self.user.name,
|
|
499
|
-
'default_project_id': None,
|
|
500
|
-
'description': None,
|
|
501
|
-
'domain_id': None,
|
|
502
|
-
'email': None,
|
|
503
453
|
'is_enabled': True,
|
|
504
454
|
'options': {'ignore_password_expiry': True},
|
|
505
455
|
'password': None,
|
|
@@ -530,10 +480,6 @@ class TestUserCreate(identity_fakes.TestIdentityv3):
|
|
|
530
480
|
# Set expected values
|
|
531
481
|
kwargs = {
|
|
532
482
|
'name': self.user.name,
|
|
533
|
-
'default_project_id': None,
|
|
534
|
-
'description': None,
|
|
535
|
-
'domain_id': None,
|
|
536
|
-
'email': None,
|
|
537
483
|
'is_enabled': True,
|
|
538
484
|
'options': {'ignore_password_expiry': False},
|
|
539
485
|
'password': None,
|
|
@@ -564,10 +510,6 @@ class TestUserCreate(identity_fakes.TestIdentityv3):
|
|
|
564
510
|
# Set expected values
|
|
565
511
|
kwargs = {
|
|
566
512
|
'name': self.user.name,
|
|
567
|
-
'default_project_id': None,
|
|
568
|
-
'description': None,
|
|
569
|
-
'domain_id': None,
|
|
570
|
-
'email': None,
|
|
571
513
|
'is_enabled': True,
|
|
572
514
|
'options': {'ignore_change_password_upon_first_use': True},
|
|
573
515
|
'password': None,
|
|
@@ -598,10 +540,6 @@ class TestUserCreate(identity_fakes.TestIdentityv3):
|
|
|
598
540
|
# Set expected values
|
|
599
541
|
kwargs = {
|
|
600
542
|
'name': self.user.name,
|
|
601
|
-
'default_project_id': None,
|
|
602
|
-
'description': None,
|
|
603
|
-
'domain_id': None,
|
|
604
|
-
'email': None,
|
|
605
543
|
'is_enabled': True,
|
|
606
544
|
'options': {'ignore_change_password_upon_first_use': False},
|
|
607
545
|
'password': None,
|
|
@@ -632,10 +570,6 @@ class TestUserCreate(identity_fakes.TestIdentityv3):
|
|
|
632
570
|
# Set expected values
|
|
633
571
|
kwargs = {
|
|
634
572
|
'name': self.user.name,
|
|
635
|
-
'default_project_id': None,
|
|
636
|
-
'description': None,
|
|
637
|
-
'domain_id': None,
|
|
638
|
-
'email': None,
|
|
639
573
|
'is_enabled': True,
|
|
640
574
|
'options': {'lock_password': True},
|
|
641
575
|
'password': None,
|
|
@@ -666,10 +600,6 @@ class TestUserCreate(identity_fakes.TestIdentityv3):
|
|
|
666
600
|
# Set expected values
|
|
667
601
|
kwargs = {
|
|
668
602
|
'name': self.user.name,
|
|
669
|
-
'default_project_id': None,
|
|
670
|
-
'description': None,
|
|
671
|
-
'domain_id': None,
|
|
672
|
-
'email': None,
|
|
673
603
|
'is_enabled': True,
|
|
674
604
|
'options': {'lock_password': False},
|
|
675
605
|
'password': None,
|
|
@@ -700,10 +630,6 @@ class TestUserCreate(identity_fakes.TestIdentityv3):
|
|
|
700
630
|
# Set expected values
|
|
701
631
|
kwargs = {
|
|
702
632
|
'name': self.user.name,
|
|
703
|
-
'default_project_id': None,
|
|
704
|
-
'description': None,
|
|
705
|
-
'domain_id': None,
|
|
706
|
-
'email': None,
|
|
707
633
|
'is_enabled': True,
|
|
708
634
|
'options': {'multi_factor_auth_enabled': True},
|
|
709
635
|
'password': None,
|
|
@@ -734,10 +660,6 @@ class TestUserCreate(identity_fakes.TestIdentityv3):
|
|
|
734
660
|
# Set expected values
|
|
735
661
|
kwargs = {
|
|
736
662
|
'name': self.user.name,
|
|
737
|
-
'default_project_id': None,
|
|
738
|
-
'description': None,
|
|
739
|
-
'domain_id': None,
|
|
740
|
-
'email': None,
|
|
741
663
|
'is_enabled': True,
|
|
742
664
|
'options': {'multi_factor_auth_enabled': False},
|
|
743
665
|
'password': None,
|
|
@@ -774,10 +696,6 @@ class TestUserCreate(identity_fakes.TestIdentityv3):
|
|
|
774
696
|
# Set expected values
|
|
775
697
|
kwargs = {
|
|
776
698
|
'name': self.user.name,
|
|
777
|
-
'default_project_id': None,
|
|
778
|
-
'description': None,
|
|
779
|
-
'domain_id': None,
|
|
780
|
-
'email': None,
|
|
781
699
|
'is_enabled': True,
|
|
782
700
|
'options': {
|
|
783
701
|
'multi_factor_auth_rules': [["password", "totp"], ["password"]]
|
|
@@ -815,10 +733,6 @@ class TestUserCreate(identity_fakes.TestIdentityv3):
|
|
|
815
733
|
# Set expected values
|
|
816
734
|
kwargs = {
|
|
817
735
|
'name': self.user.name,
|
|
818
|
-
'default_project_id': None,
|
|
819
|
-
'description': None,
|
|
820
|
-
'domain_id': None,
|
|
821
|
-
'email': None,
|
|
822
736
|
'is_enabled': True,
|
|
823
737
|
'options': {
|
|
824
738
|
'ignore_password_expiry': True,
|
|
@@ -30,7 +30,7 @@ openstackclient/compute/v2/host.py,sha256=1Ow4eJu9HPz-SC0u_eXJskUXaGoyW7X1O2yZIf
|
|
|
30
30
|
openstackclient/compute/v2/hypervisor.py,sha256=xkSLqZjaJnVABAKh9ANF9zqy67WaEJeD9NiVL3Frqko,8808
|
|
31
31
|
openstackclient/compute/v2/hypervisor_stats.py,sha256=Y2Jkkleha8PXnM2VQ2MJtjKxHKchGRyEqmILfPj-Wgw,2161
|
|
32
32
|
openstackclient/compute/v2/keypair.py,sha256=yM30AVsMmPP1SAqD8_nKXNkeB9WLyL6sd18AjeYIuhM,15730
|
|
33
|
-
openstackclient/compute/v2/server.py,sha256=
|
|
33
|
+
openstackclient/compute/v2/server.py,sha256=qzozAjygKLZUQ4Dtib1R1_10Sc7zm3axBCP3wt9d3Zw,187204
|
|
34
34
|
openstackclient/compute/v2/server_backup.py,sha256=GVf_T5iHt0po1vYDDQgUQ_fN3AisHvKozEXY37voWkc,4119
|
|
35
35
|
openstackclient/compute/v2/server_event.py,sha256=vLtu_LBJ99Fgfj9oRBCVATalRMyqBd3CUjHToVfQB48,10055
|
|
36
36
|
openstackclient/compute/v2/server_group.py,sha256=s9CjDnmjNUk03VUdAkOn5QHMoSCHV8dtvuLe05ER4Rg,8674
|
|
@@ -41,7 +41,7 @@ openstackclient/compute/v2/service.py,sha256=3Y-R9wGnk5kSaMvXzuETd8EFLQwTfMUbdmk
|
|
|
41
41
|
openstackclient/compute/v2/usage.py,sha256=ztIv1ucTWWuVe3pfv1jk7Gkf2c6boTrqGdeFKbbfQ5g,9026
|
|
42
42
|
openstackclient/identity/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
43
43
|
openstackclient/identity/client.py,sha256=Miz2eCWbhS-IXaj87J-5qatZPOwZeOn5_MyZ6YMNZ9w,2433
|
|
44
|
-
openstackclient/identity/common.py,sha256=
|
|
44
|
+
openstackclient/identity/common.py,sha256=LYtudKq9BgJhssDPSL1pywkkgBzamD6S0hUplnfc3sg,12495
|
|
45
45
|
openstackclient/identity/v2_0/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
46
46
|
openstackclient/identity/v2_0/catalog.py,sha256=B0nCW-KrPqBJ6CX4_zn7_p6h3Y4VFfmVhs14MhnJ-oY,3484
|
|
47
47
|
openstackclient/identity/v2_0/ec2creds.py,sha256=QRj4gP54dA-wX27xy55NJwes9PEFRsCSa0bXjB3aZrY,6468
|
|
@@ -73,14 +73,14 @@ openstackclient/identity/v3/project.py,sha256=jHpviZg3MYPKCacYs1_jbdafz9EflGHGqu
|
|
|
73
73
|
openstackclient/identity/v3/region.py,sha256=jcImUh-kZromTAtXd8aF7kfKBqBwfknP2I5ylYYyb0w,6010
|
|
74
74
|
openstackclient/identity/v3/registered_limit.py,sha256=mbV4Ci7kNPMbveHg6QQztYISiXcm3VwBv3xR2D-aKvw,11389
|
|
75
75
|
openstackclient/identity/v3/role.py,sha256=dmuW5j4T9zmNBHuGkIIcolx5aoDmyFGshGSfOZ2swEY,14205
|
|
76
|
-
openstackclient/identity/v3/role_assignment.py,sha256=
|
|
77
|
-
openstackclient/identity/v3/service.py,sha256=
|
|
76
|
+
openstackclient/identity/v3/role_assignment.py,sha256=KSgxEa3aV3BRA5Mejfo_FJYmMJzfQ35-Y5TljhVnGQ0,8021
|
|
77
|
+
openstackclient/identity/v3/service.py,sha256=2VuxiOEuEnqjWEPNryKRe4LLe70-MIndkDXYB_jdW1g,7457
|
|
78
78
|
openstackclient/identity/v3/service_provider.py,sha256=g-gs09bFJertKjbfFp2ZKPjXtPfNcecBlHWkArGLkvw,7410
|
|
79
79
|
openstackclient/identity/v3/tag.py,sha256=dcVDheoWxdkwsZYvyJSpzIF2EGpqZtaE0h7x2halscc,3972
|
|
80
80
|
openstackclient/identity/v3/token.py,sha256=dXP7iRYZRROw3k8knao6NteZeP67mVGCc2Y9jMHudnQ,7399
|
|
81
81
|
openstackclient/identity/v3/trust.py,sha256=xKIEd1K2S9NFnyJfa58ezEpsvQLVtO6qe4cREqFgkmA,10522
|
|
82
82
|
openstackclient/identity/v3/unscoped_saml.py,sha256=A-645W2kp0_27NxG03YcEU9EtcCFex6Ojzw4fLApuds,2031
|
|
83
|
-
openstackclient/identity/v3/user.py,sha256=
|
|
83
|
+
openstackclient/identity/v3/user.py,sha256=oDz9nfUeDyFsjHMALmNZxrG5qoGROOZ9CoTmNg7EMls,24051
|
|
84
84
|
openstackclient/image/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
85
85
|
openstackclient/image/client.py,sha256=I088KrjZ9ubuS_8NDX98W6_lHkdaxbBtRHTHt5q_HC8,1508
|
|
86
86
|
openstackclient/image/v1/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -294,7 +294,7 @@ openstackclient/tests/unit/compute/v2/test_host.py,sha256=AAcIxoGpVdy1qOkV3lPFyD
|
|
|
294
294
|
openstackclient/tests/unit/compute/v2/test_hypervisor.py,sha256=t_Xv7uh4dzv6G-gOG3Eoy7l516cHOwy1xeiBgIyaUKc,17390
|
|
295
295
|
openstackclient/tests/unit/compute/v2/test_hypervisor_stats.py,sha256=1z8Jhx_CBoN-cu4im3MQc-YPAZlRQfu--3c9UAUmMG4,3020
|
|
296
296
|
openstackclient/tests/unit/compute/v2/test_keypair.py,sha256=ASoemn6bN_tEKZlHRbhUpjPNydPaqMA22jn6fyAcwGs,25067
|
|
297
|
-
openstackclient/tests/unit/compute/v2/test_server.py,sha256=
|
|
297
|
+
openstackclient/tests/unit/compute/v2/test_server.py,sha256=Lg2sSCAI9Cenb4xz1hoOwheQul7KxiEhJvXKHdg2rzA,310893
|
|
298
298
|
openstackclient/tests/unit/compute/v2/test_server_backup.py,sha256=MW2UQQ32cE403Bmihp7s_MYVhVV4NrkwfDdaZ-y5Wu4,7503
|
|
299
299
|
openstackclient/tests/unit/compute/v2/test_server_event.py,sha256=aZhLD_RgcNDUdCgwVJmpolQlabVWxlrp5edSZBanR_Q,12504
|
|
300
300
|
openstackclient/tests/unit/compute/v2/test_server_group.py,sha256=Ul0SQ_cIq4mW7TIsm6mDRtCOlboNyy6lClP1Oy3NPAE,14934
|
|
@@ -336,12 +336,12 @@ openstackclient/tests/unit/identity/v3/test_region.py,sha256=SN7wLeta1wgFjul3_NG
|
|
|
336
336
|
openstackclient/tests/unit/identity/v3/test_registered_limit.py,sha256=8-Og3hgz2q8i7W1TSFmnRp9MqYzVY1H4SjnOrLVPWKo,17554
|
|
337
337
|
openstackclient/tests/unit/identity/v3/test_role.py,sha256=pYwuSFEg99MHk1mTKQ0l9XzdER0m2T9YjZHMDxfTvFk,51986
|
|
338
338
|
openstackclient/tests/unit/identity/v3/test_role_assignment.py,sha256=mHki0zb-hAB3mbVTa0nr3cmVsHEcoop282IwwbIEtgQ,27161
|
|
339
|
-
openstackclient/tests/unit/identity/v3/test_service.py,sha256=
|
|
339
|
+
openstackclient/tests/unit/identity/v3/test_service.py,sha256=eFRjaeuJKd4_G1_gSTzAKmLTN035rQjY4E5RnLzMutY,15028
|
|
340
340
|
openstackclient/tests/unit/identity/v3/test_service_provider.py,sha256=JkO4dBQLGGdJS9etWJzj0wswGmdAAtrCOmfC1hEYzSs,13189
|
|
341
341
|
openstackclient/tests/unit/identity/v3/test_token.py,sha256=k9Ij_BbGTx9KG6Wf7NiO_th-N7cxGWnIWQMWIlDsGXg,4556
|
|
342
342
|
openstackclient/tests/unit/identity/v3/test_trust.py,sha256=ox7NuX5Suxrg7wu_06xsUXsnsASex54-RE-Jj0vtF40,13081
|
|
343
343
|
openstackclient/tests/unit/identity/v3/test_unscoped_saml.py,sha256=gBtouVvKaOTflJ6TMg497ScL4GsVS3lVM_h8XKFExXg,3592
|
|
344
|
-
openstackclient/tests/unit/identity/v3/test_user.py,sha256=
|
|
344
|
+
openstackclient/tests/unit/identity/v3/test_user.py,sha256=BFNh4waeT_eM5IQkzPaeB6gxtDYh9CW1tuEDWbF8rQc,58245
|
|
345
345
|
openstackclient/tests/unit/image/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
346
346
|
openstackclient/tests/unit/image/v1/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
347
347
|
openstackclient/tests/unit/image/v1/fakes.py,sha256=rwYSQK12WxSaX2p-f15e6D94qC6lg1XIgBFvdiJ5aRc,2271
|
|
@@ -493,11 +493,11 @@ openstackclient/volume/v3/volume_message.py,sha256=HBBxPEcYoNqGjEbzGIEnIJ1XTcQ2K
|
|
|
493
493
|
openstackclient/volume/v3/volume_snapshot.py,sha256=pZ4q_qCwqh4jaGhX28G59wsWDmEc3uXdbpeD176osZg,3186
|
|
494
494
|
openstackclient/volume/v3/volume_transfer_request.py,sha256=PthOJV2m-pTV1njFzwTpaekXZkET1c6alIJrpuN7R6Q,7530
|
|
495
495
|
openstackclient/volume/v3/volume_type.py,sha256=DF2MVoW2mIk0ABDLZD8D2sb8JlR7-rRjA4qCnBHRe6o,34039
|
|
496
|
-
python_openstackclient-7.1.
|
|
497
|
-
python_openstackclient-7.1.
|
|
498
|
-
python_openstackclient-7.1.
|
|
499
|
-
python_openstackclient-7.1.
|
|
500
|
-
python_openstackclient-7.1.
|
|
501
|
-
python_openstackclient-7.1.
|
|
502
|
-
python_openstackclient-7.1.
|
|
503
|
-
python_openstackclient-7.1.
|
|
496
|
+
python_openstackclient-7.1.3.dist-info/AUTHORS,sha256=TRFKS0fs1j9d3_KWaIQfYnNH3gfTnDyBHng0RJAUFeM,21384
|
|
497
|
+
python_openstackclient-7.1.3.dist-info/LICENSE,sha256=XfKg2H1sVi8OoRxoisUlMqoo10TKvHmU_wU39ks7MyA,10143
|
|
498
|
+
python_openstackclient-7.1.3.dist-info/METADATA,sha256=iIADZeHvI7QGd_e-yM2TeUXu-TIImVCrCKKaN2LUYt0,6581
|
|
499
|
+
python_openstackclient-7.1.3.dist-info/WHEEL,sha256=g4nMs7d-Xl9-xC9XovUrsDHGXt-FT0E17Yqo92DEfvY,92
|
|
500
|
+
python_openstackclient-7.1.3.dist-info/entry_points.txt,sha256=9kVhKTeyLPfkXDMI_ALqXvz0zSJEqibJLHHsOdmtT3c,53261
|
|
501
|
+
python_openstackclient-7.1.3.dist-info/pbr.json,sha256=rL_Aoe59Tt--2HvZvKWBDtaV-1lzvc08eBhnivp4mQU,47
|
|
502
|
+
python_openstackclient-7.1.3.dist-info/top_level.txt,sha256=htg7z9oZgysRuVUHn-m1Bk6XLGOeV65nMbZX9H8qhs0,16
|
|
503
|
+
python_openstackclient-7.1.3.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"git_version": "a1ddfa4a", "is_release": true}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"git_version": "08c84454", "is_release": true}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_openstackclient-7.1.2.dist-info → python_openstackclient-7.1.3.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{python_openstackclient-7.1.2.dist-info → python_openstackclient-7.1.3.dist-info}/top_level.txt
RENAMED
|
File without changes
|