Re: [ovs-dev] [PATCH ovn v6 08/12] ovn-controller: Move shared functions to ovn-util

2021-10-04 Thread Numan Siddique
On Tue, Sep 28, 2021 at 11:54 AM Frode Nordahl wrote: > > The `get_tunnel_type` (and associated enum) and `get_bridge` > functions are used in modules other than the `ovn-controller` > module. > > Since the `ovn-controller` module also has the `main` function > this organization makes it hard or

[ovs-dev] [PATCH ovn v6 08/12] ovn-controller: Move shared functions to ovn-util

2021-09-28 Thread Frode Nordahl
The `get_tunnel_type` (and associated enum) and `get_bridge` functions are used in modules other than the `ovn-controller` module. Since the `ovn-controller` module also has the `main` function this organization makes it hard or impossible to unit test. Signed-off-by: Frode Nordahl ---