Commit Graph

149 Commits

Author SHA1 Message Date
Adam Harwell f8d023fbfe Retiring neutron-lbaas
Depends-On: https://review.opendev.org/#/c/658493/
Change-Id: Ia4f4b335295c0e6add79fe0db5dd31b4327fdb54
2019-05-11 03:18:03 -07:00
Vieri c7ed37389b Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: I6bf260ca368d7f0918d15bc010e7692f721e6523
2018-12-04 18:01:41 +00:00
German Eichberger 0c76484a50 Octavia Proxy Plugin
This plugin proxies LBaaS V2
API requests to Octavia.
Fixes test errors...

Closes-Bug: #1596660
Change-Id: If1e1348e4734b5b9b839241453059f628d9c4948
2017-12-05 00:49:09 +00:00
Vu Cong Tuan dc9728c389 Remove support for py34
The gating on python 3.4 is restricted to <= Mitaka. This is due to
the change from Ubuntu Trusty to Xenial, where only python3.5 is
available. There is no need to continue to keep these settings.

Change-Id: I32e0021bc374c71df81bfb1de586cf462ea24244
2017-06-22 18:02:32 +07:00
Ihar Hrachyshka 1dbaa3cb19 Fixed lbaasv2 service plugin alias definition
The last element in the alias definition should be split with : not .

More info: in stevedore docs.

Change-Id: I5fb491304bd4808f63480efe1d8f4fd5248c3771
Closes-Bug: #1630693
2016-09-26 09:58:00 +00:00
Jenkins 8fe76e0589 Merge "Plugin to run neutron-lbaas tests with tempest" 2016-09-21 22:14:36 +00:00
Doug Wiegley 7aa3d9ff9c Nuke lbaas v1
v1 is not going to ship in Newton, the deprecation notice
been around for two cycles, and there is now a migration
script.

Also includes: Fix alembic migration env

The include_object() checking was missing, and also the inclusion
of all lbaas DB models

Co-Authored-By: Henry Gessau <gessau@gmail.com>
Co-Authored-By: Adam Harwell <flux.adam@gmail.com>
Change-Id: I506949e75bc62681412358ba689cb07b16311b68
2016-08-23 13:05:48 -05:00
Genadi Chereshnya e0d64a4490 Plugin to run neutron-lbaas tests with tempest
This plugin makes it possible to run lbaas scenrio tests with tempest
Having tempest and lbaas in the same virtual environment you can see
tests from tempest and lbaas and run them from tempest

Change-Id: If16ad4aa475373cad5c579511d872d0a702f21d6
2016-07-20 11:39:07 +03:00
Sirushti Murugesan 10ecdc8088 Add python 3 classifiers
This will enable the python3 binaries of neutron-lbaas to be run in
devstack and thus run functional tests over.

Change-Id: I25c46f2211af8075974a93acdf587cd059673bbb
2016-07-19 17:45:02 +05:30
Ihar Hrachyshka 8d3dd9cce4 Add support for Guru Meditation Reports for LBaaS agents
The change consolidates common actions taken by all services under
neutron_lbaas/cmd/... in a way that reflects the approach taken in
neutron repo. This currently includes GMR initialization and eventlet
monkey patching.

Added oslo.reports dependency since now we explicitly require it.

Change-Id: Ia76b113648536f6786de4029376df2caa25036d1
Implements: blueprint guru-meditation-report
2016-03-03 14:31:58 +01:00
Akihiro Motoki cc6bd51489 Update translation setup
Follow new infra setup for translations, see spec
http://specs.openstack.org/openstack-infra/infra-specs/specs/translation_setup.html
for full details.

This basically renames
neutron-lbaas/locale/neutron-lbaas.pot to
neutron_lbaas/locale/neutron_lbaas.pot. For this we need to update
setup.cfg.

Update also domain name in _i18n.py.

The project has no translations currently, let's remove the outdated
pot file, the updated scripts work without them. So, we can just
delete the file and once there are translations, an updated pot file
together with translations can be imported automatically.

