[DOC] updated docs about keystone cli
Replaced keystone cli commands with openstack cli Change-Id: Ieb43236cdc50484688d121bcd428e8f7226d5c54 closes-bug: 1581810
This commit is contained in:
parent
b5a04b9a0f
commit
8f0eba26d0
@ -33,13 +33,13 @@ using the following command:
|
||||
|
||||
.. sourcecode:: console
|
||||
|
||||
$ keystone endpoint-list
|
||||
$ openstack endpoint list
|
||||
|
||||
You can list the registered services with this command:
|
||||
|
||||
.. sourcecode:: console
|
||||
|
||||
$ keystone service-list
|
||||
$ openstack service list
|
||||
|
||||
Sahara service should be present in keystone service list with service type
|
||||
*data-processing*
|
||||
|
@ -44,14 +44,18 @@ Local endpoint example:
|
||||
|
||||
.. sourcecode:: console
|
||||
|
||||
keystone service-create --name sahara_local --type data_processing_local \
|
||||
--description "Sahara Data Processing (local installation)"
|
||||
openstack service create --name sahara_local --description \
|
||||
"Sahara Data Processing (local installation)" \
|
||||
data_processing_local
|
||||
|
||||
keystone endpoint-create --service sahara_local --region RegionOne \
|
||||
--publicurl "http://127.0.0.1:8386/v1.1/%(tenant_id)s" \
|
||||
--adminurl "http://127.0.0.1:8386/v1.1/%(tenant_id)s" \
|
||||
--internalurl "http://127.0.0.1:8386/v1.1/%(tenant_id)s"
|
||||
openstack endpoint create --region RegionOne \
|
||||
sahara_local public "http://127.0.0.1:8386/v1.1/%(tenant_id)s"
|
||||
|
||||
openstack endpoint create --region RegionOne \
|
||||
sahara_local admin "http://127.0.0.1:8386/v1.1/%(tenant_id)s"
|
||||
|
||||
openstack endpoint create --region RegionOne \
|
||||
sahara_local internal "http://127.0.0.1:8386/v1.1/%(tenant_id)s"
|
||||
..
|
||||
|
||||
Then the endpoint name should be changed in ``sahara.py`` under the module of
|
||||
|
Loading…
Reference in New Issue
Block a user