Chris Dent 11e45fcf2d Optimize MiniDNS for fewer syscalls
An strace of the functional tests will reveal that a great deal of time
is spent opening and closing dnstest.txt files. This can be traced back
to the MiniDNS dns manager that is used throughout the tests.

Two things are done to address this:

* When CONF.log_dir is not set, the data of the dns manager is not being
  shared amongst multiple managers, so an in memory six.StringIO can be
  used for storing the data. Otherwise a flat text file is used (as
  before).

* In both cases, the file is kept open (for both read and write) for the
  duration of its use. seek(), truncate() and flush() are used. This
  avoids opening and closing the file again and again.

The hoped for outcome with this change is that functional tests will
gain a small speedup that over the thousands of tests run per day will
make some difference.

Change-Id: I75200dae20a626535dc1df00dd4e459a92237bc4
2017-08-28 16:12:59 +00:00
2017-01-04 11:05:16 +00:00
2017-08-28 16:12:59 +00:00
2014-05-07 12:14:26 -07:00
2012-02-08 19:30:39 -08:00
2015-05-23 03:22:07 +10:00
2017-03-02 11:50:48 +00:00
2017-03-02 14:30:16 +08:00

========================
Team and repository tags
========================

.. image:: https://governance.openstack.org/badges/nova.svg
    :target: https://governance.openstack.org/reference/tags/index.html

.. Change things from this point on

OpenStack Nova
==============

OpenStack Nova provides a cloud computing fabric controller, supporting a wide
variety of compute technologies, including: libvirt (KVM, Xen, LXC and more),
Hyper-V, VMware, XenServer, OpenStack Ironic and PowerVM.

Use the following resources to learn more.

API
---

To learn how to use Nova's API, consult the documentation available online at:

- `Compute API Guide <https://developer.openstack.org/api-guide/compute/>`__
- `Compute API Reference <https://developer.openstack.org/api-ref/compute/>`__

For more information on OpenStack APIs, SDKs and CLIs in general, refer to:

- `OpenStack for App Developers <https://www.openstack.org/appdev/>`__
- `Development resources for OpenStack clouds
  <https://developer.openstack.org/>`__

Operators
---------

To learn how to deploy and configure OpenStack Nova, consult the documentation
available online at:

- `OpenStack Nova <https://docs.openstack.org/nova/>`__

In the unfortunate event that bugs are discovered, they should be reported to
the appropriate bug tracker. If you obtained the software from a 3rd party
operating system vendor, it is often wise to use their own bug tracker for
reporting problems. In all other cases use the master OpenStack bug tracker,
available at:

- `Bug Tracker <https://bugs.launchpad.net/nova>`__

Developers
----------

For information on how to contribute to Nova, please see the contents of the
CONTRIBUTING.rst.

Any new code must follow the development guidelines detailed in the HACKING.rst
file, and pass all unit tests.

Further developer focused documentation is available at:

- `Official Nova Documentation <https://docs.openstack.org/nova/>`__
- `Official Client Documentation
  <https://docs.openstack.org/python-novaclient/>`__

Other Information
-----------------

During each `Summit`_ and `Project Team Gathering`_, we agree on what the whole
community wants to focus on for the upcoming release. The plans for nova can
be found at:

- `Nova Specs <http://specs.openstack.org/openstack/nova-specs/>`__

.. _Summit: https://www.openstack.org/summit/
.. _Project Team Gathering: https://www.openstack.org/ptg/
S
Description
No description provided
Readme 258 MiB
Languages
Python 97.5%
Smarty 2.3%
Shell 0.2%