Commit Graph

15 Commits (a9f6adf3166fe7c033a5ca7ae511ad6ec2798ea8)

Author SHA1 Message Date
Adam Reznechek c4b1db00f4 Bump to match latest global requirements
This bumps all reqs to match the latest upstream
from global requirements master.

Change-Id: Ib7c6644bc57235cf35bc66faa5d361cfc75285f1
2017-03-06 14:53:49 +00:00
Boden R ab9597f49f Use neutron-lib portbindings api-def
This patch refactors networking-powervm to use portbindings
from neutron-lib. For more details see [1].



Change-Id: I05588f7a9dd9f495d879c7ebcf70b2c5616c3a46
2017-01-26 10:45:32 -06:00
Adam Reznechek 90dc56c07b Update to match latest global-requirements
Update requirements to the levels defined in OpenStack
global-requirements on 2016-1-10.

Change-Id: Id723a199b198758df027df7bd176adf6659c8114
2017-01-10 17:24:59 -06:00
Adam Reznechek 222d6ef8c7 Add for pypowervm upper-constraints workaround
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 ( that edits
the upper-constraints file and replaces the pypowervm version pin
then sets pypowervm to be installed from source instead.

Change-Id: Ibd7052a62f7dfb85e6e18a5e1c4073bf43b88af4
2016-11-16 20:00:27 +00:00
Drew Thorstensen 63d318d6a3 Update requirements/Remove deprecations
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
2016-06-20 11:10:28 -04:00
Eric Fried c5475f3b42 Global amqp and hacking requirements
Per bug, 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
2016-06-02 14:44:52 -05:00
Eric Fried b431d9e12b Fix package reference in version code
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
string '__package__':

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.

Change-Id: Ib90ed24cbc5738af8db275337af597585751baa9
Closes-Bug: 1585027
2016-05-26 13:46:55 +00:00
Drew Thorstensen df396bc416 Update the requirements
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
2016-03-02 19:58:05 -05:00
Drew Thorstensen 644db30de8 Update requirements
Update the requirements files to be in sync with the global OpenStack

Change-Id: I25747a94afda77fad47d5433bb8015433584615a
2016-02-09 14:52:47 -05:00
Drew Thorstensen 07a7a17d2b Update for py34 and PBR changes
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
2015-07-09 12:22:08 -04:00
Drew Thorstensen 8b5fea36ab Move to oslo_service
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.

Change-Id: Ia688777880f1d3cdbd82823c4c3a031ef5634bbe
2015-07-01 10:52:16 -04:00
Eric Fried f22f997215 Switch to oslo_log, => .tasks
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) was renamed to pypowervm.tasks.  Assimilate the

Change-Id: Ib22fbbc3ac5523785b04b1dd421f059b6a70de18
2015-03-19 16:13:07 -05:00
Drew Thorstensen e46bce3f0f Update baseline to resolve refactoring items
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
2015-02-12 15:02:31 -06:00
Adam Reznechek 6dffd0de73 Adding base infra for docs, cna element list fixes
Changes to use element lists for cna uris
Added base docs infratstructure for Sphinx with links back to
readme and contributing files

Change-Id: I97604d21497d1a4a3a5ee3c56416197ea6cae967
2015-02-05 10:31:19 -06:00
Drew Thorstensen 46a8ce3b5c Initial Library Setup
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
 setup.cfg - Input to the on how to execute certain actions. - 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
2014-10-21 14:53:39 -05:00