Merge "Keystone CLI is removed"

This commit is contained in:
Jenkins 2016-05-17 09:13:16 +00:00 committed by Gerrit Code Review
commit 176eeba92e
3 changed files with 25 additions and 27 deletions

View File

@ -30,8 +30,8 @@ Configure Identity service for Networking
.. code-block:: console .. code-block:: console
$ NEUTRON_SERVICE_ID=$(get_id keystone service-create --name $ NEUTRON_SERVICE_ID=$(get_id openstack service create network
neutron --type network --description 'OpenStack Networking Service') --name neutron --description 'OpenStack Networking Service')
#. Create the Networking service endpoint entry #. Create the Networking service endpoint entry
@ -45,8 +45,7 @@ Configure Identity service for Networking
.. code-block:: console .. code-block:: console
$ keystone endpoint-create --region $REGION --service-id \ $ openstack endpoint create $NEUTRON_SERVICE_ID --region $REGION \
$NEUTRON_SERVICE_ID \
--publicurl 'http://$IP:9696/' --adminurl 'http://$IP:9696/' \ --publicurl 'http://$IP:9696/' --adminurl 'http://$IP:9696/' \
--internalurl 'http://$IP:9696/' --internalurl 'http://$IP:9696/'
@ -54,8 +53,7 @@ Configure Identity service for Networking
.. code-block:: console .. code-block:: console
$ keystone endpoint-create --region myregion --service-id \ $ openstack endpoint create $NEUTRON_SERVICE_ID --region myregion \
$NEUTRON_SERVICE_ID \
--publicurl "http://10.211.55.17:9696/" --adminurl \ --publicurl "http://10.211.55.17:9696/" --adminurl \
"http://10.211.55.17:9696/" --internalurl \ "http://10.211.55.17:9696/" --internalurl \
"http://10.211.55.17:9696/" "http://10.211.55.17:9696/"
@ -92,28 +90,29 @@ Configure Identity service for Networking
.. code-block:: console .. code-block:: console
$ ADMIN_ROLE=$(get_id keystone role-create --name admin) $ ADMIN_ROLE=$(get_id openstack role create admin)
b. Create the ``neutron`` user: b. Create the ``neutron`` user:
.. code-block:: console .. code-block:: console
$ NEUTRON_USER=$(get_id keystone user-create --name neutron\ $ NEUTRON_USER=$(get_id openstack user create neutron \
--pass "$NEUTRON_PASSWORD" --email demo@example.com --tenant-id service) --password "$NEUTRON_PASSWORD" --email demo@example.com \
--project service)
c. Create the ``service`` tenant: c. Create the ``service`` tenant:
.. code-block:: console .. code-block:: console
$ SERVICE_TENANT=$(get_id keystone tenant-create --name $ SERVICE_TENANT=$(get_id openstack project create service
service --description "Services Tenant") --description "Services project")
d. Establish the relationship among the tenant, user, and role: d. Establish the relationship among the tenant, user, and role:
.. code-block:: console .. code-block:: console
$ keystone user-role-add --user_id $NEUTRON_USER \ $ openstack role add $ADMIN_ROLE --user $NEUTRON_USER \
--role_id $ADMIN_ROLE --tenant_id $SERVICE_TENANT --project $SERVICE_TENANT
For information about how to create service entries and users, see the For information about how to create service entries and users, see the
OpenStack Installation Guide for your distribution OpenStack Installation Guide for your distribution

View File

@ -230,8 +230,7 @@ you should create two virtual IPs and define your endpoint like this:
.. code-block:: console .. code-block:: console
$ keystone endpoint-create --region $KEYSTONE_REGION \ $ openstack endpoint create volume --region $KEYSTONE_REGION \
--service-id $service-id \
--publicurl 'http://PUBLIC_VIP:8776/v1/%(tenant_id)s' \ --publicurl 'http://PUBLIC_VIP:8776/v1/%(tenant_id)s' \
--adminurl 'http://10.0.0.11:8776/v1/%(tenant_id)s' \ --adminurl 'http://10.0.0.11:8776/v1/%(tenant_id)s' \
--internalurl 'http://10.0.0.11:8776/v1/%(tenant_id)s' --internalurl 'http://10.0.0.11:8776/v1/%(tenant_id)s'

View File

@ -122,8 +122,8 @@ and define your endpoint like this:
.. code-block:: console .. code-block:: console
$ keystone endpoint-create --region $KEYSTONE_REGION \ $ openstack endpoint create image --region $KEYSTONE_REGION \
--service-id $service-id --publicurl 'http://PUBLIC_VIP:9292' \ --publicurl 'http://PUBLIC_VIP:9292' \
--adminurl 'http://10.0.0.11:9292' \ --adminurl 'http://10.0.0.11:9292' \
--internalurl 'http://10.0.0.11:9292' --internalurl 'http://10.0.0.11:9292'