Commit Graph

60 Commits

Author SHA1 Message Date
Sean McGinnis 7839f35ca3
Retire repo
This patch completes step 2 of the infra project retirement process
found here:

https://docs.opendev.org/opendev/infra-manual/latest/drivers.html#step-2-remove-project-content

Reference:

http://lists.openstack.org/pipermail/openstack-discuss/2020-June/015600.html

Depend-on: https://review.opendev.org/737566

Change-Id: Id3a5477860323547a4e17155061f597a8c96640b
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-06-23 10:49:40 -05:00
Shachar Snapiri a1498f951f Fix DF broken gate
This commit is a squash of 3 different commits required to fix
DragonFlow gate (See below).

Upgrade redis driver

Redis python package API was changed over time, while we did not
change our handling of the code.
In the gate the driver was updated, and the gate tests were broken.
Updated the code in a way that supports both python2 (soon to be
obsoleted) and python3.
Updated the requirements to install new versions of the packages.

Remove testing revision number in test_df_qos_driver

This code tests Neutron behaviour of increasing the revision number.
This is not code that is controlled by Dragonflow. If (when) it fails,
Dragonflow cannot fix it generically.

use payloads for ROUTER_GATEWAY events

This patch switches the code over to the payload style of callbacks [1]
for ROUTER_GATEWAY events for those that are not using them yet.
The unit tests are also updated where needed to account for the
payload style callbacks and publish() method. Finally the patch
normalizes the passing of gateway IPs which are currently referred to
as 'gw_ips' and 'gateway_ips' depending on the event; now all events use
'gateway_ips'.

Depends-On: https://review.opendev.org/#/c/638274/

[1] https://docs.openstack.org/neutron-lib/latest/contributor/callbacks.html

Co-Authored-By: Omer Anson <omer.anson@toganetworks.com>
Co-Authored-By: boden <bodenvmw@gmail.com>

Change-Id: I5cd456028ed8af86c6c512e514eb91cec56ea77c
2019-08-12 23:52:20 +03:00
Dao Cong Tien 0eca4733d6 Adds doc8 check to pep8
This patch adds doc8 check for .rst files to pep8.
Files that fail doc8 check are also fixed.

Ignore D001 of doc8 check. This requires lot of changes and
should be done in a separated patch.

Change-Id: Ie2d258e9268fe20ae7988a3b4af92a8a6973b9c6
2018-07-13 03:52:28 +00:00
Zuul 5ce7e25d15 Merge "Follow the new PTI for document build" 2018-07-11 15:42:06 +00:00
Nguyen Van Trung cd628426cd Follow the new PTI for document build
For compliance with the Project Testing Interface as described in:
https://governance.openstack.org/tc/reference/project-testing-interface.html

For more details information, please refer to:
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

Change-Id: Iec12cf7d3d9a84ff6ef4550d8453e822e80bc3c7
2018-07-09 09:16:16 +07:00
Vu Cong Tuan eaf125473f Switch to stestr
According to Openstack summit session [1],
stestr is maintained project to which all Openstack projects should migrate.
Let's switch to stestr as other projects have already moved to it.

[1] https://etherpad.openstack.org/p/YVR-python-pti

Change-Id: I06a45ffdb95e4c79edeca179254f25252d9fef6e
2018-07-05 13:38:59 +07:00
Doug Hellmann 5b1b5327b2 add lower-constraints job
Create a tox environment for running the unit tests against the lower
bounds of the dependencies.

Create a lower-constraints.txt to be used to enforce the lower bounds
in those tests.

Add openstack-tox-lower-constraints job to the zuul configuration.

See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.

Change-Id: I7471f66742e4c843321d771408d0da67d9800da1
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-06-12 11:20:48 +03:00
OpenStack Proposal Bot 1da7a5f134 Updated from global requirements
Change-Id: I0b8e24d7d7337c8aa1847e5d912e29e6ffeac459
2018-03-15 06:52:25 +00:00
OpenStack Proposal Bot cb2540392b Updated from global requirements
Change-Id: I6e131aeb38dcba4ea415c3e6b820d28b7d3d6930
2018-02-17 09:25:24 +00:00
OpenStack Proposal Bot 086fda26ad Updated from global requirements
Change-Id: Ic9fd9160618a33d7e5f42fc9a5bdffcb97fb45e0
2018-01-24 00:51:58 +00:00
OpenStack Proposal Bot 38ca973af0 Updated from global requirements
Change-Id: I615fa6bfb6251e2c4f82de7f773931a89a798819
2018-01-17 20:31:13 +00:00
OpenStack Proposal Bot 4120333bc5 Updated from global requirements
Change-Id: If6151ff5a8497705271e8df03d6c4f8f97e924ca
2018-01-16 12:25:28 +00:00
OpenStack Proposal Bot 7e4369bb82 Updated from global requirements
Change-Id: I06954030fc67c3fdeeb93df1671286c416d4c932
2017-12-09 19:19:49 +00:00
Zuul 414c14811d Merge "Added reStructuredText model printer" 2017-12-07 10:07:14 +00:00
Shachar Snapiri 4a6a5be55a Added reStructuredText model printer
This one can be used to create rst documentation
A simple viewer can be used at: http://rst.ninjs.org/?theme=nature

