Re: [ovs-dev] [PATCH v2 2/2] ovsdb: transaction: Calculate added/removed from diff.

2024-01-09 Thread Mike Pattrick
On Tue, Jan 9, 2024 at 2:54 PM Ilya Maximets wrote: > > In case the difference between 'old' and 'new' rows is readily > available, it can be used to construct added/removed datums > instead. Diffs are typically much smaller than the column > itself. This change more than doubles the performance

Re: [ovs-dev] [OVN coredump with ssl-ciphers args]

2024-01-09 Thread Numan Siddique
On Tue, Jan 9, 2024, 9:46 PM aginwala wrote: > So it seems it would be ok to use STREAM_SSL_OPTION_HANDLERS for multiple > places not just ovn-controller which covers ssl-ciphers and ssl-protocols. > Let me know and can amend in other patch or amend in same patch. > Thanks for root causing it.

Re: [ovs-dev] [OVN coredump with ssl-ciphers args]

2024-01-09 Thread aginwala
So it seems it would be ok to use STREAM_SSL_OPTION_HANDLERS for multiple places not just ovn-controller which covers ssl-ciphers and ssl-protocols. Let me know and can amend in other patch or amend in same patch. On Tue, Jan 9, 2024 at 4:15 PM aginwala wrote: > Hi : > > Debugging further with g

Re: [ovs-dev] [PATCH ovn] pinctrl: Directly retrieve desired port_binding MAC.

2024-01-09 Thread Han Zhou
On Tue, Jan 9, 2024 at 10:32 AM Mark Michelson wrote: > > A static analyzer determined that if pb->n_mac was 0, then the c_addrs > lport_addresses struct would never be initialized. We would then use > and attempt to free uninitialized memory. > > In reality, pb->n_mac will always be 1. This is be

Re: [ovs-dev] [OVN coredump with ssl-ciphers args]

2024-01-09 Thread aginwala
Hi : Debugging further with gdb, I was able to figure out it was was missed in ovn-controller part of stream ssl option hanlder git diff diff --git a/controller/ovn-controller.c b/controller/ovn-controller.c index 632a2cb15..66316e057 100644 --- a/controller/ovn-controller.c +++ b/controller/ovn

Re: [ovs-dev] [RFC v3 ovn] ovn: add geneve PMTUD support

2024-01-09 Thread Lorenzo Bianconi
> On Tue, Jan 9, 2024 at 8:59 AM Lorenzo Bianconi > wrote: > > > > > On Fri, Dec 22, 2023 at 11:27 AM Lorenzo Bianconi > > > wrote: > > > > > > > > Introduce specif flows for E/W ICMPv{4,6} packets if tunnelled packets > > > > do not fit path MTU. This patch enable PMTUD for East/West Geneve > >

Re: [ovs-dev] [PATCH v2 07/17] ovsdb-server: Database config isolation.

2024-01-09 Thread 0-day Robot
Bleep bloop. Greetings Ilya Maximets, I am a robot and I have tried out your patch. Thanks for your contribution. I encountered some error that I wasn't expecting. See the details below. checkpatch: WARNING: Line lacks whitespace around operator #180 FILE: ovsdb/ovsdb-server.c:102: SERVIC

[ovs-dev] [PATCH v2 17/17] tests: ovsdb: Add configuration tests with config file.

2024-01-09 Thread Ilya Maximets
Add more tests specific to --config-file. Signed-off-by: Ilya Maximets --- tests/ovsdb-server.at | 651 ++ 1 file changed, 651 insertions(+) diff --git a/tests/ovsdb-server.at b/tests/ovsdb-server.at index 488dfc36f..036e4cc3b 100644 --- a/tests/ovsdb-ser

[ovs-dev] [PATCH v2 15/17] ovsdb-server: Allow user-provided config files.

