summaryrefslogtreecommitdiffstats
path: root/ansible/roles/configure_rabbitmq/templates/user_definitions.json.j2
diff options
context:
space:
mode:
authorAbhijit Sinha <abhijit.sinha@intel.com>2018-10-30 15:15:54 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-10-30 15:15:54 +0000
commit3f1998305fec2261729260fd1954cf6fea9fc9e0 (patch)
tree1e3e33948f71ad57ac26d9df8dd9035017d82be3 /ansible/roles/configure_rabbitmq/templates/user_definitions.json.j2
parente17ba5d730878ae2a92cc9130e47630cc6745d91 (diff)
parentce809669d3051524508edf5a3d69e83dde8a9080 (diff)
Merge "Trex KPI are not collected due to rabbitmq user" into stable/gambia
Diffstat (limited to 'ansible/roles/configure_rabbitmq/templates/user_definitions.json.j2')
-rw-r--r--ansible/roles/configure_rabbitmq/templates/user_definitions.json.j223
1 files changed, 23 insertions, 0 deletions
diff --git a/ansible/roles/configure_rabbitmq/templates/user_definitions.json.j2 b/ansible/roles/configure_rabbitmq/templates/user_definitions.json.j2
new file mode 100644
index 000000000..831675ff1
--- /dev/null
+++ b/ansible/roles/configure_rabbitmq/templates/user_definitions.json.j2
@@ -0,0 +1,23 @@
+ {
+ "users": [{
+ "name": "yardstick",
+ "password_hash": "{{ }}",
+ "hashing_algorithm": "rabbit_password_hashing_sha256",
+ "tags": ""
+ }],
+ "vhosts": [{
+ "name": "/"
+ }],
+ "permissions": [{
+ "user": "yardstick",
+ "vhost": "/",
+ "configure": ".*",
+ "write": ".*",
+ "read": ".*"
+ }],
+ "parameters": [],
+ "policies": [],
+ "queues": [],
+ "exchanges": [],
+ "bindings": []
+}