e9515ba745
This can be used to formalize deprecation timelines, so that options are removed when planned. This includes moving some lines around, so that parameters are in a regular order. A future change can remove the fully deprecated options. The relevant commits are: DEFAULT vendordata_driver21da1ba
cells manager0fcec69
cells driver579c98a
conductor use_locala698871
conductor managere683c41
service metadata_manager0fcec69
service compute_manager0fcec69
service console_manager0fcec69
service consoleauth_manager0fcec69
service cert_manager0fcec69
service scheduler_manager0fcec69
DEFAULT quota_driver4306388
DEFAULT compute_available_monitors973f312
DEFAULT compute_stats_class3be36fc
DEFAULT snapshot_name_templateaeee454
DEFAULT db_driverc87ae92
DEFAULT image_decryption_dirbe86b27
DEFAULT s3_hostbe86b27
DEFAULT s3_portbe86b27
DEFAULT s3_access_keybe86b27
DEFAULT s3_secret_keybe86b27
DEFAULT s3_use_sslbe86b27
DEFAULT s3_affix_tenantbe86b27
DEFAULT enable_network_quotad0b8fec
DEFAULT quota_networksd0b8fec
glance use_glance_v116dd86f
image_file_url filesystems9931ef9
image_file_url:??? id9931ef9
image_file_url:??? mountpoint9931ef9
DEFAULT fatal_exception_format_errors6919b25
barbican catalog_info899a140
barbican endpoint_template899a140
barbican os_region_name899a140
ironic admin_username2ea2399
ironic admin_password2ea2399
libvirt use_usb_tablet73d5d1f
libvirt image_info_filename_pattern2c389cc
libvirt checksum_base_images2c389cc
libvirt checksum_interval_seconds2c389cc
DEFAULT share_dhcp_addresse29a800
DEFAULT security_group_apief957ee
osapi_v21 extensions_blacklist11507ee
osapi_v21 extensions_whitelist11507ee
osapi_v21 project_id_regex1f16a76
DEFAULT cert_topic5afc8e5
DEFAULT default_flavorb7660e0
Change-Id: I9e483109b52fe6d98e386a03010063cb37a0d9c8 Implements: bp centralize-config-options-ocata
39 lines
1.1 KiB
Python
39 lines
1.1 KiB
Python
# Copyright 2016 OpenStack Foundation
|
|
# All Rights Reserved.
|
|
#
|
|
# 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
|
|
|
|
|
|
flavor_opts = [
|
|
cfg.StrOpt(
|
|
"default_flavor",
|
|
default="m1.small",
|
|
deprecated_for_removal=True,
|
|
deprecated_since="14.0.0",
|
|
deprecated_reason="The EC2 API is deprecated.",
|
|
help="""
|
|
Default flavor to use for the EC2 API only.
|
|
The Nova API does not support a default flavor.
|
|
"""),
|
|
]
|
|
|
|
|
|
def register_opts(conf):
|
|
conf.register_opts(flavor_opts)
|
|
|
|
|
|
def list_opts():
|
|
return {"DEFAULT": flavor_opts}
|