Change-Id: Ieb056b867f7b2a38cbb858683a150b21a0655c97
Partial-Bug: #1734146
2017-12-06 16:33:32 +00:00
OpenStack Proposal Bot 7c799840f6 Updated from global requirements
Change-Id: I99c8a3bd2745d5535804ca735a1f0dea76bb91eb
2017-12-05 03:00:52 +00:00
OpenStack Proposal Bot 0ef4d5f59e Updated from global requirements
Change-Id: I71650bb33868fe717c28cff260c1dcda3ae90133
2017-11-17 06:45:53 +00:00
OpenStack Proposal Bot e4f6e65200 Updated from global requirements
Change-Id: I6e144e4d91640c5fb3a67cfecb6a88f964379492
2017-09-16 22:54:42 +00:00
Omer Anson ef409d8e29 Gate fix: verify .testrepository exists before changing permissions
Heavily based on [1] (update for stestr).

[1] https://review.openstack.org/#/c/503118

Change-Id: I48dfbb2987bfb8b7f69526c59ac9cab711566608
2017-09-13 05:41:22 +03:00
OpenStack Proposal Bot 8f6dee2f4c Updated from global requirements
Change-Id: I78b58d53bff2518c4ce9e58935a291baed64791f
2017-09-01 12:35:15 +00:00
OpenStack Proposal Bot bc042e2ca6 Updated from global requirements
Change-Id: Ia1e12b84eb14a8ee9170b34683154b9818268ec5
2017-08-18 11:29:16 +00:00
Jenkins 985c48eeb6 Merge "Switch from oslosphinx to openstackdocstheme" 2017-08-13 08:43:22 +00:00
OpenStack Proposal Bot 25a04712ce Updated from global requirements
Change-Id: I9665bee2e702b3d206d56c5f1c4f5b6f74aba47a
2017-07-27 20:20:32 +00:00
rajat29 0129831a16 Switch from oslosphinx to openstackdocstheme
As part of the docs migration work[0] for Pike we need to switch to use
the openstackdocstheme.

[0]https://review.openstack.org/#/c/472275/

Change-Id: I4f7bc944d2c5a0deb08109ebe20600247314e25d
2017-07-27 16:44:11 +05:30
OpenStack Proposal Bot d05d837281 Updated from global requirements
Change-Id: I0c2d8ff2aabd8268482900f8469c3adb2d6d1556
2017-07-23 18:57:21 +00:00
OpenStack Proposal Bot 2baa02a44d Updated from global requirements
Change-Id: Ie3be4fddb0d0a9f348002e0523082487f3a92019
2017-07-22 16:27:43 +00:00
OpenStack Proposal Bot 6efc72cfe5 Updated from global requirements
Change-Id: I44193a1fb5c0cb19f6af71151030c6256152113c
2017-06-30 12:14:00 +00:00
iswarya_vakati 010c281751 Switch from oslosphinx to openstackdocstheme
As part of the docs migration work[0] for Pike we need to switch to use the
openstackdocstheme.

[0] https://review.openstack.org/#/c/472275/

Change-Id: Id69833c6db4886fb974dc7fa6d49732bc57504f1
2017-06-29 15:11:14 +05:30
OpenStack Proposal Bot f8e934d64f Updated from global requirements
Change-Id: Ie34502e8e49b8b5dba8b4a64736c87949f37d0aa
2017-06-10 11:36:34 +00:00
OpenStack Proposal Bot 3d18dd5b9b Updated from global requirements
Change-Id: I33f4b395974361035b02367e66877e38ce09fa78
2017-06-02 21:54:39 +00:00
OpenStack Proposal Bot a63db6ea2b Updated from global requirements
Change-Id: Ieb185145182930b1c71c425a171c643ecb30a9fa
2017-05-17 03:47:09 +00:00
OpenStack Proposal Bot 279db78a11 Updated from global requirements
Change-Id: I466ada0770b3fc81eb793b1ef7949090f8e0f5ee
2017-05-15 00:43:00 +00:00
OpenStack Proposal Bot f2c0c8374d Updated from global requirements
Change-Id: I0cb5105d08b50a9e9ffd724431b6213a26871379
2017-05-04 00:20:26 +00:00
Ihar Hrachyshka 475e2f3041 Remove subunit-trace fork
This makes tox use the latest version of the tool from os-testr repo,
which contains some valuable changes, like the one making the gate fail
if for some reason no tests are executed because all of them are
skipped.

