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.
According to Openstack summit session ,
stestr is maintained project to which all Openstack projects should migrate.
Let's switch to stestr as other projects have already moved to it.
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.
We will manage the eventlet version using constraints now. See the
thread starting at
for more details.
Meanwhile, it was necessary to address these issues in
Package u'setuptools' is used in requirements.txt but not in
Package u'sphinx' is constrained to 1.6.5 which does not match the
minimum version specifier 1.6.2 in test-requirements.txt
Signed-off-by: Doug Hellmann <firstname.lastname@example.org>
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.
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.
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.
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
- Add oslosphinx requirement
- Add base support for devref generation to the project
- Add basic level of documentation, with TODOs for future updates
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
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
openstack-common.conf - Required openstack configuration for all
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