Library "unittest2" has not released a new version since
Jun 30 2015 [1]. Neutron should remove the references to
this library and point to "unittest" instead.
[1] https://pypi.org/project/unittest2/#history
Change-Id: I7d55adc262280c0c2f13b9b81ecc582e1729afa0
Closes-Bug: #1859190
Since it's no longer supported past Train, lets stop
running the tests.
Updated docs and made some pep8 code tweaks as well.
Change-Id: I1c171ab906a3b4c66558163ad26947ebf710a276
This patch removes the dependency from ironicclient for the ironic
event notifiers in favor of openstacksdk.
Also, increasing minimum required versions for mock and
openstacksdk.
Change-Id: Ib76e19d29f0ae3db6d181578b638da699181f60d
Bump neutron-lib to 1.29.1 [1] in requirements and lower-constraints.
[1] https://review.opendev.org/680619
Change-Id: I95ed02087e7cd6cc757f9a1578a1e4590458a714
Bump neutron-lib to 1.29.0 [1] in requirements and lower-constraints.
[1] https://review.opendev.org/677314
Change-Id: Ia243c7d64f99ca222ad3b9c583fe4a64b01beb43
While working on improving the osprofiler report in neutron I'm finding
various places where the profiling can be extended by propagating the
profiler info further then before.
This change starts to profile BatchNotifier threads (e.g. various
callbacks to nova) when the code starting the thread was already
profiled (it's not at the moment, but that will be another change).
In this change we use osprofiler.profiler.clean(). Since that has became
part of the public interface of osprofiler in version 2.3.0, we bump
osprofiler version to 2.3.0 both in lower-constraints and requirements.
Change-Id: Ibd08e097b6f8457c50f8ba9e4a63b96e7e3182bc
Partial-Bug: #1833674
Bump up neutron-lib to 1.28.0 [1] in requirements and lower-constraints.
[1] https://review.opendev.org/#/c/668928/
Change-Id: I57efc19d67826698cfafbf03d735c5e8978ca745
This patch adds an ironic notifier that sends notifications
to ironic endpoint /v1/events. The events are triggered by
port updates and deletions. Only ports with vnic_type
baremetal are honored.
Story: 1304673
Task: 22263
Closes-Bug: #1828367
Implements: blueprint event-notifier-ironic
Authored-By: Vasyl Saienko <vsaienko@mirantis.com>
Co-Authored-By: Harald Jensås <hjensas@redhat.com>
Co-Authored-By: Julia Kreger <juliaashleykreger@gmail.com>
Change-Id: I0bb3187a88a7f20adb8c60e24945db159afb83f1
In case of Smart NIC vNIC type neutron should mimic nova-compute
that plug the port to the ovs bridge.
Extend the Neutron OVS mechanism driver and Neutron OVS Agent to bind
the Neutron port for the baremetal host with Smart NIC. This will allow
the Neutron OVS Agent to configure the pipeline of the OVS running on
the Smart NIC and leverage the pipeline features such as: VXLAN,
Security Groups and ARP Responder.
Story: #2003346
Closes-Bug: #1785608
Change-Id: I6d520d3bac2e9ceb30b5b6197c6eb0f958cc3659
Reflect the changes to openstack/requirements introduced in change
Ib8c1bf08f5fa7463911602b0df19315907c81e04.
Change-Id: I89e5370ddcd4447d2e008626256d8a465a1fa710
Bump up the required and lower constraint for neutron-lib to use the
latest release 1.26.0. Also see https://review.opendev.org/#/c/653887/
Change-Id: I55344c117793ddce91ad95401e1306d6605ee586
Since the oslosphinx repo is being retired, remove the only remaining
reference to it in neutron, which is in lower-constraints.txt.
Change-Id: I77549dd96135fe39b9cc743b864accd852339017
In conjunction with the prior fix to only get a subset of fields
when needed, this makes the querying of non-rules SG objects
very very fast.
Before the two fixes, if you have about ten security groups with 2000 rules each:
list all: 14s
list all, just 'id' field: 14s
list one: 0.6s
list one, just 'id' field: 0.6s
With just the previous partial fix:
list all: 14s
list all, just 'id' field: 6s
list one: 0.6s
list one, just 'id' field: 0.2s
Now with this change:
list all: 14s
list all, just 'id' field: 0.04s
list one: 0.6s
list one, just 'id' field: 0.03s
Closes-Bug: #1810563
Change-Id: I15df276ba7dbcb3763ab20b63b26cddf2d594954
We recently exposed the privsep opts for config generator use, so
projects that depend on oslo.privsep should include them in their
sample configs.
Change-Id: Ibaef2e2848855cd8ef987ec58457220911ad7c69
Currently lower-constraint job fails due to changes in appdir's latest
version not included in the lower-constraints.
This patch updates the same.
Change-Id: I94a2e6c7300811aea3f41a79894f74a3bd25e9fc
"tox-lower-constrains" tests are failing because of some old
dependencies in lowest "pbr" version (2.0.0). Those dependencies
were removed in [1]. pbr==4.0.0 contains this commit.
[1] 32c90ba598
Change-Id: I7551644ccf65fae19b34eee49151fdafacf29843
Closes-Bug: #1817541
The listed revision no longer supports python2, but afaik, we are
always running under python3 for those tests anyway.
Change-Id: Iba94d73eeb65fb21f5d098afe0fbe4348dbea850
Bump pyroute2 version to 0.5.3 in order to retrieve the latest updates
and features.
A code refactor and reorganization was done between version 0.5.1 and
0.5.2. In order to enforce the new code structure, the version should
be bumped to the last stable one.
Change-Id: Ia75186570e7a320a3fbdf35bd01ec43dc071f6e8
Closes-Bug: #1814143
This patch bumps the neutron-lib version to 1.24.0 in both the
requirements and lower-constraints.
Change-Id: I8fc7834780f2cf13914b50ac08eddbf3a392c9b2
Depends-On: https://review.openstack.org/636407
This patch bumps the neutron-lib version to 1.21.0 in both the
requirements and lower-constraints.
Change-Id: I4489d98e7fa1ad1504132bd0a049903737b34547
This patch updates minimal required versions of
oslo.concurrency
oslo.config
to be same as in neutron-lib.
Change-Id: I2a2f68731445634b2599f27b3146c1bff31cb0c9
This adds basic framework for neutron-status upgrade check commands.
For now it has only "check_nothing" check implemented.
Real checks can be added to this tool in the future.
Depends-On: https://review.openstack.org/#/c/610061/
Change-Id: Ib08119e1bb8de80856edb6a39769d4bc9d98c587
Story: 2003657
Task: 26144
wsgi call to best_match() generates the following warning:
DeprecationWarning: The behavior of AcceptValidHeader.best_match
is currently being maintained for backward compatibility, but it
will be deprecated in the future, as it does not conform to the RFC.
Change to use acceptable_offers() as was done in nova code.
Simlar changes in the wsgi best language code as well, except
new call is to lookup().
Required bump to get WebOb 1.8.2.
Trivialfix
Change-Id: I45a222c098658eef6a49adcc168b0f5625ea49db
This patch bumps the requirements and lower constraints to pick up
neutron-lib 1.19.0 so we can consume it.
Change-Id: Ib0e3d19c18e6688f274c0573331a4595f7dbdaf0
In version 1.3.2 there is fix for issue which caused
failure of start neutron-server process.
Same issue was also reported in [1]
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1597622
Change-Id: Iafe10b13ee729d781a79fcfa328521acfecdaec1
Closes-Bug: #1794259
This patch updates the requirements.txt and lower-constraints.txt to
use neutron-lib 1.18.0 that will be our Rocky GM candidate (assuming no
problems crop up).
Change-Id: I4ed5de9238800c59a8c505e8d94ee508fe193882
This incorporates flake8 2.6.x and pycodestyle will be used
instead of older pep8. This ensures future python3 compatibility
and a bit better code styling.
Change-Id: Ia7c7c5a44727f615a151e1e68dd94c7ed42f974f
Since neutron-lib 1.17.0 has been released and available as pypyi
[1]. There are some features in neutron which may need newer-lib.
[1]. https://pypi.org/project/neutron-lib/
Change-Id: I5c28c7d2560c4caf5cf35633eaaaf99f9455f96f
According to Openstack summit session [1] stestr is
maintained project to which all Openstack projects
should migrate.
Let's switch it then.
[1] https://etherpad.openstack.org/p/YVR-python-pti
Change-Id: If3383707c9baf69e03bcccc50970da748a834141
This patch bumps the requirements and lower constraints to pick up
neutron-lib 1.14.0 so we can consume it.
Change-Id: Ie8fa868f7ccb58b2d646be0778d40faa62b201d2
pecan 1.1.1 was release on June 3, 2016, so it should be
safe to move forward to it. Should clean-up a lot of
these warnings:
DeprecationWarning: inspect.getargspec() is deprecated,
use inspect.signature() instead
Change-Id: I948cbc537123b6a0bcc781d1d7b5ac09895c3851