summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Voccio <paul@substation9.com>2011-09-14 12:49:40 -0500
committerPaul Voccio <paul@substation9.com>2011-09-14 12:56:01 -0500
commitcfe33172da70912fd0afcfe6cf2597a6f8b1bb0a (patch)
treee35945303b1bc7bad36fca60bc987320be9a8d89
parenta0d2519c783774762e7b9efbcbdb75c55ad69faa (diff)
adding imports from Nova for roles, tenants, users and credentials
Change-Id: I59a7027e7b405350152f8347d3aabb550a347807 adding the actual file Change-Id: I2be57dfb12d53e1828df653c0208dd2c0065b14e
-rw-r--r--AUTHORS1
-rwxr-xr-xbin/keystone-import24
2 files changed, 25 insertions, 0 deletions
diff --git a/AUTHORS b/AUTHORS
index 4c3f2e39..28a5a065 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -32,3 +32,4 @@ root <root@newapps.(none)>
saikrishna1511@gmail.com <psaikrishna@ubudesk1004.(none)>
sirish.bitra <sirish.bitra@gmail.com>
termie <github@anarkystic.com>
+Paul VOccio <paul@substation9.com>
diff --git a/bin/keystone-import b/bin/keystone-import
new file mode 100755
index 00000000..33e0d52e
--- /dev/null
+++ b/bin/keystone-import
@@ -0,0 +1,24 @@
+#! /usr/bin/env bash
+
+# vim: tabstop=4 shiftwidth=4 softtabstop=4
+
+# Copyright (C) 2011 OpenStack LLC.
+#
+# 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.
+
+# This file is to read a export file from Nova that will import users, tenants and EC2 credentials
+# The file should be in the keystone-manage format
+
+while read line; do
+ ./bin/keystone-manage $line
+done < $1