Change-Id: If88be4b310d746ccc885e3d0c1db8a4dfabb2a28
2017-04-06 11:44:28 -07:00
OpenStack Proposal Bot ab8c1ce54f Updated from global requirements
Change-Id: Ifdae54c36c74b34f750bad9647b182649d094543
2017-02-15 01:25:43 +00:00
Will 0ec217fef0 add missing requirements
Change-Id: Ie28f4fcf6cd0348f6b5a6ce1ed0ebf1b382dac2c
2017-02-14 08:50:15 +08:00
Hong Hui Xiao e4e0a58e33 Add H904 to pep8 check
H904: Delay string interpolations at logging calls, which is the
former N342, prevents format string when add log. Enabling it can
uniform the way we do log.

Change-Id: I4d16a7db530d9fa5a641140e03680307f878f0bb
Partial-Bug: #1663864
2017-02-13 06:46:05 +00:00
OpenStack Proposal Bot 87d5639d08 Updated from global requirements
Change-Id: I301f2153c36ddffcb7784c3ef40b056b889c3c6a
2017-02-10 09:39:24 +00:00
OpenStack Proposal Bot 7ab2245234 Updated from global requirements
Change-Id: Ie4efe93af5c2ef002eec87b68c2cd213d940a25d
2017-01-23 08:02:13 +00:00
Jeremy Liu b9b37b3320 Add missing requirements
keystoneauth is imported in dragonflow test but not added into requirements [1].
This patch fixes that.

[1] https://github.com/openstack/dragonflow/blob/master/dragonflow/tests/fullstack/test_base.py#L17-L18

Change-Id: I863315e7d27bf496465ae6ac63fa885881d0715a
2017-01-17 10:09:58 +00:00
OpenStack Proposal Bot 240b91dd53 Updated from global requirements
Change-Id: Ie21ca14efc16d010578a21140f16e6b84488ae3e
2016-11-02 15:31:05 +00:00
OpenStack Proposal Bot 00e2c05983 Updated from global requirements
Change-Id: I1f00bf19b41dad40caf32f7b478a67891ec5499e
2016-11-01 13:26:48 +00:00
OpenStack Proposal Bot 5cf62aeb7b Updated from global requirements
Change-Id: I090f4eb1db7bdfa4808b0cf0335aa36f5224a675
2016-09-29 05:17:37 +00:00
Hong Hui Xiao abe7751778 Use revision_number instead of DFVersionObjects(floatingip)
This patch also adds unit test for it.

Change-Id: I675827a45dae2ae0d8e7f1237592e1bb55b586b8
Partial-Bug: #1618738
2016-09-06 15:03:16 +08:00
Wang Jian 8dafb5c945 fix redis requirement and import hiredis
1. Dragonflow's requirement.txt should not contain redis, just
like Nova's requirement.txt doesn't contain libvirt. Because
they are not required.

2. According to redis-py doc, redis-py use HiredisParser by
default, which is much faster.
https://github.com/andymccurdy/redis-py/#parsers

3. About global requirement pls refer to
https://review.openstack.org/#/c/337683/4

Change-Id: Id973e7af41764e68d13d2374c95ccf4fad72ec50
2016-07-20 05:49:41 +00:00
OpenStack Proposal Bot 283059cef1 Updated from global requirements
Change-Id: Ib2dff13e4321678805e1023ab53c1f4bea0c84ed
2016-06-24 08:39:00 +00:00
OpenStack Proposal Bot 3365d4fb4a Updated from global requirements
Change-Id: Ib8fdda2f54478c8aed4c69cb0543a7ccbcd0fe40
2016-06-22 19:15:14 +00:00
Wang Jian 72960a3fc6 update test-requirement.txt
neutron has update test-requirement for hacking, dragonflow need
to stay in stop with neutron to make pep8 happy

Change-Id: I0c57dbb937cf24d39b0b289e77a0f24dde4db97f
Closes-Bug:1588607
2016-06-03 13:54:03 +08:00
OpenStack Proposal Bot 7ff43ec269 Updated from global requirements
Change-Id: Iba41403546f5d92e7490c0ffea37e9e6696552c0
2016-04-07 17:07:38 +00:00
Omer Anson d0fa03f6df Add python-pytun to test-requirements.
python-pytun was installed via tox_install.sh. It is better to install
it via test-requirements.txt and the tox I/S rather than manually.

Change-Id: I9c57334da120ec4291888e5a8a4369fe11f82853
2016-03-06 13:50:22 +00:00