def setup_clients(cls):
        super(BaseVSDManagedNetwork, cls).setup_clients()
        cls.admin_networks_client = cls.os_admin.networks_client
        cls.admin_subnets_client = cls.os_admin.subnets_client
        cls.admin_ports_client = cls.os_admin.ports_client

        cls.nuage_client = nuage_client.NuageRestClient()
        cls.nuage_network_client = NuageNetworkClientJSON(
            cls.os_primary.auth_provider, **cls.os_primary.default_params)
Ejemplo n.º 2
0
    def setup_clients(cls):
        super(NuageBaseOrchestrationTest, cls).setup_clients()
        cls.vsd_client = nuage_client.NuageRestClient()

        cls.os_admin = cls.get_client_manager(roles=['admin'])

        cls.admin_networks_client = cls.os_admin.networks_client
        cls.admin_subnets_client = cls.os_admin.subnets_client
        cls.admin_routers_client = cls.os_admin.routers_client
Ejemplo n.º 3
0
    def setup_clients(cls):
        super(NuageBaseOrchestrationTest, cls).setup_clients()
        cls.vsd_client = nuage_client.NuageRestClient()

        # add ourselves for now as was removed upstream
        cls.orchestration_client = orchestration.OrchestrationClient(
            cls.os_admin.auth_provider,
            CONF.heat_plugin.catalog_type,
            CONF.heat_plugin.region or CONF.identity.region,
            build_interval=CONF.heat_plugin.build_interval,
            build_timeout=CONF.heat_plugin.build_timeout,
            **cls.os_admin.default_params)

        cls.admin_networks_client = cls.os_admin.networks_client
        cls.admin_routers_client = cls.os_admin.routers_client
 def setup_clients(cls):
     super(TestNuageDomainTunnelTypeCli, cls).setup_clients()
     cls.nuage_client = nuage_client.NuageRestClient()
Ejemplo n.º 5
0
 def setup_clients(cls):
     super(SubnetsTest, cls).setup_clients()
     cls.nuage_rest_client = nuage_client.NuageRestClient()
Ejemplo n.º 6
0
 def setup_clients(self):
     super(ML2VSDManagedSRIOVTest, self).setup_clients()
     self.nuage_client = nuage_client.NuageRestClient()
 def setup_clients(cls):
     super(BaseNuageFipRateLimit, cls).setup_clients()
     cls.nuage_client = nuage_client.NuageRestClient()
     cls.assure_nuage_fip_rate_limit_configs()
Ejemplo n.º 8
0
 def setup_clients(cls):
     super(NuageFipUnderlayBase, cls).setup_clients()
     cls.nuage_client = nuage_client.NuageRestClient()
 def setup_clients(cls):
     super(NeutronGatewayResourcesTest, cls).setup_clients()
     cls.nuage_client = nuage_client.NuageRestClient()
Ejemplo n.º 10
0
 def setup_clients(cls):
     super(NuageExtSecGroup, cls).setup_clients()
     cls.nuageclient = nuage_client.NuageRestClient()
     cls.client = NuageNetworkClientJSON(
         cls.os_primary.auth_provider,
         **cls.os_primary.default_params)
 def setup_clients(cls):
     super(NetpartitionsTest, cls).setup_clients()
     cls.client = NuageNetworkClientJSON(cls.os_primary.auth_provider,
                                         **cls.os_primary.default_params)
     cls.nuage_client = nuage_client.NuageRestClient()
     cls.vsd = vsd_helper.VsdHelper()
 def setup_clients(cls):
     super(NuageBidirectionalFipRateLimitBase, cls).setup_clients()
     cls.nuage_client = nuage_client.NuageRestClient()