Commit Graph

298 Commits

Author SHA1 Message Date
Slawek Kaplonski ca1b905adb Switch tap-as-a-service-tempest-plugin to ML2/OVS
It also changes x/tap-as-a-service to openstack/tap-as-a-service
in the list of required projects as TaaS is now official OpenStack
project and part of the Neutron stadium.

Additionally this patch removes
networking-midonet-tempest-aio-ml2-full-centos-7 from the check queue as
that midonet job is not existing anymore.

Change-Id: Iaf403948cbf66b249f75528b4a4def083e64801f
2021-08-09 10:16:39 +02:00
elajkat 7e45e0dae8 Change tempest job to run on Ubuntu Focal
Change-Id: I92f20e1eae7567eb53adb4bd9705ceab3207404c
2020-09-21 10:18:46 +02:00
elajkat 993d76b82e Fix taas-tempest-plugin gate
Make pep8 job work on focal:
* adopt constraints files
* ignore W504 Line break occurred after a binary operator

Make tempest tests work by changing the default m1.medium flavor to d1.

Change-Id: Iea267fe07f3acfd344cb9843c0a79b924c2b30cc
2020-09-17 14:16:52 +02:00
Zuul 7d763bebb8 Merge "Add train job" 2020-07-07 09:55:05 +00:00
Zuul a1adf49c0d Merge "Add stein job" 2020-01-10 06:52:16 +00:00
Zuul 824bbc5318 Merge "Add scenario tests to taas tempest plugin" 2019-12-25 12:25:02 +00:00
Mykola Yakovliev c591a980fd Add scenario tests to taas tempest plugin
Scenarios in this patchset are achieving one goal, to actually
ensure that TAAS is working properly using tcpdump to verify.

This creates one new requirement to our test environment, image
with tcpdump. Usually, we can expect compute.image_ref to point at
cirros or similar basic distro, and can't force users to
overwrite it with a much bigger distro that includes tcpdump
because it will drastically increase the time needed to run other tests.

Solution is to change tempest.conf part of TAAS:

[taas_plugin_options]
advanced_image_ref = <uuid of tcpdump capable image>
advanced_image_ssh_user = <user to be used in image above>
advanced_image_flavor_ref = <flavor big enough for image above>

Where advanced_image_ref is UUID of the image with preinstalled tcpdump,
and advanced_image_ssh_user is a user we can use to ssh into VM.

In my case, I just used a default ubuntu cloud image.

New tests are running with your default networks (usually OVS),
and, if taas configuration is provided, against provider network.

Change-Id: Icdff0fe63a8977d6065808c18a9fdc674cef6d4f
2019-12-12 14:14:24 -06:00
elajkat 8c464afad5 Add train job
Change-Id: I1d5670717ef7f0782eca669ffdd04bb681cd3894
2019-12-12 13:34:11 +01:00
elajkat 6a277e766c Make tap-as-a-service-tempest-plugin job use py3
There are 2 reason to do this:
* python2 is end of life, so openstack gradually changing to py3, see
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html
* Since https://review.opendev.org/691874 is merged, devstack fails on
python2 when starting neutron-dhcp-agent, see
https://7d11b8bb582b1d79ec84-ea8f923eb654c64ec0f8d950513d852a.ssl.cf5.rackcdn.com/698035/1/check/tap-as-a-service-tempest-plugin/4b2d7db/job-output.txt
This is caused by the fact that on python2 collections module has no
abc.
This patch makes use of the now default behavious of devstack to use
python3, and changes the jobs for older branches to use python2.

