From 96c53b222152569d525f9b60b80dac74bf78d972 Mon Sep 17 00:00:00 2001 From: Thomas Duval Date: Fri, 19 Jan 2018 14:20:00 +0100 Subject: Update documentation with the load and unload of wrapper components Change-Id: I339c335c6ff34421b38181a7fa1d2b56b702b5c4 --- README.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) 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 +``` +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 +``` +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) -- cgit 1.2.3-korg