2024-01-09 Thread Ilya Maximets
OVSDB server maintains a temporary file with the current database configuration for the case it is restarted by a monitor process after a crash. On startup the configuration from command line arguments is stored there in a JSON format, also whenever user changes the configuration with different Un

[ovs-dev] [PATCH v2 16/17] tests: ovsdb: Add relay and replication execution with config file.

2024-01-09 Thread Ilya Maximets
Basic relay and active-backup command execution tests extended to run some copies of ovsdb-server processes with --config-file. Signed-off-by: Ilya Maximets --- tests/ovsdb-server.at | 123 +- 1 file changed, 97 insertions(+), 26 deletions(-) diff --git a

[ovs-dev] [PATCH v2 14/17] ovsdb: relay: Allow setting all jsonrpc session options.

2024-01-09 Thread Ilya Maximets
Allow setting all the JSON-RPC session options at once. While at it, allow updating options the same way the source can be updated while calling 'ovsdb_relay_add_db()' if the relay is already configured. Signed-off-by: Ilya Maximets --- ovsdb/ovsdb-server.c | 2 +- ovsdb/relay.c| 6 -

[ovs-dev] [PATCH v2 13/17] ovsdb-cs: Add function to set all jsonrpc session options.

2024-01-09 Thread Ilya Maximets
Allow setting all the options for the source connection, not only the inactivity probe interval. Signed-off-by: Ilya Maximets --- lib/ovsdb-cs.c | 10 ++ lib/ovsdb-cs.h | 3 +++ 2 files changed, 13 insertions(+) diff --git a/lib/ovsdb-cs.c b/lib/ovsdb-cs.c index c7c147cc0..b5eda88ad 10

[ovs-dev] [PATCH v2 12/17] ovsdb: replication: Allow to set all jsonrpc options.

2024-01-09 Thread Ilya Maximets
Set all the options for the source connection, not only the inactivity probe interval. Signed-off-by: Ilya Maximets --- ovsdb/ovsdb-server.c | 11 --- ovsdb/replication.c | 6 +++--- ovsdb/replication.h | 3 ++- 3 files changed, 9 insertions(+), 11 deletions(-) diff --git a/ovsdb/ov

[ovs-dev] [PATCH v2 11/17] ovsdb: Embed jsonrpc session options into ovsdb jsonrpc options.

2024-01-09 Thread Ilya Maximets
Just introduced structure 'jsonrpc_session_options' is the same as part of the 'ovsdb_jsonrpc_options'. In fact, these options do really belong to a lower layer. So, replace a copy of these fields with a structure, so it can be easily passed to jsonrpc's 'jsonrpc_session_set_options()'. Not crea

[ovs-dev] [PATCH v2 10/17] jsonrpc: Add function to update all options at once.

2024-01-09 Thread Ilya Maximets
It's useful to have a way to update all the JSON-RPC session options all at once and not call 3 separate functions every time. This may also allow the internals of these options to be better abstracted, i.e. allow users to not know what are these options exactly. Signed-off-by: Ilya Maximets ---

[ovs-dev] [PATCH v2 08/17] ovsdb-server: Add no-op config-file option.

2024-01-09 Thread Ilya Maximets
Adding a --config-file option that will be used in the future to allow users to provide the database server configuration via a JSON file. For now, it does nothing useful, but we define it as mutually exclusive with all the command line options and UnixCtl commands that configure values that will

[ovs-dev] [PATCH v2 06/17] ovsdb: replication: Automatically switch read-only mode.

2024-01-09 Thread Ilya Maximets
When database is added to the replication, it should no longer accept transactions that can modify it. When it's removed from the replication, it should be writable again. Add this logic to the replication module itself, so it can be removed from the main ovsdb-server later. Signed-off-by: Ilya

[ovs-dev] [PATCH v2 05/17] ovsdb: replication: Isolate databases from each other.

2024-01-09 Thread Ilya Maximets
Refactoring of the replication code, so each database is handled separately from each other. Supposed to work the same way as before with the only difference that each backup database will have its own connection to the source and will have its own state machine. >From the user's perspective, the

