Commit Graph

19 Commits

Author SHA1 Message Date
elajkat 8d82419125 Bump hacking
hacking 3.0.x is too old.
Try to synchronize pylint ignore and extension list with
other Networking projects.

With new pip the order of packages is not relevant, so the
related comment from requirements.txts is removed, see pip
documentation:
https://pip.pypa.io/en/stable/cli/pip_install/#installation-order

Change-Id: I586eb25b42d432e0b2158ddebb2dac013f712506
2024-02-13 09:09:06 +00:00
elajkat def943f447 OSC: Remove calls to neutronclient
With [1] the python binding code in Neutronclient prints warning
about future deprecation, change taas osc client code to use
totally OpenstackSDK.

[1]: https://review.opendev.org/c/openstack/python-neutronclient/+/862371

Depends-On: https://review.opendev.org/c/openstack/openstacksdk/+/871287
Related-Bug: #1999774
Change-Id: Id22e20efbf30dddbdbcb986186e02f056f3ed21d
2023-03-03 15:58:30 +01:00
Slawek Kaplonski 3ddb529589 Use ovs constants from neutron-lib
Ovs constants were moved from neutron to neutron_lib some time ago.
This patch switches to use them from neutron-lib already.

This patch bumps min version of neutron-lib to 2.11 as it is version
which has those constants already.

It also fixes some small issue in grouping of imports.

Depends-On: https://review.opendev.org/c/x/tap-as-a-service-tempest-plugin/+/797318

Change-Id: I7c44501b129673cc72fd48f3b508ea6278027762
2021-06-21 14:23:27 +00:00
elajkat 51b36d9c9c Make master working again
Changes:
- Use privsep execution.
- Streamline tox.ini and setup.cfg
- Remove lower-constraints job

Depends-On: https://review.opendev.org/c/openstack/neutron/+/764015
Change-Id: I0017028ff35fe1f375d67e15e9f03f6917f8ccff
2021-02-04 13:22:35 +00:00
elajkat dd49e36bab Switch to hacking 3.0.1 and to testing on focal
Make the code compatible with hacking rules:
* import order problems
* line break before/after binary operator (for this added ignore for
W504, line break after binary operator
* indentation problems

I removed the rule N530 (Direct neutron imports not allowed), as that is
a longer story.

Fix mysql syntax in tools/test-setup.sh
Fix constraints files for testing on focal

Change-Id: Iacb12d5add773404468e2b755cf95c4e6e54ec99
Depends-On: https://review.opendev.org/#/c/708965/
Depends-On: https://review.opendev.org/752416
2020-09-18 07:54:33 +00:00
Deepak Tiwari 2c83eb26a5 Add SRIOV mirroring support to Tap as a Service.
The following patch allows VF to VF mirroring in Tap-as-a-Service
Code-changes are applicable for new tap agent driver for sriov on
Intel i40e nic.

Vlan Mirror input parameter is part of tap-flow-create API

The current TaaS SRIOV driver is based on Intel i40e NIC driver with
following requirements:-

hardware: Intel Ethernet Network Adapter XXV710 (25GbE)
Driver: Intel i40e v4.16.0

Ref Spec: openstack/neutron-specs/specs/rocky/port-mirroring-sriov-vfs.rst
Commit: https://review.openstack.org/#/c/574477/

Change-Id: Id3aa83d7e1e22ae1806cef0c93e5dd61169c6735
2019-04-09 18:41:39 -05: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
YAMAMOTO Takashi 8abad4c7ab Opt-in for neutron-lib consumption patches
http://lists.openstack.org/pipermail/openstack-dev/2018-September/135063.html

Change-Id: I538da41ddae74af4274f81a3e443320fa256d798
2018-09-26 20:46:02 +09:00
YAMAMOTO Takashi 9a5a0589b7 Require neutron-lib explicitly
Rather than implicitly via neutron.

Change-Id: I6c0a783587995113f15ed4c08a6b1dbeeccc5f87
2018-09-26 20:46:02 +09:00
Andreas Jaeger b762ecf9e5 Avoid tox-install.sh
Instead of using tox-install.sh, we can install horizon and neutron
now directly from pypi - or use the current branch in CI system using
tox-siblings.

Update tox.ini for this change and add neutron to requirements file.

This commit includes the following unrelated changes
to pass the gate.
----------------------------------------
devstack: Use setup_develop to install

As this project is in the global requirements now,
we need to edit the constraints.

Change-Id: I44e05b4e7b6f1c15314799c4a1e8c22f79abb74a
----------------------------------------
Update after rpc create_connection removal

Recently neutron.common.rpc.create_connection has been removed. [1]

[1] I2f4b24ba732be47fc9911be1e24406fb1ffe821e

Closes-Bug: #1770851
Change-Id: Ie83299b7a280dab0d5dc9dc3304b5d6091b4a0cc
----------------------------------------

Co-Authored-By: YAMAMOTO Takashi <yamamoto@midokura.com>
Change-Id: Ifffca6361b1c3991481442053bf182bde3c2d44a
2018-05-13 18:15:17 +09:00
OpenStack Proposal Bot 0087038d64 Updated from global requirements
Change-Id: I54d0d29ef359a6bb7a0e034a7d3daf7577545366
2017-05-30 13:44:51 +00:00
ricolin aa160147e2 [Fix gate]Update test requirement
Since pbr already landed and the old version of hacking seems not
work very well with pbr>=2, we should update it to match global
requirement.
Partial-Bug: #1668848

NOTE(yamamoto): I rerun "update-requirements -H" manually

Change-Id: I347c7c25a2e4f1942b2a94689a7909a61279abf5
2017-03-03 10:29:50 +09:00
Jenkins 430409ea3c Merge "Use tox_install convention" 2017-01-12 00:05:56 +00:00
OpenStack Proposal Bot fef347e9a3 Updated from global requirements
Change-Id: If1d5795d8c273044bbb68b1a737c7cb03172fad0
2016-12-06 23:35:54 +00:00
YAMAMOTO Takashi 97460ae286 Use tox_install convention
Copied from networking-midonet.

Closes-Bug: #1646436
Change-Id: Ic66367eb797bddd3b7e0ffd2a65c0a3f719507f1
2016-12-01 19:28:19 +09:00
OpenStack Proposal Bot f463829355 Updated from global requirements
Change-Id: I40b2a21ae9d1210669f1f2ccaaaa7ed4f3dec7fd
2016-06-02 04:10:30 +00:00
OpenStack Proposal Bot 22eb795620 Updated from global requirements
Change-Id: I73cdaf060097c29d671fe0f9350819826b60d411
2016-03-28 19:32:45 +00:00
YAMAMOTO Takashi 7dc7c7cdb0 Start writing tests
Also, sync requirements with Neutron.

Partial-Bug: #1501792
Change-Id: Ib5f70646ddcbc807d45c8d352219029a8d9530d1
2015-10-02 02:57:37 +09:00
vnyyad 82875c7358 Initial Cookiecutter Commit.
Change-Id: I14a0fcfead379eef6581a2527ef3d1a6e4cc0d4b
2015-07-24 16:09:56 +02:00