Commit Graph

36 Commits

Author SHA1 Message Date
Jenkins
650ae2d5b5 Merge "Remove *openstack/common* from flake8 excclude list in tox.ini" 2016-08-16 23:49:55 +00:00
Lu lei
6e70a2a7fc Remove *openstack/common* from flake8 excclude list in tox.ini
The *openstack/common* was used to keep codes from oslo-incubator,
but oslo-incubator was ignore in oslo3.11.0. So I think we
needn't use it any more.
Here is the oslo.utils CHANGES link:
http://docs.openstack.org/developer/oslo.utils/history.html

Change-Id: Ia8f46f8192bed49a7a7d71103c45a6ca5d2f6012
2016-08-05 10:22:20 +08:00
Sridhar Ramaswamy
2dcb15b169 Always use upper-constraints
This patch modifies tox.ini to always use upper-constraints.

Change-Id: I24273d7789842f4c78ddc3c5f2a4bdaf72050b41
2016-08-02 00:35:02 +00:00
Kanagaraj Manickam
e575760d3c Sample tacker.conf generator
It also make required keystone config changes as part
of devstack plugin, which helps the functional test cases
to successfully complete and it makes inline with existing
tacker conf.

Closes-bug: #1592247
Change-Id: I545ceb2c9e61c22dbd8a0e1ee39a6e4fa24f8e88
2016-07-21 12:11:42 +05:30
gong yong sheng
79dfbfe2fd Use oslo i18n
Also, we move tacker.i18n into tacker._i18n.
Other i18n usage integration will be done by bug 1599735

Change-Id: I742f7be08958337720056bcc4344dcdc06606035
Partial-bug: #1552282
2016-07-12 22:57:50 +08:00
Jenkins
f6614c229d Merge "Add reno support to tacker" 2016-06-06 21:05:01 +00:00
Tin Lam
cce8dc64e8 Add reno support to tacker
Added release notes management to tacker project similar
to other OpenStack projects.  See [1].

[1] http://lists.openstack.org/pipermail/openstack-dev/2015-November/078301.html

Change-Id: I0efbf340251ba2cfb6a862f2c50905453d873e3d
2016-06-05 01:41:12 -05:00
gong yong sheng
82772a0ecd Use oslo log and oslo concurrency
To make patches small and easy to review, the task (using oslo) is
implemented in a series of patches.

In this patch, some codes under tacker/openstack/common are changed
temporarily, but they will be removed totally in later patches.

Change-Id: I5396e8e569ff8b26b387e99f2442ccfa3f27d684
Partial-Bug: #1552282
2016-06-03 11:38:36 +08:00
Jenkins
3d40c322b5 Merge "Cleanup and fix Tacker coverage" 2016-05-07 00:57:08 +00:00
Jenkins
4de857f0fb Merge "Add debug testenv in tox" 2016-04-26 02:49:33 +00:00
Sridhar Ramaswamy
d9a9892c87 Disable nova quota for dsvm functional test
Parallel execution of tacker functional test ends up
creating lots of VMs and eventually fails hitting the
default max instance of 10. This fix disables quota for
tacker functional test suite. However gate VMs still has
upper constraint on resources like 8GB max limit. To avoid
tripping the actual gate VM resource limit reduce concurrency
to a lower number (2).

Change-Id: I3fe8c012b85554fa21b5b4b64378d68e3d979cc2
Closes-Bug: #1572420
2016-04-21 21:58:26 +00:00
Larry Rensing
cddc6d5745 Cleanup and fix Tacker coverage
Test classes were being accounted for during coverage, they
are now ignored for more accurate coverage metrics. Remove
references to neutron in .coveragerc. Fix tox.ini coverage
entry.

Co-Authored-By: Larry Rensing <lr699s@att.com>
Co-Authored-By: Sridhar Ramaswamy <srics.r@gmail.com>

Change-Id: I92d50592a5ba43f68554aa933ab8582897b58b43
2016-04-21 06:08:06 +00:00
caoyue
1341c218e6 Add debug testenv in tox
Once we add debug testenv, we can use "tox -e debug"
to debug test cases when tox is running.

Change-Id: I09d988a8659ad671030f7e2cee07a86f2cc91583
2016-04-18 10:52:10 +08:00
gong yong sheng
8bdccea2bb Collect test result reports
Fix the post_test_hook.sh and tox.ini to use right tox enviroment.
Post_test_hook.sh collects the result reports.

