Re: [ovs-dev] [PATCH v2 06/18] python: add flow base class

2022-02-11 Thread Eelco Chaudron
On 28 Jan 2022, at 17:04, Adrian Moreno wrote: > It simplifies the implementation of different types of flows by creating > the concept of Section (e.g: match, action) and automatic accessors for > all the provided Sections > > Signed-off-by: Adrian Moreno Other than the type James found, it

Re: [ovs-dev] [PATCH v2 06/18] python: add flow base class

2022-02-09 Thread Adrian Moreno
On 1/31/22 22:09, James Troup wrote: Adrian Moreno writes: diff --git a/python/ovs/flows/flow.py b/python/ovs/flows/flow.py new file mode 100644 index 0..2456d5f87 --- /dev/null +++ b/python/ovs/flows/flow.py @@ -0,0 +1,125 @@ [...] +class Flow(object): +"""The Flow class is

Re: [ovs-dev] [PATCH v2 06/18] python: add flow base class

2022-01-31 Thread James Troup
Adrian Moreno writes: > diff --git a/python/ovs/flows/flow.py b/python/ovs/flows/flow.py > new file mode 100644 > index 0..2456d5f87 > --- /dev/null > +++ b/python/ovs/flows/flow.py > @@ -0,0 +1,125 @@ [...] > +class Flow(object): > +"""The Flow class is a base class for other types

[ovs-dev] [PATCH v2 06/18] python: add flow base class

2022-01-28 Thread Adrian Moreno
It simplifies the implementation of different types of flows by creating the concept of Section (e.g: match, action) and automatic accessors for all the provided Sections Signed-off-by: Adrian Moreno --- python/automake.mk | 1 + python/ovs/flows/flow.py | 125 +++