This module is not longer used by any code in the tree since
f164a60f15.
Also removed a reference to the module from a README file.
Change-Id: I66c4935cb2e119bc96109416df7116d8c09e24e4
Remove hardcoded flow parameters from
'_build_flow_expr_str' method, so we can
define any flows we want and can rely on 'ovs-ofctl'
command to verify flow arguments correctness.
When building flow string inside _build_flow_expr_str
use the following approach:
1. Build prefix and remove prefix params from flow_dict.
2. Build postfix (actions) and remove 'actions' from
flow dict.
3. Inside the loop build flow array from everything
what's left in flow_dict.
4. Append postfix (actions) to the flow array.
5. 'Join' flow array into flow string.
Change _build_flow_expr_str() to be a function
instead of an object method because 'self'
parameter wasn't used.
Remove 'add_or_mod_flow_str' method because
we have to use separate logic when bulding flow
strings for 'add_flow' and 'mod_flow' methods.
Add more unit tests for OVSBridge class.
Closes-Bug: #1255058
Closes-Bug: #1240572
Change-Id: Ic89221d006a626aa2fc40314a9acffc0ea6fd61c
Sync the global requirements to pin sphinx. This addresses an issue
where Sphinx 1.2 is not building documents correctly and causing
check/gate to fail.
Change-Id: Iea62bf9f5a1a6b729ab2ddb6d0c6390a7dc9dca1
blueprint remove-mox
The last step in removing mox is to remove stubout usage. Lucky for us,
the fixtures library, which we are already using, can take on the
challenge quite well.
Change-Id: Id33cc8988935a1905f9a14351964f0bb24ef82e3
Babel is needed by code synced in from oslo-incubator, namely
neutron.openstack.common.gettextutils.
Fixes bug #1212135
Change-Id: I7f490fb8cf9a4fcba1711cf464f934d60d6d435e
We don't use nose anymore, but it was still referenced in a few places.
Delete them.
Closes-Bug: 1210998
Change-Id: I5e00edd071b8e99e54cdbbf2de277aa95eb57567
Fix the alphabetical order in requirement files,
Bring into correspondence with other project,like
https://github.com/openstack/requirements/blob/ \
master/requirements.txt
Fixes bug #1207823
Change-Id: If70ff2a815343615870e54991aa0d3db3adc5147
Causes issues with the recent re-merge with setuptools. Advice from
upstream is to stop doing explicit depends.
Change-Id: Idb465068d25433582b8579a3ea96293f23368708
Rename tools/pip-requires to requirements.txt and tools/test-requires
to test-requirements.txt. These are standard files, and tools in the
general world are growing intelligence about them.
Fixes: bug #1179008
Change-Id: I6f8a11988982133249d443403f63b4f8724e156e
* Add hacking to the tox build - a set of flake8 plugins that
perform automatic validation of many HACKING.rst rules.
* This patch configures hacking in the tox build and performs
the mechanical cleanup required to allow the checks to pass.
* See https://pypi.python.org/pypi/hacking
Change-Id: Ie9b3eb5627a9b6dd181f79225abae422e6cf3777
* flake8 supports more checks than pep8 (e.g. detection of
unused imports and variables), and has an extension mechanism.
A plugin to support automatic HACKING validation is planned.
* See: http://flake8.readthedocs.org/
Change-Id: I8c9314c606802109a4d01908dbc74ecb792ad0ac
Part of making pep8 version standard across all openstack
projects.
Fixes LP: #1143569
Change-Id: Iefc923123243df161ed72888c1651a622afbda04
Signed-off-by: Chuck Short <chuck.short@canonical.com>
This doesn't really do much other that add the needed bits to the repo to
start hacking on testr support in small chunks.
Change-Id: I34fc57fdc7c9ebda8ffa2357a2ef962c7ab41bfa
As part of the move towards testr and parallel test running, we
start to use testtools and fixtures to make the test suite
resilient and more pedantic.
Part of blueprint grizzly-testtools
Change-Id: I90250de9fe21237db34f6a50b89b15863e270aa5
fixes bug #1118197
This patch adds unit test for ryu-agent.
Also, add the lacking test for the default configuration value.
Change-Id: I742b2a9dfc0706c0307365a3fe9496c3541fcf04
Fixes bug 1103519
Following http://wiki.openstack.org/Translations to integrate transifex
translation into quantum
We added the empty file quantum/locale/quantum.pot to avoid the
failure of the Jenkin's translation-jobs because git doesn't allow empty
directory to be added into the repository.
After this patch accepted, we need to do as below:
1. Make the transifex quantum project
(https://www.transifex.com/projects/p/quantum/) as part of the
openstack transifex project hub and give access to the transifex
openstack Jenkins account.
2. Add the translation-jobs into openstack/openstack-ci-puppet for
ceilometer.
Change-Id: I329a8bdc51ed8a0e75399c592d3991b1ec06a855
This agent client plugs itself into each network.
Then tries to ping each fixed_ips.
Implements blueprint test-agent
Change-Id: I3908e37401272e9e091ceae66e72cfcdd13b7898
Bug #1041917
On account of the new requirement to run plugin-specific tests also
along with the Quantum tests, changes are being made to
incorporate the Cisco plugin unit tests into the Quantum unit test
suite. Earlier unit tests have been moved and modified.
Change-Id: I099bcaf0b2ca2f7ed7d25176dfaa75966b90dd71
Adding nosehtmloutput as a test dependency allows nose to output its
results to an html file. This will be used by Jenkins to save logs on
a different server.
Change-Id: If88ca04bf7e45aa25aaea3cc01bb0f457224c117
In email discussions we decided that the master branch should always
pull in the lastest version of the pep8 tool, which keeps us closest
to the real pep-8 document. Therefore, I'm removing the hardcoded
version here to match the lack of a pep8 version in tox.ini (which is
what the CI infrastructure uses when running the gating pep8 checks).
Note that your pep8 version will only update when you re-run
pip install --upgrade -r tools/test-requires .
Change-Id: I242cb042cff5f5969aa50d40312f87979191c7b7
update webob to be version 1.2 or above
It's running without any issue with 1.2, the exception problem was caused
by WebTest. We should use at least version 1.3.3 (supplied by Ubuntu 12.04 and Debian Wheezy)
Version to WebTest==1.3.3
Change-Id: Ia8ef543e32ae46f503dd52e93bed4290d077c286
That method now catches any non-expected errors raised by the controller's
action method and turn them into an HTTPServerError. Fixes bug 980033.
Change-Id: I7f71c029fae0e27a799f11de0802bde1003683e2