Example #1
0
 def register_opts(self, conf):
     config.register_opt_group(conf,
                               blazar_config.service_available_group,
                               blazar_config.service_option)
     config.register_opt_group(conf,
                               blazar_config.resource_reservation_group,
                               blazar_config.ResourceReservationGroup)
Example #2
0
 def register_opts(self, conf):
     conf.register_opt(project_config.ironic_service_option,
                       group='service_available')
     conf.register_opt(project_config.inspector_service_option,
                       group='service_available')
     for group, option in _opts:
         config.register_opt_group(conf, group, option)
Example #3
0
 def register_opts(self, conf):
     config.register_opt_group(
         conf, config_rca_engine.service_available_group,
         config_rca_engine.ServiceAvailableGroup)
     config.register_opt_group(
         conf, config_rca_engine.rca_engine_group,
         config_rca_engine.RcaEngineGroup)
 def __init__(self, parse_conf=True):
     super(TempestConfigPrivateClimate, self).__init__()
     config.register_opt_group(cfg.CONF, service_available_group,
                               ServiceAvailableGroup)
     config.register_opt_group(cfg.CONF, resource_reservation_group,
                               ResourceReservationGroup)
     self.resource_reservation = cfg.CONF.resource_reservation
 def register_opts(self, conf):
     """Add additional configuration options to tempest."""
     config.register_opt_group(conf, config_share.service_available_group,
                               config_share.ServiceAvailableGroup)
     config.register_opt_group(conf,
                               config_share.tempest_sidecar_plugin_group,
                               config_share.TempestSidecarPluginGroup)
Example #6
0
 def register_opts(self, conf):
     config.register_opt_group(conf,
                               tempest_config.service_available_group,
                               tempest_config.ServiceAvailableGroup)
     config.register_opt_group(conf,
                               tempest_config.alarming_group,
                               tempest_config.AlarmingGroup)
Example #7
0
 def register_opts(self, conf):
     config.register_opt_group(conf,
                               tempest_config.service_available_group,
                               tempest_config.service_available_opts)
     config.register_opt_group(conf,
                               tempest_config.metric_group,
                               tempest_config.metric_opts)
Example #8
0
 def register_opts(self, conf):
     config.register_opt_group(
         conf, project_config.service_available_group,
         project_config.ServiceAvailableGroup)
     config.register_opt_group(
         conf, project_config.bgpvpn_group,
         project_config.BgpvpnGroup)
Example #9
0
 def register_opts(self, conf):
     config.register_opt_group(conf,
                               dash_config.dashboard_group,
                               dash_config.DashboardGroup)
     config.register_opt_group(conf,
                               dash_config.service_available_group,
                               dash_config.ServiceAvailableGroup)
Example #10
0
 def register_opts(self, conf):
     config.register_opt_group(conf,
                               tempest_config.service_available_group,
                               tempest_config.ServiceAvailableGroup)
     config.register_opt_group(conf,
                               tempest_config.telemetry_group,
                               tempest_config.TelemetryGroup)
 def register_opts(self, conf):
     config.register_opt_group(conf,
                               mistral_config.service_available_group,
                               mistral_config.ServiceAvailableGroup)
     config.register_opt_group(conf,
                               mistral_config.mistral_api_group,
                               mistral_config.MistralApiGroup)
 def __init__(self, parse_conf=True):
     super(TempestConfigPrivateClimate, self).__init__()
     config.register_opt_group(cfg.CONF, service_available_group,
                               ServiceAvailableGroup)
     config.register_opt_group(cfg.CONF, resource_reservation_group,
                               ResourceReservationGroup)
     self.resource_reservation = cfg.CONF.resource_reservation
Example #13
0
 def register_opts(self, conf):
     if not conf.get('boto', False):
         config.register_opt_group(conf, ec2_config.boto_group,
                                   ec2_config.BotoGroup)
     if not conf.get('compute_feature_enabled', False):
         if not hasattr(conf['compute_feature_enabled'], 'ec2_api'):
             conf.register_opt(ec2_config.ec2_api_opt,
                               group='compute_feature_enabled')