[ovs-dev] [PATCH v2 07/17] ovsdb-server: Database config isolation.

2024-01-09 Thread Ilya Maximets
Add a new structure 'db_config' that holds the user-provided configuration of the database. And attach this configuration to each of the databases on the server. Each database has a service model: standalone, clustered, relay or active-backup. Relays and A-B databases have a source, each source

[ovs-dev] [PATCH v2 09/17] jsonrpc-server: Re-add remotes on role changes.

2024-01-09 Thread Ilya Maximets
It is currently not possible for the role to change in runtime (unless a manual DB transaction is crafted), but it will be with addition of a config file. If the role changes, listening socket will be closed, and all the connections to this remote will be terminated. Signed-off-by: Ilya Maximets

[ovs-dev] [PATCH v2 04/17] ovsdb: Extract relay string parsing into a separate function.

2024-01-09 Thread Ilya Maximets
Small refactoring so we can re-use this function in later commits. Signed-off-by: Ilya Maximets --- ovsdb/ovsdb-server.c | 45 +++- 1 file changed, 32 insertions(+), 13 deletions(-) diff --git a/ovsdb/ovsdb-server.c b/ovsdb/ovsdb-server.c index 7f65cadfe.

[ovs-dev] [PATCH v2 03/17] ovsdb: Track jsonrpc options per remote.

2024-01-09 Thread Ilya Maximets
Store JSON-RPC options for each remote separately, so it will be possible to have different configurations per remote in the future. These are also stored to and loaded from the temporary file that OVSDB is using to restore runtime configuration of the server restarted by the monitor process after

[ovs-dev] [PATCH v2 02/17] jsonrpc-server: Add functions to convert jsonrpc options to/from json.

2024-01-09 Thread Ilya Maximets
These functions will be needed when we'll need to load/save configuration of each OVSDB remote separately. The parsing function is written in a way that it updates the provided options and doesn't create a new structure. This is done in order for different callers to have their own default values

[ovs-dev] [PATCH v2 01/17] ovsdb: Allow database itself to be read-only.

2024-01-09 Thread Ilya Maximets
Currently, the read-only option can be set on connections or JSON-RPC server as a whole. However, there is no way to allow modifications in one database, but not in the other. Adding an internal read-only flag for a database itself. Will be used later for running active and backup databases in a

[ovs-dev] [PATCH v2 00/17] ovsdb-server: Configuration via config-file.

2024-01-09 Thread Ilya Maximets
The original problem was summarized on the OVS+OVN Conf'22 last year: https://www.openvswitch.org/support/ovscon2022/#t19 Slides: https://www.openvswitch.org/support/ovscon2022/slides/ovsdb-a-database.pdf In short, there are way to many ways to configure remotes and databases but not a single

Re: [ovs-dev] [RFC v3 ovn] ovn: add geneve PMTUD support

2024-01-09 Thread Numan Siddique
On Tue, Jan 9, 2024 at 8:59 AM Lorenzo Bianconi wrote: > > > On Fri, Dec 22, 2023 at 11:27 AM Lorenzo Bianconi > > wrote: > > > > > > Introduce specif flows for E/W ICMPv{4,6} packets if tunnelled packets > > > do not fit path MTU. This patch enable PMTUD for East/West Geneve traffic. > > > > > >

Re: [ovs-dev] [branch-21.12 v2 ovn] controller: make garp_max_timeout configurable

2024-01-09 Thread Dumitru Ceara
On Fri, Dec 15, 2023 at 6:07 PM Lorenzo Bianconi wrote: > > > On 12/14/23 18:42, Lorenzo Bianconi wrote: > > > When using VLAN backed networks and OVN routers leveraging the > > > 'ovn-chassis-mac-mappings' option for east-west traffic, the eth.src > > > field is > > > replaced by the chassis mac

