Files
aprsd-stock-plugin/aprsd_stock_plugin/conf/main.py
T
2026-01-23 11:57:15 -05:00

28 lines
469 B
Python

from oslo_config import cfg
plugin_group = cfg.OptGroup(
name="aprsd_stock_plugin",
title="APRSD Stock Plugin settings",
)
plugin_opts = [
cfg.BoolOpt(
"enabled",
default=False,
help="Enable the plugin?",
),
]
ALL_OPTS = plugin_opts
def register_opts(cfg):
cfg.register_group(plugin_group)
cfg.register_opts(ALL_OPTS, group=plugin_group)
def list_opts():
return {
plugin_group.name: plugin_opts,
}