Commit Graph

1090 Commits

Author SHA1 Message Date
OpenDev Sysadmins e3d4f90d00 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:45:19 +00:00
Phillip Toohill 45eb377a42 Implement Jinja templates for haproxy config
Added templates dir
Added haproxy v1.4 template
Added template tests
Added jinja_cfg for new haproxy jinja templating

Partially-implements: blueprint lbaas-api-and-objmodel-improvement
Partially-implements: blueprint lbaas-refactor-haproxy-namespace-driver-to-new-driver-interface

Change-Id: Iad3a7be0146e1148b29edee56233aa3196c982dc
Co-authored-by: Brandon Logan <brandon.logan@rackspace.com>
Co-authored-by: Phillip Toohill <phillip.toohill@rackspace.com>
Co-authored-by: Dustin Lundquist <dustin@null-ptr.net>
Co-authored-by: Doug Wiegley <dougw@a10networks.com>
2014-11-06 17:55:35 +01:00
Brandon Logan 55bac1ffc1 Tests for extension, db and plugin for LBaaS V2
Adding needed driver interface changes for tests.
Adding LoggingNoop driver needed changes for tests.
Adding extension, plugin, and db unit tests.

Partially-implements: blueprint lbaas-api-and-objmodel-improvement

Change-Id: I1f7762bf3c9484b8bf46ce32ab78574aa081324b
Co-authored-by: Brandon Logan <brandon.logan@rackspace.com>
Co-authored-by: Phillip Toohill <phillip.toohill@rackspace.com>
Co-authored-by: Doug Wiegley <dougw@a10networks.com>
2014-10-28 22:41:53 -05:00
Brandon Logan 635a4aa6e0 Plugin/DB additions for version 2 of LBaaS API
Added alembic migrations, models, db methods and plugin methods.
Added DEFERRED status for entities not linked to a load balancer.
Added to_dict method in BaseNeutron model.
Sql Alchemy models in its own module.
Plugin database methods are accessed by composition through the plugin.
Added data models to convert sql alchemy models before passing to driver.

Partially-implements: blueprint lbaas-api-and-objmodel-improvement

Change-Id: Iaec2c2315ae54418b341eb31e6b3ff53b02ca9d7
Co-authored-by: Brandon Logan <brandon.logan@rackspace.com>
Co-authored-by: Vijayendra Bhamidipati <vbhamidipati@paypal.com>
Co-authored-by: Craig Tracey <Craig.Tracey@gmail.com>
Co-authored-by: Doug Wiegley <dougw@a10networks.com>
2014-10-26 23:53:29 -05:00
Kyle Mestery ecdabea4a1 Merge remote-tracking branch 'origin' into merge-branch
This commit merges the master neutron branch into the feature/lbaasv2
branch. This is needed to get the feature/lbaasv2 branch building again.

Change-Id: Iba59aa20adc6b369b4b9d250afee406159287ba1
2014-10-24 11:05:20 +00:00
Jenkins 608d5a6d55 Merge "Remove duplicate import of constants module" 2014-10-23 20:19:28 +00:00
Jenkins 0a63d9a563 Merge "Work toward Python 3.4 support and testing" 2014-10-22 19:52:57 +00:00
Jenkins 0abd5d3530 Merge "Updated from global requirements" 2014-10-22 00:25:08 +00:00
Jenkins 90ffc5efb4 Merge "mock.assert_called_once() is not a valid method" 2014-10-21 17:33:19 +00:00
OpenStack Proposal Bot 6ff4a2cb75 Updated from global requirements
Change-Id: Idcbd730f5c781d21ea75e7bfb15959c8f517980f
2014-10-21 12:11:19 +00:00
Angus Lees 00e73b9114 Remove duplicate import of constants module
.. and enable corresponding pylint check now the only offending instance
is fixed.

