Browse Source

add plugin sources

Dmitriy Ukhlov 3 years ago
commit
54d686d171
2 changed files with 25 additions and 0 deletions
  1. 25
    0
      devstack/plugin.sh
  2. 0
    0
      devstack/settings

+ 25
- 0
devstack/plugin.sh View File

@@ -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
+
17
+function 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
+
25
+echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"

+ 0
- 0
devstack/settings View File


Loading…
Cancel
Save