[openstack-dev] [neutron] [l2gw] DSVM gates for networking-l2gw
Ricardo Noriega De Soto
rnoriega at redhat.com
Mon Jun 19 09:43:25 UTC 2017
Hello,
The dummy driver allows you to make writes/reads from the database and
that's something we should be continuously testing. I think you cannot
achieve that mocking the API calls.
Cheers
On Thu, Jun 15, 2017 at 11:50 AM, Daniel Mellado <daniel.mellado.es at ieee.org
> wrote:
> Hi Ricardo,
>
> That sounds like a totally valid approach to me, but I was wondering if
> there'd be a way to mock that API call. If just using the dummy driver
> would achieve that then I'd be more than happy to see that modification.
>
> Cheers!
>
> Daniel
>
> El 15/06/17 a las 06:38, Ricardo Noriega De Soto escribió:
> > Hello L2GWers
> >
> > Currently networking-l2gw CI only covers unit tests. However, there is
> > an experimental check that starts a devstack VM to be able to run more
> > complex tests. That experimental check is not working, and we are trying
> > to fix it, however we encountered some difficulties that we wanted to
> > share with you.
> >
> > https://review.openstack.org/#/c/471692/
> >
> > The configuration of the experimental check uses the L2GW agent which is
> > very good, however, the API tests try to create a l2gw connection and
> > fail since there is not an ovsdb instance with the vtep schema to
> execute.
> >
> > If we use the dummy driver, these three failing testcases will be
> > skipped and we have a way to test the API (without backend).
> >
> > So for now, our proposal is to modify this experimental check using the
> > dummy driver, and convert it to a possible non-voting -> voting gate
> > executing pure API tests.
> >
> > Furthermore, we will start working on a new gate with the l2gw agent and
> > create a new OVS entity in a namespace or something similar to be able
> > to test api and agent together.
> >
> > Any comment is more than welcome!
> >
> > Thanks guys
> >
> > --
> > Ricardo Noriega
> >
> > Senior Software Engineer - NFV Partner Engineer | Office of Technology
> > | Red Hat
> > irc: rnoriega @freenode
> >
> >
> >
> > ____________________________________________________________
> ______________
> > OpenStack Development Mailing List (not for usage questions)
> > Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:
> unsubscribe
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> >
>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
--
Ricardo Noriega
Senior Software Engineer - NFV Partner Engineer | Office of Technology |
Red Hat
irc: rnoriega @freenode
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20170619/3db83582/attachment.html>
More information about the OpenStack-dev
mailing list