]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
Add active_machine_types config item
authorZack Cerza <zack@redhat.com>
Tue, 21 Feb 2023 23:33:02 +0000 (16:33 -0700)
committerZack Cerza <zack@redhat.com>
Tue, 7 Mar 2023 23:01:45 +0000 (16:01 -0700)
I'm adding this so that the exporter can know which machines types to
care about.

Signed-off-by: Zack Cerza <zack@redhat.com>
docs/siteconfig.rst
teuthology/config.py

index a80abb0a412114cc9744e55fa1a0283a2a79bd56..96d2658c4cd2efa72e3abb8fb61c51f435a3c435 100644 (file)
@@ -22,6 +22,10 @@ Here is a sample configuration with many of the options set and documented::
     # Teuthology can use the entire cluster.
     reserve_machines: 5
 
+    # The machine types currently in active use; currently only used by
+    # teuthology-exporter
+    active_machine_types: ['smithi']
+
     # The host and port to use for the beanstalkd queue. This is required 
     # for scheduled jobs.
     queue_host: localhost
index d499e767276af6db5deb4eebd53cd66f2bfd1c09..b97d5188c6c997c4761402e260413b08d18f7c27 100644 (file)
@@ -192,6 +192,7 @@ class TeuthologyConfig(YamlConfig):
         'rocketchat': None,
         'sleep_before_teardown': 0,
         'ssh_key': None,
+        'active_machine_types': [],
     }
 
     def __init__(self, yaml_path=None):