summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Ukhlov <dukhlov@mirantis.com>2015-09-10 16:48:03 +0300
committerDmitriy Ukhlov <dukhlov@mirantis.com>2015-10-16 16:34:13 +0300
commit54d686d17163d9976fb059ab9c5eb4827b387609 (patch)
treebb04772118737d1a41da4e289eb2cf5345d93ea9
add plugin sources
-rw-r--r--devstack/plugin.sh25
-rw-r--r--devstack/settings0
2 files changed, 25 insertions, 0 deletions
diff --git a/devstack/plugin.sh b/devstack/plugin.sh
new file mode 100644
index 0000000..a8fae74
--- /dev/null
+++ b/devstack/plugin.sh
@@ -0,0 +1,25 @@
1#!/bin/bash
2#
3# Copyright 2015 Hewlett-Packard Development Company, L.P.
4#
5# Licensed under the Apache License, Version 2.0 (the "License"); you may
6# not use this file except in compliance with the License. You may obtain
7# a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14# License for the specific language governing permissions and limitations
15# under the License.
16
17function iniset_rpc_backend {
18 local package=$1
19 local file=$2
20 local section=${3:-DEFAULT}
21
22 iniset $file $section transport_url "pika://$RABBIT_USERID:$RABBIT_PASSWORD@$RABBIT_HOST:$RABBIT_PORT"
23}
24
25echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" \ No newline at end of file
diff --git a/devstack/settings b/devstack/settings
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/devstack/settings