Change-Id: I35a12ace46c872446b8c87d0aacce45e94d71bae
2014-10-21 16:03:22 +11:00
Jenkins c1a015a7db Merge "Empty files should not contain copyright or license" 2014-10-20 23:13:52 +00:00
Jenkins 30dcbdc259 Merge "Drop sslutils and versionutils modules" 2014-10-20 17:09:16 +00:00
Jenkins 305b687e7b Merge "Updated fileutils and its dependencies" 2014-10-20 15:54:12 +00:00
Weidong Shao 036d964735 Empty files should not contain copyright or license
Per instruction from
http://docs.openstack.org/developer/hacking/#openstack-licensing

Enable hacking check H104 in this CL.

Change-Id: I435b9d91877499ebe1e33435f06794164a0ecc34
Partial-Bug: #1262424
2014-10-20 00:50:32 +00:00
Jenkins 23e1398a36 Merge "Add pylint tox environment and disable all existing warnings" 2014-10-18 08:57:58 +00:00
Ihar Hrachyshka 2d0fccec54 Updated fileutils and its dependencies
This is to avoid fileutils dependency on excutils that are now moved to
oslo.utils.

The following changes are included:

* neutron/openstack/common/__init__.py
  6b048e7 Let oslotest manage the six.move setting for mox

 * neutron/openstack/common/_i18n.py
  9ce1d96 Fix i18n import
  5d40e14 Remove code that moved to oslo.i18n

 * neutron/openstack/common/fileutils.py
  6ff6b4b Switch oslo-incubator to use oslo.utils and remove old modules
  2b966f9 Fix deletion of cached file for policy enforcer
  9c88dc3 file_open: fixed docstring to refer to open() instead of file()
  6c7407b fileutils: port to Python 3
  fcf517d Update oslo log messages with translation domains

 * neutron/openstack/common/log.py
  6c706c5 Delete graduated serialization files
  5d40e14 Remove code that moved to oslo.i18n
  6ff6b4b Switch oslo-incubator to use oslo.utils and remove old modules
  aa74411 log: add missing space in error message
  037dee0 Set stevedore log level to WARN by default
  37c0091 Add unicode coercion of logged messages to ContextFormatter
  6614413 Correct coercion of logged message to unicode
  1188d88 Except socket.error if syslog isn't running
  ac995be Fix E126 pep8 errors
  631f880 Set keystonemiddleware and routes.middleware to log on WARN level
  726d00a Adjust oslo logging to provide adapter is enabled for
  433fa0b Make logging_context_format_string optional in log.set_defaults
  ac92c06 Add default log level for websocket
  5fd77eb Ability to customize default_log_levels for each project
  4d9328c Python 3: enable tests/unit/test_log.py
  cb5a804 Move `mask_password` to strutils

Note: cb5a804 is partially included; that's ok because we don't use the
moved function in Neutron.

Change-Id: I3bfcaff2620b368d807e9468bb7abc01d6471661
2014-10-17 09:50:12 +02:00
Jenkins d615dd958b Merge "Remove sslutils from openstack.common" 2014-10-15 17:49:41 +00:00
Jenkins 91b694a3ed Merge "remove E251 exemption from pep8 check" 2014-10-15 10:33:22 +00:00
Mark McClain b2e5088d5a remove E251 exemption from pep8 check
This change removes the exemption for E251 by addressing unexpected spaces
around keyword/parameter equals

Change-Id: Iff17477e37bef2a97fc58a538d08bcfc35c67751
Partial-Bug: 1329017
2014-10-14 15:39:34 -04:00
Jacek Swiderski d43f129385 mock.assert_called_once() is not a valid method
mock.assert_called_once() is a no-op that tests nothing. Instead
mock.assert_called_once_with() should be used (or use
assertEqual(1, mock_obj.call_count) if you don't want to check
parameters).

Borrowed HACKING rule from Davanum Srinivas's nova patch to
prevent it from appearing again.

Change-Id: Idac1d3c89c07e13c9a209663f4e557fcb7547821
Closes-Bug: #1365751
Closes-Bug: #1300265
2014-10-13 12:36:49 +02:00
Angus Lees 7c6a0f9e21 Add pylint tox environment and disable all existing warnings
pylintrc update disables all warnings that currently trigger on neutron
code.  The rough plan is to slowly re-enable warning categories as we
clean up code in question.

