From cfe33172da70912fd0afcfe6cf2597a6f8b1bb0a Mon Sep 17 00:00:00 2001 From: Paul Voccio Date: Wed, 14 Sep 2011 12:49:40 -0500 Subject: adding imports from Nova for roles, tenants, users and credentials Change-Id: I59a7027e7b405350152f8347d3aabb550a347807 adding the actual file Change-Id: I2be57dfb12d53e1828df653c0208dd2c0065b14e --- AUTHORS | 1 + bin/keystone-import | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100755 bin/keystone-import diff --git a/AUTHORS b/AUTHORS index 4c3f2e39..28a5a065 100644 --- a/AUTHORS +++ b/AUTHORS @@ -32,3 +32,4 @@ root saikrishna1511@gmail.com sirish.bitra termie +Paul VOccio 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 -- cgit