Commit Graph

324 Commits

Author SHA1 Message Date
Brian Haley 352de7c42c Update some examples to use openstackclient
The DNS ordering and OVN DHCP documents were out-of-date
and using the old neutronclient, updated.

Noticed while fixing an openstackclient bug related to
dns_nameservers ordering.

TrivialFix

Related-bug: #2053201
Change-Id: Iab15750a4adc8dc78d839f0a1b952f9d87bdab8a
2024-02-14 17:31:13 -05:00
Bence Romsics 27601f8eea Set trunk parent port as access port in ovs to avoid loop
A non-vlan-transparent trunk parent port (tpt) should only forward
untagged frames. Earlier it was configured to forward anything (trunk
mode in ovs). This patch changes the trunk mode to access mode and
sets the trunk parent's tag explicitly to 0.

Change-Id: I4bcfe53fe87d7c9218dd0db9d7224bb323709a21
Closes-Bug: #2048785
2024-01-24 14:42:13 +01:00
Takashi Kajinami ff94b49ce5 doc: Drop description about old translation method
Current translation no longer use babel[1] or these setup.cfg
entries[2].

[1] 4e907ed2f39329eaa12d1712d49ca8903db15124
[2] 22df2f6395c1426485a7cb97166601823f8a2a28

Change-Id: Ic866a41b00c37c549a83274e33ac18d0aba846bb
2023-12-21 02:36:09 +09:00
Zuul 4a6eae9a84 Merge "Alphabetize some of the admin and contrib docs" 2023-09-28 03:24:09 +00:00
Brian Haley e63cdd216b Alphabetize some of the admin and contrib docs
Over time docs were added or updated such that they were
no longer in alphabetical order based on the index order
or their title strings. Tried to fix it up a bit along
with some capitalization.

Trivialfix

Change-Id: I948b2a1c86faaffed07adcf0198a3fba72401abe
2023-09-18 13:12:31 -04:00
Bence Romsics 2ec273cdc7 contributor docs: Architectural overview for metadata
I found some old graphs I have drawn about the workings of the
traditional metadata service. I don't know why I haven't contributed
this earlier to Neutron docs. But anyway, better late than never.

Change-Id: I7a412883c8c0d673d1617a3b212598b35e9e698f
2023-09-18 10:32:32 +02:00
Stephen Finucane d409296bde docs: Deindent code blocks
We had a number of code blocks that were being incorrectly rendered
inside block quotes, which messed with formatting somewhat. Correct
them. This was done using the following script:

  sphinx-build -W -b xml doc/source doc/build/xml
  files=$(find doc/build/xml -name '*.xml' -print)
  for file in $files; do
      if xmllint -xpath "//block_quote/literal_block" "$file" &>/dev/null; then
          echo "$file"
      fi
  done

Note that this also highlighted a file using DOS line endings. This is
corrected.

Change-Id: If63f31bf13c76a185e2c6eebc9b85f9a1f3bbde8
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2023-05-10 17:37:26 +01:00
Rodolfo Alonso Hernandez 4bac350f68 Remove "neutron-ovn-tempest-ovs-release-ubuntu-old" job
Neutron is no longer tested in "Ubuntu Focal".

Closes-Bug: #2017500
Change-Id: I16b40c4b0a67370721a125ea377f483c7c08efa0
2023-04-28 14:15:45 +00:00
yatinkarel 706a0e0268 Fix parent of neutron-ovn-tempest-with-uwsgi-loki
Missed in [1], also drop reference of
neutron-tempest-with-uwsgi-loki from docs.

Also set NEUTRON_DEPLOY_MOD_WSGI: false for
parent ovn job[2].

[1] https://review.opendev.org/c/openstack/neutron/+/797051
[2] https://bugs.launchpad.net/neutron/+bug/1912359

Change-Id: If865a863971bb655ddc59a5237c4d1e57e46e407
2023-04-17 16:44:07 +05:30
Zuul 43c9642115 Merge "Add Jens Harbott as Lieutenants in Infra area" 2023-03-14 08:57:12 +00:00
Zuul 708c34c7a3 Merge "Add Lajos Katona to Client and Doc areas as lieutenant" 2023-03-07 13:33:07 +00:00
elajkat b6bc4c8a66 Add Lajos Katona to Client and Doc areas as lieutenant
Change-Id: I9e4f78fd79c7836be71175c0f664257abb9ea177
2023-03-03 12:22:21 +00:00
Zuul 1e8949c9e9 Merge "Update lieutenants for ovn-octavia-provider" 2023-03-01 21:22:49 +00:00
Zuul 48b57bf80f Merge "Add Slawomir Kaplonski as Lieutenant in API, Client and Testing areas" 2023-02-28 21:11:50 +00:00
Rodolfo Alonso Hernandez 12093015de Add Jens Harbott as Lieutenants in Infra area
Jens Harbott will replace Yamamoto Takashi in this area.

