Commit Graph

403 Commits

Author SHA1 Message Date
Tony Breeds 98ecf2f8ff Retire Packaging Deb project repos
This commit is part of a series to retire the Packaging Deb
project. Step 2 is to remove all content from the project
repos, replacing it with a README notification where to find
ongoing work, and how to recover the repo if needed at some
future point (as in
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project).

Change-Id: I5c25db1bd49dc9d3e9c4791ba4d2a54b629bd3ce
2017-09-12 15:42:29 -06:00
Jenkins e5ddfa1b68 Merge "Take allowed-address-pairs to ucast_mac_remote" 2017-07-24 15:23:05 +00:00
judy-yu 354495aae0 Take allowed-address-pairs to ucast_mac_remote
When creating l2-gateway-connection, we should take the
port with allowed-address-pairs configuration into the
ucast_mac_remote.

Change-Id: I72e44c1ab75d5b8117a8d6bd468d974a898f2fde
Partial-Bug: #1447897
2017-07-20 21:56:07 +00:00
OpenStack Proposal Bot af0f54ad50 Updated from global requirements
Change-Id: I1571fc3ac63e0ebd2577922fd518f04211fb5cbb
2017-07-19 18:36:40 +00:00
Gary Kotton 25133e611e Use flake8-import-order plugin
Automate the process

Change-Id: Ie5f1e2e8586337d227803f0c5419ff7111386b07
2017-07-05 16:41:59 +03:00
Jenkins 40f65ed9bb Merge "Adding l2gw section to tempest.conf within devstack plugin" 2017-07-05 13:23:32 +00:00
Jenkins 0c5ba4e3bb Merge "Fix the configuration of the tempest plugin" 2017-07-05 13:23:27 +00:00
OpenStack Proposal Bot da569b7bd7 Updated from global requirements
Change-Id: I5cebdbcf57fa7cec7970f8118d01057f837084b4
2017-07-04 17:50:39 +00:00
Luigi Toscano 0e684f97cd Fix the configuration of the tempest plugin
Normalize the name of the section of the l2gw-specific options
(lowercase) and use explicitely the config wrapper from tempest.
Remove some code used for registering options, which is most likely
already handled internally in Tempest.
Without the fixes, some tests are failing while initializing the
configuration (CONF.L2GW) when the runner is non-serial.

Also, reorder the module imports to follow the Style Guideline.

Change-Id: I668ca20ef8a0371324173506427849603ebcdcc3
2017-07-04 18:46:02 +02:00
Ricardo Noriega b7992ad7e3 Adding l2gw section to tempest.conf within devstack plugin
Depends-On: I131ee0d720b1a3c1b0091e1a8d303774138063da
Depends-On: I668ca20ef8a0371324173506427849603ebcdcc3
Change-Id: Id43067b3304a4e819708a2d00440e033d09bdc66
Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
2017-07-04 12:10:30 +02:00
Peng Liu 8de204056c Fix for tempest case test_create_l2gw_connection_with_invalid_network_name
Fix for case test_create_l2gw_connection_with_invalid_network_name
Add network exist check before creating l2gw connection.

Change-Id: I131ee0d720b1a3c1b0091e1a8d303774138063da
Signed-off-by: Peng Liu <pliu@redhat.com>
2017-07-04 17:25:26 +08:00
Ricardo Noriega 4bb98061ab Tempest plugin expects the l2gw section instead of network
Change-Id: I27a9e4572cc7582176534e7e0711024429c98dae
Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
2017-06-15 11:26:54 +08:00
Daniel Mellado 3273c50589 Add proper class skip
This commit fixes the resource_setup skip decorator and switches from
pretty_tox to tempest run.

Change-Id: I0f8b0ac50653efaabb69bff1dff8b2a7350989d4
2017-06-12 07:54:31 +00:00
Daniel Mellado 947e5ba4ca Fix tempest install issues
This commit fixes tempest installation issues on upper_constraints,
which was failing with Could not satisfy constraints error.

Change-Id: Ie2e7372435bb03e056c67608b6c6322d8c25deb3
2017-06-12 07:53:39 +00:00
Daniel Mellado 9d2a82fd9e Fix networking-l2gw devstack systemd issues
This commit fixes l2gw devstack plugin systemd issues due to not having
a full path in python.

Change-Id: I7c0f43bdab8b4261c298a69e3f29ee7010e3e549
2017-06-08 12:59:13 +02:00
Chandan Kumar 9ec7ae4ddf Fixed networking-l2gw tempest plugin
* Added tempest plugin entry point to discover l2gw tempest tests

