From fd4661284e95388841e20171249ef076b72ceca0 Mon Sep 17 00:00:00 2001
From: Gary Kotton <gkotton@vmware.com>
Date: Tue, 19 Dec 2017 10:56:44 +0200
Subject: [PATCH] TV: doc creation of admin for a specific plugin

Change-Id: Id2afafb084fba19a407060f7d895855e3d52f63f
---
 doc/source/admin_util.rst | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/doc/source/admin_util.rst b/doc/source/admin_util.rst
index 8bb60b7c00..7fd77bd81b 100644
--- a/doc/source/admin_util.rst
+++ b/doc/source/admin_util.rst
@@ -509,3 +509,18 @@ Upgrade Steps (Version 1.0.0 to Version 1.1.0)
    metadata_proxy_shared_secret = <Secret of Metadata-Proxy created in Step 2>
 
 8. Restart VMs or ifdown/ifup their network interface to get new DHCP options
+
+Steps to create a TVD admin user
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+Do the following steps:
+    source devstack/openrc admin admin
+    openstack project create admin_v --domain=default --or-show -f value -c id
+    openstack user create admin_v --password password --domain=default --email=alt_demo@example.com --or-show -f value -c id
+    openstack role add admin --user <user-id> --project <admin-id>
+
+Or run:
+    devstack/tools/create_userrc.sh
+
+Then:
+    openstack project plugin create --plugin nsx-v <project-id>