1266 Commits

Author SHA1 Message Date
Zuul
3e6ba67407 Merge "[OVN] Move OVN commons to neutron tree" 2019-12-06 23:59:07 +00:00
Zuul
392d93dc14 Merge "Remove grenade-py3 job from Neutron CI" 2019-12-04 19:56:30 +00:00
Maciej Józefczyk
65692127f6 [OVN] Move OVN commons to neutron tree
Move OVN related commons to neutron tree.

Previous paths in networking-ovn tree:
./networking_ovn/common/constants.py -> ./neutron/common/ovn/constants.py
./networking_ovn/common/exceptions.py -> ./neutron/common/ovn/exceptions.py
./networking_ovn/common/utils.py -> ./neutron/common/ovn/utils.py
./networking_ovn/common/hash_ring_manager.py -> neutron/common/ovn/hash_ring_manager.py
./networking_ovn/common/config.py -> ./neutron/conf/plugins/ml2/drivers/ovn/ovn_conf.py

Co-Authored-By: Gal Sagie <gal.sagie@huawei.com>
Co-Authored-By: Boden R <bodenvmw@gmail.com>
Co-Authored-By: Daniel Alvarez <dalvarez@redhat.com>
Co-Authored-By: Amitabha Biswas <abiswas@us.ibm.com>
Co-Authored-By: Chandra S Vejendla <csvejend@us.ibm.com>
Co-Authored-By: Babu Shanmugam <bschanmu@redhat.com>
Co-Authored-By: Lucas Alvares Gomes <lucasagomes@gmail.com>
Co-Authored-By: Terry Wilson <twilson@redhat.com>
Co-Authored-By: Ramu Ramamurthy <ramu.ramamurthy@us.ibm.com>
Co-Authored-By: Maciej Józefczyk <mjozefcz@redhat.com>
Co-Authored-By: Gary Kotton <gkotton@vmware.com>
Co-Authored-By: Andrew Austin <aaustin@redhat.com>
Co-Authored-By: Miguel Angel Ajo <majopela@redhat.com>
Co-Authored-By: Brian Haley <bhaley@redhat.com>
Co-Authored-By: Dong Jun <dongj@dtdream.com>
Co-Authored-By: xurong00037997 <xu.rong@zte.com.cn>
Co-Authored-By: Rodolfo Alonso Hernandez <ralonsoh@redhat.com>

Change-Id: Ib46bfdd14a150a324dbf28c6a50c839c5c824e35
Related-Blueprint: neutron-ovn-merge
2019-12-04 13:15:16 +00:00
Adrian Chiris
a8b5afa41e Add upgrade check for NIC Switch agent
This commit adds an upgrade check for NIC switch agent
alerting operators to ensure relevant hosts have kernel >= 3.13.

This check is introduced due to recent cleanup in NIC switch
agent code.

As of U release, Supported CentOS major was updated to 8 so it
is not expected that any deployment will have hosts running
kernel < 3.13. This check is added as an extra precaution.

This check should be removed in 1-2 cycles. A TODO was added to
reflect that.

Change-Id: I34003b3c2f0ac23185d036c9e47dc1c8662d6ce7
Related-bug: #1841067
2019-12-01 11:58:16 +02:00
Slawek Kaplonski
151dab39dc Remove grenade-py3 job from Neutron CI
We have run neutron-grenade-multinode in both check and gate queues
already. This job is almost the same as grenade-py3. The only difference
from Neutron pov is that neutron-grenade-multinode is multinode job and
grenade-py3 is single node job.
So we agreed on last Neutron CI meeting [1], that there is no need to
run both of those jobs.

As grenade-py3 is part of integrated-gate-networking template together
with tempest-integrated-networking job this patch removes also
integrated-gate-networking template from neutron's zuul config and adds
only tempest-integrated-networking to both check and gate queues.

[1] http://eavesdrop.openstack.org/meetings/neutron_ci/2019/neutron_ci.2019-11-19-16.00.log.html#l-179

Change-Id: Ic2e7ca04929dc89a2e408465eb34ef3feec2e328
2019-11-29 15:55:17 +01:00
Slawek Kaplonski
9c6d3e073e Rehome networking-ovn CI jobs to neutron repository
As networking-ovn driver is going to be in neutron tree now, lets move
also networking-ovn jobs definitions to the neutron repo.