Re: [ovs-dev] [PATCH v3 ovn] test: add dedicated test for garp-max-timeout

2024-01-09 Thread Dumitru Ceara
On 1/8/24 10:37, Lorenzo Bianconi wrote: > Introduce a dedicated test for garp-max-timeout knob > > Signed-off-by: Lorenzo Bianconi > --- > tests/ovn.at | 65 > 1 file changed, 65 insertions(+) > > diff --git a/tests/ovn.at b/tests/ovn.at > i

Re: [ovs-dev] [PATCH ovn v2] treewide: Fix small memory leaks reported by static analysis

2024-01-09 Thread Dumitru Ceara
On 1/4/24 20:24, Mark Michelson wrote: > Thanks, Ales. > > Acked-by: Mark Michelson > Thanks, Ales and Mark! I applied this to main and backported it to all stable branches down to 22.03. Regards, Dumitru ___ dev mailing list d...@openvswitch.org h

[ovs-dev] [PATCH v2 2/2] ovsdb: transaction: Calculate added/removed from diff.

2024-01-09 Thread Ilya Maximets
In case the difference between 'old' and 'new' rows is readily available, it can be used to construct added/removed datums instead. Diffs are typically much smaller than the column itself. This change more than doubles the performance of a transaction replay. For example, with this change applie

[ovs-dev] [PATCH v2 1/2] ovsdb: Preserve column diffs read from the storage.

2024-01-09 Thread Ilya Maximets
Database file contains the column diff, but it is discarded once the 'new' state of a row is constructed. Keep it in the transaction row, as it can be used later by other parts of the code. Diffs do not live long, we keep them around only while transaction is alive, so should not affect memory co

[ovs-dev] [PATCH v2 0/2] ovsdb: transaction: Bug Fixes + Reuse of column diffs.

2024-01-09 Thread Ilya Maximets
Cover letter is not modified from v1, but the patch set no longer contains the bug fixes, they were already applied. Original cover letter: This patch set contains a few bug fixes for transaction processing and an optimization. The first patch is just a bug fix. The 2nd and 3rd are also bug fix

[ovs-dev] [PATCH ovn] pinctrl: Directly retrieve desired port_binding MAC.

2024-01-09 Thread Mark Michelson
A static analyzer determined that if pb->n_mac was 0, then the c_addrs lport_addresses struct would never be initialized. We would then use and attempt to free uninitialized memory. In reality, pb->n_mac will always be 1. This is because the port binding is a representation of a northbound logical

[ovs-dev] [CONF] OVS+OVN '23 Fall Conference, Video links on main site

2024-01-09 Thread Aaron Conole
Greetings, We've updated the links on the OVS+OVN Conference page to the YouTube playlist that contains the OVS+OVN '23 Fall Conference. These recordings include the Q&A sessions that were conducted after each presentation is made for most of the sessions (some talks had conflicts with speakers).

Re: [ovs-dev] [PATCH v3 2/2] checkpatch.py: Load codespell dictionary.

2024-01-09 Thread Aaron Conole
Roi Dayan writes: > On 18/12/2023 9:45, Roi Dayan wrote: >> >> >> On 14/12/2023 15:25, Aaron Conole wrote: >>> Eelco Chaudron writes: >>> On 15 Nov 2023, at 3:33, Aaron Conole wrote: > Eelco Chaudron writes: > >> On 14 Nov 2023, at 8:49, Roi Dayan wrote: >> >>> O

Re: [ovs-dev] [RFC v3 ovn] ovn: add geneve PMTUD support

2024-01-09 Thread Lorenzo Bianconi
> On Fri, Dec 22, 2023 at 11:27 AM Lorenzo Bianconi > wrote: > > > > Introduce specif flows for E/W ICMPv{4,6} packets if tunnelled packets > > do not fit path MTU. This patch enable PMTUD for East/West Geneve traffic. > > > > Reported-at: https://bugzilla.redhat.com/show_bug.cgi?id=2241711 > > Si

