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-26 15:31:26 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-10-26 15:31:26 +0000
commit87c09c6477e7e351a821d27013031fafa5c37615 (patch)
treeaffe5c8bc14ec5c0b2cbe556cacf4dda27b664cc /ansible/roles/configure_rabbitmq/templates/user_definitions.json.j2
parent56b4d5de28bd8f491cea077e21811830959b6ea8 (diff)
parentd06e6da19db545dfcc6fdfdc706b9cccdb75c498 (diff)
Merge "Trex KPI are not collected due to rabbitmq user"
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": []
+}