Change-Id: I7139b00266871703d1af7997648aed603f531347
2016-01-29 07:08:17 +09:00
Adam Harwell 2228ef86ab Refactor BarbicanAuth to allow for configurable auth method
There is now a new configuration option "barbican_auth" in the
certificates section, to specify which auth plugin to use when
communicating with Barbican. This is because the default option (using
ACLs inside Barbican to control access) should be ok as a default
workflow, but it might be required to use other methods depending on
your deployment. For example, another possible auth method would be
BarbicanTrustAuth, utilizing Keystone Trusts.

While we're in this file, prune the unused (and really bad) method that
would *actually* delete certs from Barbican (not in our scope).

This is (nearly) a direct port of the work done in:
    https://review.openstack.org/#/c/216140/

Change-Id: Id8386c36c7acfd954bc2309947345dfe31124b16
2016-01-18 17:41:34 -06:00
Martin Hickey d13d53bce7 Remove Neutron LBaaS static example configuration files
Oslo config generator was introduced in patch [1] to
automatically generate the sample Neutron LBaaS configuration
files.

This patch removes the static example configuration files from
the repository as they are now redundant.

[1] https://review.openstack.org/#/c/252981/

Change-Id: Ied6baba264e46aee59fb97f4909df3cbf4d00237
Partially-Implements: blueprint autogen-neutron-conf-file
Partial-bug: #1199963
Depends-On: Iae1e581ec2bea9c0ced700229effcc716d53fe4e
2015-12-10 15:43:49 +00:00
Martin Hickey e719861c00 Automatically generate neutron LBaaS configuration files
This adds a new tox environment, genconfig, which generates sample
neutron LBaaS configuration file using oslo-config-generator.

DocImpact: Update the docs that LBaaS no longer includes static example
configuration files. Instead, use tools/generate_config_file_samples.sh
to generate them and the files generated now end with .sample extension.

Partially-Implements: blueprint autogen-neutron-conf-file

Change-Id: I25507f3bc6e995580aa91a912c2cf4110757df15
Partial-bug: #1199963
2015-12-09 15:14:56 +00:00
Kyle Mestery cd9ac4325b Remove version from setup.cfg
Per email from the release team [1], we are moving to using only
tags and removing verisons from setup.cfg.

Change-Id: I7cdaa511061211bee90104a1147faef64a6206f7
Depends-On: I19e888fc403aa2d95b769ed1730721eba29e68ea
Signed-off-by: Kyle Mestery <mestery@mestery.com>
2015-12-03 15:55:34 +00:00
Akihiro Motoki c1cfdd15df Add service_plugins entry_point for LBaaS v2 plugin
Change-Id: I65dad02db7589a82e0219c03e9450123c172ace7
Closes-Bug: #1517125
2015-11-18 01:55:01 +09:00
Henry Gessau c5fca2f2e4 Remove the embrane driver
Partial-Bug: #1504670

Change-Id: Ic13a101f04086af84251c98d775d75334504007d
2015-10-10 00:16:32 -04:00
Kyle Mestery ca3ca64b5a Open Mitaka development
Bump preversion to mark the start of the Mitaka development branch.
The liberty release branch will be cut from the previous commit.

Change-Id: Ic83c54cb9f49d01173a3fb7157dc4e0c6bfdcb3c
Signed-off-by: Kyle Mestery <mestery@mestery.com>
2015-09-23 17:58:25 +00:00
OTSUKA, Yuanying 2cc700c291 Fix loading CertManager method
Currently local_cert_manager is never enabled if 'cert_manager_class'
is set to 'neutron_lbaas.common.cert_manager.local_cert_manager'.
Because due to initialization order of config parameters.
This fixes it to correct order.

Change-Id: I0b60e9034e113160ec8347da52d67c4835c90cbf
2015-08-26 17:30:53 +09:00
Henry Gessau 1a779cf8af Register alembic_migrations at install time
This allows neutron-db-manage to find the alembic migrations
automatically if this project is installed.

The config file alembic.ini is not needed in this project since it's
tables are in neutron's DB and so it depends on neutron's config.

Partial-Bug: #1470625

Change-Id: If4cff446ec7922224461cb76770ff9681bc27caa
2015-07-26 21:09:07 -04:00
Doug Hellmann d7bbbf4ce8 Update version for Liberty
Update the version for Liberty, switching from date-based versioning
to pre-versioning using SemVer. See
http://lists.openstack.org/pipermail/openstack-dev/2015-May/065211.html
and
http://lists.openstack.org/pipermail/openstack-dev/2015-June/067082.html
for details.

