summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-06-15 04:27:43 +0000
committerGerrit Code Review <review@openstack.org>2018-06-15 04:27:43 +0000
commita3cc7ccc69f6e6df4a54cb414aa844c59bed40b7 (patch)
tree306c7a44adca7ca03a95e863e4ddab334248c0aa /bin
parentea33638d0c3831c2ce5bdfa586b8508e694f0707 (diff)
parent6b626f2f986af0f99fae4c9e8efc9579fa47acf2 (diff)
downloadswift-a3cc7ccc69f6e6df4a54cb414aa844c59bed40b7.tar.gz
Merge "Experimental swift-ring-composer CLI to build composite rings"
Diffstat (limited to 'bin')
-rwxr-xr-xbin/swift-ring-composer22
1 files changed, 22 insertions, 0 deletions
diff --git a/bin/swift-ring-composer b/bin/swift-ring-composer
new file mode 100755
index 000000000..fccc9016c
--- /dev/null
+++ b/bin/swift-ring-composer
@@ -0,0 +1,22 @@
+#!/usr/bin/env python
+# Copyright (c) 2017 OpenStack Foundation
+#
+# 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.ringcomposer import main
+
+
+if __name__ == "__main__":
+ sys.exit(main())