Example #14
0
 def register_opts(self, conf):
     config.register_opt_group(
         conf, project_config.service_available_group,
         project_config.ServiceAvailableGroup)
     config.register_opt_group(
         conf, project_config.cinder_group,
         project_config.CinderGroup
     )
Example #15
0
 def register_opts(self, conf):
     tempest_config.register_opt_group(conf, config.service_available_group,
                                       config.ServiceAvailableGroup)
     tempest_config.register_opt_group(conf,
                                       config.baremetal_introspection_group,
                                       config.BaremetalIntrospectionGroup)
     # FIXME(dtantsur): pretend like Neutron does not exist due to random
     # failures, see https://bugs.launchpad.net/bugs/1621791.
     cfg.CONF.set_override('neutron', False, 'service_available')
Example #16
0
 def register_opts(self, conf):
     config.register_opt_group(
         conf,
         config_share.service_available_group,
         config_share.ServiceAvailableGroup)
     config.register_opt_group(
         conf,
         config_share.say_hi_group,
         config_share.SayHiGroup)
Example #17
0
 def register_opts(self, conf):
     config.register_opt_group(
         conf,
         config_share.service_available_group,
         config_share.ServiceAvailableGroup)
     config.register_opt_group(
         conf,
         config_share.hello_world_group,
         config_share.HelloWorldGroup)
 def register_opts(self, conf):
     config.register_opt_group(
         conf,
         config_share.service_available_group,
         config_share.ServiceAvailableGroup)
     config.register_opt_group(
         conf,
         config_share.hello_world_group,
         config_share.HelloWorldGroup)
Example #19
0
 def register_opts(self, conf):
     config.register_opt_group(
         conf,
         config_log_api.service_available_group,
         config_log_api.ServiceAvailableGroup
     )
     config.register_opt_group(conf,
                               config_log_api.monitoring_group,
                               config_log_api.MonitoringGroup)
 def register_opts(self, conf):
     config.register_opt_group(
         conf,
         plugin_cfg.service_available_group,
         plugin_cfg.ServiceAvailableGroup)
     config.register_opt_group(
         conf,
         plugin_cfg.share_group,
         plugin_cfg.ShareGroup)
Example #21
0
 def register_opts(self, conf):
     config.register_opt_group(
         conf, trove_config.service_available_group,
         trove_config.ServiceAvailableGroup
     )
     config.register_opt_group(
         conf, trove_config.database_group,
         trove_config.DatabaseGroup
     )
Example #22
0
 def register_opts(self, conf):
     config.register_opt_group(conf, config.service_available_group,
                               tempest_config.service_option)
     config.register_opt_group(conf, tempest_config.telemetry_group,
                               tempest_config.TelemetryGroup)
     config.register_opt_group(conf, tempest_config.event_group,
                               tempest_config.event_opts)
     config.register_opt_group(conf, tempest_config.alarming_group,
                               tempest_config.AlarmingGroup)
     config.register_opt_group(conf, tempest_config.metric_group,
                               tempest_config.metric_opts)
Example #23
0
    def register_opts(self, conf):
        """Adds additional configuration options to tempest.

        This method will be run for the plugin during the register_opts()
        function in tempest.config

        :param conf: The conf object that can be used to register additional
                     options.
        """
        config.register_opt_group(conf, config.volume_feature_group,
                                  project_config.cinder_option)
Example #24
0
 def register_opts(self, conf):
     config.register_opt_group(conf, config_nsx.scenario_group,
                               config_nsx.ScenarioGroup)
     config.register_opt_group(conf, config_nsx.network_group,
                               config_nsx.NetworkGroup)
     config.register_opt_group(conf, config_nsx.nsxv_group,
                               config_nsx.NSXvGroup)
     config.register_opt_group(conf, config_nsx.l2gw_group,
                               config_nsx.L2gwGroup)
     config.register_opt_group(conf, config_nsx.nsxv3_group,
                               config_nsx.NSXv3Group)
