4fd17b7229
Import the framework to generate sample config files using oslo-config-generator so that we can easily maintain consistency between code and the sample file. Note that this effectively removes the override made in the previous sample file. Change-Id: I35352e26f28b0435c05956b0f99c75078d110cbc
28 lines
913 B
Python
28 lines
913 B
Python
# 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.
|
|
|
|
import neutron_taas.common.config
|
|
import neutron_taas.services.taas.agents.extensions
|
|
|
|
|
|
def list_agent_opts():
|
|
return [
|
|
('DEFAULT', neutron_taas.services.taas.agents.extensions.OPTS)
|
|
]
|
|
|
|
|
|
def list_opts():
|
|
return [
|
|
('quotas', neutron_taas.common.config.taas_quota_opts),
|
|
('taas', neutron_taas.common.config.taas_opts)
|
|
]
|