Enable warning-is-error in doc build

Change-Id: I1ec46ed4e479e602f69695ba60ebb6968b2aa6b8
This commit is contained in:
Akihiro Motoki 2017-07-01 20:44:41 +00:00
parent accc24cc6c
commit 6580d73811
7 changed files with 14 additions and 11 deletions

View File

@ -18,7 +18,7 @@ site for asking for help, and filing bugs. We use a single launchpad
page for all Neutron projects. page for all Neutron projects.
Code is available on git.openstack.org at: Code is available on git.openstack.org at:
<https://git.openstack.org/cgit/openstack/neutron-dynamic-routing> https://git.openstack.org/cgit/openstack/neutron-dynamic-routing
Refer to Neutron documentation for more information: Refer to Neutron documentation for more information:
`Neutron README.rst <https://git.openstack.org/cgit/openstack/neutron/tree/README.rst>`_ `Neutron README.rst <https://git.openstack.org/cgit/openstack/neutron/tree/README.rst>`_

View File

@ -32,7 +32,8 @@ in neutron. Using the ReST interface, a cloud administrator can define routing
peers and advertise neutron routes outside the OpenStack domain. peers and advertise neutron routes outside the OpenStack domain.
.. note:: .. note::
Currently, only the support for BGP dynamic routing protocol is available.
Currently, only the support for BGP dynamic routing protocol is available.
Data Model Data Model
---------- ----------
@ -86,7 +87,8 @@ Different ReST interface are exposed for realizing different dynamic protocol
functionality. functionality.
.. note:: .. note::
Only an administrator have the access to the exposed API's.
Only an administrator have the access to the exposed API's.
BGP BGP

View File

@ -117,7 +117,7 @@ Optional Arguments
repeat this option. repeat this option.
BGP Speaker Show BGP Speaker Show
---------------- ~~~~~~~~~~~~~~~~
.. code-block:: console .. code-block:: console
@ -620,4 +620,4 @@ Optional Arguments
``-F FIELD, --field FIELD`` ``-F FIELD, --field FIELD``
Specify the field(s) to be returned by server. You can Specify the field(s) to be returned by server. You can
repeat this option. repeat this option.

View File

@ -83,6 +83,7 @@ One needs to ensure below points for setting a BGP connection.
automatically as the highest IP address configured for the local interfaces. automatically as the highest IP address configured for the local interfaces.
Just a suggestion, please make sure that it is the same as the ``peer_ip`` Just a suggestion, please make sure that it is the same as the ``peer_ip``
which you configure in Neutron for distinguishing easily. which you configure in Neutron for distinguishing easily.
``local_as`` ``local_as``
Autonomous System number can be same or different from the AS_id of external Autonomous System number can be same or different from the AS_id of external
BGP router. AS_id will be same for iBGP and different for eBGP sessions. BGP router. AS_id will be same for iBGP and different for eBGP sessions.
@ -150,12 +151,12 @@ Then the following operation could be done.
The same logic with below, but it is reverse. The same logic with below, but it is reverse.
If you don't want use the specific BGP Speaker anymore, you can use CLI: If you don't want use the specific BGP Speaker anymore, you can use CLI:
``neutron bgp-speaker-delete <SPEAKER NAME/ID>`` ``neutron bgp-speaker-delete <SPEAKER NAME/ID>``
BGP Plugin will find all the associated Dragent and send RPC ``bgp_speaker_remove_end`` BGP Plugin will find all the associated Dragent and send RPC ``bgp_speaker_remove_end``
to make the Dragents to clean the ``BGP Speaker`` instances. This is the same to make the Dragents to clean the ``BGP Speaker`` instances. This is the same
with CLI: with CLI:
``neutron bgp-dragent-speaker-remove <DRAGENT ID> <SPEAKER NAME/ID>`` ``neutron bgp-dragent-speaker-remove <DRAGENT ID> <SPEAKER NAME/ID>``
BGP Plugin just send rpc ``bgp_speaker_remove_end`` to the specific Dragent. BGP Plugin just send rpc ``bgp_speaker_remove_end`` to the specific Dragent.
Advertisement Advertisement
@ -164,4 +165,4 @@ For details refer to `Route Advertisement <./route-advertisement.html>`_.
How to work How to work
----------- -----------
For details refer to `Testing <../others/testing.html>`_. For details refer to `Testing <../others/testing.html>`_.

View File

@ -111,6 +111,6 @@ callbacks does this work.
on tenants' network routes change. on tenants' network routes change.
You could get the advertisement routes of specific BGP Speaker like: You could get the advertisement routes of specific BGP Speaker like:
``neutron bgp-speaker-advertiseroute-list <created-bgp-speaker>`` ``neutron bgp-speaker-advertiseroute-list <created-bgp-speaker>``
It does a complicated db query to generate the list of advertised routes. It does a complicated db query to generate the list of advertised routes.
For more details refer to `route advertisement db lookup <https://git.openstack.org/cgit/openstack/neutron-dynamic-routing/tree/neutron_dynamic_routing/db/bgp_db.py#n462>`_ For more details refer to `route advertisement db lookup <https://git.openstack.org/cgit/openstack/neutron-dynamic-routing/tree/neutron_dynamic_routing/db/bgp_db.py#n462>`_

View File

@ -1 +0,0 @@
.. include:: ../../README.rst

View File

@ -41,9 +41,10 @@ tempest.test_plugins =
neutron_dynamic_routing = neutron_dynamic_routing.tests.tempest.plugin:NeutronDynamicRoutingTempestPlugin neutron_dynamic_routing = neutron_dynamic_routing.tests.tempest.plugin:NeutronDynamicRoutingTempestPlugin
[build_sphinx] [build_sphinx]
all_files = 1 all-files = 1
build-dir = doc/build build-dir = doc/build
source-dir = doc/source source-dir = doc/source
warning-is-error = 1
[extract_messages] [extract_messages]
keywords = _ gettext ngettext l_ lazy_gettext keywords = _ gettext ngettext l_ lazy_gettext