1339 Commits

Author SHA1 Message Date
Zuul
17324fe1cf Merge "[ovn]: port forwarding -- documentation" 2020-07-30 18:09:02 +00:00
Flavio Fernandes
e2060a2f0b [ovn]: port forwarding -- documentation
This is a subset of the changes for implementing the floating IP
port forwarding feature in neutron, using OVN as the backend.

This changeset covers the documentation updates for the feature,
as well as a high-level description of how OVN implements it.

Partially-implements: ovn/port_forwarding
Partially-implements: blueprint portforwarding-description
Partial-Bug: #1877447

Change-Id: I2059a011f650dd7070a74dc6107aab2b15ca7104
2020-07-28 13:57:13 -04:00
Rodolfo Alonso Hernandez
6da9936814 Remove "vf_management" and "vf_extended_management" checks
Since [1], the SR-IOV commands are executed using Pyroute2. The
support to execute those commands is guaranteed by the requested
minimum version of this library.

[1]https://review.opendev.org/#/c/727811/

Change-Id: I53372524c9cdc75c4b24e1f3c973f8f87a73a8f9
Closes-Bug: #1888920
2020-07-27 10:47:16 +00:00
Jakub Libosvar
afd63d0b36 ovn migration: Support stack name
The heat stack name is variable. This patch adds a new environment
variable to support migrating stacks that are different name than
overcloud.

Change-Id: I6fd72bf83def28ae633d720b8495888cea3ac0a3
Signed-off-by: Jakub Libosvar <libosvar@redhat.com>
2020-07-22 16:33:32 +00:00
Maciej Józefczyk
8d1512afb0 [OVN] Allow IP allocation with different segments for OVN service ports
OVN creates localport [1] for each network that has metadata
and allocate IP address from subnet within this network that has
DHCP enabled. The traffic from this port will never go outside
the chassis.

While using multiple segments with subnet linked to each segment
OVN needs to create an allocation of IP address for each of those
subnets [2] in order to generate data for OVN NBDB IPv4 DHCP Options.

The change [3] started to validate that condition, while multiple
IP addresses from different segments are tried to be allocated on
one port. We can skip this for OVN Metadata port, because there
is no reason to prevent those kind of allocation for OVN.

[1] http://www.openvswitch.org/support/dist-docs/ovn-architecture.7.html
[2] 5f42488a9a/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/ovn_client.py (L2279)
[3] https://review.opendev.org/#/c/709444/

Change-Id: Ib51cde89ed873f48db4daebc27a0980da9cc0f19
Closes-Bug: 1871608
2020-07-22 07:38:49 +00:00
Zuul
d28654a0c7 Merge "Remove tempest-integrated-networking job from neutron queue" 2020-07-14 15:27:03 +00:00
Zuul
4c9c4f7753 Merge "Update cirros image to cirros-0.5.1-x86_64 globally" 2020-07-09 13:30:07 +00:00
Zuul
6a9c46699b Merge "Better document router requirements for IPv6" 2020-07-09 09:11:22 +00:00
Slawek Kaplonski
34b6833caa Remove tempest-integrated-networking job from neutron queue
As we agreed during virtual PTG we want to change
tempest-multinode-full-py3 that it will run only integrated-networking
tests. And then promote it to be voting and gating job.

This new multinode job can replace singlenode tempest-integrated-networking
job so this patch removes this one from the queues too.

Change-Id: Ic61b636625824bbd6b7624a057db308a484ee463
2020-07-08 16:03:43 +02:00
Brian Haley
a3ecaf6a10 Better document router requirements for IPv6
In order for IPv6 to function correctly for instances, a router
must be created and added to a subnet. Update the documentation
to better highlight this as it wasn't clear a router was
required on an isolated subnet such that Router Advertisements
messages would be sent.

Change-Id: I4aca67c98ae77bbc4c130764af5a92515b95443a
Closes-bug: #1886116
2020-07-08 08:56:11 -04:00
Maciej Józefczyk
db6ebd22e1 Update cirros image to cirros-0.5.1-x86_64 globally
New cirros with recent fixes for metadata service
has been released. Lets update the image version on gate.