Change-Id: I497d921fa4936657572c3d6d0c30c4d07b89fa56
2023-02-28 15:19:56 +00:00
Rodolfo Alonso Hernandez 19482a049b Add Slawomir Kaplonski as Lieutenant in API, Client and Testing areas
Change-Id: I6863ace7759b7f2991a2ed188a897b80ed844ef0
2023-02-28 15:02:22 +00:00
Luis Tomas Bolivar 6cac935824 Update lieutenants for ovn-octavia-provider
Change-Id: Ic27f0dc74c898f19fd39dc4a23f5acf2682dc458
2023-02-28 15:49:28 +01:00
Slawek Kaplonski 169ef05589 Change neutron-ovs-tempest-dvr-ha-multinode-full job's config
Now this job runs on 3 nodes:

* 1 main, controller and networker like, without nova-compute service on
  it, this node has "dvr_snat" set as L3 agent's mode,
* 2 compute like nodes with nova compute and L3 agent in "dvr" mode

Even though there is only one "dvr_snat" node in the job, it keeps
"l3_ha" option set to "true" in Neutron's config. That way we are still
testing "ha" code path of the centralized part of the router but also
job is now closer to the real life, and supported deployments topology.

Additionally this patch adds nodeset for 3 nodes with Ubuntu Jammy and
controller node not running compute service as there is no such nodeset
defined globally.

Related-Bug: #1934666

Change-Id: Id6a91795ebc73be26bb34d9eaf8a53b2b6a1ba0c
2023-02-21 22:19:52 +01:00
Brian Haley 7751ac32a7 Add info on segments extension to contrib guide
Add link from segments extension doc to routed networks spec,
which explains the use case.

Trivialfix
Closes-bug: #1747028

Change-Id: I8af639bc44924582135d3cc94196b3c9b3ca4b5d
2023-01-11 17:13:49 -05:00
Arnaud Morin c7cd387796 Amend documentation for fullstack tests
When trying to execute the fullstack tests, I was a little bit lost in
the documentation.
This change is a proposal to refactor this a little bit so the only
source of truth is the doc/source/contributor/testing/fullstack.rst
file.

Change-Id: Ibaf2ab9a227d71d18adf027d2ae509168c1e26da
Signed-off-by: Arnaud Morin <arnaud.morin@ovhcloud.com>
2022-12-08 14:29:34 +01:00
Slawek Kaplonski 01b11df1b5 Add tempest job which will run on the oldest Ubuntu release
As was discussed in the TC meeting during last PTG [1] we should run
at least one tempest job on the previosly supported Ubuntu version to
make sure that current release can work on older operating system and
that upgrade process can be as smooth as possible for operators.

[1] https://etherpad.opendev.org/p/tc-2023-1-ptg#L428

Depends-On: https://review.opendev.org/c/openstack/tempest/+/861110
Depends-On: https://review.opendev.org/c/openstack/rally-openstack/+/862219
Depends-On: https://review.opendev.org/c/openstack/devstack/+/862479

Change-Id: I8164d76b28904cde88f4de7da08d647f6bd98a10
2022-10-24 15:35:22 +02:00
Slawek Kaplonski 0da328fbee Add "tempest-integrated-networking" job to the check and gate queues
This was discussed during the October 2022 PTG in the Neutron room.
Even if we do have many Neutron jobs which inherits from the
"tempest-integrated-networking" job, we are overriding some
configuration of that base job in our repo.
To make sure that we are not breaking any other projects we should run
in our check and gate queues directly "tempest-integrated-networking"
job too as this is our "reference" job from the integrated CI used by
other projects.

To avoid redundancy in CI jobs this patch also removes
"neutron-ovn-tempest-ovs-release" from the check queue and moves it back
to the experimental queue.

Change-Id: I00e5248ed816618d2132b502a7116626f9c59dc5
2022-10-24 13:27:10 +00:00
Slawek Kaplonski 8d5985ba6a [Docs] Remove python version from the ci jobs summary
Column with python's version used in the job was useful when we had
both py2.7 and py3 jobs. But now we supports only Python 3 so this
column is not needed anymore (and also it was outdates as we don't use
python 3.6 anymore in master branch).

Change-Id: I49cfeca1d454af9fb6379227d2aebac3da3709e1
2022-10-11 16:34:40 +02:00
Slawek Kaplonski 99339a9704 Clean "ovn ipv6 only" jobs templates
We had 2 different kinds of "ovn ipv6 only" jobs defined:

- neutron-ovn-tempest-ovs-release-ipv6-only
- neutron-ovn-tempest-ipv6-only

