[ovs-dev] [PATCH ovn] system-ovn.at: Create IPv6 load balancing tests
Russell Bryant
rbryant at redhat.com
Tue Nov 5 18:06:13 UTC 2019
On Tue, Nov 5, 2019 at 12:38 PM Ben Pfaff <blp at ovn.org> wrote:
> On Tue, Nov 05, 2019 at 12:23:09PM -0500, Russell Bryant wrote:
> > Duplicate all of the IPv4 load balancing test cases for IPv6.
> > All of these are passing without any changes needed in OVN code, but
> > this will help ensure that we do not have any IPv6 load balancing
> > regressions in the future.
> >
> > Signed-off-by: Russell Bryant <russell at ovn.org>
>
> > +#
> > +# A note on square brackets and IPv6 ...
> > +#
> > +# To get square brackets to not get interpreted by m4, this file is
> using:
> > +#
> > +# For [ --> @<:@
> > +# For ] --> @:>@
> > +#
> > +#
> https://stackoverflow.com/questions/2308721/how-do-i-escape-text-in-autoconf-m4
>
> You can usually get the same effect by just doubling the brackets,
> i.e. [[::1]]. You can find some examples with "git grep -F '[[::'". In
> some cases you end up with three sets of brackets because of outer
> quoting, e.g.:
>
> CHECK_STREAM_OPEN_BLOCK([tcp6], [[[::1]]])
>
Thanks! I'll give that a shot. That would be a lot more readable than
what I did ...
--
Russell Bryant
More information about the dev
mailing list