Neutron constrained the version of hacking < 1.2.0, but since then the
unit tests fails with:
ERROR: Double requirement given: hacking<1.2.0,>=1.1.0 (from -ri https://opendev.org/openstack/neutron/raw/branch/master/test-requirements.txt (line 4)) (already in hacking>=1.1.0 (from -r [..]networking-powervm/test-requirements.txt (line 4)), name='hacking')
So let's simply use the same constraint as set in neutron.
Change-Id: Ic4d97db6c947264806e5ef9e35f21f764cbecf46
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: Id348ed0c3cb16637990acfa6aaf529cf2567de9a
The neutron project bumped its hacking level in test-requirements via
Ia7c7c5a44727f615a151e1e68dd94c7ed42f974f, causing a conflict with ours.
Make our pep8 pass by adding an ignore rule for W504 (line break after
binary operator) to match neutron.
Change-Id: Ifb9583437edba41addff5d3650b350a8941d3150
We will manage the eventlet version using constraints now. See the
thread starting at
http://lists.openstack.org/pipermail/openstack-dev/2018-April/129096.html
for more details.
Meanwhile, it was necessary to address these issues in
check-requirements:
Package u'setuptools' is used in requirements.txt but not in
lower-constraints.txt
Package u'sphinx' is constrained to 1.6.5 which does not match the
minimum version specifier 1.6.2 in test-requirements.txt
Change-Id: Ie0e7b132acab2300e766ae57613a702db21b142f
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This change set re-aligns the networking-powervm source code with
the global requirements. It also removes some of the deprecations from
that were popping up from neutron.
Change-Id: Id44d6bea9a68de45ec4ebc7f183de340815b76f7
Per bug https://bugs.launchpad.net/oslo.messaging/+bug/1586840, the most
recent amqp version is not backward compatible, and breaks various
things along the oslo_messaging chain. This manifests in
networking-powervm as an import failure for 'vine'. This problem is
resolved by updating the amqp requirement to align with
global-requirements per If7e130a70f31a2eb1d9df6b5f46f88c90880e254.
The hacking checks for neutron also rely upon
hacking.core.off_by_default. This is satisfied by the global
requirement for this package.
Change-Id: I7981e89710690cad3edbc8b953aac7cc07457f4e
Partial-Bug: 1586840
This update brings changes in line with the global requirements. Also
includes a setuptools version that prevents the docs build from failing.
Change-Id: I334a0c1ae138e3e533ed40d1dcbbb3e363fd6155
neutron has a bash script that uses the ostestr package to
format the output from tox in a 'pretty' format. It makes it
much more readable. pretty_tox.sh is pulled from neutron
as-is and enabled in tox.ini.
Change-Id: Icbc781b10076adb1e2d8ee1f298ddf70b73c3635
Add support for installing networking powervm through the devstack
plugins infrastructure. This allows you to simply enable the plugin
in a devstack localrc, provide any non-default config, and run
stack.sh to configure/install it.
- Added plugin files
- Added README
- Added bashate to tox test environments for scripts
Change-Id: Ie56b279d38c3fdba7971b231470c17dea22156e2
- Add oslosphinx requirement
- Add base support for devref generation to the project
- Add basic level of documentation, with TODOs for future updates
Change-Id: I8723e07bc78de7abab560c6515f1159160973bb4
This update provides more enablement for python 3.4 and updates the
requirements to be in line with the core openstack projects.
Change-Id: I62d1fab0c894cf6808d117e832d5bb25f512885d
Over the past couple of weeks, changes from neutron and pypowervm have
affected neutron_powervm such that it was no longer sending messages to
the agent (and when fixed, crashed the agent).
This change set fixes the following:
- Sends the messages properly to the agent
- Changes the cadence of checks (slightly slower)
- Works off of MTMS for the host name
- Updates the MTMS format for new pypowervm functions
Change-Id: I68a910a9f3b58cc731a2062fa7ded640c4326bfb
Provides the initial baseline for the PowerVM Neutron ML2 Agent.
The work done here provides:
.gitignore - Indicates which files not to track within Git.
.gitreview - Input to the git-review command on how to send to Gerrit.
.testr.conf - Conf file input for the testr command (UT)
CONTRIBUTING.rst - Information on how to contribute.
HACKING.rst - Information on what needs to be done for updates.
LICENSE - The license for the project
README.rst - Information on what this project is. Currently this is
the blueprint.
openstack-common.conf - Required openstack configuration for all
projects
setup.cfg - Input to the setup.py on how to execute certain actions.
setup.py - Used for build of the project.
requirements.txt - Required packages (and levels) to run the code.
test-requirements.txt - Required packages (and levels) in addition to
the requirements, that indicates what is needed
to run the UT.
tox.ini - The input for the tox commands.
In addition, a base set of packages for the agent and unit tests were
loaded in.
Change-Id: Ib7e018b8a8004a5722723cb7ff645eb3b4297886