0

我想首先获取 admin rc 文件,然后需要使用 python(openstack) amd 自动创建租户。请帮帮我

4

1 回答 1

0

Using REST APIs:

Step-1: Generate the token for authentication using the admin rc file details.

Use the keystone API for generating the auth token - https://developer.openstack.org/api-ref/identity/v3/?expanded=create-project-detail#authentication-and-token-management

Step-2: Access the "create project" (keystone v3) API to create the project (before we call it as tenant which uses keystone v2 version).

https://developer.openstack.org/api-ref/identity/v3/?expanded=create-project-detail#create-project

于 2019-03-07T16:26:05.860 回答