Fix Openstack Plugin issues for KB-commands.
Currently, as per this commit https://review.openstack.org/#/c/500506/ plugin for openstack cli should be available but it is not because there are no entry points in setup.cfg in kb-client without which binding between openstack client and openstack plugin written in kb-client wont work. Change-Id: I400ce4765e949536819796dad0cdbc85d3a440a5 Closes-Bug:#1723041
This commit is contained in:
parent
2126e83d43
commit
78c3169c4a
0
kingbirdclient/osc/__init__.py
Normal file
0
kingbirdclient/osc/__init__.py
Normal file
20
setup.cfg
20
setup.cfg
@ -27,6 +27,26 @@ packages =
|
||||
console_scripts =
|
||||
kingbird = kingbirdclient.shell:main
|
||||
|
||||
openstack.cli.extension =
|
||||
sync_engine = kingbirdclient.osc.plugin
|
||||
|
||||
openstack.sync_engine.v1 =
|
||||
quota_defaults = kingbirdclient.commands.v1.quota_manager:ListDefaults
|
||||
kb_quota_show = kingbirdclient.commands.v1.quota_manager:GlobalLimits
|
||||
quota_update = kingbirdclient.commands.v1.quota_manager:UpdateGlobalLimits
|
||||
quota_detail = kingbirdclient.commands.v1.quota_manager:ShowQuotaDetail
|
||||
quota_sync = kingbirdclient.commands.v1.quota_manager:SyncQuota
|
||||
quota_delete = kingbirdclient.commands.v1.quota_manager:DeleteQuota
|
||||
|
||||
sync_create = kingbirdclient.commands.v1.sync_manager:ResourceSync
|
||||
sync_list = kingbirdclient.commands.v1.sync_manager:SyncList
|
||||
sync_show = kingbirdclient.commands.v1.sync_manager:SyncShow
|
||||
sync_delete = kingbirdclient.commands.v1.sync_manager:SyncDelete
|
||||
|
||||
quota-class_show = kingbirdclient.commands.v1.quota_class_manager:ListQuotaClass
|
||||
quota-class_update = kingbirdclient.commands.v1.quota_class_manager:UpdateQuotaClass
|
||||
quota-class_delete = kingbirdclient.commands.v1.quota_class_manager:DeleteQuotaClass
|
||||
|
||||
[build_sphinx]
|
||||
source-dir = doc/source
|
||||
build-dir = doc/build
|
||||
|
Loading…
Reference in New Issue
Block a user