Add bin/swift-dispersion-report

Change-Id: I81736080fc478c2b69d5b71edd0cada39aad9400
This commit is contained in:
Christian Schwede 2017-06-23 17:39:08 +02:00 committed by Tim Burke
parent b77de5393f
commit cbddec340e
2 changed files with 25 additions and 3 deletions

24
bin/swift-dispersion-report Executable file
View File

@ -0,0 +1,24 @@
#!/usr/bin/env python
# Copyright (c) 2017 Christian Schwede <cschwede@redhat.com>
#
# 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 sys
from swift.cli.dispersion_report import main
if __name__ == "__main__":
sys.exit(main())

View File

@ -41,6 +41,7 @@ scripts =
bin/swift-container-reconciler bin/swift-container-reconciler
bin/swift-reconciler-enqueue bin/swift-reconciler-enqueue
bin/swift-dispersion-populate bin/swift-dispersion-populate
bin/swift-dispersion-report
bin/swift-drive-audit bin/swift-drive-audit
bin/swift-form-signature bin/swift-form-signature
bin/swift-get-nodes bin/swift-get-nodes
@ -62,9 +63,6 @@ scripts =
bin/swift-ring-builder-analyzer bin/swift-ring-builder-analyzer
bin/swift-temp-url bin/swift-temp-url
console_scripts =
swift-dispersion-report = swift.cli.dispersion_report:main
[extras] [extras]
kms_keymaster = kms_keymaster =
oslo.config>=4.0.0,!=4.3.0,!=4.4.0 # Apache-2.0 oslo.config>=4.0.0,!=4.3.0,!=4.4.0 # Apache-2.0