Change-Id: Ie1c66c773ee2d217b25bd915189e56254744a3d4
Related-Blueprint: neutron-ovn-merge
2019-11-27 10:38:04 +01:00
Zuul
fd5e2923aa Merge "Remove neutron-grenade job from Neutron CI queues" 2019-11-25 17:05:08 +00:00
Slawek Kaplonski
185efb38aa Update networking-bgpvpn and networking-bagpipe liuetenants
Mathieu Rohon confirmed me that he is no longer working on those
projects and that we can remove him from this list.
Fortunately Lajos Katona offered that he is interested in maintaining
those projects so I also added him to the list of liuetenants for
both those projects.

Change-Id: I6693f8f844795daa1dd7ca7cdf99cfe07b7d8f18
2019-11-21 22:40:54 +01:00
Slawek Kaplonski
eba2e9ce19 Remove neutron-grenade job from Neutron CI queues
This job is running on python 2.7. We already removed all other jobs
which runs on python 2.7 and this was last one leftover.
There is other job "grenade-py3" which is basically the same but runs
using python 3 and this is still running on neutron's check and gate
queues.

This patch don't remove definition of neutron-grenade job as this job
is used by various different projects. So we need first to switch all
those projects to use grenade-py3 and than remove definition of
neutron-grenade.

Change-Id: I873bb63fa0456fd9c0fb9b037280fe8d2c0541d5
2019-11-19 10:51:55 +01:00
Zuul
9ab8fab358 Merge "Add profiler decorator to Neutron" 2019-11-17 12:49:56 +00:00
Zuul
7fffd4bea6 Merge "doc: Adjust heading levels" 2019-11-15 08:43:44 +00:00
Zuul
5c742ede6f Merge "Update liaison for networking-sfc project" 2019-11-15 08:43:41 +00:00
Slawek Kaplonski
a2fdf8aa72 Remove one of iptables_hybrid jobs
In check queue there were 2 iptables_hybrid jobs. One was run on Ubuntu
and one on Fedora.
During the Shanghai PTG we agreed to remove one of those jobs and left
only one of them to be run in both check and gate queues.

This commit removes iptables_hybrid job based on Fedora image.

Change-Id: If0adb7ca4e254f5b19375b471679bcc18e0c7790
2019-11-14 12:25:04 +01:00
Slawek Kaplonski
1d6207187c Update liaison for networking-sfc project
During Shanghai PTG Akihiro talked with Dharmendra, who is the Tacker
PTL that Dharmendra can be maintainer of networking-sfc project for now
as Tacker is using this project.
So lets say that officially in our documentation now.

Change-Id: Iea9fbf997130e95252fcd1063fd7a28ad84dd369
2019-11-13 22:41:59 +01:00
Akihiro Motoki
eeefd54c53 doc: Adjust heading levels
In the openstackdocstheme, one page should have a single title heading
(the highest level). If we have multiple title headings, only the first
one is shown at the top of the page and the remaining one(s) are not
shown in the main contents. (They are shown only in "Page Contents"
of the left TOC.) It is confusing a bit.

As far as I checked, this happens in two files in the current neutron doc.

contributor/policies/neutron-teams.rst:
It looks better to introduce a page title and keep the existing
titles as subsections.

contributor/internals/layer3.rst:
There is no need to include a page on the L3 agent
as it is a separate page.

Change-Id: I354182b900bdd04b4fcd64dcf2adbe00d7f8df5a
2019-11-13 04:48:05 +09:00
Miguel Lavalle
eb3302207f Add profiler decorator to Neutron
This patch proposes a decorator to be used to profile code with
cProfile. Config options are added to control whether the code is
profiled or not. The default is no profiling performed.

The decorator is then used in the Neutron API base and Pecan controllers
for the index, show, create, delete and update operations. The rpc_loop
method of the OVS agent is also decorated.

Finally, profiling is enabled for neutron-rally-task.

