aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRuan HE <ruan.he@orange.com>2018-01-25 09:29:49 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-01-25 09:29:49 +0000
commit89b62cd98e16fda8a949a17fb2e1bc3e33b3ac24 (patch)
tree63bbe60df7b407d7904677cf8c25b870d18e7d98
parentdf9b21094b10ffc6d64c0f92b747b8aec2585967 (diff)
parent96c53b222152569d525f9b60b80dac74bf78d972 (diff)
Merge "Update documentation with the load and unload of wrapper components"
-rw-r--r--README.md26
1 files changed, 26 insertions, 0 deletions
diff --git a/README.md b/README.md
index 22ae99e9..23061d7d 100644
--- 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)