Change-Id: Ie60cd55521d89cb2e00f3ecff0fe3af989e0f6ea
Closes-bug: 1559861
2016-03-21 18:59:06 +08:00
Jenkins
a4d5f8f8f3 Merge "Remove empty tacker.pot" 2016-02-11 19:52:50 +00:00
Andreas Jaeger
f44d44c5a7 Remove empty tacker.pot
There's no need to have an outdated translation file checked in that
has no content besides metadata. For translations, the full file would
be needed which can easily be generated.

Adjust tox test so that it passes if no translations are in tree.

Change-Id: Ib1a7abf211ed8af515ae462fce845a028d577101
2016-02-01 21:18:58 +01:00
Martin Oemke
bcb6f07df8 Fix pep8 errors in tacker code
This Patch fixes pep8 errors and
enables this tests for all new patches to tacker.

E125 continuation line does not distinguish itself from next logical line
E126 continuation line over-indented for hanging indent
E129 visually indented line with same indent as next logical line
H302 import only modules
H904 Wrap long lines in parentheses instead of a backslash

see OpenStack Style Guidelines
http://docs.openstack.org/developer/hacking/

Change-Id: I29e8ac8e6cfcd547e9bdab599635d07f0df6e3d6
Related-Bug: 1515930
2016-01-27 21:09:42 +01:00
Martin Oemke
72d421a102 Fix E713 and F811 errors in tacker code
This Patch fixes all E713 and F811 errors and
enables this test for all new patches to tacker.

E713 test for membership should be ‘not in’
F811 redefinition of unused variable

see OpenStack Style Guidelines
http://docs.openstack.org/developer/hacking/

Change-Id: I2f73c11bb5f89b3d3c2a85417ad5098fd21e580d
Related-Bug: 1515930
2016-01-12 14:12:25 +01:00
Martin Oemke
456650d663 Fix E265 errors in tacker code
This Patch fixes all E265 errors and
enables this test for all new patches to tacker.

E265 block comment should start with ‘# ‘

see OpenStack Style Guidelines
http://docs.openstack.org/developer/hacking/

Change-Id: I4b1234fab420174d99b2c13a5b25c1f7c5d4909f
Related-Bug: 1515930
2016-01-05 13:26:47 +01:00
Martin Oemke
06b53f2305 Enable pep8 tests in tacker code
This Patch enables this tests for all new patches to tacker.

F402 import module shadowed by loop variable
F812 list comprehension redefines name from line
H237 module is removed in Python 3

see OpenStack Style Guidelines
http://docs.openstack.org/developer/hacking/

This patch cleans up py26 and py33 references,
because it is just necessary to test py27 and py34.

see
http://governance.openstack.org/reference/cti/python_cti.html

Change-Id: I7b225f6939f553b06ba84d01ccbdecf41b1a910a
Related-Bug: 1515930
2015-12-28 13:26:16 +00:00
Martin Oemke
4f4a19a004 Fix E251 errors in tacker code
This Patch fixes all E251 errors and enables
this test for all new patches to tacker.

see OpenStack Style Guidelines
http://docs.openstack.org/developer/hacking/

Change-Id: Iea62576bd765cbf78ec8f4c10603362c2267214d
Related-Bug: 1515930
2015-12-23 21:07:52 +01:00
Martin Oemke
b384f9d04b Fix H404, H402, H405 errors in tacker code
This Patch enables this tests for all new patches to tacker.
[H404] Multi line docstrings should start without a leading new line.
[H402] One line docstring needs punctuation.
[H405] Multi line docstring summary not separated with an empty line.

see OpenStack Style Guidelines for DocStrings
http://docs.openstack.org/developer/hacking/

Change-Id: I17182da04d8f7e74a9a88e05853435a344271ca5
Related-Bug: 1515930
2015-12-22 00:12:51 +00:00
Martin Oemke
aa8f5d3e57 Enable H304 pep8 test in tacker code
H304 no relative imports

Change-Id: I9314c12c78816220d47f8d50c0488c38cfe4b0da
Related-Bug: 1515930
2015-12-16 14:12:33 +01:00
Martin Oemke
4914f42ae7 Fix H307 errors in tacker code
This Patch fixes all H307 errors and enables this
test for all new patches to tacker.
"H307 like imports should be grouped together"

