[ovs-dev] [PATCH v2] ovn: Add software l2 gateway.

Han Zhou zhouhan at gmail.com
Wed Apr 6 07:10:07 UTC 2016


On Mon, Apr 4, 2016 at 5:58 AM, Russell Bryant <russell at ovn.org> wrote:
> -          Each <code>localnet</code> logical port is implemented as a
pair of
> -          patch ports, one in the integration bridge, one in a different
> -          bridge, with the same
<code>external-ids:ovn-localnet-port</code>
> -          value.
> +          Each <code>localnet</code> and <code>gateway</code> logical
port
> +          is implemented as a pair of patch ports, one in the integration
> +          bridge, one in a different bridge, with the same
> +          <code>external-ids:ovn-localnet-port</code> value.

Is this ovn-localnet-port a typo?


> diff --git a/ovn/controller/ovn-controller.c
b/ovn/controller/ovn-controller.c
> index 6027011..9bcda0d 100644
> --- a/ovn/controller/ovn-controller.c
> +++ b/ovn/controller/ovn-controller.c
> @@ -326,7 +326,10 @@ main(int argc, char *argv[])
>          }
>
>          if (br_int) {
> -            patch_run(&ctx, br_int, &local_datapaths,
&patched_datapaths);
> +            if (chassis_id) {

Shall we print an error log if chassis_id is NULL?

Otherwise looks good to me. I haven't tested it yet, but it is pretty
straightforward approach.


--
Best regards,
Han



More information about the dev mailing list