This patch refactors networking-powervm to use portbindings
from neutron-lib. For more details see .
With the recent addition of pypowervm to upper-constraints, installs
of networking-powervm are now by default enforcing the version set there.
Since the master branch of networking-powervm depends on the develop
version of pypowervm, this causes installs to fail.
This changeset adds a wrapper script (tox_install.sh) that edits
the upper-constraints file and replaces the pypowervm version pin
then sets pypowervm to be installed from source instead.
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.
The package version file erroneously contained quotes here:
version_info = pbr.version.VersionInfo('__package__')
This caused docs builds using setuptools at or beyond 20.2 to fail with:
pkg_resources.RequirementParseError: Invalid requirement, parse error at
This change set remedies the line to refer to __package__ (a builtin
variable which resolves to the package name) rather than the literal
version_info = pbr.version.VersionInfo(__package__)
...and updates the requirements file to use a setuptools version at or
beyond 16.0 to align with openstack's global requirements.
The Neutron core removed the loopingcall it was maintaining internally
and switched to the oslo_service. This change set mirrors the changes
done in Neutron core within the decomposed ML2 PowerVM Agent.
This change set also updated the requirements.txt to match the version
levels with the current Neutron.
Squashing these two change sets into one to work around strange gerrit
behavior that was gridlocking both.
1) Accomodate neutron change 22328baf1f60719fcaa5b0fbd91c0a3158d09c31
which removed neutron.openstack.common.log in favor of oslo_log.log.
2) pypowervm.jobs was renamed to pypowervm.tasks. Assimilate the
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