def __init__(self, auth_token, cinder_api_host='172.16.138.138', cinder_api_port='8776'): self.auth_token = auth_token self.api_headers = { 'Accept': 'application/json', 'X-Auth-Project-Id': 'admin', 'User-Agent': 'python-cinderclient', 'X-Auth-Token': auth_token } self.cinder_client = OpenstackClient(cinder_api_host, 'http', cinder_api_port)