[user-guide-admin] Fix an empty line in code-blocks
In this patch 1.) Add a line between input and output of "code-block"s 2.) Delete extra lines in the file Change-Id: Ic6639a8fa02edb0ff8c8d059d5543b269e23369c Implements: blueprint user-guides-reorganised
This commit is contained in:
parent
b8e6183cd6
commit
2c69f6f387
@ -32,6 +32,7 @@ To list all floating IP addresses for all projects, run:
|
||||
.. code-block:: console
|
||||
|
||||
$ nova floating-ip-bulk-list
|
||||
|
||||
+------------+---------------+---------------+--------+-----------+
|
||||
| project_id | address | instance_uuid | pool | interface |
|
||||
+------------+---------------+---------------+--------+-----------+
|
||||
|
@ -26,6 +26,7 @@ Administrative users can view Block Storage service quotas.
|
||||
.. code-block:: console
|
||||
|
||||
$ cinder quota-defaults TENANT_ID
|
||||
|
||||
+-----------+-------+
|
||||
| Property | Value |
|
||||
+-----------+-------+
|
||||
@ -45,6 +46,7 @@ Administrative users can view Block Storage service quotas.
|
||||
.. code-block:: console
|
||||
|
||||
$ cinder quota-show tenant01
|
||||
|
||||
+-----------+-------+
|
||||
| Property | Value |
|
||||
+-----------+-------+
|
||||
@ -58,6 +60,7 @@ Administrative users can view Block Storage service quotas.
|
||||
.. code-block:: console
|
||||
|
||||
$ cinder quota-usage tenantID
|
||||
|
||||
+-----------+--------+----------+-------+
|
||||
| Type | In_use | Reserved | Limit |
|
||||
+-----------+--------+----------+-------+
|
||||
@ -103,6 +106,7 @@ service quotas.
|
||||
|
||||
$ cinder quota-update --volumes 15 $tenant
|
||||
$ cinder quota-show tenant01
|
||||
|
||||
+-----------+-------+
|
||||
| Property | Value |
|
||||
+-----------+-------+
|
||||
@ -125,6 +129,7 @@ Remove a service
|
||||
.. code-block:: console
|
||||
|
||||
$ cinder service-list
|
||||
|
||||
+------------------+----------------------+------+---------+-------+----------------------------+-----------------+
|
||||
| Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
|
||||
+------------------+----------------------+------+---------+-------+----------------------------+-----------------+
|
||||
|
@ -41,6 +41,7 @@ Create a service
|
||||
.. code-block:: console
|
||||
|
||||
$ openstack service list
|
||||
|
||||
+----------------------------------+----------+------------+
|
||||
| ID | Name | Type |
|
||||
+----------------------------------+----------+------------+
|
||||
@ -74,6 +75,7 @@ Create a service
|
||||
.. code-block:: console
|
||||
|
||||
$ openstack service create --name swift --description "object store service" object-store
|
||||
|
||||
+-------------+----------------------------------+
|
||||
| Field | Value |
|
||||
+-------------+----------------------------------+
|
||||
@ -95,6 +97,7 @@ Create a service
|
||||
.. code-block:: console
|
||||
|
||||
$ openstack service show object-store
|
||||
|
||||
+-------------+----------------------------------+
|
||||
| Field | Value |
|
||||
+-------------+----------------------------------+
|
||||
@ -116,8 +119,6 @@ Create service users
|
||||
|
||||
$ openstack project create service
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
+-------------+----------------------------------+
|
||||
| Field | Value |
|
||||
+-------------+----------------------------------+
|
||||
@ -136,8 +137,6 @@ Create service users
|
||||
|
||||
$ openstack role add --project service --user SERVICE_USER_NAME admin
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
+-------+----------------------------------+
|
||||
| Field | Value |
|
||||
+-------+----------------------------------+
|
||||
|
@ -22,4 +22,3 @@ If you want Compute to pin a particular vCPU as part of this process,
|
||||
set the ``vcpu_pin_set`` parameter in the ``nova.conf`` configuration
|
||||
file. For more information about the ``vcpu_pin_set`` parameter, see the
|
||||
Configuration Reference Guide.
|
||||
|
||||
|
@ -27,6 +27,7 @@ on this host.
|
||||
.. code-block:: console
|
||||
|
||||
$ nova hypervisor-list
|
||||
|
||||
+----+---------------------+
|
||||
| ID | Hypervisor hostname |
|
||||
+----+---------------------+
|
||||
|
@ -58,6 +58,7 @@ To view and update default quota values
|
||||
.. code-block:: console
|
||||
|
||||
$ nova quota-defaults
|
||||
|
||||
+-----------------------------+-------+
|
||||
| Quota | Limit |
|
||||
+-----------------------------+-------+
|
||||
@ -107,6 +108,7 @@ To view quota values for an existing tenant (project)
|
||||
.. code-block:: console
|
||||
|
||||
$ nova quota-show --tenant $tenant
|
||||
|
||||
+-----------------------------+-------+
|
||||
| Quota | Limit |
|
||||
+-----------------------------+-------+
|
||||
@ -145,6 +147,7 @@ To update quota values for an existing tenant (project)
|
||||
|
||||
$ nova quota-update --floating-ips 20 $tenant
|
||||
$ nova quota-show --tenant $tenant
|
||||
|
||||
+-----------------------------+-------+
|
||||
| Quota | Limit |
|
||||
+-----------------------------+-------+
|
||||
@ -199,6 +202,7 @@ To view quota values for a tenant user
|
||||
.. code-block:: console
|
||||
|
||||
$ nova quota-show --user $tenantUser --tenant $tenant
|
||||
|
||||
+-----------------------------+-------+
|
||||
| Quota | Limit |
|
||||
+-----------------------------+-------+
|
||||
@ -243,6 +247,7 @@ To update quota values for a tenant user
|
||||
|
||||
$ nova quota-update --user $tenantUser --floating-ips 12 $tenant
|
||||
$ nova quota-show --user $tenantUser --tenant $tenant
|
||||
|
||||
+-----------------------------+-------+
|
||||
| Quota | Limit |
|
||||
+-----------------------------+-------+
|
||||
@ -277,6 +282,7 @@ current quota values and the current quota usage:
|
||||
.. code-block:: console
|
||||
|
||||
$ nova absolute-limits --tenant TENANT_NAME
|
||||
|
||||
+-------------------------+-------+
|
||||
| Name | Value |
|
||||
+-------------------------+-------+
|
||||
|
@ -24,6 +24,7 @@ node.
|
||||
.. code-block:: console
|
||||
|
||||
$ openstack project list
|
||||
|
||||
+----------------------------------+----------+
|
||||
| ID | Name |
|
||||
+----------------------------------+----------+
|
||||
@ -38,6 +39,7 @@ node.
|
||||
.. code-block:: console
|
||||
|
||||
$ openstack user list --project PROJECT_NAME
|
||||
|
||||
+----------------------------------+--------+
|
||||
| ID | Name |
|
||||
+----------------------------------+--------+
|
||||
|
@ -9,7 +9,8 @@ The examples in this guide show you how to perform tasks by using the
|
||||
following methods:
|
||||
|
||||
* OpenStack dashboard. Use this web-based graphical interface, code
|
||||
named `horizon <https://git.openstack.org/cgit/openstack/horizon>`__, to view, create, and manage resources and services.
|
||||
named `horizon <https://git.openstack.org/cgit/openstack/horizon>`__,
|
||||
to view, create, and manage resources and services.
|
||||
|
||||
* OpenStack command-line clients. Each core OpenStack project has a
|
||||
command-line client that you can use to run simple commands to view,
|
||||
|
@ -47,6 +47,7 @@ enabled or disabled:
|
||||
.. code-block:: console
|
||||
|
||||
$ openstack project list
|
||||
|
||||
+----------------------------------+--------------------+
|
||||
| id | name |
|
||||
+----------------------------------+--------------------+
|
||||
@ -66,6 +67,7 @@ Create a project named ``new-project``:
|
||||
.. code-block:: console
|
||||
|
||||
$ openstack project create --description 'my new project' new-project
|
||||
|
||||
+-------------+----------------------------------+
|
||||
| Field | Value |
|
||||
+-------------+----------------------------------+
|
||||
@ -104,6 +106,7 @@ description, and enabled status of a project.
|
||||
.. code-block:: console
|
||||
|
||||
$ openstack project show PROJECT_ID
|
||||
|
||||
+-------------+----------------------------------+
|
||||
| Field | Value |
|
||||
+-------------+----------------------------------+
|
||||
@ -133,6 +136,7 @@ List all users:
|
||||
.. code-block:: console
|
||||
|
||||
$ openstack user list
|
||||
|
||||
+----------------------------------+----------+
|
||||
| id | name |
|
||||
+----------------------------------+----------+
|
||||
@ -155,6 +159,7 @@ Create the ``new-user`` user:
|
||||
.. code-block:: console
|
||||
|
||||
$ openstack user create --project new-project --password PASSWORD new-user
|
||||
|
||||
+----------+----------------------------------+
|
||||
| Field | Value |
|
||||
+----------+----------------------------------+
|
||||
@ -213,6 +218,7 @@ List the available roles:
|
||||
.. code-block:: console
|
||||
|
||||
$ openstack role list
|
||||
|
||||
+----------------------------------+---------------+
|
||||
| id | name |
|
||||
+----------------------------------+---------------+
|
||||
@ -234,6 +240,7 @@ Create the ``new-role`` role:
|
||||
.. code-block:: console
|
||||
|
||||
$ openstack role create new-role
|
||||
|
||||
+--------+----------------------------------+
|
||||
| Field | Value |
|
||||
+--------+----------------------------------+
|
||||
@ -253,6 +260,7 @@ IDs.
|
||||
.. code-block:: console
|
||||
|
||||
$ openstack user list
|
||||
|
||||
+----------------------------------+----------+---------+----------------------+
|
||||
| id | name | enabled | email |
|
||||
+----------------------------------+----------+---------+----------------------+
|
||||
@ -269,6 +277,7 @@ IDs.
|
||||
.. code-block:: console
|
||||
|
||||
$ openstack role list
|
||||
|
||||
+----------------------------------+---------------+
|
||||
| id | name |
|
||||
+----------------------------------+---------------+
|
||||
@ -285,6 +294,7 @@ IDs.
|
||||
.. code-block:: console
|
||||
|
||||
$ openstack project list
|
||||
|
||||
+----------------------------------+--------------------+---------+
|
||||
| id | name | enabled |
|
||||
+----------------------------------+--------------------+---------+
|
||||
@ -310,6 +320,7 @@ IDs.
|
||||
.. code-block:: console
|
||||
|
||||
$ openstack role list --user USER_NAME --project TENANT_ID
|
||||
|
||||
+--------------+----------+---------------------------+--------------+
|
||||
| id | name | user_id | tenant_id |
|
||||
+--------------+----------+---------------------------+--------------+
|
||||
@ -324,6 +335,7 @@ View details for a specified role:
|
||||
.. code-block:: console
|
||||
|
||||
$ openstack role show ROLE_NAME
|
||||
|
||||
+----------+----------------------------------+
|
||||
| Field | Value |
|
||||
+----------+----------------------------------+
|
||||
|
@ -147,6 +147,7 @@ the default set of quotas are enforced for all tenants, so no
|
||||
.. code-block:: console
|
||||
|
||||
$ neutron ext-show quotas
|
||||
|
||||
+-------------+------------------------------------------------------------+
|
||||
| Field | Value |
|
||||
+-------------+------------------------------------------------------------+
|
||||
@ -175,6 +176,7 @@ the default set of quotas are enforced for all tenants, so no
|
||||
.. code-block:: console
|
||||
|
||||
$ neutron quota-list
|
||||
|
||||
+------------+---------+------+--------+--------+----------------------------------+
|
||||
| floatingip | network | port | router | subnet | tenant_id |
|
||||
+------------+---------+------+--------+--------+----------------------------------+
|
||||
@ -194,6 +196,7 @@ the default set of quotas are enforced for all tenants, so no
|
||||
.. code-block:: console
|
||||
|
||||
$ neutron quota-show --tenant_id 6f88036c45344d9999a1f971e4882723
|
||||
|
||||
+------------+-------+
|
||||
| Field | Value |
|
||||
+------------+-------+
|
||||
@ -210,6 +213,7 @@ the default set of quotas are enforced for all tenants, so no
|
||||
.. code-block:: console
|
||||
|
||||
$ neutron quota-show
|
||||
|
||||
+------------+-------+
|
||||
| Field | Value |
|
||||
+------------+-------+
|
||||
@ -228,6 +232,7 @@ the default set of quotas are enforced for all tenants, so no
|
||||
.. code-block:: console
|
||||
|
||||
$ neutron quota-update --tenant_id 6f88036c45344d9999a1f971e4882723 --network 5
|
||||
|
||||
+------------+-------+
|
||||
| Field | Value |
|
||||
+------------+-------+
|
||||
@ -244,6 +249,7 @@ the default set of quotas are enforced for all tenants, so no
|
||||
.. code-block:: console
|
||||
|
||||
$ neutron quota-update --tenant_id 6f88036c45344d9999a1f971e4882723 --subnet 5 --port 20
|
||||
|
||||
+------------+-------+
|
||||
| Field | Value |
|
||||
+------------+-------+
|
||||
@ -264,6 +270,7 @@ the default set of quotas are enforced for all tenants, so no
|
||||
.. code-block:: console
|
||||
|
||||
$ neutron quota-update --tenant_id 6f88036c45344d9999a1f971e4882723 -- --floatingip 20
|
||||
|
||||
+------------+-------+
|
||||
| Field | Value |
|
||||
+------------+-------+
|
||||
@ -281,6 +288,7 @@ the default set of quotas are enforced for all tenants, so no
|
||||
.. code-block:: console
|
||||
|
||||
$ neutron quota-update --tenant_id 6f88036c45344d9999a1f971e4882723 --network 3 --subnet 3 --port 3 -- --floatingip 3 --router 3
|
||||
|
||||
+------------+-------+
|
||||
| Field | Value |
|
||||
+------------+-------+
|
||||
@ -307,6 +315,7 @@ the default set of quotas are enforced for all tenants, so no
|
||||
.. code-block:: console
|
||||
|
||||
$ neutron quota-show --tenant_id 6f88036c45344d9999a1f971e4882723
|
||||
|
||||
+------------+-------+
|
||||
| Field | Value |
|
||||
+------------+-------+
|
||||
|
@ -52,6 +52,7 @@ project, using the :command:`nova` command:
|
||||
.. code-block:: console
|
||||
|
||||
$ nova secgroup-list
|
||||
|
||||
+---------+-------------+
|
||||
| Name | Description |
|
||||
+---------+-------------+
|
||||
@ -70,6 +71,7 @@ project, using the :command:`nova` command:
|
||||
.. code-block:: console
|
||||
|
||||
$ nova secgroup-list-rules open
|
||||
|
||||
+-------------+-----------+---------+-----------+--------------+
|
||||
| IP Protocol | From Port | To Port | IP Range | Source Group |
|
||||
+-------------+-----------+---------+-----------+--------------+
|
||||
@ -106,6 +108,7 @@ easier to understand than "bobs\_group" or "secgrp1".
|
||||
.. code-block:: console
|
||||
|
||||
$ nova secgroup-create global_http "Allows Web traffic anywhere on the Internet."
|
||||
|
||||
+--------------------------------------+-------------+----------------------------------------------+
|
||||
| Id | Name | Description |
|
||||
+--------------------------------------+-------------+----------------------------------------------+
|
||||
@ -126,6 +129,7 @@ easier to understand than "bobs\_group" or "secgrp1".
|
||||
.. code-block:: console
|
||||
|
||||
$ nova secgroup-add-rule global_http tcp 80 80 0.0.0.0/0
|
||||
|
||||
+-------------+-----------+---------+-----------+--------------+
|
||||
| IP Protocol | From Port | To Port | IP Range | Source Group |
|
||||
+-------------+-----------+---------+-----------+--------------+
|
||||
@ -138,6 +142,7 @@ easier to understand than "bobs\_group" or "secgrp1".
|
||||
.. code-block:: console
|
||||
|
||||
$ nova secgroup-add-rule global_http tcp 443 443 0.0.0.0/0
|
||||
|
||||
+-------------+-----------+---------+-----------+--------------+
|
||||
| IP Protocol | From Port | To Port | IP Range | Source Group |
|
||||
+-------------+-----------+---------+-----------+--------------+
|
||||
@ -152,6 +157,7 @@ easier to understand than "bobs\_group" or "secgrp1".
|
||||
.. code-block:: console
|
||||
|
||||
$ nova secgroup-list-rules global_http
|
||||
|
||||
+-------------+-----------+---------+-----------+--------------+
|
||||
| IP Protocol | From Port | To Port | IP Range | Source Group |
|
||||
+-------------+-----------+---------+-----------+--------------+
|
||||
|
Loading…
Reference in New Issue
Block a user