<div dir="ltr">All the code that is in tempest-lib is stable interface that can be consumed safely.<div>The code in tempest instead does not provide a guaranteed stable interface, as it was not originally meant for external consumption. </div><div>So while you can import it, it may change without warning (i.e. with no new tempest tag), and break your plugin.<br></div><div><br></div><div>In Mitaka we have an ongoing effort in the QA team to make more parts of the tempest core framework as stable interfaces. <br></div><div>Service clients, client managers, credentials providers are all part of this effort.</div><div><br></div><div>What part of tempest are you looking to import? If it's something that is planned to become stable, you could start importing the current code, and you may have to adapt your plugin code one the interface becomes stable. And surely you are very welcome to help in the process of turning the part of tempest you need in your plugin into a stable interface.</div><div><br></div><div>andrea</div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Feb 19, 2016 at 10:26 PM Michael Johnson <<a href="mailto:johnsomor@gmail.com">johnsomor@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I really do not want to see tempest code copied into the Octavia<br>
repository.  We cannot keep them in sync and maintain the tests that<br>
way.  It has been a recurring problem with neutron-lbaas that we are<br>
trying to get back out of[1], so I really do not want to repeat that<br>
with Octavia.<br>
<br>
[1] <a href="https://review.openstack.org/#/c/273817/" rel="noreferrer" target="_blank">https://review.openstack.org/#/c/273817/</a><br>
<br>
Michael<br>
<br>
On Thu, Feb 18, 2016 at 10:53 PM, Madhusudhan Kandadai<br>
<<a href="mailto:madhusudhan.openstack@gmail.com" target="_blank">madhusudhan.openstack@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> We are trying to implement tempest tests for Octavia using tempest-plugin. I<br>
> am wondering whether we can import *tempest* common files and use them as a<br>
> base to support Octavia tempest tests rather than copying everything in<br>
> Octavia tree. I am in favor of importing files directly from tempest to<br>
> follow tempest structure. If this is not permissible to import from tempest<br>
> directly, do we need to propose any common files in tempest_lib, so we can<br>
> import it from tempest_lib instead? I wanted to check with other for<br>
> suggestions.<br>
><br>
> Thanks,<br>
> Madhu<br>
><br>
> __________________________________________________________________________<br>
> OpenStack Development Mailing List (not for usage questions)<br>
> Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
><br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div>