Move services from projects, users, roles

Services documentation was in the "projects, users, and roles"
section, but there was already a service management section. Also,
the "projects, users, and roles" section was missing subsections
for the different resources.

The service management section was only missing some text for how
to delete a service.

Closes-Bug: #1446235
Change-Id: I5d9fe64e09b30e059aa384a00bcacb4e847dee79
This commit is contained in:
Brant Knudson 2015-05-03 09:08:37 -05:00
parent dee43388b8
commit 466d3b49c5
2 changed files with 18 additions and 66 deletions

View File

@ -151,3 +151,9 @@ Delete a service
To delete a specified service, specify its ID::
$ keystone service-delete SERVICE_ID
For example:
.. code::
$ keystone service-delete 84c23f4b942c44c38b9c42c5e517cd9a

View File

@ -30,77 +30,17 @@ source an OpenStack RC file. See `Download and source the OpenStack RC
file
<http://docs.openstack.org/user-guide/common/cli_set_environment_variables_using_openstack_rc.html>`__.
Services
Projects
~~~~~~~~
To look at your service catalog, use the OpenStack common client commands.
A project is a group of zero or more users. In Compute, a project owns
virtual machines. In Object Storage, a project owns containers. Users
can be associated with more than one project. Each project and user
pairing can have a role associated with it.
``service create``
^^^^^^^^^^^^^^^^^^
Keyword arguments:
- Name
- Description
Positional argument:
- Type, name or ID
Example:
.. code::
$ openstack service create \
--name nova \
--description "Nova Compute Service" \
compute
``service list``
Create a project
^^^^^^^^^^^^^^^^
Example:
.. code::
$ openstack service list
``service show``
^^^^^^^^^^^^^^^^
Positional argument:
- Type, name or ID
Example:
.. code::
$ openstack service show 08741d8ed88242ca88d1f61484a0fe3b
``service delete``
^^^^^^^^^^^^^^^^^^
Positional argument:
- Type, name or ID
Example:
.. code::
$ openstack service delete 08741d8ed88242ca88d1f61484a0fe3b
Create a tenant (project)
^^^^^^^^^^^^^^^^^^^^^^^^^
A tenant is a group of zero or more users. In nova, a tenant owns
virtual machines. In swift, a tenant owns containers. In the Dashboard,
tenants are represented as projects. Users can be associated with more
than one tenant. Each tenant and user pairing can have a role associated
with it.
#. To list all projects with their ID, name, and whether they are
enabled or disabled:
@ -193,6 +133,9 @@ Delete a project
$ openstack project delete PROJECT_ID
User
~~~~
Create a user
^^^^^^^^^^^^^
@ -278,6 +221,9 @@ Delete a user
$ openstack user delete USER_NAME
Roles and role assignments
~~~~~~~~~~~~~~~~~~~~~~~~~~
Create and assign a role
^^^^^^^^^^^^^^^^^^^^^^^^