Files
cloudkitty/cloudkitty/config.py
Takashi Kajinami cc97993db3 Remove unused [state] options
This has been unused since it was replaced by DBStateManager[1][2][3].

[1] https://review.opendev.org/c/openstack/cloudkitty/+/112846
[2] https://review.opendev.org/c/openstack/cloudkitty/+/120472
[3] https://review.opendev.org/c/openstack/cloudkitty/+/140114

Change-Id: Id062249e5d503de7c2b4990b2988e66caf6d6319
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
2025-09-02 19:20:25 +09:00

39 lines
1.3 KiB
Python

# -*- coding: utf-8 -*-
# Copyright 2014 Objectif Libre
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
#
from oslo_config import cfg
from oslo_db import options as db_options # noqa
from oslo_messaging import opts # noqa
output_opts = [
cfg.StrOpt('backend',
default='cloudkitty.backend.file.FileBackend',
help='Backend for the output manager.'),
cfg.StrOpt('basepath',
default='/var/lib/cloudkitty/states/',
help='Storage directory for the file output backend.'),
cfg.ListOpt('pipeline',
default=['osrf'],
help='Output pipeline'), ]
cfg.CONF.register_opts(output_opts, 'output')
# oslo.db defaults
db_options.set_defaults(
cfg.CONF,
connection='sqlite:////var/lib/cloudkitty/cloudkitty.sqlite')