af49d0b30a
As Cyborg is switching to new policy, this is required to avoid breaking the existing deployment using policy file in json format and relying on default value of 'CONF.oslo_policy.policy_file'. Default value of 'CONF.oslo_policy.policy_file' config option has been changed from 'policy.json' to 'policy.yaml'. If new default file 'policy.yaml' does not exist but old default 'policy.json' exist then fallback to use old default file. An upgrade checks is added to check the policy_file format and fail upgrade checks if it is JSON formatted. Added a warning in policy doc about JSON formatted file is deprecated, also removed all the reference to policy.json file in doc as well as in tests. Related Blueprint: https://blueprints.launchpad.net/oslo.policy/+spec/policy-json-to-yaml Change-Id: I865227e516dc7505c463ac279309169d95ea6a22
59 lines
2.0 KiB
INI
59 lines
2.0 KiB
INI
[metadata]
|
|
name = openstack-cyborg
|
|
summary = Distributed Acceleration Management as a Service
|
|
description-file =
|
|
README.rst
|
|
author = OpenStack
|
|
author-email = openstack-discuss@lists.openstack.org
|
|
home-page = https://docs.openstack.org/cyborg/latest/
|
|
python-requires = >=3.6
|
|
classifier =
|
|
Environment :: OpenStack
|
|
Intended Audience :: Information Technology
|
|
Intended Audience :: System Administrators
|
|
License :: OSI Approved :: Apache Software License
|
|
Operating System :: POSIX :: Linux
|
|
Programming Language :: Python
|
|
Programming Language :: Python :: Implementation :: CPython
|
|
Programming Language :: Python :: 3 :: Only
|
|
Programming Language :: Python :: 3
|
|
Programming Language :: Python :: 3.6
|
|
Programming Language :: Python :: 3.7
|
|
Programming Language :: Python :: 3.8
|
|
|
|
[files]
|
|
packages =
|
|
cyborg
|
|
data_files =
|
|
etc/cyborg =
|
|
etc/cyborg/policy.yaml
|
|
etc/cyborg/api-paste.ini
|
|
|
|
[entry_points]
|
|
oslo.policy.policies =
|
|
cyborg.api = cyborg.policies:list_policies
|
|
|
|
console_scripts =
|
|
cyborg-api = cyborg.cmd.api:main
|
|
cyborg-conductor = cyborg.cmd.conductor:main
|
|
cyborg-dbsync = cyborg.cmd.dbsync:main
|
|
cyborg-agent = cyborg.cmd.agent:main
|
|
cyborg-status = cyborg.cmd.status:main
|
|
wsgi_scripts =
|
|
cyborg-wsgi-api = cyborg.api.wsgi_app:init_application
|
|
|
|
cyborg.database.migration_backend =
|
|
sqlalchemy = cyborg.db.sqlalchemy.migration
|
|
|
|
cyborg.accelerator.driver =
|
|
intel_fpga_driver = cyborg.accelerator.drivers.fpga.intel.driver:IntelFPGADriver
|
|
inspur_fpga_driver = cyborg.accelerator.drivers.fpga.inspur.driver:InspurFPGADriver
|
|
nvmf_spdk_driver = cyborg.accelerator.drivers.spdk.nvmf.nvmf:NVMFDRIVER
|
|
nvidia_gpu_driver = cyborg.accelerator.drivers.gpu.nvidia.driver:NVIDIAGPUDriver
|
|
fake_driver = cyborg.accelerator.drivers.fake:FakeDriver
|
|
huawei_ascend_driver = cyborg.accelerator.drivers.aichip.huawei.ascend:AscendDriver
|
|
intel_qat_driver = cyborg.accelerator.drivers.qat.intel.driver:IntelQATDriver
|
|
|
|
oslo.config.opts =
|
|
cyborg = cyborg.conf.opts:list_opts
|