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
The last element in the alias definition should be split with : not .
More info: in stevedore docs.
Change-Id: I5fb491304bd4808f63480efe1d8f4fd5248c3771
Closes-Bug: #1630693
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
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
This will enable the python3 binaries of neutron-lbaas to be run in
devstack and thus run functional tests over.
Change-Id: I25c46f2211af8075974a93acdf587cd059673bbb
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
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
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
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
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
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>
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>
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
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
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
Bump pre-version in setup.cfg to formally open Liberty development.
Kilo release branch will be cut from the previous commit.
Change-Id: Ieb6be018d90202aa3f2cde9e60f78a3872ea94cf
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
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
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
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
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
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
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
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
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
In setup.cfg entrypoint of OneConvergencePlugin is set incorrectly.
Used '.' instead of ':'.
Closes-bug: #1372810
Change-Id: Ic1e154cfcf8b13f021b0635238e07a0459a25a9e
- 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
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
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