Change-Id: I5c847a255b4b973add7fce5a38a2594912c491ac
2019-10-31 10:05:01 -05:00
Zuul
f5bdaec2c7 Merge "Stop testing python 2" 2019-10-28 00:52:16 +00:00
Brian Haley
6842465260 Stop testing python 2
Since it's no longer supported past Train, lets stop
running the tests.

Updated docs and made some pep8 code tweaks as well.

Change-Id: I1c171ab906a3b4c66558163ad26947ebf710a276
2019-10-25 18:50:08 +00:00
Brian Haley
51dd91a73d Update bug contacts
When we updated the list of lieutenants [0] we did not
update the list of bug contacts, do it now based on that
same information.

[0] https://review.opendev.org/#/c/687482/

Change-Id: If69c2dfd2019a41eea2fedc6199ab08757444f5f
2019-10-23 22:46:51 -04:00
Radosław Piliszek
a8fa085364 [nova][train] Docs: Remove deprecated RetryFilter
The default does not include it.

Nova docs:
RetryFilter - Deprecated since version 20.0.0 (Train)
Since the 17.0.0 (Queens) release, the scheduler has provided
alternate hosts for rescheduling so the scheduler does not need to
be called during a reschedule which makes the RetryFilter useless.

Change-Id: Ic7bfafce40b4025f6768121dec37c1d6f3b4c5fc
2019-10-18 12:47:47 +02:00
Zuul
38fc3eb09c Merge "Update list of Neutron lieuetenants" 2019-10-18 07:38:18 +00:00
Slawek Kaplonski
70763c0d1b Update list of Neutron lieuetenants
This patch removes some inactive team members from list of
liuetenants of various areas in Neutron and some stadium projects
and sets in their place people who are now actively working on
the project.

For networking-sfc I don't have any info from Cathy who was
previous lieutenant if she can handle that role for next cycle
and I also don't have any response from other members of
networking-sfc-core group so I left this project without
liuetenant for now.

Change-Id: I3cf3298a5f1d3217f7b3b1fdb345e51007d3cff8
2019-10-17 07:47:56 +00:00
Zuul
0f3252b86c Merge "[doc][IPv6] make kernel config addr_gen_mode clear" 2019-10-16 09:16:50 +00:00
LIU Yulong
3fe4df00e3 [doc][IPv6] make kernel config addr_gen_mode clear
1. There is no such config ``net.ipv6.conf.*.addr_gen_mode``
   for some kernel version, for instance:
   3.10.0-862.14.4.el7.x86_64
2. According to the commit [1], this config is used for
   link-local and autoconf addresses.

[1] d35a00b8e3

Change-Id: Ib8e0dda5ecc668ad936155df101dc696141f8d60
2019-10-15 19:27:03 +00:00
wangfaxin
6b52e361f0 Fix misspell word
Change-Id: I6b1ba3fbab381164e5e9d59a5ea95c283acbe151
2019-10-15 09:48:26 +08:00
Bence Romsics
02b6c9827d doc: Update QoS minimum bandwidth limitations for Train
Since the overview-type documentations of the QoS minimum bandwidth
feature is in Neutron we need to update the limitations now that we
have some improvements in Nova.

Change-Id: I28920d2ecbaac5da5fbe6d6e9b296080806c8c6a
Related-Change: https://review.opendev.org/671497
Related-Change: https://review.opendev.org/679019
2019-10-07 16:52:14 +02:00
Slawek Kaplonski
74550b7b15 Code review policy - add note about approving mechanical changes
It should be enough for most of "mechanical" changes to get +2
from only 1 core reviewer to approve patch.
This patch adds such note to the Neutron's code review guidlines.

Change-Id: I5ccdaa5a30337157933fcdee85252979da238a26
2019-10-01 12:41:39 +00:00
Zuul
a63f344748 Merge "Remove Neutron LBaaS" 2019-09-24 03:40:39 +00:00
Michael Johnson
d1d0a04c37 Remove Neutron LBaaS
Neutron-LBaaS has now been retired and there will be no Train
release[1]. This patch removes neutron-lbaas references from
neutron.

[1] https://review.opendev.org/658494

