diff options
author | Thang Pham <thang.g.pham@gmail.com> | 2014-06-20 00:30:36 -0400 |
---|---|---|
committer | Thang Pham <thang.g.pham@gmail.com> | 2014-12-08 09:53:22 -0500 |
commit | 5fb266a0dac0c4c6538ee2661cb186a5c0fe6d6a (patch) | |
tree | 6f3776396f440613343c1ae0f3b6c2e1142aff08 /setup.cfg | |
parent | 83bc931790d895c4c1617931a69ac5b8294db642 (diff) | |
download | cinder-5fb266a0dac0c4c6538ee2661cb186a5c0fe6d6a.tar.gz |
Use pbr entry_points to setup the cinder scripts
The following patch changes how cinder scripts are
installed and unit tested. This patch moves all the
cinder scripts from bin into cinder/cmd and creates
entry_points for those scripts in setup.cfg. When
cinder is installed, these scripts will be installed
under /usr/local/bin by pbr.
DocImpact: 'host' config option for multiple-storage backends
in cinder.conf is renamed to 'backend_host' in order to avoid
a naming conflict with the 'host' to locate redis
Change-Id: If82cf0c58d765bf79dbf721ca95c10a468940cab
Implements: blueprint unit-test-cases-for-cinder-scripts
Diffstat (limited to 'setup.cfg')
-rw-r--r-- | setup.cfg | 17 |
1 files changed, 8 insertions, 9 deletions
@@ -24,15 +24,6 @@ setup-hooks = [files] packages = cinder -scripts = - bin/cinder-all - bin/cinder-api - bin/cinder-backup - bin/cinder-manage - bin/cinder-rtstool - bin/cinder-scheduler - bin/cinder-volume - bin/cinder-volume-usage-audit [entry_points] cinder.scheduler.filters = @@ -49,7 +40,15 @@ cinder.scheduler.weights = ChanceWeigher = cinder.scheduler.weights.chance:ChanceWeigher VolumeNumberWeigher = cinder.scheduler.weights.volume_number:VolumeNumberWeigher console_scripts = + cinder-all = cinder.cmd.all:main + cinder-api = cinder.cmd.api:main + cinder-backup = cinder.cmd.backup:main + cinder-manage = cinder.cmd.manage:main cinder-rootwrap = oslo.rootwrap.cmd:main + cinder-rtstool = cinder.cmd.rtstool:main + cinder-scheduler = cinder.cmd.scheduler:main + cinder-volume = cinder.cmd.volume:main + cinder-volume-usage-audit = cinder.cmd.volume_usage_audit:main # These are for backwards compat with Havana notification_driver configuration values oslo.messaging.notify.drivers = cinder.openstack.common.notifier.log_notifier = oslo.messaging.notify._impl_log:LogDriver |