openstack-manuals/doc/install-guide/source/neutron-verify.rst
Pranav Salunke de38f2767f install: Updates syntax for training labs parser.
Training labs parser will allow us to automatically parse RST code
to BASH. This BASH code in turn will be invoked by install-guides for
validating the install guides. To provide the correct information to the
parser for generating BASH code, there are a few changes required to the
RST syntax.

Introduces the following changes to RST syntax:

  - `.. end`

    This tag provides information for the parser to stop extracting the
    given block which could be code, file injection or configuration
    file edit.

  - `.. endonly`

    This tag provides information for the parser with the correct
    distro-switch logic for identifying distro-specific code.

    For .. only:: tags, it is better to avoid nesting. If nesting
    is not avoidable then it is preferable to add the .. endonly
    tag to close the outer block immediately.

  - Extra new lines in code-blocks

    Some commands in the code-blocks provides the expected output of the
    given command. This is not a BASH command which we want to run but
    rather some visual niceness for the users. These new lines provides
    the parser information to identify the end of the command. This
    basic logic would be something similar to find '\r\n' which at least
    for python means new empty line.

  - `mysql>`

    Introducing this operator for mysql commands. This could potentially
    be changed to `pgsql>` or similar for other SQL type databases.
    This allows the parser to identify mysql commands and then run
    them in mysql instead of in 'sh' or 'bash'.

  - `.. path`

    Introducing this tag to provide the parser with the information with
    the path of the configuration file. Using the description text for
    the same is not reliable since the description text may not be
    consistent.

This commit should ideally introduce all the syntax changes required for
the parser to convert the code-blocks in here to BASH code. These
changes should have no impact on the HTML output of the RST code.

Change-Id: I47830b1bc61c8b1a0f3350932d15aa3ce88fa672
2016-09-28 10:58:06 +02:00

3.6 KiB

Verify operation

Note

Perform these commands on the controller node.

  1. Source the admin credentials to gain access to admin-only CLI commands:

    $ . admin-openrc
  2. List loaded extensions to verify successful launch of the neutron-server process:

    $ neutron ext-list
    
    +---------------------------+-----------------------------------------------+
    | alias                     | name                                          |
    +---------------------------+-----------------------------------------------+
    | default-subnetpools       | Default Subnetpools                           |
    | network-ip-availability   | Network IP Availability                       |
    | network_availability_zone | Network Availability Zone                     |
    | auto-allocated-topology   | Auto Allocated Topology Services              |
    | ext-gw-mode               | Neutron L3 Configurable external gateway mode |
    | binding                   | Port Binding                                  |
    | agent                     | agent                                         |
    | subnet_allocation         | Subnet Allocation                             |
    | l3_agent_scheduler        | L3 Agent Scheduler                            |
    | tag                       | Tag support                                   |
    | external-net              | Neutron external network                      |
    | net-mtu                   | Network MTU                                   |
    | availability_zone         | Availability Zone                             |
    | quotas                    | Quota management support                      |
    | l3-ha                     | HA Router extension                           |
    | flavors                   | Neutron Service Flavors                       |
    | provider                  | Provider Network                              |
    | multi-provider            | Multi Provider Network                        |
    | address-scope             | Address scope                                 |
    | extraroute                | Neutron Extra Route                           |
    | timestamp_core            | Time Stamp Fields addition for core resources |
    | router                    | Neutron L3 Router                             |
    | extra_dhcp_opt            | Neutron Extra DHCP opts                       |
    | dns-integration           | DNS Integration                               |
    | security-group            | security-group                                |
    | dhcp_agent_scheduler      | DHCP Agent Scheduler                          |
    | router_availability_zone  | Router Availability Zone                      |
    | rbac-policies             | RBAC Policies                                 |
    | standard-attr-description | standard-attr-description                     |
    | port-security             | Port Security                                 |
    | allowed-address-pairs     | Allowed Address Pairs                         |
    | dvr                       | Distributed Virtual Router                    |
    +---------------------------+-----------------------------------------------+

    Note

    Actual output may differ slightly from this example.

Use the verification section for the networking option that you chose to deploy.

neutron-verify-option1.rst neutron-verify-option2.rst