[ovs-dev] 回复: [External] Re: [PATCH ovn] northd: Fix issues for Forwarding_Group

2024-07-10 Thread Qiang Qiang45 Zhang via dev
Test cases have been added. 发件人: Ales Musil 发送时间: 2024年7月10日 15:02 收件人: Qiang Qiang45 Zhang 抄送: d...@openvswitch.org 主题: [External] Re: [ovs-dev] [PATCH ovn] northd: Fix issues for Forwarding_Group On Mon, Jul 8, 2024 at 5:01 PM Qiang Qiang45 Zhang via dev mailto:ovs-dev@openvswitch.org>> w

Re: [ovs-dev] [PATCH v1 13/13] ofp-actions: Load data from fields in sample action.

2024-07-10 Thread Ilya Maximets
On 7/10/24 23:38, Adrián Moreno wrote: > On Wed, Jul 10, 2024 at 11:00:43PM GMT, Ilya Maximets wrote: >> On 7/7/24 22:09, Adrian Moreno wrote: >>> When sample action gets used as a way of sampling traffic with >>> controller-generated metadata (i.e: obs_domain_id and obs_point_id), >>> the controll

Re: [ovs-dev] [PATCH v1 11/13] ofproto: xlate: Make flow-sampled drops explicit.

2024-07-10 Thread Adrián Moreno
On Wed, Jul 10, 2024 at 11:31:42PM GMT, Ilya Maximets wrote: > On 7/7/24 22:09, Adrian Moreno wrote: > > When an action set ends in a an OFP_SAMPLE action, it means the packet > > will be dropped and sampled. Make the drop explicit in this case so that > > drop statistics remain accurate. > > > > T

Re: [ovs-dev] [PATCH v1 13/13] ofp-actions: Load data from fields in sample action.

2024-07-10 Thread Adrián Moreno
On Wed, Jul 10, 2024 at 11:00:43PM GMT, Ilya Maximets wrote: > On 7/7/24 22:09, Adrian Moreno wrote: > > When sample action gets used as a way of sampling traffic with > > controller-generated metadata (i.e: obs_domain_id and obs_point_id), > > the controller will have to increase the number of flo

Re: [ovs-dev] [PATCH v1 11/13] ofproto: xlate: Make flow-sampled drops explicit.

2024-07-10 Thread Ilya Maximets
On 7/7/24 22:09, Adrian Moreno wrote: > When an action set ends in a an OFP_SAMPLE action, it means the packet > will be dropped and sampled. Make the drop explicit in this case so that > drop statistics remain accurate. > > This could be done outside of the sample action, i.e: "sample(...),drop"

Re: [ovs-dev] [PATCH v1 13/13] ofp-actions: Load data from fields in sample action.

2024-07-10 Thread Ilya Maximets
On 7/7/24 22:09, Adrian Moreno wrote: > When sample action gets used as a way of sampling traffic with > controller-generated metadata (i.e: obs_domain_id and obs_point_id), > the controller will have to increase the number of flows to ensure each > part of the pipeline contains the right metadata.

Re: [ovs-dev] [PATCH v1 13/13] ofp-actions: Load data from fields in sample action.

2024-07-10 Thread Adrián Moreno
On Wed, Jul 10, 2024 at 10:26:23PM GMT, Ilya Maximets wrote: > On 7/9/24 16:25, Eelco Chaudron wrote: > > > > > > On 9 Jul 2024, at 16:17, Adrián Moreno wrote: > > > >> On Tue, Jul 09, 2024 at 11:46:12AM GMT, Eelco Chaudron wrote: > >>> On 7 Jul 2024, at 22:09, Adrian Moreno wrote: > >>> > Whe

Re: [ovs-dev] [PATCH v1 13/13] ofp-actions: Load data from fields in sample action.

2024-07-10 Thread Ilya Maximets
On 7/9/24 16:25, Eelco Chaudron wrote: > > > On 9 Jul 2024, at 16:17, Adrián Moreno wrote: > >> On Tue, Jul 09, 2024 at 11:46:12AM GMT, Eelco Chaudron wrote: >>> On 7 Jul 2024, at 22:09, Adrian Moreno wrote: >>> When sample action gets used as a way of sampling traffic with controller-