This change also includes a few ultra-trivial syntax cleanups where it
allowed the check to be immediately enabled for the rest of the
codebase:

- Added missing trailing newlines in several files
  (db/migration/__init__.py, nuage/{nuagedb,syncmanager,common/config}.py)
- Renamed self to cls in @classmethods
  (cisco/db/l3/device_handling_db.py)
- Removed whitespace around '=' in a kwarg
  (cisco/db/l3/device_handling_db.py, cisco/db/n1kv_db_v2.py)
- Updated deprecated pylint 'disable-msg' directive to newer 'disable'
  (cisco/extensions/qos.py)
- File-specific disable for too-many-format-args pending further
  investigation of alternatives
  (ml2/drivers/arista/arista_l3_driver.py)
- Import module rather than object and avoid long line
  (services/l3_router/l3_arista.py)

Change-Id: Ifb0a1a38e33f9073a78658ca578fbd2a42747724
2014-10-12 19:14:29 +11:00
Jenkins e43a545058 Merge "Updated from global requirements" 2014-10-12 06:01:14 +00:00
OpenStack Proposal Bot ea3934df70 Updated from global requirements
Change-Id: Ib0c8c561427f141583d677e86a76cbfe4e2be606
2014-10-11 22:33:01 +00:00
Ihar Hrachyshka c1b2ffa365 Drop sslutils and versionutils modules
The modules are not used since when we've switched to oslo.messaging.

Change-Id: Ife4298e0bb29ec15404fafe4b48545bd65e038e3
2014-10-10 20:53:46 +02:00
Jenkins 3e44d70617 Merge "Updated from global requirements" 2014-10-08 22:18:36 +00:00
OpenStack Proposal Bot 091bfd2a8e Updated from global requirements
Change-Id: I0e72933320ac6f49b55ef9782c6c19fb7e997bcb
2014-10-07 19:13:11 +00:00
Julien Danjou 0a7d9cc241 Remove sslutils from openstack.common
This module has been imported but is not used. Let's remove it.

Change-Id: I0cafdb7ddc00ce58b0724cee293f5dad6f4a1817
2014-10-07 11:16:49 +02:00
Jenkins 7e0e33c8c8 Merge "Implement ModelsMigrationsSync test from oslo.db" 2014-10-06 11:41:28 +00:00
Jenkins c26e126a04 Merge "Removed kombu from requirements" 2014-10-04 22:30:22 +00:00
Jenkins a92e0950d5 Merge "Open Kilo development" 2014-10-02 17:19:42 +00:00
Mark McClain 473d4a7ec9 remove openvswitch plugin
This changeset removes the openvswitch plugin, but retains the agent for ML2
The database models were not removed since operators will need to migrate the
data.

Change-Id: I8b519cb2bbebcbec2c78bb0ec9325716970736cf
Closes-Bug: 1323729
2014-10-01 21:16:27 -07:00
Jenkins 7af7ba53f3 Merge "remove linuxbridge plugin" 2014-10-02 03:26:22 +00:00
Mark McClain 6d91c0c6bc remove linuxbridge plugin
This changeset removes the linuxbridge plugin, but retains the agent for ML2.
The database models were not removed since operators will need to migrate the
data.

Additionally, the ml2 migration script was altered to support Juno.  For
testing, a user must either run the migration against the icehouse
scheme or run the update, manually change alembic_version to juno and
then run the migration script.  Once the juno migration is added, this
manually step will not be required.

Change-Id: I70689b4247947e6dc08e80fd9b31da9dc691d259
Partial-Bug: 1323729
2014-10-01 18:08:25 +00:00
Thierry Carrez a08982d84d Open Kilo development
Bump pre-version to 2015.1 to formally open master branch to Kilo
development.

Change-Id: Ia48ad29dc1b31b1fbcb14dfffad571659ec66700
2014-09-30 16:47:21 +02:00
Ann Kamyshnikova f5291b1ab0 Implement ModelsMigrationsSync test from oslo.db
Add tests to verify that database migrations produce
the same schema as the database models.

