mbox series

[net-next,0/4] selftests: openvswitch: add flow programming cases

Message ID 20230628162714.392047-1-aconole@redhat.com (mailing list archive)
Headers show
Series selftests: openvswitch: add flow programming cases | expand

Message

Aaron Conole June 28, 2023, 4:27 p.m. UTC
The openvswitch selftests currently contain a few cases for managing the
datapath, which includes creating datapath instances, adding interfaces,
and doing some basic feature / upcall tests.  This is useful to validate
the control path.

Add the ability to program some of the more common flows with actions. This
can be improved overtime to include regression testing, etc.

Aaron Conole (4):
  selftests: openvswitch: add an initial flow programming case
  selftests: openvswitch: add a test for ipv4 forwarding
  selftests: openvswitch: add basic ct test case parsing
  selftests: openvswitch: add ct-nat test case with ipv4

 .../selftests/net/openvswitch/openvswitch.sh  | 223 ++++++++
 .../selftests/net/openvswitch/ovs-dpctl.py    | 507 ++++++++++++++++++
 2 files changed, 730 insertions(+)

Comments

Simon Horman June 28, 2023, 8:14 p.m. UTC | #1
On Wed, Jun 28, 2023 at 12:27:10PM -0400, Aaron Conole wrote:
> The openvswitch selftests currently contain a few cases for managing the
> datapath, which includes creating datapath instances, adding interfaces,
> and doing some basic feature / upcall tests.  This is useful to validate
> the control path.
> 
> Add the ability to program some of the more common flows with actions. This
> can be improved overtime to include regression testing, etc.

Hi Aaron,

sorry but:

[text from Jakub]

## Form letter - net-next-closed

The merge window for v6.5 has begun and therefore net-next is closed
for new drivers, features, code refactoring and optimizations.
We are currently accepting bug fixes only.

Please repost when net-next reopens after July 10th.

RFC patches sent for review only are obviously welcome at any time.

See: https://www.kernel.org/doc/html/next/process/maintainer-netdev.html#development-cycle
--
pw-bot: defer
Aaron Conole June 29, 2023, 12:25 p.m. UTC | #2
Simon Horman <simon.horman@corigine.com> writes:

> On Wed, Jun 28, 2023 at 12:27:10PM -0400, Aaron Conole wrote:
>> The openvswitch selftests currently contain a few cases for managing the
>> datapath, which includes creating datapath instances, adding interfaces,
>> and doing some basic feature / upcall tests.  This is useful to validate
>> the control path.
>> 
>> Add the ability to program some of the more common flows with actions. This
>> can be improved overtime to include regression testing, etc.
>
> Hi Aaron,
>
> sorry but:
>
> [text from Jakub]
>
> ## Form letter - net-next-closed
>
> The merge window for v6.5 has begun and therefore net-next is closed
> for new drivers, features, code refactoring and optimizations.
> We are currently accepting bug fixes only.
>
> Please repost when net-next reopens after July 10th.
>
> RFC patches sent for review only are obviously welcome at any time.
>
> See: https://www.kernel.org/doc/html/next/process/maintainer-netdev.html#development-cycle
> --
> pw-bot: defer

Thanks Simon.  I skipped looking at the ML this time and used the site
setup for random German tourists:
http://vger.kernel.org/~davem/net-next.html

I guess I'll stop using it and just check the ML as normal :)  Sorry for
the noise.
Simon Horman June 29, 2023, 3:03 p.m. UTC | #3
On Thu, Jun 29, 2023 at 08:25:35AM -0400, Aaron Conole wrote:
> Simon Horman <simon.horman@corigine.com> writes:
> 
> > On Wed, Jun 28, 2023 at 12:27:10PM -0400, Aaron Conole wrote:
> >> The openvswitch selftests currently contain a few cases for managing the
> >> datapath, which includes creating datapath instances, adding interfaces,
> >> and doing some basic feature / upcall tests.  This is useful to validate
> >> the control path.
> >> 
> >> Add the ability to program some of the more common flows with actions. This
> >> can be improved overtime to include regression testing, etc.
> >
> > Hi Aaron,
> >
> > sorry but:
> >
> > [text from Jakub]
> >
> > ## Form letter - net-next-closed
> >
> > The merge window for v6.5 has begun and therefore net-next is closed
> > for new drivers, features, code refactoring and optimizations.
> > We are currently accepting bug fixes only.
> >
> > Please repost when net-next reopens after July 10th.
> >
> > RFC patches sent for review only are obviously welcome at any time.
> >
> > See: https://www.kernel.org/doc/html/next/process/maintainer-netdev.html#development-cycle
> > --
> > pw-bot: defer
> 
> Thanks Simon.  I skipped looking at the ML this time and used the site
> setup for random German tourists:
> http://vger.kernel.org/~davem/net-next.html
> 
> I guess I'll stop using it and just check the ML as normal :)  Sorry for
> the noise.

Thanks Aaron,

unfortunately that page is not always up to date.