Re: [ovs-dev] [PATCH ovn v4 3/4] OVN-IC: Make it possible for CMS to detect when the ISB is up-to-date.

2024-01-09 Thread 0-day Robot
Bleep bloop. Greetings Mohammad Heib, I am a robot and I have tried out your patch. Thanks for your contribution. I encountered some error that I wasn't expecting. See the details below. checkpatch: WARNING: Line lacks whitespace around operator WARNING: Line lacks whitespace around operator

[ovs-dev] [PATCH ovn v4 3/4] OVN-IC: Make it possible for CMS to detect when the ISB is up-to-date.

2024-01-09 Thread Mohammad Heib
Until now, there has been no reliable for the CMS to detect when changes made to the INB configuration have been passed through to the ISB, This commit adds this feature to the system, by adding sequence numbers to the INB and ISB and adding code in ovn-ic-nbctl, ovn-ic to keep those sequence numbe

[ovs-dev] [PATCH ovn v4 4/4] ic/tests: add unit test for ic sync command

2024-01-09 Thread Mohammad Heib
add unit test that check validate that sync command sync ISB properly Signed-off-by: Mohammad Heib --- tests/ovn-ic.at | 47 +++ 1 file changed, 47 insertions(+) diff --git a/tests/ovn-ic.at b/tests/ovn-ic.at index d4c436f84..f55ffa6cd 100644 --- a/te

[ovs-dev] [PATCH ovn v4 2/4] ovn-ic: implement basic INB change handling status

2024-01-09 Thread Mohammad Heib
This patch implements a basic sequence number protocol that can be used by CMS to determine if the changes applied to INB are successfully propagated to ISB. The implementation of this patch relies on OVN-ICs instances to update the ISB by adding a per AZ a nb_ic_cfg counter that will be updated b

[ovs-dev] [PATCH ovn v4 1/4] OVN-IC: interconnect DBs add basic Information Flow columns

2024-01-09 Thread Mohammad Heib
Add basic flow columns to interconnect northbound DB and interconnect Southbound DB. Those columns will be used by future patches to add basic support for Information Flow in OVN interconnect. Signed-off-by: Mohammad Heib Acked-by: Mark Michelson Acked-by: Ales Musil --- NEWS

[ovs-dev] [PATCH ovn v4 0/4] OVN-IC: add basic sequence number status support

2024-01-09 Thread Mohammad Heib
Currently, OVN-IC doesn't support a way to tell the end-user when their changes to the IC-NB database have propagated successfully to the IC-SB Database. This patch series adds basic support for the sequence number status protocol that is implemented on the native OVN, with this patch series the e

[ovs-dev] [PATCH ovn v2 2/2] northd: Explicitly handle SNAT for ICMP need frag

2024-01-09 Thread Ales Musil
Considering following topology: client - sw0 - lrp0 - lr - lrp1 - sw1 - server sw0 in subnet 192.168.0.0/24 sw1 in subnet 172.168.0.0/24 SNAT configured for client gateway_mtu=1400 configured for lrp0 If we send UDP traffic from client to server and server responds with packet bigger than 1400 the

[ovs-dev] [PATCH ovn v2 1/2] actions: Adjust the ct_commit_nat action

2024-01-09 Thread Ales Musil
The ct_commit nat was hardcoded to use DNAT zone in router pipeline. Extend it that it accepts two new arguments (snat/dnat) which will determine the zone for router pipeline. The switch pipeline has only one, so it resolves to the same for both arguments. In order to keep backward compatibility t

[ovs-dev] [PATCH ovn v2 0/2] Keep track of SNAT status for ICMP need frag

2024-01-09 Thread Ales Musil
The ICMP need frag could be generated after routing stage when the unSNAT already happened. Add flows that will ensure that we are keeping track of the CT state and do appropriate CT nat action later on. Because the ICMP traffic is related to already existing one in this case we can use adjusted c