Re: [ovs-dev] [PATCH v1 06/13] ofproto-dpif-xlate: Use psample for local sample.

2024-07-10 Thread Ilya Maximets
On 7/10/24 19:17, Adrián Moreno wrote: > On Wed, Jul 10, 2024 at 06:52:30PM GMT, Ilya Maximets wrote: >> On 7/10/24 15:25, Adrián Moreno wrote: >>> On Wed, Jul 10, 2024 at 02:56:44PM GMT, Ilya Maximets wrote: On 7/7/24 22:08, Adrian Moreno wrote: > Use the newly added psample action to imp

[ovs-dev] [PATCH v6 ovn] northd: Add bfd, static_routes and route_policies nodes to I-P engine.

2024-07-10 Thread Lorenzo Bianconi
Introduce bfd, static_routes and route_policies nodes to northd I-P engine to track bfd connections and northd static_route/policy_route changes. Acked-by: Numan Siddique Reported-at: https://issues.redhat.com/browse/FDP-600 Signed-off-by: Lorenzo Bianconi --- Changes since v5: - remove bfd_mute

Re: [ovs-dev] [PATCH v5 13/13] documentation: Document ovs-flowviz.

2024-07-10 Thread 0-day Robot
Bleep bloop. Greetings Adrian Moreno, 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 is 81 characters long (recommended limit is 79) #550 FILE: Documentation/ref/ovs

Re: [ovs-dev] [PATCH v1 06/13] ofproto-dpif-xlate: Use psample for local sample.

2024-07-10 Thread Adrián Moreno
On Wed, Jul 10, 2024 at 06:52:30PM GMT, Ilya Maximets wrote: > On 7/10/24 15:25, Adrián Moreno wrote: > > On Wed, Jul 10, 2024 at 02:56:44PM GMT, Ilya Maximets wrote: > >> On 7/7/24 22:08, Adrian Moreno wrote: > >>> Use the newly added psample action to implement OpenFlow sample() actions > >>> wit

[ovs-dev] [PATCH v5 13/13] documentation: Document ovs-flowviz.

2024-07-10 Thread Adrian Moreno
Add a man page for ovs-flowviz as well as a topic page with some more detailed examples. Signed-off-by: Adrian Moreno --- Documentation/automake.mk | 4 +- Documentation/conf.py | 2 + Documentation/ref/index.rst | 1 + Documentation/

[ovs-dev] [PATCH v5 12/13] python: ovs: flowviz: Add datapath graph format.

2024-07-10 Thread Adrian Moreno
Graph view leverages the TreeFlow hierarchy and uses graphviz library to build a visual graph of the datapath tree. Conntrack zones are shown in random colors to help visualize connection tracking interdependencies. An html flag builds an HTML page with both the html flows and the graph (in svg)

[ovs-dev] [PATCH v5 08/13] python: ovs: flowviz: Add datapath tree format.

2024-07-10 Thread Adrian Moreno
Datapath flows can be arranged into a "tree"-like structure based on recirculation ids and input ports. A recirculation group is composed of flows sharing the same "recirc_id" and "in_port" match. Within that group, flows are arranged in blocks of flows that have the same action list. Finally, if

[ovs-dev] [PATCH v5 07/13] python: ovs: flowviz: Add html formatting.

2024-07-10 Thread Adrian Moreno
Add a HTML Formatter and use it to print OpenFlow flows in an HTML list with table links. Examples $ ovs-flowviz -i offlows.txt --highlight "drop" openflow html > /tmp/flows.html $ ovs-flowviz -i offlows.txt --filter "n_packets > 0" openflow html > /tmp/flows.html Both light and dark styles are s

[ovs-dev] [PATCH v5 09/13] python: ovs: flowviz: Add OpenFlow logical view.

