11 Commits

Author SHA1 Message Date
Gary Kotton
cdcb5963da Remove neutron-lib from the dependencies
The patch removes the neutron-lib from the dependencies. We do not
want/need the consumers of this library to pull in all of the
neutron-lib dependencies.

The patch adds the following:
1. callback to bind is_attr_set - set_is_attr_callback
2. A new exception NsxLibInvalidInput - this is raised when inputs
   are invalid.

Change-Id: Ia8ec71dee2d5de921700a9b4fd7e789d2aed4679
2017-11-15 00:42:05 -08:00
Gary Kotton
4a07ba0c2a Use flake8-import-order plugin
Change-Id: I1a62bd919a10a4827da1e2d18bc414168e34702b
2017-07-04 22:35:02 -07:00
Vu Cong Tuan
667beecf9a Remove support for py34
The gating on python 3.4 is restricted to <= Mitaka. This is due to
the change from Ubuntu Trusty to Xenial, where only python3.5 is
available. There is no need to continue to keep these settings.

Change-Id: I28f5b9436dac9288604c70ce1eded4408cc02daf
2017-06-07 10:58:31 +07:00
Adit Sarfaty
5a045e3db1 Drop log translations
Log messages are no longer being translated. This removes all use of
the _LE, _LI, and _LW translation markers to simplify logging and to
avoid confusion with new contributions.

See:
http://lists.openstack.org/pipermail/openstack-i18n/2016-November/002574.html
http://lists.openstack.org/pipermail/openstack-dev/2017-March/113365.html

Change-Id: I9b383ef3fd9a6487b1ee7726d892d1a94e3d9370
2017-03-27 08:03:53 +03:00
Gary Kotton
34a36b9426 Add in tox -s cover support
Enable us to do code coverage tests

Change-Id: I586c0a64d2a351b38475afbae2c49d08cb5b5d55
2017-03-01 02:28:49 -08:00
Adit Sarfaty
d7473ecf2f Expand PEP8 tests on nsxlib
There were some directories excluded from the pep8 run, and many checks
were ignored.
This cleans the exclude list, and fixes the PEP8 issues.

Change-Id: Ib56d45443009349a42fecfc14a792fdaa6d88d67
2016-12-25 07:55:36 +02:00
Tony Breeds
64719c6eea Add Constraints support
Adding constraints support to libraries is slightly more complex than
services as the libraries themselves are listed in upper-constraints.txt
which leads to errors that you can't install a specific version and a
constrained version.

This change adds constraints support by also adding a helper script to
edit the constraints to remove vmware-nsxlib.

Change-Id: Ibbb6da2551bf7eb840fb4b1d11e090dbe4db7c52
2016-12-21 14:00:57 +11:00
Adit Sarfaty
73c80d18c5 Fix nsxlib tox init to not fail on upper constraints
Change-Id: Icaa12c1b00c3dfee25aef91c09f4f0350bb21b00
2016-10-13 15:40:05 +03:00
Adit Sarfaty
e9ddc3dd33 Move all nsxlib code and tests to vmware_nsxlib
Change-Id: I75533e713a680674368d16f0a7aeb4fdbffe3608
2016-10-06 09:59:47 +03:00
Andreas Jaeger
f32c46d037 Cleanup tox.ini: Remove obsolete constraints
Remove old and unused constraints environments from tox.ini. Those
have never been used. Use standard environments as default list.

Note that the repo has in the past not used constraints in OpenStack
CI, this change keeps the status quo.

For more information about constraints see:
http://lists.openstack.org/pipermail/openstack-dev/2016-August/101474.html

Change-Id: I37b9109c36b7ee3f8d2b23606e0ed697f38abd9e
2016-08-26 18:17:46 +02:00
Aaron Rosen
d7727dc9c6 Add initial framework using cookiecutter
Change-Id: I4a9da62f0e5ecb07973f54313722a72f2fc556e1
2016-08-08 20:41:29 +00:00