Re: [ovs-dev] [PATCH ovs v3] debian/rules: Fix incorrect use of link-time optimizer.

2024-01-09 Thread Simon Horman
On Mon, Jan 08, 2024 at 08:34:36AM -0300, Roberto Bartzen Acosta via dev wrote: > Current version of debian/rules simply uses the default lto GCC > optimization settings during the linkage process. > > The main problem with this approach is that GCC on OS like Ubuntu > Jammy, for example, can enab

[ovs-dev] OVN technical community meeting - January 8th

2024-01-09 Thread Dumitru Ceara
Hi everyone, Thanks to everyone who could attend the meeting yesterday! For those who couldn't attend here are the links to the recordings: https://drive.google.com/file/d/1uB5mQapsqxMkG5BwtrGHmeUgN9K28XBI https://drive.google.com/file/d/1mNb84ffQ2cGhUcaRUUUzfF9DSxgcURIL and the meeting notes:

Re: [ovs-dev] [PATCH] lib/backtrace: Fix error in log_backtrace() documentation.

2024-01-09 Thread Ilya Maximets
On 1/8/24 16:25, Mike Pattrick wrote: > On Fri, Jan 5, 2024 at 11:42 AM Frode Nordahl > wrote: >> >> The documentation for log_backtrace() states the backtrace is >> logged at DEBUG level, while in reality it is logged at ERROR >> level. >> >> Fixes: d0b99d38edab ("backtrace: Add log_backtrace()")

Re: [ovs-dev] [PATCH v2] vconn: Count vconn_sent regardless of log level.

2024-01-09 Thread Ilya Maximets
On 1/8/24 10:37, Eelco Chaudron wrote: > > > On 6 Jan 2024, at 10:23, Cheng Li wrote: > >> vconn_sent counter is supposed to increase each time send() return >> 0, no matter if the vconn log debug is on or off. >> >> Signed-off-by: Cheng Li > > Thanks for catching and fixing this! The change l

Re: [ovs-dev] [PATCH ovn] ovs: Bump submodule to include IDL "spurious delete" fix.

2024-01-09 Thread Dumitru Ceara
On 1/8/24 22:34, Ilya Maximets wrote: > On 1/8/24 16:40, Dumitru Ceara wrote: >> Specifically the following commit: >> 4102674b3e ovsdb-idl: Preserve change_seqno when deleting rows. >> >> Without it, in specific cases, the IDL might incorrectly report deletion >> of yet to be seen records. >> >>

Re: [ovs-dev] [PATCH 05/22] ovsdb: trigger: Do not allow conversion in read-only mode.

2024-01-09 Thread Ilya Maximets
On 1/2/24 16:54, Mike Pattrick wrote: > On Wed, Dec 13, 2023 at 8:05 PM Ilya Maximets wrote: >> >> It's not a big problem, but it would be nice to ensure that >> the backup database cannot be locally converted. >> >> Fixes: e51879e99b3e ("ovsdb: Make OVSDB backup sever read only") >> Signed-off-by

Re: [ovs-dev] [PATCH ovn v3 0/3] Allow to use different container images per branch

2024-01-09 Thread Dumitru Ceara
On 11/23/23 13:38, Ales Musil wrote: > This series allows different branches to use different images. > This is needed for stability reasons as it is hard to keep up > with new Ubuntu/Fedora releases for all stable branches. > > We will still use the prebuilt images for main branch which > is comp

Re: [ovs-dev] [PATCH 3/5] ovsdb: transaction: Don't try to diff unchanged columns.

2024-01-09 Thread Ilya Maximets
On 1/5/24 16:09, Mike Pattrick wrote: > On Fri, Jan 5, 2024 at 9:30 AM Ilya Maximets wrote: >> >> On 12/29/23 17:28, Mike Pattrick wrote: >>> On Sun, Dec 17, 2023 at 9:03 PM Ilya Maximets wrote: While reassessing weak references the code attempts to collect added and removed atoms,