Also stop using different images for OVN. Lets use default
settings from devstack.

First we need to merge [2].

[1] e40bcd2964
[2] https://review.opendev.org/#/c/711492/

Change-Id: Idc614f9f25188bd1a1e1d5424274acf04ba99328
2020-07-07 22:06:39 +00:00
Maciej Józefczyk
193df8279d [OVN] Stop using neutron_tempest_plugin in OVN singlenode job
In patch [1] we moved neutron_tempest_plugin test executions to
neutron-tempest-plugin repository.
That moves us forward with unifying the way of executing tests
after OVN merge.

[1] https://review.opendev.org/#/c/734832/

Change-Id: Iecca2649fc5e066fabe7f4b4746094506b595f0b
2020-07-07 22:06:20 +00:00
Zuul
d9d273e538 Merge "[OVN] Add router availability zones documentation" 2020-06-26 11:01:06 +00:00
Zuul
b66e4438fd Merge "Deprecate use_veth_interconnection config option" 2020-06-26 05:36:36 +00:00
Slawek Kaplonski
72f39226e0 Update neutron-dynamic-routing lieutenants
Change-Id: I077c0a25ae7a9580d2f391fdbaf7c36c52bc1d30
2020-06-24 20:07:40 +00:00
Lucas Alvares Gomes
f14a1b332d [OVN] Add router availability zones documentation
This patch is adding documentation about the router availability zones
feature in the OVN driver.

Change-Id: I6c8267100e1ee82c8b563528467b50b91f7700f6
Related-Bug: #1881095
Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
2020-06-24 15:06:12 +00:00
Slawek Kaplonski
fb44416c05 Deprecate use_veth_interconnection config option
This was proposed to be deprecated long time ago already.
We have patch ports in Openvswitch to connect bridges together.

Change-Id: Ie343f83a886bb8c366873fd5e076bb7096e1a6ed
Related-bug: #1587296
2020-06-24 13:09:32 +00:00
Zuul
f200f62ac2 Merge "Fix a typo in the OVN manual install guide" 2020-06-24 03:01:47 +00:00
Slawek Kaplonski
c646978f1b Add singlenode tempest job with neutron-lib from master branch
As we discussed during last PTG, this patch adds singlenode tempest
job which uses neutron-lib from master branch always.

Change-Id: I883ba5d68b716d601898621079a835c706f52f85
2020-06-21 21:36:34 +00:00
Rodolfo Alonso Hernandez
8c3441e856 Change service_plugins documentation in QoS to steevedore entries
Change the service_plugin references in QoS admin document to use
only the steevedore names, to be consistent throughout the document.

Change-Id: Iebb28e0a68ce580d03851b083add70c79204da1c
Closes-Bug: #1882072
2020-06-17 16:07:33 +00:00
Dmitrii Shcherbakov
397a5177bd Fix a typo in the OVN manual install guide
Using a colon is not correct in this context and results in service
startup errors like this:

AttributeError: module 'neutron.services.ovn_l3'
has no attribute 'plugin:OVNL3RouterPlugin'

It could be that this hasn't been modified after copying from setup.cfg
where a colon is used correctly.

Moreover, it would be better to use entrypoint names, so this change
changes that for the L3 service plugin as well as the core plugin.

Change-Id: Id51704a50f42b65049e535aaeb9dc6847a3737bb
2020-06-15 13:24:57 +03:00
Zuul
b69e8892d9 Merge "ovn: Remove is_port_groups_supported() code" 2020-06-10 17:09:23 +00:00
Lucas Alvares Gomes
d0daa49d6e [OVN] List a few missing feature parity gaps
What the first line of the commit says :-)