Example #25
0
 def register_opts(self, conf):
     try:
         config.register_opt_group(conf,
                                   glare_config.service_available_group,
                                   glare_config.ServiceAvailableGroup)
     except cfg.DuplicateOptError:
         pass
     try:
         config.register_opt_group(conf, glare_config.artifacts_group,
                                   glare_config.ArtifactGroup)
     except cfg.DuplicateOptError:
         pass
Example #26
0
    def register_opts(self, conf):
        group_name = aws_config.service_available_group.name
        if group_name not in conf:
            config.register_opt_group(conf, aws_config.service_available_group,
                                      aws_config.ServiceAvailableGroup)
        else:
            for opt in aws_config.ServiceAvailableGroup:
                conf.register_opt(opt, group=group_name)

        if aws_config.aws_group.name not in conf:
            config.register_opt_group(conf, aws_config.aws_group,
                                      aws_config.AWSGroup)
Example #27
0
    def register_opts(self, conf):
        config.register_opt_group(conf, config_share.service_available_group,
                                  config_share.ServiceAvailableGroup)
        config.register_opt_group(conf, config_share.share_group,
                                  config_share.ShareGroup)

        # NOTE(vponomaryov): set opt 'capability_snapshot_support' by
        # default equal to opt 'run_snapshot_tests'.
        if conf.share.capability_snapshot_support is None:
            conf.set_default(
                "capability_snapshot_support",
                conf.share.run_snapshot_tests,
                group="share",
            )
Example #28
0
    def register_opts(self, conf):
        config.register_opt_group(
            conf, config_share.service_available_group,
            config_share.ServiceAvailableGroup)
        config.register_opt_group(conf, config_share.share_group,
                                  config_share.ShareGroup)

        # NOTE(vponomaryov): set opt 'capability_snapshot_support' by
        # default equal to opt 'run_snapshot_tests'.
        if conf.share.capability_snapshot_support is None:
            conf.set_default(
                "capability_snapshot_support",
                conf.share.run_snapshot_tests,
                group="share",
            )
Example #29
0
 def register_opts(self, conf):
     config.register_opt_group(
         conf,
         config_nsx.scenario_group, config_nsx.ScenarioGroup)
     config.register_opt_group(
         conf,
         config_nsx.network_group, config_nsx.NetworkGroup)
     config.register_opt_group(
         conf,
         config_nsx.nsxv_group, config_nsx.NSXvGroup)
     config.register_opt_group(
         conf,
         config_nsx.l2gw_group, config_nsx.L2gwGroup)
     config.register_opt_group(
         conf,
         config_nsx.nsxv3_group, config_nsx.NSXv3Group)
 def register_opts(self, conf):
     config.register_opt_group(
         conf, config.service_available_group,
         config_application_catalog.service_option)
     config.register_opt_group(
         conf, config_application_catalog.application_catalog_group,
         config_application_catalog.ApplicationCatalogGroup)
     config.register_opt_group(
         conf, config_application_catalog.service_broker_group,
         config_application_catalog.ServiceBrokerGroup)
     config.register_opt_group(
         conf, config_application_catalog.artifacts_group,
         config_application_catalog.ArtifactsGroup)
     config.register_opt_group(
         conf, config_application_catalog.orchestration_group,
         config_application_catalog.OrchestrationGroup)
Example #31
0
 def __init__(self, parse_conf=True):
     super(TempestConfigPrivateManila, self).__init__()
     config.register_opt_group(cfg.CONF, magnetodb_group, MagnetoDBGroup)
     config.register_opt_group(cfg.CONF, magnetodb_streaming_group,
                               MagnetoDBStreamingGroup)
     config.register_opt_group(cfg.CONF, magnetodb_management_group,
                               MagnetoDBManagementGroup)
     config.register_opt_group(cfg.CONF, magnetodb_monitoring_group,
                               MagnetoDBMonitoringGroup)
     self.magnetodb = cfg.CONF.magnetodb
