summaryrefslogtreecommitdiff
path: root/oswin_tempest_plugin/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'oswin_tempest_plugin/config.py')
-rw-r--r--oswin_tempest_plugin/config.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/oswin_tempest_plugin/config.py b/oswin_tempest_plugin/config.py
index 082147f..4782a13 100644
--- a/oswin_tempest_plugin/config.py
+++ b/oswin_tempest_plugin/config.py
@@ -14,6 +14,7 @@
14# under the License. 14# under the License.
15 15
16from oslo_config import cfg 16from oslo_config import cfg
17from oslo_config import types
17from tempest import config 18from tempest import config
18 19
19CONF = config.CONF 20CONF = config.CONF
@@ -61,6 +62,25 @@ HyperVGroup = [
61 help="The maximum number of NUMA cells the compute nodes " 62 help="The maximum number of NUMA cells the compute nodes "
62 "have. If it's less than 2, resize negative tests for " 63 "have. If it's less than 2, resize negative tests for "
63 "vNUMA will be skipped."), 64 "vNUMA will be skipped."),
65 cfg.ListOpt('collected_metrics',
66 item_type=types.String(
67 choices=('cpu', 'network.outgoing.bytes',
68 'disk.read.bytes')),
69 default=[],
70 help="The ceilometer metrics to check. If this config value "
71 "is empty, the telemetry tests are skipped. This config "
72 "option assumes that the compute nodes are configured "
73 "and capable of collecting ceilometer metrics. WARNING: "
74 "neutron-ovs-agent is not capable of enabling network "
75 "metrics collection."),
76 cfg.IntOpt('polled_metrics_delay',
77 default=620,
78 help="The number of seconds to wait for the metrics to be "
79 "published by the compute node's ceilometer-polling "
80 "agent. The value must be greater by ~15-20 seconds "
81 "than the agent's publish interval, defined in its "
82 "pipeline.yaml file (typically, the intervals are 600 "
83 "seconds)."),
64] 84]
65 85
66hyperv_host_auth_group = cfg.OptGroup(name='hyperv_host_auth', 86hyperv_host_auth_group = cfg.OptGroup(name='hyperv_host_auth',