Change-Id: Ib29e2fefe74932d9cdae2bc509b135071863bfea
Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
2020-06-09 19:12:19 +00:00
Jakub Libosvar
9cbbd8de53 ovn: Remove is_port_groups_supported() code
Port_Groups table has been introduced in OVN 2.10 and we've moved in
master to newer version since. This patch removes all references to code
branching between port_groups and address_sets, and also removes
unneeded Address_Set commands and references.

Change-Id: I592d31db9be76d9be202d79d942e15b1668e3c0e
2020-06-09 14:19:56 +00:00
Zuul
3f0fc7f9f2 Merge "[OVN] DOC Migration Strategy: Adjust formatting in code-block" 2020-05-27 12:47:03 +00:00
Zuul
4acc6843e8 Merge "Switch to newer openstackdocstheme and reno versions" 2020-05-26 00:01:56 +00:00
Lucas Alvares Gomes
f6010f6042 [OVN] Enhance port's extra DHCP options support
Prior to this patch OVN did not validate any extra DHCP option passed
to the port leading to confusion because the user of the API could just
input any value and OVN would accept it (returning 200) but ignoring the
option internally.

This patch now adds such validations on port creation and update.

This patch also sync with the latest supported DHCP options from OVN and
create a map between the different names and option codes to their OVN
counterpart.

Closes-bug: #1874282
Change-Id: I99799e54e941cdd8da2614feecad1ef6299703fc
Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
2020-05-25 11:23:02 +01:00
Flavio Fernandes
231529e85f [OVN] DOC Migration Strategy: Adjust formatting in code-block
Change code-block sections in OVN Migration Strategy, so they
are not solid black rectangles with no visible text.

Trivialfix

Change-Id: I796f9b48e301675db9416c197c765fb09fc9fa80
2020-05-21 14:05:02 -04:00
Maciej Józefczyk
2d1cd99311 [OVN][DOC] Update path to L3RouterPlugin
The path was old pointing not existing networking-ovn path.

Fixed also first paragraph about OVS/OVN installation.

Change-Id: Iee77443c0ac8cb83d4e380c53db8405eca642b2b
Closes-Bug: #1879747
2020-05-21 12:32:24 +02:00
Andreas Jaeger
d46228b0b3 Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.

Set openstackdocs_auto_name to use 'project' as name.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

Remove docs requirements from lower-constraints, they are not needed
during install or test but only for docs building.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: I780eea00c9c47f52dcc7928546fd22dec5d145b4
2020-05-20 22:06:45 +02:00
Zuul
c9753afaa2 Merge "Update QoS docs with info about OVN driver" 2020-05-20 04:04:50 +00:00
Slawek Kaplonski
8268222968 Update QoS docs with info about OVN driver
Change-Id: I30e49a126908f94b20967b00d6f56ebfd12dc0ba
2020-05-06 20:54:21 +00:00
Zuul
93d55fb9cc Merge "Updates for python3.8" 2020-05-03 01:41:44 +00:00
Lucas Alvares Gomes
d8ff7d58f2 [OVN] Documentation: SR-IOV guide for OVN
This patch is adding some documentation about OVN + SR-IOV.

Change-Id: I0353c24d1ff795ad09a9cdad28b6a839e916644c
Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
2020-04-30 14:03:25 +01:00
Brian Haley
4fb505891e Updates for python3.8
With the move to the Victoria job template in
https://review.opendev.org/#/c/722681/, the py37 jobs no
longer get run, so the check and gate job entries can
be removed.

Added a keepalived py38 KillFilter line to match the py36
and py37 ones.

Also updated TESTING.rst to use py38 in all examples.

Change-Id: Ief793b54d53c3239cfb24278e88e4f4189bbc2c2
2020-04-28 14:03:21 -04:00
Zuul
5f42488a9a Merge "Add known gaps between ML2/OVS and OVN" 2020-04-15 11:21:38 +00:00
Zuul
31a167a82c Merge "OVN: Add note re IGMP groups upon ovn-controller service restart" 2020-04-15 10:48:14 +00:00
Zuul
7a6f775db5 Merge "[OVN] Add IGMP snooping configuration guide" 2020-04-14 13:07:32 +00:00
Lucas Alvares Gomes
7e5a0e04b8 OVN: Add note re IGMP groups upon ovn-controller service restart
This patch is adding an important note to the IGMP configuration guide
regarding to what happens to the IGMP groups upon the restart of the
ovn-controller service.

