예제 #1
0
 def setup_clients(cls):
     super(BaseSenlinTest, cls).setup_clients()
     cls.client = clustering_client.ClusteringAPIClient(
         cls.os.auth_provider,
         CONF.clustering.catalog_type,
         CONF.identity.region,
         **cls.os.default_params_with_timeout_values
     )
예제 #2
0
    def setup_clients(cls):
        super(BaseSenlinAPITest, cls).setup_clients()
        cls.client = clustering_client.ClusteringAPIClient(
            cls.os.auth_provider, CONF.clustering.catalog_type,
            CONF.identity.region, **cls.default_params_with_timeout_values)

        cls.compute_client = compute_client.V21ComputeClient(
            cls.os.auth_provider, CONF.compute.catalog_type,
            CONF.identity.region, **cls.default_params_with_timeout_values)

        cls.network_client = network_client.NetworkClient(
            cls.os.auth_provider, CONF.network.catalog_type,
            CONF.identity.region, **cls.default_params_with_timeout_values)