Change-Id: I8095b61aecb2132fbb67fa0e365ad55cf4ca7f71
2019-12-12 13:23:05 +01:00
YAMAMOTO Takashi dd6e19d557 Add stein job
Change-Id: I379d930dd1a1f7667f04796fd9ff199c335fe14e
2019-10-01 08:04:35 +09:00
YAMAMOTO Takashi f3c3d2f6a9 Update URLs after opendev.org migration
Change-Id: I2f9148d1ea117c36a48c51c839d315b6ab2cdc28
2019-04-26 21:59:44 +09:00
OpenDev Sysadmins cb78968d1d OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:51:15 +00:00
Zuul 0e6170b0f0 Merge "Enable taas-vlan-filter on master" 2019-04-11 05:27:23 +00:00
Zuul 4929878b93 Merge "Fix assertions in taas-vlan-filter tests" 2019-04-11 04:07:50 +00:00
YAMAMOTO Takashi 145dc79786 Enable taas-vlan-filter on master
Depends-On: https://review.openstack.org/#/c/603501/
Change-Id: I89fe9524e9cabb9c245010a6455c07ddb6b08dfb
2019-04-10 23:08:11 +09:00
YAMAMOTO Takashi d9aeb2ba97 Fix assertions in taas-vlan-filter tests
Change-Id: I323532e5ba7c6c9f9037cbab478193290102c052
2019-04-10 23:08:11 +09:00
Zuul 44b4c17e51 Merge "Add non-voting networking-midonet job" 2019-04-10 13:03:44 +00:00
Deepak Tiwari e5826f70c3 Add a scenario test and refactor API tests
1. Adds a tempest scenario testcase in TaaS.

2. Refactor the existing API tests.

3. Adds a new API testcase to test the newly added Vlan Mirror input
parameter in tap-flow-create API.

This patchset is an extension to following commit which adds SRIOV
driver support in TaaS:

Change-Id: I847d7f3d841900d99c914a451c24ee20e8119618
Commit: https://review.openstack.org/#/c/603501/
2019-04-09 21:15:59 -05:00
YAMAMOTO Takashi 96dc468fb3 Add non-voting networking-midonet job
Depends-On: https://review.openstack.org/#/c/649309/
Change-Id: I5b11adee714d514bdcd36fd2f90d2cf47c753cd3
2019-04-06 14:45:35 +00:00
YAMAMOTO Takashi 799bf1c026 Add project templates
Change-Id: I29da190970c341d61abc20f470826ea05c03e7df
2019-04-05 13:58:42 +09:00
YAMAMOTO Takashi 412cdeeb52 Skip test_delete_tap_resources_after_ts_port_delete on stable branches
Related-Bug: #1814937
Change-Id: I41cc369b15c058af36c1a0ee2a06d1484f83eadc
2019-04-05 13:04:44 +09:00
YAMAMOTO Takashi a160be0153 Add non-voting tempest jobs
Largely copy and paste from neutron-tempest-plugin.

Change-Id: I8240a0e1da9b3b75e011cb51beefe843988c3264
2019-04-04 23:44:35 +09:00
YAMAMOTO Takashi 39c7f46b70 Rename the entry point to be different from tap-as-a-service
To make the migration simpler.

Change-Id: Ic6bcf4c94756c7f45570172ff21a6119dd2781ec
2019-04-04 16:47:19 +09:00
YAMAMOTO Takashi 307f3f60b5 Fix the test dir
Change-Id: Ibbcff91574ef3620cb170193412b985b664e7ac4
2019-04-03 13:24:09 +09:00
YAMAMOTO Takashi b48b907687 Remove .coveragerc
Change-Id: I13d947ed08efc7e2976c5eb4d5421d50502ba76e
2019-04-03 13:24:00 +09:00
YAMAMOTO Takashi af8fbae07b Update .gitreview
Change-Id: I8c14fa957c93d4381c49c4ce54a1cae4cb46d114
2019-04-03 13:24:00 +09:00
YAMAMOTO Takashi fefb83c924 Revert "Remove .zuul.yaml for now"
This reverts commit c3fe94fb87.

Change-Id: Ifa4638859f6162bedef7c542248d4acd66d29991
2019-04-03 13:24:00 +09:00
YAMAMOTO Takashi c3fe94fb87 Remove .zuul.yaml for now
To avoid the following error in project-config-gerrit job.

| Testing branch origin/master
|   ERROR: Found .zuul.yaml on branch origin/master
|     Remove any zuul config files before import.
2019-03-27 18:40:50 +09:00
YAMAMOTO Takashi 05fe7a96d1 Remove stuff not necessary for the tempest plugin 2019-03-27 18:00:41 +09:00
Zuul 9e8299246b Merge "stop using common db mixin" 2019-03-01 00:46:23 +00:00
Zuul 3d9396eae1 Merge "Clear associated tap resources on port delete" 2019-02-28 08:51:35 +00:00
Zuul 3ca040879c Merge "Change openstack-dev to openstack-discuss" 2019-02-25 02:33:04 +00:00
Boden R 5052ea8aab stop using common db mixin
All of the methods of common db mixin are available via neutron-lib
and the mixin will be removed before long.
This patch switches the code over to use neutron-lib's APIs rather
than those of the mixin and stops using the mixin as a parent class.