Change-Id: I6a35fa0dda798fad93b804d00a46af80f08d475c
2015-06-16 19:49:15 +00:00
Sungjin Yook 96afcd6879 Add a new lbaas agent Scheduler, LeastPoolAgentScheduler
LeastPoolAgentScheduler assigns a pool to an lbaas-agent
with the least number of pools. When there are multiple
lbaas-agents on multiple nodes, pools will be evenly
distributed over the agents. Thus this scheduler helps
the scalability of lbaas-agents serving large number of pools.
At the moment only available lbaas-agent scheduler is ChanceScheduler.

Co-Authored-By: Adam Harwell <flux.adam@gmail.com>
Change-Id: I0b920a8bb5b2918dd5f47ef2a81d3009896af47d
2015-06-03 01:20:14 +00:00
Jenkins 35b4c9080f Merge "Add HaproxyNSDriver to lbaas entry points" 2015-04-10 21:46:25 +00:00
Thierry Carrez ec499b935d Open Liberty development
Bump pre-version in setup.cfg to formally open Liberty development.
Kilo release branch will be cut from the previous commit.

Change-Id: Ieb6be018d90202aa3f2cde9e60f78a3872ea94cf
2015-04-07 15:54:01 +02:00
Jakub Libosvar 3665e0cc7b Add HaproxyNSDriver to lbaas entry points
If neutron package is used in path for device_driver then agent fails to
start. This patch adds entry point for such driver.

Change-Id: I28e022ca0b07a5c4ba747ebad0d53db96ded83bf
Closes-Bug: 1441107
2015-04-07 13:03:40 +02:00
Phillip Toohill 93e10c9877 Agent, device driver interface, and callback API
LBaaS V2 object model needed an agent to redone to work with
the new object model.  This creates the agent main script with
a place holder agent manager used as the service.  This also
adds the interface for device drivers.  The first device driver
implementation will the be namespace haproxy driver redone for
the new object model but will be added in a later review.  Lastly,
this adds the API class that exposes the plugin callbacks.

Partially-implements: blueprint lbaas-refactor-haproxy-namespace-driver-to-new-driver-interface
Co-Authored-By: Phillip Toohill <phillip.toohill@rackspace.com>
Co-Authored-By: Brandon Logan <brandon.logan@rackspace.com>
Change-Id: Ie7842bd347380a7c7ed1c32c9b63ceb0adaaa58f
2015-03-03 22:56:10 +00:00
Phillip Toohill 697bbd69a1 Finish Agent Scheduler and LB Agent Driver Piece
Implements the agent scheduler to choose which agent will host
the loadbalancer.  Only a random scheduling algorithm implemented.

Exposed two API calls that allows an admin user to get a list of
loadbalancers hosted by an agent and get the agent that is hosting
a particular loadbalancer.

Implemented the loadbalancer driver classes and methods for the agent
driver.  These will call the agent scheduler to host the load balancer
and then send the data to a queue.

Depends-On: Ic9179ef0a95b91d1b7662537fffeb0a949efc925
Partially-implements: blueprint lbaas-refactor-haproxy-namespace-driver-to-new-driver-interface
Co-Authored-By: Brandon Logan <brandon.logan@rackspace.com>

Change-Id: Ic4a83ef255aed0474eebb73f28d67e09f35666b7
2015-02-26 22:49:29 -06:00
Doug Wiegley c10dd7ed1b Move config and extensions to service repo
Depends on neutron change I16b5e5b2bb70717166da14faa975fa2ab9129049

Change-Id: I25b38747af1d41834ccb340f069acce0aa5aee8f
Partially-Implements: blueprint services-split
Co-Authored-By: Brandon Logan <brandon.logan@rackspace.com>
2015-01-30 23:01:39 -06:00
Ihar Hrachyshka ed35d86a6e Moved lbaas-haproxy.filters from main neutron repo
This file belongs to lbaas service and hence should be maintained in
neutron-lbaas repository.