TrivialFix

Change-Id: I02a78a557158fa58091f20514c52c27eecf2616d
Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
2020-04-14 13:50:30 +01:00
Zuul
b5e96c49bf Merge "Allow sharing of subnet pools via RBAC mechanism" 2020-04-12 17:20:24 +00:00
Igor Malinovskiy
56b971bb42 Allow sharing of subnet pools via RBAC mechanism
Neutron-lib api ref: https://review.opendev.org/705998/
Client: https://review.opendev.org/#/c/712705/
Tempest tests: https://review.opendev.org/#/c/711656/

Change-Id: I1d6125513cd8cb088b84c92497866f78955019a9
Partial-Bug: #1862032
Depends-On: https://review.opendev.org/709122
2020-04-09 19:02:47 +03:00
Lucas Alvares Gomes
25830e8ec5 [OVN] Add IGMP snooping configuration guide
What the first line says :-)

Change-Id: I723b84884866a4b65727f8d7ff3abb837210b705
Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
2020-04-07 11:10:30 +01:00
Zuul
3c611a9183 Merge "Allow sharing of address scopes via RBAC mechanism" 2020-04-06 11:56:54 +00:00
Slawek Kaplonski
6d619ea7c1 Fix name of "subnet_dns_publish_fixed_ip" extension in docs
Correct name of the extension is "subnet_dns_publish_fixed_ip" but
in the Neutron docs it was "subnet_dns_publish_fixed_ips".

Change-Id: I52e313766d08879b8163b36f41515ce4afd5c470
Closes-Bug: #1869057
2020-03-30 22:10:05 +02:00
Zuul
a0e1b5804e Merge "[OVN] Fix: DevStack guide" 2020-03-24 12:20:21 +00:00
Lucas Alvares Gomes
f156784b42 [OVN] Fix: DevStack guide
* Fix the path for the sample files
* Change the title to include the word OVN
* Remove the networking-ovn references
* Fix host OS versions recommendations
* Run "nova-manage cell_v2 discover_hosts" prior to listing the
  hypervisors

Change-Id: Id2ce2a8913a9fb5ce9482b360dea9503a0b279da
Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
2020-03-20 14:48:51 -04:00
Daniel Alvarez
e92e311232 [ovn] Documentation: Fix broken links in the OVN Doc
This patch is fixing the links that got broken after the split
from OVS.

Also adding: http://dani.foroselectronica.es/category/openstack/ovn/
to the blog references.

Change-Id: I6c8ff0056f7f0792e41fba0b93d6af3defb7d453
Signed-off-by: Daniel Alvarez <dalvarez@redhat.com>
2020-03-20 15:53:57 +01:00
Brian Haley
42ad50db1e Add known gaps between ML2/OVS and OVN
These were listed in the spec, but let's add them to the
documentation so they are easier to find.

Change-Id: I48a38460cf6e74dffa7ecb780d2f90b4403c62bd
Related-bug: #1861032
2020-03-19 18:08:43 -04:00
Igor Malinovskiy
eb6104c0ac Allow sharing of address scopes via RBAC mechanism
Neutron-lib api ref: https://review.opendev.org/#/c/707407/
Client: https://review.opendev.org/#/c/709124/
Tempest tests: https://review.opendev.org/#/c/711610/

Change-Id: I74bedae4de4eb25e5427ecb129543885a020a0a8
Depends-On: https://review.opendev.org/712633
Partial-Bug: #1862968
Closes-Bug: #1697925
2020-03-19 16:51:39 +02:00
Zuul
ddff094b0e Merge "[Community goal] Add contributor and PTL guide" 2020-03-10 19:31:23 +00:00