Update documentation with the load and unload of wrapper components 45/50845/1
authorThomas Duval <thomas.duval@orange.com>
Fri, 19 Jan 2018 13:20:00 +0000 (14:20 +0100)
committerThomas Duval <thomas.duval@orange.com>
Fri, 19 Jan 2018 13:20:00 +0000 (14:20 +0100)
Change-Id: I339c335c6ff34421b38181a7fa1d2b56b702b5c4

README.md

index 22ae99e..23061d7 100644 (file)
--- a/README.md
+++ b/README.md
@@ -43,6 +43,32 @@ curl http://$MOON_HOST:30001/pdp
 curl http://$MOON_HOST:30001/policies
 ```
 
+The Moon platform is fully installed and configured when you have no error with the `moon_get_keystone_projects`:
+```bash
+sudo pip install python_moonclient --upgrade
+moon_get_keystone_projects
+```
+
+### moon_wrapper
+The moon_wrapper component is used to connect OpenStack to the Moon platform.
+You need to load one wrapper before connecting OpenStack to Moon.
+First of all, get the names of all available slaves:
+```bash
+moon_get_slaves
+```
+Select the slave you want to configure:
+```bash
+moon_set_slave <name_of_the_slave>
+```
+If you don't put a name here, by default, the script will use `kubernetes-admin@kubernetes`
+which is the master.
+
+If you need to unload the slave, use the following command:
+```bash
+moon_delete_slave <name_of_the_slave>
+```
+If you don't put a name here, by default, the script will use `kubernetes-admin@kubernetes`.
+
 
 ## Tests
 - [Python Unit Test](tests/python_unit/README.md)