Change-Id: Ide7dafafa3e43b3f27ec3d2dfdb3591ae7328f21
2015-01-05 12:20:12 +01:00
Jakub Libosvar 52d54dd7d0 Backward compatibility for lbaas
Lbaas driver class is changed to one from this repo in case it attempts
to be loaded from neutron repo.

This change depends on I76af175c4387326a4e5ff95c2f15d8b866dedab3

Change-Id: If850adb3ec9db0a9ff0d43cd7445264c168d241c
Closes-Bug: 1401895
2014-12-17 17:35:58 +01:00
Doug Wiegley 221f2964b2 Post-split, get jenkins tests passing
Change-Id: Ic6e545008504be633bf399712cd5bbbdf8184ad8
2014-12-08 22:52:02 -07:00
Doug Wiegley 2598677497 Split lbaas services code into neutron-lbaas
Change-Id: I8dfd3b4163b680cfe6ce16792877bb6ad5def5d3
2014-12-08 13:37:18 -07:00
Jenkins d2ae88617f Merge "Remove Python 2.6 classifier" 2014-11-27 03:42:12 +00:00
Julien Danjou 216792cd8f Remove Python 2.6 classifier
Neutron does not support Python 2.6 anymore starting with Kilo and might
not work correctly with it, so remove the classifier.

Change-Id: Ib7cddecdbec2c5152fe526bada6587129cf63ffd
2014-11-25 16:59:34 +01:00
YAMAMOTO Takashi 0fd1767107 Remove ryu plugin
Ryu plugin was marked deprecated in Juno.
This commit actually removes the code for Kilo.

We (Ryu team) recommend users to migrate to ofagent, on which
we aim to concentrate our development resources by this deprecation.

DocImpact
Partial-Bug: #1391714
Change-Id: I4916ce3c246730dc00516404471f8a1a008e27b6
2014-11-25 06:16:14 +00:00
Jenkins 0daf945842 Merge "Add rootwrap filters for ofagent" 2014-11-21 00:13:44 +00:00
YAMAMOTO Takashi 1520991bd6 Add rootwrap filters for ofagent
neutron-ofagent-agent currently relies on the fact the rootwrap
filters for neutron-openvswitch-agent covers what it needs.
as they are independent agents and their requirements are
getting more different, introduce a dedicated rootwrap filters
for ofagent.

Closes-Bug: #1392560
Change-Id: Iba205260a238431432caf8d9697268ceeef85eca
2014-11-14 02:20:59 +00:00
Cedric Brandily 109445ab1d Remove openvswitch core plugin entry point
The openvswitch core plugin has been removed but not its associated
"neutron.core_plugins" entry point. This change removes it from
setup.cfg.

Change-Id: I79f7c334cdeb0f4d0d68743734f69c0ec8523467
Related-Bug: #1323729
Closes-Bug: #1391326
2014-11-10 23:05:04 +01:00
Jenkins a92e0950d5 Merge "Open Kilo development" 2014-10-02 17:19:42 +00: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
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
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
shihanzhang dc44a8f726 Adds ipset support for Security Groups
Iptables chain is linear storage and filtering, when iptables rules are
large, the load of l2 agent is heavy, this patch introduces ipset to
security group for improving the security group performance.

Change-Id: I6ff0ac519d0b9034d3bb5270885ed3cc1805674d
Implements: blueprint add-ipset-to-security
DocImpact
2014-09-12 10:18:51 +08:00
Hareesh Puthalath 2983b1345c Supply missing cisco_cfg_agent.ini file
cisco_cfg_agent.ini file was missed in the initial commit and
caused neutron startup issues. This patch supplies the proper
ini file and adds it back to neutron setup.cfg.
Also the introduced config options are put in a specific group
instead of default as was in the initial commit.

Change-Id: I74b3b77fe6e196524809580f522f91f3b62f5ba7
Closes-bug: #1351466
2014-09-05 16:38:04 +02:00
Jenkins f997436c9e Merge "Revert "Cisco DFA ML2 Mechanism Driver"" 2014-09-04 12:36:29 +00:00
Jenkins f7271a3cde Merge "Big Switch: Separate L3 functions into L3 service" 2014-09-03 16:27:08 +00:00