First of them was running only smoke tempest tests and we had it
in our periodic queue.
Second was run in the check and gate queues and was running all tempest
networking related tests.
That second one was also installing OVS and OVN from sources instead of
the packages provided by the distro.

This patch unifies those 2 jobs so we now have
abstract "neutron-ovn-tempest-ipv6-only-base" and derived from that
2 different jobs:

- neutron-ovn-tempest-ipv6-only-ovs-release - used in check/gate queue,
- neutron-ovn-tempest-ipv6-only-ovs-master - used in periodic queue

Additionally this patch removes "neutron-ovn-tempest-ovs-release" job
from the periodic queue as it is now in the check/gate queue.

Change-Id: I355c5eaca31e12bf980794b1867e1ca39aea96e0
2022-10-11 16:30:00 +02:00
Zuul 98d76ec6b4 Merge "Add "neutron-ovn-tempest-ovs-release" job to the check and gate queue" 2022-10-11 09:01:08 +00:00
Slawek Kaplonski 4551718bad Add "neutron-ovn-tempest-ovs-release" job to the check and gate queue
This job was run only in periodic queue until now but to avoid issues
like described in the related but, we should have this job run in
the check/gate queues as this is job which almost directly inherits from
the "tempest-integrated-networking" defined in the tempest.

Related-Bug: #1991962
Change-Id: I0ceaa9667a9218cb12a0f3b666a68d4bddeb6911
2022-10-10 14:24:50 +02:00
Zuul 23a2c980e2 Merge "docs: Remove errant indentation, mark up literals" 2022-09-23 16:23:58 +00:00
Stephen Finucane 56f89131dd docs: Remove errant indentation, mark up literals
Bullet points shouldn't be preceded by a space. Doing so renders them as
blockquotes. We also have a load of literals/code. Mark them as such.

Change-Id: I59c09c88a68f617f03a1753332ffb5311f8806a6
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2022-09-23 11:54:28 +01:00
Zuul 67aab582dc Merge "Script to remove duplicated port bindings" 2022-08-24 00:54:47 +00:00
Rodolfo Alonso Hernandez c5b76a8393 Script to remove duplicated port bindings
A new script to remove the duplicated port bindings was added. This
script will list all ``ml2_port_bindings`` records in the database,
finding those ones with the same port ID. Then the script removes
those ones with status=INACTIVE. This script is useful to remove
those leftovers that remain in the database after a failed live
migration.

"dry_run" mode is possible if selected in "[cli_script] dry_run"
boolean config option. The duplicated port bindings are printed in
the shell but not deleted.

Related-Bug: #1979072

Change-Id: I0de5fbb70eb852f82bd311616557985d1ce89bbf
2022-08-18 08:13:56 +00:00
elajkat e2ccc12489 Doc: New bug tags: pyroute2 and stable
Change-Id: I27b76daa4bbbad09eee6891fbd63692c1977c431
2022-08-18 09:30:53 +02:00
Rajesh Tailor 8ab5ee1d17 Fix remaining typos in comments and tests
Change-Id: I872422cffd1f9a2e59b5e18a86695e5cb6edc2cd
2022-07-06 21:20:27 +05:30
Rodolfo Alonso Hernandez 7c9244ad15 Documentation about transaction contexts
Added new documentation about database transaction contexts, usage
examples and retry decorators.

Change-Id: I88fe0d33803b325a05780ed118fe0407844a42af
2022-05-17 22:56:07 +00:00
Slawek Kaplonski 4fe128d7e3 Update ci jobs docs
Patch [1] dropped neutron-tempest-plugin-api job and combined it with
the scenario jobs.
This patch updates documentation accordingly.

[1] https://review.opendev.org/c/openstack/neutron-tempest-plugin/+/836912

Change-Id: I96af21382d04aa8bff63885c891992555e82c0ba
2022-05-27 15:59:25 +02:00
Zuul aefcaf4944 Merge "Revert "doc: Remove fwaas references from docs"" 2022-05-27 11:20:30 +00:00
Lajos Katona 7c4f273ed9 Revert "doc: Remove fwaas references from docs"
This reverts commit bce27811df.

Reason for revert: neutron-fwaas has maintainers so the documentation should be available.

Due to changes since the original deletion commit the following changes
were added:
* Add note that OVN is not yet supported
* Remove note that Horizon support is not available

Change-Id: I1a739ee045b49e9b44283c28f95b1accc8a1e37f
2022-05-17 12:01:55 +02:00
Nurmatov Mamatisa a9b8253db4 Update bug triage documentation
logstash.openstack.org is deprecated
On os discuss was anounced new service - OpenSearch [1]

1)
http://lists.openstack.org/pipermail/openstack-discuss/2022-April/028346.html

