Ejemplo n.º 1
0
    def __init__(self, region_name=None):
        heat_args = SysUtil.get_credentials()
        heat_args['token'] = SysUtil.get_token()
        conf = SysUtilObj().get_sys_conf()
        endpoint = SysUtil.get_endpoint(service_type='orchestration', endpoint_type='publicURL', region_name=conf['os_region_name'])

        self.client = HeatClient(version='1', endpoint=endpoint, **heat_args)
Ejemplo n.º 2
0
    def __init__(self):
        heat_args = SysUtil.get_credentials()
        heat_args["token"] = SysUtil.get_token()
        conf = SysUtilObj().get_sys_conf()
        endpoint = SysUtil.get_endpoint(
            service_type="orchestration", endpoint_type="publicURL", region_name=conf["os_region_name"]
        )

        self.client = HeatClient(version="1", endpoint=endpoint, **heat_args)
Ejemplo n.º 3
0
    def __init__(self):
        heat_args = SysUtil.get_credentials()
        heat_args['token'] = SysUtil.get_token()
        conf = SysUtilObj().get_sys_conf()
        endpoint = SysUtil.get_endpoint(service_type='orchestration',
                                        endpoint_type='publicURL',
                                        region_name=conf['os_region_name'])

        self.client = HeatClient(version='1', endpoint=endpoint, **heat_args)
Ejemplo n.º 4
0
 def __init__(self):
     ks_args = SysUtil.get_credentials()
     self.ksclient = KeystoneClient(**ks_args)
Ejemplo n.º 5
0
 def __init__(self):
     creds = SysUtil.get_credentials()
     creds['os_auth_token'] = SysUtil.get_token()
     #creds['token'] = util.get_token()
     #creds['ceilometer_url'] = util.get_endpoint(service_type='metering',endpoint_type='publicURL')
     self.cmclient = client.get_client('2', **creds)
Ejemplo n.º 6
0
 def __init__(self):
     creds = SysUtil.get_credentials()
     creds['os_auth_token'] = SysUtil.get_token()
     #creds['token'] = util.get_token()
     #creds['ceilometer_url'] = util.get_endpoint(service_type='metering',endpoint_type='publicURL')
     self.cmclient = client.get_client('2', **creds)