Re: [ovs-dev] [PATCH v5] system-dpdk: Test with mlx5 devices.

2024-01-09 Thread Ilya Maximets
On 11/22/23 17:09, David Marchand wrote: > The DPDK unit test only runs if vfio or igb_uio kernel modules are loaded: > on systems with only mlx5, this test is always skipped. > > Besides, the test tries to grab the first device listed by dpdk-devbind.py, > regardless of the PCI device status rega

Re: [ovs-dev] [PATCH ovn 2/3] northd, controller: Add feature flag for the updated ct_commit_nat

2024-01-09 Thread Dumitru Ceara
On 12/6/23 11:19, Ales Musil wrote: > Add feature flag for the updated ct_commit_nat action. In case there > is an update of northd to newer version before all controllers are updated. > > Signed-off-by: Ales Musil > --- We don't use this new flag in this patch. I'd prefer if patches 2/3 and 3/

Re: [ovs-dev] [PATCH ovn v3 3/4] OVN-IC: Make it possible for CMS to detect when the ISB is up-to-date.

2024-01-09 Thread 0-day Robot
Bleep bloop. Greetings Mohammad Heib, I am a robot and I have tried out your patch. Thanks for your contribution. I encountered some error that I wasn't expecting. See the details below. checkpatch: WARNING: Line lacks whitespace around operator WARNING: Line lacks whitespace around operator

Re: [ovs-dev] [PATCH ovn 1/3] actions: Adjust the ct_commit_nat action

2024-01-09 Thread Dumitru Ceara
On 12/6/23 11:19, Ales Musil wrote: > The ct_commit nat was hardcoded to use DNAT zone > in router pipeline. Extend it that it accepts > two new arguments (snat/dnat) which will determine > the zone for router pipeline. The switch pipeline > has only one so it resolves to the same for both argument

Re: [ovs-dev] [PATCH ovn v2 3/4] IC: Make it possible for CMS to detect when the ISB is up-to-date.

2024-01-09 Thread Mohammad Heib
Hi Ales, Thank you for your review :) i addressed most of your comments in v3, i just have one small comment please see below: On Tue, Jan 2, 2024 at 10:13 AM Ales Musil wrote: > > > On Wed, Dec 20, 2023 at 4:28 PM Mohammad Heib wrote: > >> Until now, there has been no reliable for the CMS to

[ovs-dev] [PATCH ovn v3 3/4] OVN-IC: Make it possible for CMS to detect when the ISB is up-to-date.

2024-01-09 Thread Mohammad Heib
Until now, there has been no reliable for the CMS to detect when changes made to the INB configuration have been passed through to the ISB, This commit adds this feature to the system, by adding sequence numbers to the INB and ISB and adding code in ovn-ic-nbctl, ovn-ic to keep those sequence numbe

[ovs-dev] [PATCH ovn v3 1/4] OVN-IC: interconnect DBs add basic Information Flow columns

2024-01-09 Thread Mohammad Heib
Add basic flow columns to interconnect northbound DB and interconnect Southbound DB. Those columns will be used by future patches to add basic support for Information Flow in OVN interconnect. Signed-off-by: Mohammad Heib Acked-by: Mark Michelson Acked-by: Ales Musil --- NEWS

[ovs-dev] [PATCH ovn v3 2/4] ovn-ic: implement basic INB change handling status

2024-01-09 Thread Mohammad Heib
This patch implements a basic sequence number protocol that can be used by CMS to determine if the changes applied to INB are successfully propagated to ISB. The implementation of this patch relies on OVN-ICs instances to update the ISB by adding a per AZ a nb_ic_cfg counter that will be updated b

[ovs-dev] [PATCH ovn v3 4/4] ic/tests: add unit test for ic sync command

