Example #1
0
    def setup_clients(cls):
        super(NuagePatUnderlayBase, cls).setup_clients()
        cls.nuage_vsd_client = nuage_client.NuageRestClient()
        cls.service_manager = service_mgmt.ServiceManager()

        if not cls.service_manager.is_service_running(constants.NEUTRON_SERVICE):
            cls.service_manager.start_service(constants.NEUTRON_SERVICE)
    def setup_clients(cls):
        super(TestNuageFipRateLimitCliWithoutDefault, cls).setup_clients()
        cls.nuage_vsd_client = nuage_client.NuageRestClient()

        cls.service_manager = service_mgmt.ServiceManager()
        cls.service_manager.must_have_configuration_attribute(
            CONF.nuage_sut.nuage_plugin_configuration,
            constants.FIP_RATE_GROUP, constants.FIP_RATE_DEFAULT, cls.configured_default_fip_rate)
    def setup_clients(cls):
        super(NuageDomainTunnelTypeBase, cls).setup_clients()
        os = cls.get_client_manager()

        # initialize admin client
        cls.os_adm = cls.get_client_manager(credential_type='admin')
        cls.client = cls.os_adm.network_client

        cls.nuage_vsd_client = nuage_client.NuageRestClient()
Example #4
0
    def setup_clients(cls):
        super(NuageBaseOrchestrationTest, cls).setup_clients()
        cls.vsd_client = nuage_client.NuageRestClient()

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

        cls.admin_network_client = cls.os_adm.network_client
        cls.admin_networks_client = cls.os_adm.networks_client
        cls.admin_routers_client = cls.os_adm.routers_client
 def setup_clients(cls):
     super(NuageExtSecGroup, cls).setup_clients()
     cls.nuageclient = nuage_client.NuageRestClient()
     cls.client = NuageNetworkClientJSON(
         cls.os.auth_provider,
         CONF.network.catalog_type,
         CONF.network.region or CONF.identity.region,
         endpoint_type=CONF.network.endpoint_type,
         build_interval=CONF.network.build_interval,
         build_timeout=CONF.network.build_timeout,
         **cls.os.default_params)
Example #6
0
    def setup_clients(cls):
        super(BaseVSDManagedNetwork, cls).setup_clients()
        cls.nuage_vsd_client = nuage_client.NuageRestClient()
        cls.admin_client = cls.os_adm.network_client

        cls.nuage_network_client = NuageNetworkClientJSON(
            cls.os.auth_provider,
            CONF.network.catalog_type,
            CONF.network.region or CONF.identity.region,
            endpoint_type=CONF.network.endpoint_type,
            build_interval=CONF.network.build_interval,
            build_timeout=CONF.network.build_timeout,
            **cls.os.default_params)
    def setup_clients(cls):
        super(TestNuageFipRateLimitConfigurationBase, cls).setup_clients()
        cls.nuage_vsd_client = nuage_client.NuageRestClient()

        cls.service_manager = service_mgmt.ServiceManager()

        if not cls.service_manager.is_service_running(
                constants.NEUTRON_SERVICE):
            cls.service_manager.set_configuration_attribute(
                CONF.nuage_sut.nuage_plugin_configuration,
                constants.FIP_RATE_GROUP, constants.FIP_RATE_DEFAULT, str(-1))
            cls.service_manager.start_service(constants.NEUTRON_SERVICE)
            cls.service_manager.wait_for_service_status(
                constants.NEUTRON_SERVICE)
Example #8
0
 def setup_clients(cls):
     super(NuageFipUnderlayBase, cls).setup_clients()
     cls.nuage_vsd_client = nuage_client.NuageRestClient()
Example #9
0
    def setup_clients(cls):
        super(NeutronGatewayResourcesTest, cls).setup_clients()
        cls.orchestration_client = cls.os_adm.orchestration_client
        cls.client = cls.orchestration_client

        cls.nuage_vsd_client = nuage_client.NuageRestClient()
 def setup_clients(cls):
     super(TestNuageDomainTunnelTypeCli, cls).setup_clients()
     cls.nuage_vsd_client = nuage_client.NuageRestClient()
Example #11
0
 def setup_clients(cls):
     super(NuageFipRateLimitBase, cls).setup_clients()
     cls.nuage_vsd_client = nuage_client.NuageRestClient()