Example #32
0
 def __init__(self, parse_conf=True):
     config.register_opt_group(cfg.CONF, magnetodb_group, MagnetoDBGroup)
     config.register_opt_group(cfg.CONF, magnetodb_streaming_group,
                               MagnetoDBStreamingGroup)
     config.register_opt_group(cfg.CONF, magnetodb_monitoring_group,
                               MagnetoDBMonitoringGroup)
     config.register_opt_group(cfg.CONF, magnetodb_management_group,
                               MagnetoDBManagementGroup)
     cfg.CONF.register_opt(magnetodb_url_opt, group='boto')
     self.magnetodb = cfg.CONF.magnetodb
     self.magnetodb_streaming = cfg.CONF.magnetodb_streaming
     self.magnetodb_monitoring = cfg.CONF.magnetodb_monitoring
     self.magnetodb_management = cfg.CONF.magnetodb_management
Example #33
0
 def register_opts(self, conf):
     config.register_opt_group(
         conf, config_application_catalog.service_available_group,
         config_application_catalog.ServiceAvailableGroup)
     config.register_opt_group(
         conf, config_application_catalog.application_catalog_group,
         config_application_catalog.ApplicationCatalogGroup)
     config.register_opt_group(
         conf, config_application_catalog.service_broker_group,
         config_application_catalog.ServiceBrokerGroup)
     config.register_opt_group(
         conf, config_application_catalog.artifacts_group,
         config_application_catalog.ArtifactsGroup)
Example #34
0
 def register_opts(self, conf):
     config.register_opt_group(conf, project_config.service_available_group,
                               project_config.ServiceAvailableGroup)
     config.register_opt_group(conf, project_config.gbp_group,
                               project_config.GbpGroup)
     config.register_opt_group(conf, project_config.gbp_feature_group,
                               project_config.GbpFeatureGroup)
Example #35
0
 def register_opts(self, conf):
     config.register_opt_group(conf, project_config.identity_group,
                               project_config.IdentityGroup)
     config.register_opt_group(conf, project_config.identity_feature_group,
                               project_config.IdentityFeatureGroup)
     config.register_opt_group(conf, project_config.fed_scenario_group,
                               project_config.FedScenarioGroup)
Example #36
0
 def register_opts(self, conf):
     config.register_opt_group(conf, project_config.nuage_vsd_group,
                               project_config.NuageVsdGroup)
     config.register_opt_group(conf, project_config.nuage_tempest_group,
                               project_config.NuageTempestGroup)
     config.register_opt_group(conf, project_config.nuage_sut_group,
                               project_config.NuageSutGroup)
Example #37
0
    def register_opts(self, conf):
        # Ignore the duplicate error: it means that the same content
        # is (still) defined in Tempest
        try:
            config.register_opt_group(conf,
                                      sahara_config.service_available_group,
                                      sahara_config.ServiceAvailableGroup)
        except cfg.DuplicateOptError:
            pass
        try:
            config.register_opt_group(conf,
                                      sahara_config.data_processing_group,
                                      sahara_config.DataProcessingGroup)
        except cfg.DuplicateOptError:
            pass

        conf.register_opts(sahara_config.DataProcessingAdditionalGroup,
                           sahara_config.data_processing_group.name)

        try:
            config.register_opt_group(conf, sahara_config.
                                      data_processing_feature_group,
                                      sahara_config.
                                      DataProcessingFeaturesGroup)
        except cfg.DuplicateOptError:
            pass
        config.CONF.data_processing = conf['data-processing']
        config.CONF.data_processing_feature_enabled = conf[
            'data-processing-feature-enabled']