2024-01-09 Thread Mohammad Heib
add unit test that check validate that sync command sync ISB properly Signed-off-by: Mohammad Heib --- tests/ovn-ic.at | 47 +++ 1 file changed, 47 insertions(+) diff --git a/tests/ovn-ic.at b/tests/ovn-ic.at index d4c436f84..f55ffa6cd 100644 --- a/te

[ovs-dev] [PATCH ovn v3 0/4] OVN-IC: add basic sequence number status support

2024-01-09 Thread Mohammad Heib
Currently, OVN-IC doesn't support a way to tell the end-user when their changes to the IC-NB database have propagated successfully to the IC-SB Database. This patch series adds basic support for the sequence number status protocol that is implemented on the native OVN, with this patch series the e

Re: [ovs-dev] [PATCH ovn v2] ofctrl: Track the OvS flow update time

2024-01-09 Thread Dumitru Ceara
On 12/5/23 12:18, Ales Musil wrote: > Add unixctl command called "ofctrl/flow-install-time" > that returns the last time it took OvS to process > and install all flows. The initial time is taken right > before controller queues the updates to rconn. > The end is marked when we receive barrier reply

Re: [ovs-dev] [PATCH v5 03/12] ci: Update the GitHub Ubuntu runner image to Ubuntu 22.04.

2024-01-09 Thread Eelco Chaudron
On 2 Jan 2024, at 12:19, Ilya Maximets wrote: > On 12/19/23 13:41, Eelco Chaudron wrote: >> Updating this image is a requirement for the kernel system-traffic >> tests to pass on Ubuntu. In addition, 20.04 might be replaced, >> as soon as 24.04 comes out. Or we need to do this when it becomes >

Re: [ovs-dev] [PATCH v28 8/8] system-offloads-traffic.at: Add sFlow offload test cases

2024-01-09 Thread Eelco Chaudron
On 9 Jan 2024, at 10:22, Chris Mi wrote: > Hi Roi and Eelco, > > Sorry for the late reply. We are still busy with other task. So maybe we'll > have to postpone it. Thanks for the update and I guess we are too late for the upcoming release unless you can submit it this week. //Eelco FYI, We

Re: [ovs-dev] [PATCH v28 8/8] system-offloads-traffic.at: Add sFlow offload test cases

2024-01-09 Thread Chris Mi via dev
Hi Roi and Eelco, Sorry for the late reply. We are still busy with other task. So maybe we'll have to postpone it. Regards, Chris On 1/9/2024 4:52 PM, Roi Dayan wrote: On 02/11/2023 15:24, Eelco Chaudron wrote: On 3 Oct 2023, at 17:03, Eelco Chaudron wrote: On 19 Jun 2023, at 12:18, Chr

Re: [ovs-dev] [PATCH v28 8/8] system-offloads-traffic.at: Add sFlow offload test cases

2024-01-09 Thread Roi Dayan via dev
On 02/11/2023 15:24, Eelco Chaudron wrote: > > > On 3 Oct 2023, at 17:03, Eelco Chaudron wrote: > >> On 19 Jun 2023, at 12:18, Chris Mi wrote: >> >>> On 6/19/2023 6:04 PM, Eelco Chaudron wrote: On 19 Jun 2023, at 7:05, Chris Mi wrote: > Add three sFlow offload test cases: >

Re: [ovs-dev] [PATCH v3 2/2] checkpatch.py: Load codespell dictionary.

2024-01-09 Thread Roi Dayan via dev
On 18/12/2023 9:45, Roi Dayan wrote: > > > On 14/12/2023 15:25, Aaron Conole wrote: >> Eelco Chaudron writes: >> >>> On 15 Nov 2023, at 3:33, Aaron Conole wrote: >>> Eelco Chaudron writes: > On 14 Nov 2023, at 8:49, Roi Dayan wrote: > >> On 13/11/2023 19:08, Aaron Conole