Change-Id: Id0ca10e959f47c857e673ec621a18e56835e3440
2022-04-29 10:37:26 +03:00
Miguel Lavalle 64bc2c214e Make the recheck policy more prominently visible
It has been suggested in the Neutron CI meeting to include a section in
the documentation advicing against blind rechecks. It turns out that
such section already exists. What this change does is to move the
section to the first level of the contributors guide, to make it more
visible. This change also improves some wording and adds some examples
of proper recheck comments.

Change-Id: Ib0a00d13a28f98b0a0f26c7233365d04453db4e0
2022-04-22 17:13:41 -05:00
Ghanshyam Mann 9183213067 Remove reference of openstack-health
openstack-health is retiring[1] so removing the
reference of it from contributor doc.

[1] https://review.opendev.org/c/openstack/governance/+/836706/2

Change-Id: Id6af0626987b89f109ffee1044469112d3ff3110
2022-04-05 19:44:58 -05:00
Brian Haley 953c1671a8 Fix some Openvswitch firewall doc typos
Noticed a typo while reading the docs, fixed other grammatical
issues while I was here.

Trivial-fix

Change-Id: I9d62281e095688bcbcb1fbab3d1cd5101ae7ad37
2022-03-24 17:41:54 -04:00
Rodolfo Alonso Hernandez 2f944d3105 Support filtering for QoS rule type list
Added support for filtering the QoS rule type list command.
Two new filter flags are added:
- all_supported: if True, the listing call will print all QoS rule
  types supported by at least one loaded mechanism driver.
- all_rules: if True, the listing call will print all QoS rule types
  supported by the Neutron server.

Both filter flags are exclusive and not required.

Depends-On: https://review.opendev.org/c/openstack/neutron-lib/+/827533

Closes-Bug: #1959749
Change-Id: I41eaab177e121316c3daec34b309c266e2f81979
2022-02-24 08:28:53 +00:00
Zuul 60897ddb4b Merge "Update local ip doc" 2022-02-22 17:24:28 +00:00
Nurmatov Mamatisa 47537e169e Update local ip doc
Updated local ip documentation according to OSC patch [1]

1)
https://review.opendev.org/c/openstack/python-openstackclient/+/830342

Change-Id: If5fbd2058747d6630a6577f726ecc8f5ee8c040b
2022-02-22 16:56:01 +03:00
Zuul e1966ff3d7 Merge "Doc: Due to recent grafana upgrade change urls in doc" 2022-02-21 12:01:33 +00:00
Zuul ce96e502fa Merge "Add table for pps limitaion" 2022-02-17 18:49:21 +00:00
elajkat 129760b84f Doc: Due to recent grafana upgrade change urls in doc
grafana urls contain uuid, include that to links.

Change-Id: Ib4810d746c94e05ea75c44fa828b097a88985fe7
2022-02-15 11:33:49 +01:00
elajkat 9cb06cff30 Doc: add back neutron-fwaas lieutenant
Add lieutenant to neutron-fwaas as Inspur arrived to help maintaining
and developing it.

Change-Id: I6230d2b7027dbfee66a6c637b9b2e4699f16c607
2022-02-09 15:02:25 +01:00
LIU Yulong 053a9d24ec Add table for pps limitaion
Table 59 will be used for pps limitation, the pipeline change is:
all original flows with ``goto table 60`` will be changed to
``goto table 59``, while table 59 has a default rule is goto
table 60. Then we can add pps flows to table 59 for all ports.

Basic limit pipeline is:
Ingress: packets get into br-int table 0, before send to table 60,
in table 59, check the destanation MAC and local_vlan ID, if the
dest is resident in this host, do the meter pps action and send
to table 60.
Egress: match src MAC and in_port, before send to table 60,
in table 59, do the meter pps action and send to table 60.

Why table 59? Because for ovs-agent flow structure, all packets
will be send to table 60 to do next actions such as security group.
Between table 0 and table 60, there are tables for ARP poison/spoofing
prevention rules and MAC spoof filtering. We want similar security
checks to take effect first, so it can drop packets before filling
our limit queues (pps limitation based on data forwarding queue).
And we do not want packets go through the long march of security group
flows, in case of performance side effect when there are large amount
of packets try to send, so limit it before goto security group flows.

Partially-Implements: bp/packet-rate-limit
Related-Bug: #1938966
Related-Bug: #1912460
Change-Id: I943f610c3b6bcf05e2e752ca3b57981f523f88a8
2022-02-08 17:13:13 +08:00
Zuul 473f4db1d6 Merge "Local IP internal documentation and release note" 2022-01-26 11:28:27 +00:00
Oleg Bondarev d5b9a04bc2 Local IP internal documentation and release note
Closes-Bug: #1930200
Change-Id: I6745afad159270c5ccd9be2e68f96d8dafc1dc04
2022-01-26 10:59:16 +00:00