Example #38
0
 def __init__(self, parse_conf=True):
     super(TempestConfigPrivateMagnetoDB, self).__init__()
     config.register_opt_group(cfg.CONF, magnetodb_group, MagnetoDBGroup)
     config.register_opt_group(cfg.CONF, magnetodb_streaming_group,
                               MagnetoDBStreamingGroup)
     config.register_opt_group(cfg.CONF, magnetodb_monitoring_group,
                               MagnetoDBMonitoringGroup)
     config.register_opt_group(cfg.CONF, magnetodb_management_group,
                               MagnetoDBManagementGroup)
     cfg.CONF.register_opt(magnetodb_url_opt, group='boto')
     self.magnetodb = cfg.CONF.magnetodb
     self.magnetodb_streaming = cfg.CONF.magnetodb_streaming
     self.magnetodb_monitoring = cfg.CONF.magnetodb_monitoring
     self.magnetodb_management = cfg.CONF.magnetodb_management
Example #39
0
    def register_opts(self, conf):
        config.register_opt_group(conf, tempest_config.service_available_group,
                                  tempest_config.ServiceAvailableGroup)
        config.register_opt_group(conf, tempest_config.baremetal_compute_group,
                                  tempest_config.BaremetalComputeGroup)

        config.register_opt_group(conf, tempest_config.baremetal_node_group,
                                  tempest_config.BaremetalNodeGroup)
 def register_opts(self, conf):
     config.register_opt_group(conf, project_config.service_available_group,
                               project_config.ServiceAvailableGroup)
     config.register_opt_group(conf, project_config.octavia_group,
                               project_config.OctaviaGroup)
     config.register_opt_group(conf,
                               project_config.lb_feature_enabled_group,
                               project_config.LBFeatureEnabledGroup)
Example #41
0
    def register_opts(self, conf):
        config.register_opt_group(conf, pconfig.patrole_group,
                                  pconfig.PatroleGroup)
        config.register_opt_group(conf, pconfig.patrole_log_group,
                                  pconfig.PatroleLogGroup)
        config.register_opt_group(conf, pconfig.policy_feature_enabled,
                                  pconfig.PolicyFeatureEnabledGroup)

        if conf.patrole_log.enable_reporting:
            self._configure_per_test_logging(conf)
Example #42
0
 def register_opts(self, conf):
     config.register_opt_group(
         conf, config_application_catalog.service_available_group,
         config_application_catalog.ServiceAvailableGroup)
     config.register_opt_group(
         conf, config_application_catalog.application_catalog_group,
         config_application_catalog.ApplicationCatalogGroup)
     config.register_opt_group(
         conf, config_application_catalog.service_broker_group,
         config_application_catalog.ServiceBrokerGroup)
Example #43
0
 def register_opts(self, conf):
     config.register_opt_group(
         conf, project_config.nuage_vsd_group,
         project_config.NuageVsdGroup)
     config.register_opt_group(
         conf, project_config.nuage_sut_group,
         project_config.NuageSutGroup)
     config.register_opt_group(
         conf, project_config.nuage_feature_group,
         project_config.NuageFeaturesGroup)
Example #44
0
    def register_opts(self, conf):
        config.register_opt_group(conf, project_config.service_available_group,
                                  project_config.ServiceAvailableGroup)
        config.register_opt_group(conf, project_config.sdn_group,
                                  project_config.SDNGroup)
        config.register_opt_group(conf, project_config.tungsten_log_group,
                                  project_config.TungstenLogGroup)

        if conf.tungsten_log.enable_reporting:
            self._configure_per_test_logging(conf)
Example #45
0
    def register_opts(self, conf):
        # TODO(fmontei): Remove ``rbac_group`` in a future release as it is
        # currently deprecated.
        config.register_opt_group(conf, project_config.rbac_group,
                                  project_config.PatroleGroup)
        config.register_opt_group(conf, project_config.patrole_group,
                                  project_config.PatroleGroup)
        config.register_opt_group(conf, project_config.patrole_log_group,
                                  project_config.PatroleLogGroup)

        if conf.patrole_log.enable_reporting:
            self._configure_per_test_logging(conf)
