From 2c69f6f387b2f59c4199fae7b70bc691e1793bdf Mon Sep 17 00:00:00 2001 From: venkatamahesh Date: Tue, 22 Dec 2015 20:50:29 +0530 Subject: [PATCH] [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 --- .../source/cli_admin_manage_ip_addresses.rst | 1 + doc/user-guide-admin/source/cli_cinder_quotas.rst | 5 +++++ .../source/cli_keystone_manage_services.rst | 7 +++---- .../source/cli_nova_numa_libvirt.rst | 1 - .../source/cli_nova_specify_host.rst | 1 + .../source/cli_set_compute_quotas.rst | 6 ++++++ doc/user-guide-admin/source/cli_set_quotas.rst | 2 ++ doc/user-guide-admin/source/intro-admin.rst | 3 ++- .../source/manage_projects_users_and_roles.rst | 12 ++++++++++++ .../source/networking_advanced_quotas.rst | 9 +++++++++ .../source/nova_cli_manage_projects_security.rst | 6 ++++++ 11 files changed, 47 insertions(+), 6 deletions(-) diff --git a/doc/user-guide-admin/source/cli_admin_manage_ip_addresses.rst b/doc/user-guide-admin/source/cli_admin_manage_ip_addresses.rst index 0386663ca0..3d3b1eca5d 100644 --- a/doc/user-guide-admin/source/cli_admin_manage_ip_addresses.rst +++ b/doc/user-guide-admin/source/cli_admin_manage_ip_addresses.rst @@ -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 | +------------+---------------+---------------+--------+-----------+ diff --git a/doc/user-guide-admin/source/cli_cinder_quotas.rst b/doc/user-guide-admin/source/cli_cinder_quotas.rst index eecab60c3b..051bb8018f 100644 --- a/doc/user-guide-admin/source/cli_cinder_quotas.rst +++ b/doc/user-guide-admin/source/cli_cinder_quotas.rst @@ -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 | +------------------+----------------------+------+---------+-------+----------------------------+-----------------+ diff --git a/doc/user-guide-admin/source/cli_keystone_manage_services.rst b/doc/user-guide-admin/source/cli_keystone_manage_services.rst index 5e8a1c1f13..1c7e6aaad0 100644 --- a/doc/user-guide-admin/source/cli_keystone_manage_services.rst +++ b/doc/user-guide-admin/source/cli_keystone_manage_services.rst @@ -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 | +-------+----------------------------------+ diff --git a/doc/user-guide-admin/source/cli_nova_numa_libvirt.rst b/doc/user-guide-admin/source/cli_nova_numa_libvirt.rst index effc5c23d0..1f7501c74a 100644 --- a/doc/user-guide-admin/source/cli_nova_numa_libvirt.rst +++ b/doc/user-guide-admin/source/cli_nova_numa_libvirt.rst @@ -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. - diff --git a/doc/user-guide-admin/source/cli_nova_specify_host.rst b/doc/user-guide-admin/source/cli_nova_specify_host.rst index 4899d8734e..737c8677f4 100644 --- a/doc/user-guide-admin/source/cli_nova_specify_host.rst +++ b/doc/user-guide-admin/source/cli_nova_specify_host.rst @@ -27,6 +27,7 @@ on this host. .. code-block:: console $ nova hypervisor-list + +----+---------------------+ | ID | Hypervisor hostname | +----+---------------------+ diff --git a/doc/user-guide-admin/source/cli_set_compute_quotas.rst b/doc/user-guide-admin/source/cli_set_compute_quotas.rst index 973173c6f9..0bed450f8b 100644 --- a/doc/user-guide-admin/source/cli_set_compute_quotas.rst +++ b/doc/user-guide-admin/source/cli_set_compute_quotas.rst @@ -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 | +-------------------------+-------+ diff --git a/doc/user-guide-admin/source/cli_set_quotas.rst b/doc/user-guide-admin/source/cli_set_quotas.rst index 5e9bb5e4a7..7df2f93b87 100644 --- a/doc/user-guide-admin/source/cli_set_quotas.rst +++ b/doc/user-guide-admin/source/cli_set_quotas.rst @@ -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 | +----------------------------------+--------+ diff --git a/doc/user-guide-admin/source/intro-admin.rst b/doc/user-guide-admin/source/intro-admin.rst index d21e206555..c598b12b59 100644 --- a/doc/user-guide-admin/source/intro-admin.rst +++ b/doc/user-guide-admin/source/intro-admin.rst @@ -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 `__, to view, create, and manage resources and services. + named `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, diff --git a/doc/user-guide-admin/source/manage_projects_users_and_roles.rst b/doc/user-guide-admin/source/manage_projects_users_and_roles.rst index 33730435e1..ef51a01d0f 100644 --- a/doc/user-guide-admin/source/manage_projects_users_and_roles.rst +++ b/doc/user-guide-admin/source/manage_projects_users_and_roles.rst @@ -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 | +----------+----------------------------------+ diff --git a/doc/user-guide-admin/source/networking_advanced_quotas.rst b/doc/user-guide-admin/source/networking_advanced_quotas.rst index 66e184c8f6..5ef2b72759 100644 --- a/doc/user-guide-admin/source/networking_advanced_quotas.rst +++ b/doc/user-guide-admin/source/networking_advanced_quotas.rst @@ -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 | +------------+-------+ diff --git a/doc/user-guide-admin/source/nova_cli_manage_projects_security.rst b/doc/user-guide-admin/source/nova_cli_manage_projects_security.rst index a16fff288d..52042bc2a8 100644 --- a/doc/user-guide-admin/source/nova_cli_manage_projects_security.rst +++ b/doc/user-guide-admin/source/nova_cli_manage_projects_security.rst @@ -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 | +-------------+-----------+---------+-----------+--------------+