Change-Id: I48a41e2333c3286e8610158c89a84f6ca0ef1fcc
Related-Bug: 1515930
2015-12-15 10:00:55 +00:00
Martin Oemke
5eaca4653e Fix E305 errors in tacker code
This Patch fixes all E305 errors and enables this
test for all new patches to tacker.
"E305 imports not grouped correctly"

Change-Id: I2275e657e55d80f539af434c1af14ef497946def
Related-Bug: 1515930
2015-12-14 14:37:07 +01:00
Ondřej Nový
6ee94d49aa Deprecated tox -downloadcache option removed
Caching is enabled by default from pip version 6.0

More info:
https://testrun.org/tox/latest/config.html#confval-downloadcache=path
https://pip.pypa.io/en/stable/reference/pip_install/#caching

Change-Id: Id900791a7053ac66f092aecbec972b5c3773a246
2015-12-11 23:38:29 +01:00
Sridhar Ramaswamy
492eba6c4a Cleanup Tacker docs and introduce tox doc test
Deep cleaning of tacker doc/source dir by removing all references
to Neutron, remove non-applicable doc files and various other
fixes and references to Tacker urls. Introduce fixed up HACKING and
CONTRIBUTING docs.

Also add tox 'docs' test run and enable it by default

Change-Id: I90c48eeb3724adb3de3431f1f5464c5200dad071
2015-10-19 19:15:13 +00:00
Sripriya
f8bc9cc05c Implementation of Tacker NFV MANO API
Introduce new Tacker REST API endpoints 'vnfd' and 'vnf' based on NFV
MANO in 'vnfm' extension. Existing 'device' and'device_template'
endpoints will be retained for backward compatibility.

Change-Id: I9dffd4bee25b1f49aea7478f2bd779cf0f6dfb49
Implements: blueprint tacker-api-mano
2015-09-26 21:36:43 -07:00
Santosh Kodicherla
c009875252 Configure tacker to run functional tests
Patchset includes oslotests and tempest-lib
packages in test-requirements.txt needed for
running functional tests.

Closes-Bug #1493564

Change-Id: I347dfd3f1b65e9b687c7da88b2a9c13bf27eb703
2015-09-09 18:54:59 +00:00
Sridhar Ramaswamy
9e203b9337 Disable import exception for tacker.i18n
Change-Id: I25aa6efe44be0f6efd47bcf46a35c559aedeca1c
2015-06-11 17:17:38 -07:00
Christian Berendt
54f088cfc1 Enable hacking check H401
Change-Id: I993d2b049db8496635d7f891e89fc12931e0da84
2015-04-09 18:45:52 -07:00
Christian Berendt
c6aa8b514a Enable hacking check H104
* [H104] Files with no code shouldn’t contain any license
         header nor comments, and must be left completely empty.

Change-Id: Ifedda6947bc9376533a19ded9fc6a70fd147f66f
2015-04-09 18:45:52 -07:00
Jeremy Stanley
9e289c543b Work toward Python 3.4 support and testing
Change-Id: Ide4883697b4a547e963c295ef32c659cefe08ee4
2014-09-03 20:06:22 +00:00
Isaku Yamahata
bddc116913 update configuration files for tacker
TODO: import python-tackerclient once pypi repository

Change-Id: Iedfa49682a03f898cacab5d3a936383cb2740ae0
2014-07-04 18:20:50 +09:00
Isaku Yamahata
a310e46077 tox.ini: disable unit tests for now until its stabilization
Change-Id: I1c4d8d4a3022e9aa02ea4a39b4ced79851865c55
2014-07-04 18:20:49 +09:00
Isaku Yamahata
8aff29509f import neutron master of cba140daccd7c4f715263cda422d5cec27af069d
Merge Neutron master branch to tacker master branch with modification
of tox.ini and .gitreview.
This patch imports the following change set of Neutron.

  > commit cba140daccd7c4f715263cda422d5cec27af069d
  > Merge: 63d8237 6bed4a0
  > Author: Jenkins <jenkins@review.openstack.org>
  > Date:   Sun Jun 22 16:02:56 2014 +0000
  >
  >     Merge "Adding static routes data for members"

Change-Id: I5a0f522bc20530c46e35dc9e03fe72d72ad04577
2014-07-01 17:11:09 +09:00