Merge "Move services from projects, users, roles"
This commit is contained in:
@@ -151,3 +151,9 @@ Delete a service
|
|||||||
To delete a specified service, specify its ID::
|
To delete a specified service, specify its ID::
|
||||||
|
|
||||||
$ keystone service-delete SERVICE_ID
|
$ keystone service-delete SERVICE_ID
|
||||||
|
|
||||||
|
For example:
|
||||||
|
|
||||||
|
.. code::
|
||||||
|
|
||||||
|
$ keystone service-delete 84c23f4b942c44c38b9c42c5e517cd9a
|
||||||
|
@@ -30,77 +30,17 @@ source an OpenStack RC file. See `Download and source the OpenStack RC
|
|||||||
file
|
file
|
||||||
<http://docs.openstack.org/user-guide/common/cli_set_environment_variables_using_openstack_rc.html>`__.
|
<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``
|
Create a project
|
||||||
^^^^^^^^^^^^^^^^^^
|
|
||||||
|
|
||||||
Keyword arguments:
|
|
||||||
|
|
||||||
- Name
|
|
||||||
|
|
||||||
- Description
|
|
||||||
|
|
||||||
Positional argument:
|
|
||||||
|
|
||||||
- Type, name or ID
|
|
||||||
|
|
||||||
Example:
|
|
||||||
|
|
||||||
.. code::
|
|
||||||
|
|
||||||
$ openstack service create \
|
|
||||||
--name nova \
|
|
||||||
--description "Nova Compute Service" \
|
|
||||||
compute
|
|
||||||
|
|
||||||
``service list``
|
|
||||||
^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
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
|
#. To list all projects with their ID, name, and whether they are
|
||||||
enabled or disabled:
|
enabled or disabled:
|
||||||
|
|
||||||
@@ -193,6 +133,9 @@ Delete a project
|
|||||||
|
|
||||||
$ openstack project delete PROJECT_ID
|
$ openstack project delete PROJECT_ID
|
||||||
|
|
||||||
|
User
|
||||||
|
~~~~
|
||||||
|
|
||||||
Create a user
|
Create a user
|
||||||
^^^^^^^^^^^^^
|
^^^^^^^^^^^^^
|
||||||
|
|
||||||
@@ -278,6 +221,9 @@ Delete a user
|
|||||||
|
|
||||||
$ openstack user delete USER_NAME
|
$ openstack user delete USER_NAME
|
||||||
|
|
||||||
|
Roles and role assignments
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
Create and assign a role
|
Create and assign a role
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user