Change-Id: Ia0eaf6958460e09a9fa5992356c85452166987e8
2017-06-01 16:24:06 +00:00
Gary Kotton de4d24fbfe Update latest requirements
The client requirements required that the format be dropped.

This was in commit a905f755b995f358116a11f77de71893b0601937

Change-Id: I773c8b05ae47c7b31a2790bd5dc11df34b4b3690
2017-05-02 14:48:55 +03:00
Ricardo Noriega 31b6b610cd Adapting networking-l2gw to use ovsdbapp library
* Fixing imports according to ovsdbapp

Change-Id: Idee212194c5bf94dde827082a5637705efda1fb9
Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
2017-05-30 17:52:00 +02:00
Jenkins 2518685a5b Merge "use MechanismDriver from neutron-lib" 2017-05-18 12:39:37 +00:00
OpenStack Proposal Bot 9710695af3 Updated from global requirements
Change-Id: Ic495bf87f9d09c5f73c6b90c352c9537f9b5b8e7
2017-05-17 03:51:05 +00:00
Boden R 7e981e0216 use MechanismDriver from neutron-lib
The ml2 MechanismDriver is now in neutron-lib along with its associated
constants. This patch switches over to the lib versions of those.

Change-Id: I491dbc08dcffbf71c44f62f1070d8630f312a8b6
2017-05-04 12:23:24 -06:00
xuqihou 990c3ef227 Remove 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: Ib1e06cedb7b0e85947a807672473de5bbfc8a6d2
2017-03-27 04:11:37 -07:00
OpenStack Proposal Bot afe34828d9 Updated from global requirements
Change-Id: Ief7724e393e0eb72b8664b75f40a7d8da02466ed
2017-03-26 12:37:28 +00:00
ZhaoBo f484d908f5 Use the new tempest module
tempest.lib.common.utils.misc.find_test_caller has been moved into the
tempest.lib.common.utils.test_utils module. We should update the related
code which call it.

Change-Id: I46ad45ed52b80cf477e0075cc84ad675e6f7bf92
2017-03-26 12:05:23 +00:00
Gary Kotton 40d267d3df Fix agent configuration breakage
Change-Id: I305cd65ea55f8b2fa6a04acfbd9f9809d1e24800
Co-Authored-By: xuqihou <xu_91@163.com>
2017-03-26 04:57:12 -07:00
Adit Sarfaty 0061bf903f Use neutron-lib's context module
Change-Id: I7f097c0e61ddc1f056081eca14d8e68efd34ad60
2017-03-07 02:07:03 -08:00
OpenStack Proposal Bot 9a046ea132 Updated from global requirements
Change-Id: Ibc3c9d69183126dd74d4b24ea253d5b9a2edcf22
2017-02-10 05:51:59 +00:00
Abhishek Raut e1e5554aae Add DB migration milestone for Ocata
Change-Id: Ib1c16d50026e5000ba57bea6b4d5fe575e6877a9
2017-01-11 03:48:29 -08:00
Jenkins 81d7cd335c Merge "Remove white space between print ()" 2017-02-06 07:00:39 +00:00
Jenkins 8fda426f13 Merge "Switch to decorators.idempotent_id" 2017-02-06 07:00:34 +00:00
Andreas Jaeger 34842c1069 Prepare for using standard python tests
Add simple script to setup mysql and postgresql databases, this script
can be run by users during testing and will be run by CI systems for
specific setup before running unit tests. This is exactly what is
currently done by OpenStack CI in project-config.

This allows to change in project-config the python-db jobs to
python-jobs since python-jobs will call this script initially.

See also
http://lists.openstack.org/pipermail/openstack-dev/2016-November/107784.html

Needed-By: I0a87f7db0d1d78e7419a8706683aaa540c3dc399
Change-Id: Ic722f455938ee9a2c61e0d9adb3967167870ad89
2017-02-04 10:10:40 +01:00
ghanshyam ed0f5db4e7 Switch to decorators.idempotent_id
test.idempotent_id is being kept temporary to migrate
to new lib interface. Now idempotent_id is available as Tempest stable
interface decorators and all plugins tests using the old decorator
should be switched to new interface.

In future, Once all plugins are switched to new decorator Tempest
will remove the test.idempotent_id

Change-Id: Iaacae05cf9b3924f022a025799bacf2eb5258408
Related-Bug: 1616913
2017-01-27 06:12:23 +00:00
Jenkins 295a2a00ec Merge "Use neutron-lib portbindings api-def" 2017-01-23 19:55:36 +00:00
Jenkins 0ecbf17c8d Merge "devstack: Stop using Q_PLUGIN_EXTRA_CONF_FILES" 2017-01-23 19:38:23 +00:00
Boden R f294b2b349 Use neutron-lib portbindings api-def
This patch refactors networking-l2gw to use portbindings
from neutron-lib. For more details see [1].