Change-Id: I1e9790e47c0befebc6f0073098694440dbc62873
2019-02-20 15:08:26 -07:00
Deepak Tiwari 080ef1661f Clear associated tap resources on port delete
Change-Id: Ifdaa08734825dd5fe9ded2ce13d16cad699d0737
Closes-Bug: #1814937
2019-02-19 21:24:54 -06:00
Boden R 97bb1b3383 use rpc from neutron-lib
We recently removed nenutron.common.rpc [1] as the rpc module lives in
neutron-lib now. This project was missed because I didn't find
neutron.common.rpc as an import.

This patch switches rpc uses over to neutron-lib.

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

This commit includes a part of the following commit
to pass the gate.
----------------------------------------
Fix zuul job failures

Fix zuul job failures

Change-Id: I1d073b8c58e32669ecf6932512b94c8a2cabf70e
----------------------------------------

Co-Authored-By: Deepak Tiwari <deepak.tiwari@aricent.com>
Change-Id: I053b5c56594e1a914143a2308fef77349dfa7ea4
2019-02-19 20:39:21 +09:00
huang.zhiping b6fbb9804f Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: Id3bdaee98215017a96f636f0805956e980bcacca
2019-01-11 06:08:25 +00:00
Zuul aee5d28934 Merge "use neutron-lib for _model_query" 2018-12-25 07:17:18 +00:00
Zuul 0e131517c5 Merge "Changes to tap service and flow update tests in taas Client" 2018-12-03 16:51:55 +00:00
bk160f 2a4e2483ee Changes to tap service and flow update tests in taas Client
Add tempest tests for the tap service and flow update

Change-Id: Ibba64c78e5e244599c8b6d8defb33d77330ba563
2018-11-28 17:49:21 +00:00
Boden R 9d44af10b3 use neutron-lib for _model_query
The model_query module is in neutron-lib and the CommonDBMixin will
eventually be removed. This patch swiches use of the _model_query
method over to query_with_hooks from neutron-lib.

This patch also bumps the neutron-lib version up to 1.20.0

Change-Id: I8ff41c9d914b8329e4fca90de8a9ef9f41ccdcde
2018-11-13 11:46:12 -07:00
Zuul 5ffd2b759a Merge "use common rpc and exceptions from neutron-lib" 2018-11-08 00:48:36 +00:00
Zuul d9a8451ad9 Merge "Update deliverables for 4.0.0/rocky" 2018-11-05 06:28:29 +00:00
Boden R 0f23f0ca2e use common rpc and exceptions from neutron-lib
The neutron.common.rpc and exceptions were rehomed into neutron-lib and
are currently shimmed in neutron [1]

This patch consumes those modules from neutron-lib by using lib's
modules rather than neutrons.

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

Change-Id: Ifb87c315953a02291201a25aff05910149023d10
2018-10-26 09:22:36 -06:00
YAMAMOTO Takashi b9021a3255 DB migration milestone for Rocky
Change-Id: I5d5fcd40ad6b17bb03434ba3b8e6873912f856d1
2018-10-12 14:51:55 +09:00
YAMAMOTO Takashi 64ca6bb845 Update deliverables for 4.0.0/rocky
Change-Id: I807ceb67ee83873d5ad823ec9ecf0acde69ec926
2018-10-12 14:49:01 +09:00
Zuul 57dfbdb8eb Merge "add local tox targets for pep8 and py3" 2018-10-12 04:51:54 +00:00
Zuul 9e65fe4228 Merge "Fix non-absolute imports" 2018-10-12 04:51:16 +00:00
Zuul c6917d37aa Merge "Opt-in for neutron-lib consumption patches" 2018-10-12 04:37:24 +00:00
Zuul 3dfb00f1dc Merge "Require neutron-lib explicitly" 2018-10-12 04:37:24 +00:00
Viktor Krivak c5986f899a Fix non-absolute imports
Change-Id: Ieaf815e51a28b977da5aac1da6752405bc2fc3a9
Closes-Bug: #1795346
2018-10-04 10:08:50 +02:00