Also for MySQL, check that all tables are configured to use InnoDB
as the storage engine.
These tests make use of the ModelsMigrationsSync test class from
oslo.db and the load_tests protocol from Python unittest.

Closes-bug: #1346444

Change-Id: Ic0e7eb37c30cc5e94cbdbddf07a6dc1ebf377c17
2014-09-30 11:55:06 +04:00
Jenkins 69d1e9fc46 Merge "Fix entrypoint of OneConvergencePlugin plugin" 2014-09-25 20:04:10 +00:00
Jenkins 1719dee7ac Merge "Supply missing cisco_cfg_agent.ini file" 2014-09-24 16:07:23 +00:00
Ann Kamyshnikova 76527ae35d Fix entrypoint of OneConvergencePlugin plugin
In setup.cfg entrypoint of OneConvergencePlugin is set incorrectly.
Used '.' instead of ':'.

Closes-bug: #1372810

Change-Id: Ic1e154cfcf8b13f021b0635238e07a0459a25a9e
2014-09-23 12:37:58 +00:00
Brandon Logan 495df9f4de New extension for version 2 of LBaaS API
Also added some constants for supported protocols, algorithms,
health monitor types, and session persistence types.

Partially-implements: blueprint lbaas-api-and-objmodel-improvement

Change-Id: I43270fdf9cd52a57274575ecea502f660ff0d5a9
Co-authored-by: Brandon Logan <brandon.logan@rackspace.com>
Co-authored-by: Vijayendra Bhamidipati <vbhamidipati@paypal.com>
2014-09-22 18:07:58 -04:00
Mark McClain 8e941283b0 update .gitreview to default to feature/lbaasv2
Change-Id: Ib65c600f1131b84175d20563304b1e96a43091be
2014-09-22 18:01:26 -04:00
Jenkins 997f5abdea Merge "Separate Configuration from Freescale SDN ML2 mechanism Driver" 2014-09-20 04:04:27 +00:00
Maru Newby a974449c1f Set dsvm-functional job to use system packages
The functional job was breaking due to the interaction between
devstack installing neutron system-wide in editable mode (pip install
-e) and tox packaging in the same path.  Installing in editable
mode meant that neutron.egg-info/PKG_INFO could be updated (in this
case by tox) to change the installed version of the neutron package
without updating scripts that depended on the installed version
(e.g. rootwrap).  This fix is to set the dsvm-functional env to
use system packages and avoid having tox update PKG_INFO.

Change-Id: Icc38cacd69bc5843ccfcc60237a7102df6d8597f
Closes-bug: #1370347
2014-09-17 19:57:41 +00:00
Trinath Somanchi b3507c61d8 Separate Configuration from Freescale SDN ML2 mechanism Driver
- In the current implementation, CRD configuration is existing
  within the code of ML2 mechanism driver.

- When any other plugin/driver (like, Freescale FWaaS Plugin) need
  to use this configuration, it needs to duplicate the complete configuration.

- So the CRD configuration is moved to a separate file for use
  in other plugin/drivers.

- Unit testing of this MD is also updated.

Closes-Bug: #1368033

Change-Id: I488fee47803a494aae9df42f9c59fffa9843e727
2014-09-17 12:56:21 +05:30
Jenkins 12f6f4562a Merge "Remove @author(s) from copyright statements" 2014-09-16 13:30:38 +00:00
Jenkins ceac8e91e5 Merge "Remove faulty .assert_has_calls([])" 2014-09-15 16:53:20 +00:00
Gary Kotton 35e0d80691 Remove @author(s) from copyright statements
We have git to track authorship, so let's not pad source files
with it as well.

A hacking check has been added for this. The value is N322.

Change-Id: Iab0b64d417e0bb41a6b455e2ac377deee64ec3ee
2014-09-15 21:40:09 +09:00
Jenkins c6c34a633d Merge "Add requests_mock to test-requirements.txt" 2014-09-15 08:07:18 +00:00
Jenkins d7194914f1 Merge "Updated from global requirements" 2014-09-13 18:47:36 +00:00
Jenkins 225614c130 Merge "Adds ipset support for Security Groups" 2014-09-13 10:56:39 +00:00