2024-07-10 Thread Adrian Moreno
This view is interesting for debugging the logical pipeline. It arranges the flows in "logical" groups (not to be confused with OVN's Logical_Flows). A logical group of flows is a set of flows that: - Have the same table number and priority - Match on the same fields (regardless of the value they m

[ovs-dev] [PATCH v5 05/13] python: ovs: flowviz: Add console formatting.

2024-07-10 Thread Adrian Moreno
Add a flow formatting framework and one implementation for console printing using rich. The flow formatting framework is a simple set of classes that can be used to write different flow formatting implementations. It supports styles to be described by any class, highlighting and config-file based

[ovs-dev] [PATCH v5 04/13] python: ovs: flowviz: Add file processing infra.

2024-07-10 Thread Adrian Moreno
process.py contains a useful base class that processes files. Datapath flow processing is pmd-thread-aware. odp.py and ofp.py: contain datapath and openflow subcommand definitions as well as the first formatting option: json. Also, this patch adds basic filtering support. Examples: $ ovs-ofctl d

[ovs-dev] [PATCH v5 11/13] python: ovs: flowviz: Add datapath html format.

2024-07-10 Thread Adrian Moreno
Using the existing FlowTree and HTMLFormatter, create an HTML tree visualization that also supports collapsing and expanding entire flow subtrees. Examples: $ ovs-appcl dpctl/dump-flows | ovs-flowviz --highlight drop datapath html > /tmp/flows.html $ ovs-appcl dpctl/dump-flows | ovs-flowviz -f "ou

[ovs-dev] [PATCH v5 10/13] python: ovs: flowviz: Add Openflow cookie format.

2024-07-10 Thread Adrian Moreno
When anaylizing OVN issues, it might be useful to see what OpenFlow flows were generated from each logical flow. In order to make it simpler to visualize this, add a cookie format that simply sorts the flows first by cookie, then by table. Example: $ export OVN_NB_DB=... $ export OVN_SB_DB=... $ o

[ovs-dev] [PATCH v5 06/13] python: ovs: flowviz: Add default config file.

2024-07-10 Thread Adrian Moreno
It has two basic styles defined: "dark" and "light" intended for dark and light terminals. Examples: $ ovs-flowviz -i /tmp/dpflows --style=dark datapath console $ ovs-flowviz -i /tmp/ofpflows --style=light openflow console Acked-by: Eelco Chaudron Signed-off-by: Adrian Moreno --- python/automa

[ovs-dev] [PATCH v5 03/13] python: ovs: Add flowviz scheleton.

2024-07-10 Thread Adrian Moreno
Add a new python package (just the scheleton for now) to hold a flow visualization tool based on the flow parsing library. flowviz dependencies are installed via "extras_require", so a user must run: $ pip install .[flowviz] or $ pip install ovs[flowviz] Acked-by: Eelco Chaudron Signed-off-by:

[ovs-dev] [PATCH v5 01/13] python: ovs: flow: Support dp-extra-info section.

2024-07-10 Thread Adrian Moreno
DPDK flows can have this extra section that, for now, only has one possible key (miniflow_bits). Add it to the ODPFlow flow. Signed-off-by: Adrian Moreno --- python/ovs/flow/odp.py | 23 ++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/python/ovs/flow/odp.py

[ovs-dev] [PATCH v5 00/13] Add flow visualization utility.

2024-07-10 Thread Adrian Moreno
The goal of this utility is to read both datapath and Openflow flows (using the flow library already available) and print them in different formats and styles to make it easier to understand them and troubleshoot issues. The formats are quite opinionated and so are the colors chosen so I'm eager t

[ovs-dev] [PATCH v5 02/13] python: ovs: flow: Add offloaded key to odp flow.

2024-07-10 Thread Adrian Moreno
Add "offloaded" key in the info section of datapath flow. Signed-off-by: Adrian Moreno --- python/ovs/flow/odp.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/ovs/flow/odp.py b/python/ovs/flow/odp.py index d5faff03e..f51154513 100644 --- a/python/ovs/flow/odp.py +++ b/python/ovs/fl

Re: [ovs-dev] [PATCH v1 06/13] ofproto-dpif-xlate: Use psample for local sample.

2024-07-10 Thread Ilya Maximets
On 7/10/24 15:25, Adrián Moreno wrote: > On Wed, Jul 10, 2024 at 02:56:44PM GMT, Ilya Maximets wrote: >> On 7/7/24 22:08, Adrian Moreno wrote: >>> Use the newly added psample action to implement OpenFlow sample() actions >>> with local sampling configuration if possible. >>> >>> A bit of refactorin

Re: [ovs-dev] [PATCH v1 08/13] ofproto-dpif-lsample: Show stats via unixctl.

2024-07-10 Thread Ilya Maximets
On 7/10/24 18:30, Adrián Moreno wrote: > On Wed, Jul 10, 2024 at 04:28:55PM GMT, Eelco Chaudron wrote: >> >> >> On 10 Jul 2024, at 15:06, Ilya Maximets wrote: >> >>> On 7/7/24 22:09, Adrian Moreno wrote: Add a command to dump statistics per exporter. Signed-off-by: Adrian Moreno >>>

Re: [ovs-dev] [PATCH v1 08/13] ofproto-dpif-lsample: Show stats via unixctl.

2024-07-10 Thread Adrián Moreno
On Wed, Jul 10, 2024 at 04:28:55PM GMT, Eelco Chaudron wrote: > > > On 10 Jul 2024, at 15:06, Ilya Maximets wrote: > > > On 7/7/24 22:09, Adrian Moreno wrote: > >> Add a command to dump statistics per exporter. > >> > >> Signed-off-by: Adrian Moreno > >> --- > >> NEWS |

Re: [ovs-dev] Intel CI not running?

2024-07-10 Thread Ilya Maximets
On 7/10/24 17:41, Phelan, Michael wrote: > >> -Original Message- >> From: Ilya Maximets >> Sent: Monday, July 8, 2024 4:41 PM >> To: Phelan, Michael >> Cc: i.maxim...@ovn.org; ovs-dev ; Aaron Conole >> ; Chaudron, Eelco >> Subject: Re: Intel CI not running? >> >> On 7/8/24 11:02, Phelan

Re: [ovs-dev] [PATCH v5 ovn] northd: Add bfd, static_routes and route_policies I-P nodes.

2024-07-10 Thread Numan Siddique
On Fri, Jul 5, 2024 at 1:31 PM Lorenzo Bianconi wrote: > > Introduce bfd, static_routes, route_policies and bfd_nb_sync nodes to northd > I-P > engine to track bfd connections and northd static_route/policy_route > changes. > > Reported-at: https://issues.redhat.com/browse/FDP-600 > Signed-off-by

Re: [ovs-dev] Intel CI not running?

2024-07-10 Thread Phelan, Michael
> -Original Message- > From: Ilya Maximets > Sent: Monday, July 8, 2024 4:41 PM > To: Phelan, Michael > Cc: i.maxim...@ovn.org; ovs-dev ; Aaron Conole > ; Chaudron, Eelco > Subject: Re: Intel CI not running? > > On 7/8/24 11:02, Phelan, Michael wrote: > >> -Original Message- >

Re: [ovs-dev] [PATCH v2 1/1] ofproto-dpif-upcall: Avoid stale ukeys leaks.

2024-07-10 Thread Eelco Chaudron
On 9 Jul 2024, at 23:38, Ilya Maximets wrote: > On 7/3/24 12:28, Roi Dayan via dev wrote: >> >> >> On 03/07/2024 13:16, Eelco Chaudron wrote: >>> >>> >>> On 3 Jul 2024, at 9:33, Roi Dayan wrote: >>> It is observed in some environments that there are much more ukeys than actual DP flows

[ovs-dev] [PATCH v2 ovn] controller: Add the capability to specify a min/max value for ct_zone.

2024-07-10 Thread Lorenzo Bianconi
Introduce the capability to specify boundaries (max and min values) for the ct_zones dynamically selected by ovn-controller. Reported-at: https://issues.redhat.com/browse/FDP-383 Signed-off-by: Lorenzo Bianconi --- Changes since v1: - rely on get_chassis_external_id_value() to get ct_zone_range -

Re: [ovs-dev] [PATCH v1 08/13] ofproto-dpif-lsample: Show stats via unixctl.

2024-07-10 Thread Eelco Chaudron
On 10 Jul 2024, at 15:06, Ilya Maximets wrote: > On 7/7/24 22:09, Adrian Moreno wrote: >> Add a command to dump statistics per exporter. >> >> Signed-off-by: Adrian Moreno >> --- >> NEWS | 2 + >> ofproto/ofproto-dpif-lsample.c | 111

Re: [ovs-dev] [PATCH ovn] controller: Add the capability to specify a min/max value for ct_zone.

2024-07-10 Thread Lorenzo Bianconi
On Jul 10, Ales Musil wrote: > On Tue, Jul 9, 2024 at 6:37 PM Lorenzo Bianconi > wrote: > > > Introduce the capability to specify boundaries (max and min values) for > > the ct_zones dynamically selected by ovn-controller. > > > > Reported-at: https://issues.redhat.com/browse/FDP-383 > > Signed-o

Re: [ovs-dev] [PATCH v1 06/13] ofproto-dpif-xlate: Use psample for local sample.

2024-07-10 Thread Adrián Moreno
On Wed, Jul 10, 2024 at 02:56:44PM GMT, Ilya Maximets wrote: > On 7/7/24 22:08, Adrian Moreno wrote: > > Use the newly added psample action to implement OpenFlow sample() actions > > with local sampling configuration if possible. > > > > A bit of refactoring in compose_sample_actions arguments help

Re: [ovs-dev] [PATCH v1 08/13] ofproto-dpif-lsample: Show stats via unixctl.

2024-07-10 Thread Ilya Maximets
On 7/7/24 22:09, Adrian Moreno wrote: > Add a command to dump statistics per exporter. > > Signed-off-by: Adrian Moreno > --- > NEWS | 2 + > ofproto/ofproto-dpif-lsample.c | 111 + > ofproto/ofproto-dpif-lsample.h | 1 + > ofproto/of

Re: [ovs-dev] [PATCH v1 06/13] ofproto-dpif-xlate: Use psample for local sample.

2024-07-10 Thread Ilya Maximets
On 7/7/24 22:08, Adrian Moreno wrote: > Use the newly added psample action to implement OpenFlow sample() actions > with local sampling configuration if possible. > > A bit of refactoring in compose_sample_actions arguments helps make it a > bit more readable. > > Signed-off-by: Adrian Moreno >

Re: [ovs-dev] [PATCH v1 06/13] ofproto-dpif-xlate: Use psample for local sample.

2024-07-10 Thread Adrián Moreno
On Wed, Jul 10, 2024 at 02:18:35PM GMT, Ilya Maximets wrote: > On 7/9/24 16:03, Eelco Chaudron wrote: > > > > > > On 9 Jul 2024, at 15:52, Adrián Moreno wrote: > > > >> On Tue, Jul 09, 2024 at 11:45:51AM GMT, Eelco Chaudron wrote: > >>> On 7 Jul 2024, at 22:08, Adrian Moreno wrote: > >>> > Use

Re: [ovs-dev] [PATCH v1 06/13] ofproto-dpif-xlate: Use psample for local sample.

2024-07-10 Thread Ilya Maximets
On 7/9/24 16:03, Eelco Chaudron wrote: > > > On 9 Jul 2024, at 15:52, Adrián Moreno wrote: > >> On Tue, Jul 09, 2024 at 11:45:51AM GMT, Eelco Chaudron wrote: >>> On 7 Jul 2024, at 22:08, Adrian Moreno wrote: >>> Use the newly added psample action to implement OpenFlow sample() actions

Re: [ovs-dev] [PATCH v1 05/13] vswitchd: Add local sampling to vswitchd schema.

2024-07-10 Thread Ilya Maximets
On 7/7/24 22:08, Adrian Moreno wrote: > Add as new column in the Flow_Sample_Collector_Set table named > "local_group_id" which enables this feature. > > Signed-off-by: Adrian Moreno > --- > NEWS | 4 ++ > vswitchd/bridge.c | 78 +++

Re: [ovs-dev] [PATCH v1 04/13] ofproto: Add ofproto-dpif-lsample.

2024-07-10 Thread Ilya Maximets
On 7/9/24 15:32, Adrián Moreno wrote: > On Tue, Jul 09, 2024 at 11:45:19AM GMT, Eelco Chaudron wrote: >> On 7 Jul 2024, at 22:08, Adrian Moreno wrote: >> >>> Add a new resource in ofproto-dpif and the corresponding API in >>> ofproto_provider.h to represent and local sampling configuration. >>> >>>

Re: [ovs-dev] [PATCH v1 04/13] ofproto: Add ofproto-dpif-lsample.

2024-07-10 Thread Ilya Maximets
On 7/7/24 22:08, Adrian Moreno wrote: > Add a new resource in ofproto-dpif and the corresponding API in > ofproto_provider.h to represent and local sampling configuration. > > Signed-off-by: Adrian Moreno > --- > ofproto/automake.mk| 2 + > ofproto/ofproto-dpif-lsample.c | 187

Re: [ovs-dev] [PATCH v1 03/13] ofproto_dpif: Check for psample support.

2024-07-10 Thread Adrián Moreno
On Wed, Jul 10, 2024 at 01:28:29PM GMT, Ilya Maximets wrote: > On 7/7/24 22:08, Adrian Moreno wrote: > > Only kernel datapath supports this action so add a function in dpif.c > > that checks for that. > > > > Signed-off-by: Adrian Moreno > > --- > > lib/dpif.c | 7 +++ > > lib/dp

Re: [ovs-dev] [PATCH v1 03/13] ofproto_dpif: Check for psample support.

2024-07-10 Thread Ilya Maximets
On 7/7/24 22:08, Adrian Moreno wrote: > Only kernel datapath supports this action so add a function in dpif.c > that checks for that. > > Signed-off-by: Adrian Moreno > --- > lib/dpif.c | 7 +++ > lib/dpif.h | 1 + > ofproto/ofproto-dpif.c | 43 +

Re: [ovs-dev] [PATCH v1 02/13] odp-util: Add support OVS_ACTION_ATTR_PSAMPLE.

2024-07-10 Thread Ilya Maximets
On 7/10/24 13:18, Adrián Moreno wrote: > On Wed, Jul 10, 2024 at 12:56:57PM GMT, Ilya Maximets wrote: >> On 7/7/24 22:08, Adrian Moreno wrote: >>> Add support for parsing and formatting the new action. >>> >>> Also, flag OVS_ACTION_ATTR_SAMPLE as requiring datapath assistance if it >>> contains a n

Re: [ovs-dev] [PATCH v1 02/13] odp-util: Add support OVS_ACTION_ATTR_PSAMPLE.

2024-07-10 Thread Adrián Moreno
On Wed, Jul 10, 2024 at 12:56:57PM GMT, Ilya Maximets wrote: > On 7/7/24 22:08, Adrian Moreno wrote: > > Add support for parsing and formatting the new action. > > > > Also, flag OVS_ACTION_ATTR_SAMPLE as requiring datapath assistance if it > > contains a nested OVS_ACTION_ATTR_PSAMPLE. The reason

Re: [ovs-dev] [PATCH ovn 8/8] northd: Add ACL Sampling.

2024-07-10 Thread Dumitru Ceara
On 7/9/24 13:27, Adrián Moreno wrote: > On Mon, Jul 08, 2024 at 01:24:14PM GMT, Dumitru Ceara wrote: >> From: Adrian Moreno >> >> Introduce a new table called Sample where per-flow IPFIX configuration >> can be specified. >> Also, reference rows from such table from the ACL table to enable the >>

Re: [ovs-dev] [PATCH ovn] controller: Add lsp option disable_garp_rarp.

2024-07-10 Thread Shibir Basak
Hi, Yes, that’s right. Let’s say, the VM is getting copied to the destination AZ or say it is not yet ready to process any traffic, yet. In such cases we may want OVN to avoid sending RARP/GARP early and lead to traffic outage. Thanks, Shibir From: Ales Musil Date: Wednesday, 10 July 2024 at

[ovs-dev] [PATCH v9] rhel: Make the version, displayed to the user, customizable.

2024-07-10 Thread Timothy Redaelli
Since on CentOS/RHEL the builds are based on stable branches and not on tags for debugging purpose it's better to have the downstream version as version so it's easier to know which commits are included in a build. This commit adds --with-version-suffix as ./configure option in order to set an OVS

Re: [ovs-dev] [PATCH v1 02/13] odp-util: Add support OVS_ACTION_ATTR_PSAMPLE.

2024-07-10 Thread Ilya Maximets
On 7/7/24 22:08, Adrian Moreno wrote: > Add support for parsing and formatting the new action. > > Also, flag OVS_ACTION_ATTR_SAMPLE as requiring datapath assistance if it > contains a nested OVS_ACTION_ATTR_PSAMPLE. The reason is that the > sampling rate form the parent "sample" is made available

Re: [ovs-dev] [PATCH ovn] controller: Add lsp option disable_garp_rarp.

2024-07-10 Thread Ales Musil
On Wed, Jul 10, 2024 at 12:26 PM Shibir Basak wrote: > Hi Ales, > > > > The use case we are trying to address is not limited to migration within a > local AZ. > > Here, the VM can also be migrated across AZs and it is supposed to retain > the same MAC & IP addresses. > > Hence, requested-chassis

Re: [ovs-dev] [PATCH ovn] controller: Add lsp option disable_garp_rarp.

2024-07-10 Thread Shibir Basak
Hi Ales, The use case we are trying to address is not limited to migration within a local AZ. Here, the VM can also be migrated across AZs and it is supposed to retain the same MAC & IP addresses. Hence, requested-chassis along with LSP option "activation-strategy" is not applicable for such a

Re: [ovs-dev] [PATCH v1 02/13] odp-util: Add support OVS_ACTION_ATTR_PSAMPLE.

2024-07-10 Thread Adrián Moreno
On Wed, Jul 10, 2024 at 01:01:03AM GMT, Ilya Maximets wrote: > On 7/9/24 21:07, Adrián Moreno wrote: > > On Tue, Jul 09, 2024 at 04:15:12PM GMT, Eelco Chaudron wrote: > >> > >> > >> On 9 Jul 2024, at 15:30, Adrián Moreno wrote: > >> > >>> On Tue, Jul 09, 2024 at 11:45:15AM GMT, Eelco Chaudron wrote

Re: [ovs-dev] [PATCH v1 12/13] ofproto: xlate: Make bridge-sampled drops explicit.

2024-07-10 Thread Eelco Chaudron
On 9 Jul 2024, at 21:31, Adrián Moreno wrote: > On Tue, Jul 09, 2024 at 11:46:09AM GMT, Eelco Chaudron wrote: >> On 7 Jul 2024, at 22:09, Adrian Moreno wrote: >> >>> The decision to add or not the explicit drop action is currently based >>> on whether the resulting dp action list is empty or not

[ovs-dev] [PATCH net-next v2] selftests: openvswitch: retry instead of sleep

2024-07-10 Thread Adrian Moreno
There are a couple of places where the test script "sleep"s to wait for some external condition to be met. This is error prone, specially in slow systems (identified in CI by "KSFT_MACHINE_SLOW=yes"). To fix this, add a "ovs_wait" function that tries to execute a command a few times until it succ

Re: [ovs-dev] [PATCH v5] netdev-offload-dpdk: Support offload of set dscp action.

2024-07-10 Thread Simon Horman
On Tue, Jul 09, 2024 at 09:18:17PM +0800, Sunyang Wu wrote: > Add the "set dscp action" parsing function, > so that the "set dscp action" can be offloaded. > > Signed-off-by: Sunyang Wu > --- > Documentation/howto/dpdk.rst | 5 +++-- > lib/netdev-offload-dpdk.c| 27 +

Re: [ovs-dev] [PATCH ovn] controller: Add the capability to specify a min/max value for ct_zone.

2024-07-10 Thread Ales Musil
On Tue, Jul 9, 2024 at 6:37 PM Lorenzo Bianconi wrote: > Introduce the capability to specify boundaries (max and min values) for > the ct_zones dynamically selected by ovn-controller. > > Reported-at: https://issues.redhat.com/browse/FDP-383 > Signed-off-by: Lorenzo Bianconi > --- > Hi Lorenzo,

Re: [ovs-dev] [PATCH ovn] controller: Add lsp option disable_garp_rarp.

2024-07-10 Thread Ales Musil
On Tue, Jul 9, 2024 at 7:57 AM Shibir Basak wrote: > If the lsp option 'disable_garp_rarp' is set to true, > GARP and RARP announcements are not sent by ovn when a > VIF port is created on a bridged logical switch. > > Usecase > > This option is useful during VM migration to let the > hy

Re: [ovs-dev] [PATCH ovn] northd: Fix issues for Forwarding_Group

2024-07-10 Thread Ales Musil
On Mon, Jul 8, 2024 at 5:01 PM Qiang Qiang45 Zhang via dev < ovs-dev@openvswitch.org> wrote: > When a logical switch has 2 FWGs and each FWG has 3 ports, > Logical-Flow only has one fwg_group() action. > Submitted-at: northd: Fix issues for Forwarding_Group by ZhangQiang3 * > Pull Request #250 * o