diff options
author | Thomas Duval <thomas.duval@orange.com> | 2018-01-19 14:20:00 +0100 |
---|---|---|
committer | Thomas Duval <thomas.duval@orange.com> | 2018-01-19 14:20:00 +0100 |
commit | 96c53b222152569d525f9b60b80dac74bf78d972 (patch) | |
tree | 040a3a325c06465d26247714e5f41190d068d79e | |
parent | b0f7daa6f05a1ea2308e82cfc05a1b8d10d4e5dc (diff) |
Update documentation with the load and unload of wrapper components
Change-Id: I339c335c6ff34421b38181a7fa1d2b56b702b5c4
-rw-r--r-- | README.md | 26 |
1 files changed, 26 insertions, 0 deletions
@@ -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) |