aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Duval <thomas.duval@orange.com>2018-02-16 15:23:00 +0100
committerThomas Duval <thomas.duval@orange.com>2018-02-16 15:23:00 +0100
commitbfd62013044237f444a5f005a8f87c72feeafcac (patch)
treeb203c83190991f3bf24087aa19de09e262efc4e4
parent4841ea360bb6feec4d2c644040e12a2657769634 (diff)
Update the documentation accordingly to the python_moonclient update
Change-Id: I56eed2f797d2b5c5bd1d8883be93e83b2dc1a043
-rw-r--r--README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index 23061d7d..0bf6e8f2 100644
--- a/README.md
+++ b/README.md
@@ -46,7 +46,7 @@ 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 project list
```
### moon_wrapper
@@ -54,18 +54,18 @@ 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
+moon slave list
```
Select the slave you want to configure:
```bash
-moon_set_slave <name_of_the_slave>
+moon slave set <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>
+moon slave delete <name_of_the_slave>
```
If you don't put a name here, by default, the script will use `kubernetes-admin@kubernetes`.