Add [DEFAULT] polling_namespace to generated ceilometer.conf

This option can be configured via both arguments and configuration
files. Add it to the sample config file generated by
oslo-config-generator to make user aware that they can use config
files to customize this option

Change-Id: I85e84a949c75f5e009bc33999f95fc6073757fcd
This commit is contained in:
Takashi Kajinami 2024-09-20 01:17:43 +09:00
parent ef27b49f6e
commit 9aec300ec0

View File

@ -17,6 +17,7 @@ import socket
from keystoneauth1 import loading
from oslo_config import cfg
import ceilometer.cmd.polling
import ceilometer.compute.discovery
import ceilometer.compute.virt.inspector
import ceilometer.compute.virt.libvirt.utils
@ -66,7 +67,8 @@ def list_opts():
# This have been removed due to a recursive import issue
return [
('DEFAULT',
itertools.chain(ceilometer.compute.virt.inspector.OPTS,
itertools.chain(ceilometer.cmd.polling.CLI_OPTS,
ceilometer.compute.virt.inspector.OPTS,
ceilometer.compute.virt.libvirt.utils.OPTS,
ceilometer.objectstore.swift.OPTS,
ceilometer.pipeline.base.OPTS,