def get_heat_client(): """ Returns a new client object to a heat server specified by the --host and --port options supplied to the CLI """ options = {'host':'localhost', 'port':8000, 'username':'******', 'password':'******', 'tenant':'admin', 'auth_url':'http://127.0.0.1:5000/v2.0/', 'auth_strategy':None, 'auth_token':'d57638a3cced1564cc0d', 'region':None, 'insecure':False, } return heat_client.get_client(**options)
def get_client(): """ Returns a new client object to a heat server specified by the --host and --port options supplied to the CLI """ options = { 'host': 'localhost', 'port': 8000, 'username': '******', 'password': '******', 'tenant': 'admin', 'auth_url': 'http://127.0.0.1:5000/v2.0/', 'auth_strategy': None, 'auth_token': 'd57638a3cced1564cc0d', 'region': None, 'insecure': False, } return heat_client.get_client(**options)
def _create_heat_client(self): return heat_client.get_client('0.0.0.0', 8000, self.creds['username'], self.creds['password'], self.creds['tenant'], self.creds['auth_url'], self.creds['strategy'], None, None, False)