如何使用python3调用openstack keystone identity REST api接口获取X-AUTH-TOKEN
'''python3import osimport requestsimport jsonOS_AUTH_URL = 'http://192.168.15.212'body={ 'auth': { 'identity': { 'methods': ['password'],'password': {'user': {'domain': {'name': 'default'},'nam