Closes-Bug: #1833125
Change-Id: I0fe3fbaf4adf7fb104632fd94cd093e701e12289
2019-09-20 07:46:06 +00:00
YAMAMOTO Takashi
1df7e4bc46 doc: Remove stale references to external_network_bridge
This is a leftover of https://review.opendev.org/#/c/395568/ .

Closes-Bug: #1844171
Change-Id: I99e45b78a5b56601f02c9e3c09b621c4d3b67de3
2019-09-17 22:19:19 +09:00
Zuul
ad59b508a6 Merge "Update fwaas v2 scenario doc" 2019-09-14 00:09:59 +00:00
Bence Romsics
ccc7f4e248 Document the incompatibility of trunk ports with iptables_hybrid fw
We seem to have forgot to properly document this limitation and this
is popping up in bug reports.

Change-Id: I3c1d79017349be13ebb2f4a924c065e041ccbf5a
Partial-Bug: #1843285
2019-09-11 12:06:44 +00:00
Jens Harbott
a0387fc78b Update fwaas v2 scenario doc
The devstack plugin also adds these statements to the ML2 config, so
amend the documentation here accordingly.

Change-Id: I5db327e91a3d4293b0a27fddc70dc6139fd42eb3
2019-09-11 08:16:32 +00:00
Zuul
5f116b97ee Merge "Remove references to FWaaS v1" 2019-09-07 23:08:29 +00:00
Zuul
e941860c28 Merge "Update doc about L2 firewalling" 2019-09-07 23:08:26 +00:00
Nate Johnston
cb75ecb729 Remove references to FWaaS v1
There are still references to FWaaS v1 in the Neutron documentation.
Remove them as the code was deleted in the Stein cycle.

Closes-bug: #1833122
Change-Id: I8673d94d0f70e046a6fd7b45572773e7e3df73d0
2019-09-04 18:29:16 +00:00
Jens Harbott
b137322be3 Update doc about L2 firewalling
neutron-fwaas v2 now supports L2 firewalling for VM ports.

Change-Id: I07be20a3c418100a577d8bc351a78fb58bd9e5c7
2019-09-04 18:28:51 +00:00
Andreas Jaeger
25d0ad6197 Change PDF file name
The previously choosen PDF file name conflicts in some repos with the
project logos (badge). Thus change https://review.opendev.org/679777
renames the desired PDF name to be doc-PROJECT.pdf to allow using the
badge in PDF files.

Follow this rename.

Change-Id: Id17cfdce6c38dc30bfaf557be7eee0675fa8f87c
2019-09-04 06:52:06 +02:00
Zuul
78aae12a88 Merge "PDF documentation build" 2019-08-30 19:42:42 +00:00
LIU Yulong
aa58542e82 Add VLAN type conntrack direct flow
For vlan type network, we add a segment match flow
to the openflow security group ingress table. Then
the packets will be recorded in conntrack table, and
the reply packets can be processed properly.

Change-Id: Ieded0654d0ad16235ec923b822dcd842bd7735e5
Closes-Bug: #1831534
2019-08-27 23:43:52 +08:00
Akihiro Motoki
66274cdae3 PDF documentation build
The following changes are made for PDF document.

- Sample config/policy files are skipped for PDF doc build.
  We hit several problems around verbatim of inline samples
  in neutron, nova and others, so we decided to skip them now.
  Downloadable links also should be avoided in PDF doc
  as PDF doc is expected to work alone.
- tocdepth for latex is explicitly set to 3 for better navigation
  in the generated PDF. The default was 1 and we cannot provide
  enough information in PDF TOC.
- The module index is disabled as the neutron document does not
  generate a full module index and it shows only partial entries.
  'makeindex' and 'printindex' are set to empty in latex_elements.

The existing contents (mainly the top page) are reorganized a bit
for a better TOC of the generated PDF document:

- The top page of the documentation is simplified only with toctree
  to avoid almost duplicated entries in the TOC of the PDF documentation.
  The current TOC for PDF doc seems to use section titles as the first
  level and title of linked pages as the second level. They are almost
  same and the generated TOC would be redundant.
- The link to the API reference in the top page was moved
  to a subdirectory so that PDF TOC can include it.