NeutronLibImpact

[1] https://review.openstack.org/422210/

Change-Id: Ib12c9938e2aab0e5ff836b380846d0826d729d05
2017-01-23 19:31:14 +00:00
Jenkins 7dc9e0ff12 Merge "Cleanup after tox_install run" 2017-01-20 22:11:00 +00:00
Anusree 3a7f487657 Remove white space between print ()
There was a white space between print and ()

Change-Id: Id147df8129730a36c3f50c9aa0ba87e972521173
2017-01-20 03:28:14 +05:30
OpenStack Proposal Bot 988f68db9e Updated from global requirements
Change-Id: Ia6961c2d8fe21f5113b8f5fe0fff3419f159ce0b
2017-01-16 20:32:52 +00:00
Andreas Jaeger 975cc2ad64 Cleanup after tox_install run
Do not leave content in /tmp of checked out repositories, cleanup after
installing. This is needed since some jobs - like translation sync - are
run on long-lived nodes and if several projects use the same directories
in /tmp, this might cause jobs failing.

Therefore use temporary directory for installation - and place this
in source directory so that git clean can remove it.

Blacklist this temporary directory from pep8 invocations.

Change-Id: Ided3cb0335a13d4791df6f22c60db4a0d79ebc88
2017-01-15 20:00:35 +01:00
YAMAMOTO Takashi 3093340c74 devstack: Stop using Q_PLUGIN_EXTRA_CONF_FILES
Related-Bug: #1599936
Depends-On: I90112823ef96ae2fba97d7b09b00bec8cb816d8d
Change-Id: I060fd48c8a28ffa5243455b11cca8737392c86a4
2017-01-12 00:41:50 +00:00
Gary Kotton f67975d724 Remove discover from test-requirements
It's only needed for python < 2.7 which is not supported

Change-Id: Icb5c04b7703525433bde4c416c0ee129cadf224b
2017-01-02 22:55:42 -08:00
OpenStack Proposal Bot 5d1eb12374 Updated from global requirements
Change-Id: I1311fe0d44ace6ce9ab59ae85678fbda22b15389
2016-12-28 09:35:03 +00:00
ghanshyam c2a04cd12d Use tempest instead of Tempest-lib
tempest-lib has been deprecated since a year. All
the interfaces available in tempest-lib are now available
in tempest/lib.

This patch make use of tempest/lib instead of tempest-lib.
Also add tempest in test-requirements.txt

Change-Id: Ic9865fa64c52155f0fcd3a048daa18e0003548f9
2016-12-15 00:20:36 +00:00
Roey Chen deb7ad9811 Use valid uuid when creating a network
Recent changes in neutron (I20b24ee57c521b1c68977c2ff7ae56b56875dd64)
ensures uuid db fields are being validated, this breaks l2gw unittest on
depended repos (e.g - vmware_nsx), as there are occurence of non-valid
network-id uuid field in test_l2gw:L2GWTestCase._get_nw_data.

Change-Id: If2b41b7274e381723a1b178299aaaf63505a80d5
2016-12-13 15:01:07 +00:00
Henry Gessau 498df74223 Use ExtensionDescriptor from neutron-lib
ExtensionDescriptor has been rehomed to neutron-lib and is being
removed from neutron core.

See https://review.openstack.org/398113

Depends-On: I5a111e0033e518e39b3042f047ee9eebba77a0d5

Change-Id: I4eebe015d0ece32d0fe490b177078dac27aba4e5
2016-11-28 10:03:39 -05:00
Jenkins 257e27081f Merge "Remove PLURALS" 2016-11-28 09:36:11 +00:00
Jenkins e361fc4cb1 Merge "replace neutron with neutron_lib" 2016-11-27 06:00:13 +00:00
Henry Gessau fef163024a Remove PLURALS
PLURALS is being removed from neutron core.
See https://review.openstack.org/398489

Change-Id: Ib89d8f2e87edf3929f7518e6d533af6529e35253
2016-11-25 14:47:58 -05:00
Jenkins 7b8d57f03f Merge "Adding OVSLIB" 2016-11-25 18:29:11 +00:00
Ofer Ben-Yacov d7255b7690 replace neutron with neutron_lib
Change-Id: I5a9aa094ca5aa80857fd6fb66a94d8bdc76267c4
2016-11-24 13:10:40 +02:00