Example #46
0
    def register_opts(self, conf):
        """
        Add additional configuration options to tempest.

        This method will be run for the plugin during the register_opts()
        function in tempest.config

        Parameters:
        conf (ConfigOpts): The conf object that can be used to register
        additional options on.
        """
        config.register_opt_group(conf, project_config.service_available_group,
                                  project_config.ServiceAvailableGroup)
        config.register_opt_group(conf, project_config.dns_group,
                                  project_config.DnsGroup)
        config.register_opt_group(conf, project_config.dns_feature_group,
                                  project_config.DnsFeatureGroup)
        config.register_opt_group(conf, project_config.enforce_scope_group,
                                  project_config.EnforceScopeGroup)
    def register_opts(self, conf):
        """
        Add additional configuration options to tempest.

        This method will be run for the plugin during the register_opts()
        function in tempest.config

        Parameters:
        conf (ConfigOpts): The conf object that can be used to register
        additional options on.
        """
        config.register_opt_group(conf, project_config.service_available_group,
                                  project_config.ServiceAvailableGroup)
        config.register_opt_group(conf, project_config.dns_group,
                                  project_config.DnsGroup)
        config.register_opt_group(conf, project_config.dns_feature_group,
                                  project_config.DnsFeatureGroup)
Example #48
0
 def register_opts(self, conf):
     config.register_opt_group(conf, trove_config.service_available_group,
                               trove_config.ServiceAvailableGroup)
     config.register_opt_group(conf, trove_config.database_group,
                               trove_config.DatabaseGroup)
Example #49
0
 def __init__(self):
     self._config = config.CONF
     config.register_opt_group(
         cfg.CONF, service_available_group, ServiceAvailableGroup)
     config.register_opt_group(cfg.CONF, share_group, ShareGroup)
     self._config.share = cfg.CONF.share
Example #50
0
 def register_opts(self, conf):
     conf.register_opt(project_config.service_option,
                       group='service_available')
     config.register_opt_group(conf, project_config.baremetal_group,
                               project_config.BaremetalGroup)
Example #51
0
 def register_opts(self, conf):
     config.register_opt_group(
         conf, magnum_config.service_available_group,
         magnum_config.ServiceAvailableGroup)
     config.register_opt_group(conf, magnum_config.magnum_group,
                               magnum_config.MagnumGroup)
Example #52
0
 def register_opts(self, conf):
     for g, o in self.get_opt_lists():
         config.register_opt_group(conf, g, o)
Example #53
0
 def register_opts(self, conf):
     conf.register_opt(project_config.service_option,
                       group='service_available')
     for group, option in _opts:
         config.register_opt_group(conf, group, option)
Example #54
0
 def register_opts(self, conf):
     if gce_config.OPTIONS_GROUP.name not in conf:
         config.register_opt_group(conf, gce_config.OPTIONS_GROUP,
                                   gce_config.OPTIONS)
Example #55
0
 def register_opts(self, conf):
     config.register_opt_group(
         conf, config.volume_feature_group,
         project_config.cinder_option
     )
Example #56
0
 def register_opts(self, conf):
     config.register_opt_group(
         conf, d_config.dummy_cfg_group,
         d_config.DummyCfgGroup)
Example #57
0
 def register_opts(self, conf):
     config.register_opt_group(conf, config_senlin.service_available_group,
                               config_senlin.ServiceAvailableGroup)
     config.register_opt_group(conf, config_senlin.clustering_group,
                               config_senlin.ClusteringGroup)
Example #58
0
 def register_opts(self, conf):
     if aws_config.aws_group.name not in conf:
         config.register_opt_group(conf, aws_config.aws_group,
                                   aws_config.AWSGroup)
Example #59
0
 def register_opts(self, conf):
     config.register_opt_group(
         conf, freezer_config.service_available_group,
         freezer_config.ServiceAvailableGroup)