- 'Search' section is shown in index.rst only when the builder is 'html'
  as this section uses a form and makes sense only for HTML doc.

Story: 2006099
Task: 35127
Depends-On: https://review.opendev.org/664555
Change-Id: I6f1614a643efa7fad3c2a6ce5692d6873ca0ebd0
2019-08-26 02:50:58 +09:00
Zuul
e33bafc6ab Merge "Remove eventlet import from docs conf.py" 2019-08-24 15:45:37 +00:00
Zuul
30c4b7c0d6 Merge "DVR: Ignore DHCP port during DVR host query" 2019-08-23 12:27:45 +00:00
Zuul
3d9bf73bd9 Merge "Fixing URLS" 2019-08-22 23:49:33 +00:00
Thomas Bechtold
8033ad13c5 Remove eventlet import from docs conf.py
It is not needed and create problems when trying to create the
documentation from an sdist tarball when git is installed (see [0] how
the problem will be solved in openstackdocstheme).

[0] https://review.opendev.org/#/c/677868/
Change-Id: Iff0c9a4e99ecc16e495fb6283479839595037bc0
2019-08-22 08:30:47 +02:00
Matt Riedemann
e8653f28de doc: remove deprecated [neutron]/url from compute install guide
The nova [neutron]/url config option was deprecated in Queens [1]
and is being removed in Train [2]. The neutron install guide
sections about configuring compute to work with neutron were still
using the url option so this change removes them. There are a few
things to note here:

1. The url option functionality is replaced with the endpoint_override
   option from keystoneauth1 but we don't really want users using that
   unless there is a real need. One of the main reasons for moving the
   nova configuration to use keystoneauth1 was so that the network
   service endpoint can be looked up via KSA dynamically based on the
   configurable interfaces (public, internal, private) and service types
   authority so the endpoint URL will just be pulled from the service
   catalog. That means not having to hard-code the endpoint URL in nova
   config which makes deployment and config management simpler. As such,
   the url option removed in the install guide here is not replaced with
   the endpoint_override option.

2. Following on #1, the install guide portion about the nova/neutron config
   is updated with a link back to the nova config guide for the full set
   of options in case an operator needs to tweak the config, e.g. to set
   valid_interfaces or endpoint_override because the KSA defaults don't work
   for their deployment.

3. With the old url option, if region_name was not specified, nova would
   default to 'RegionOne'. That is not the case if not using the url option
   so we leave the region_one config in the install guide example, otherwise
   region_name would default to None.

[1] I41724a612a5f3eabd504f3eaa9d2f9d141ca3f69
[2] I6c068a84c4c0bd88f088f9328d7897bfc1f843f1

Change-Id: I30445edeb8509330571db28c7d61dd63886e9e61
Closes-Bug: #1840930
2019-08-21 16:09:09 -04:00
Alexandra Settle
2a53d0f283 Fixing URLS
backport: stein rocky

Change-Id: I7db7fe97d55ce2ea1a2e3344dea78703d4bb23c7
2019-08-21 14:26:08 +00:00
LIU Yulong
8f057fb49a DVR: Ignore DHCP port during DVR host query
For large scale deployment, the dvr router will be installed to
the scheduled DHCP host. This will definitely increase the l3
agent service pressure, especially in large number of concurrent
updates, creation, or agent restart.

This patch adds a config ``host_dvr_for_dhcp`` for the DHCP port
device_owner filter during DVR host query. Then if we set
``host_dvr_for_dhcp = False``, L3-agent will not host the DVR router
namespace in its connected networks' DHCP agent hosts.

Closes-Bug: #1609217
Change-Id: I53e20be9b306bf9d3b34ec6a31e3afabd5a0fd6f
2019-08-21 05:35:19 +00:00
Zuul
aed61007e5 Merge "Remove dead link" 2019-08-14 16:13:54 +00:00
Jens Harbott
4f7b25c833 Remove dead link
Sadly the referenced IPv6 tutorial isn't available anymore, so drop the
link and replace it with link to video with presentation about IPv6
and OpenStack given by Shannon McFarland in Barcelona Summit.

Change-Id: I01bd5f4ba348c91b256f7d5196399ab034675b69
2019-08-12 20:38:37 +00:00