444 Commits

Author SHA1 Message Date
Jenkins
a4f98acafe Merge "External DNS driver reference implementation" 2016-01-23 05:53:56 +00:00
Henry Gessau
e29975b799 Remove obsolete plugin stuff
Some spring cleaning:
 - Remove obsolete cisco vpn configs
 - Remove obsolete references from UT check script
 - Remove obsolete script for cleaning up plugins
 - Remove obsolete mock of heleosapi module

Change-Id: I0051e0b75b17279ffb61de328d7ccc7a12dc99dc
2016-01-21 23:16:20 +00:00
Miguel Lavalle
93ac8b3a33 External DNS driver reference implementation
An interface with an external DNS service is defined for Neutron. A reference
implementation is also included, based on Designate. The interface and the
driver will enable users to publish in the external DNS service the dns_name
and dns_domain attributes associated with floating ips, ports and networks. As
a consequence, the floating ips and networks api is extended to manage dns_name
and dns_domain attributes. The dns_name attribute was added to ports in a
preceding commit

DocImpact: Introduce config option external_dns_driver to specify a driver
for external dns integration. For more info, see
doc/source/devref/external_dns_integration.rst

APIImpact
Implements: blueprint external-dns-resolution

Change-Id: Ic298ad2558410ab9a614f22e1757d1fc8b22c482
2016-01-21 21:55:08 +00:00
Kevin Benton
6474c6efac Make neutron pecan server an option instead of binary
Launch pecan server instead of home-grown wsgi server using
a new config option. This will make it easier to test out
pecan without invasive changes to devstack.

Related Blueprint: wsgi-pecan-switch
Change-Id: I99261e6bfc9b16c0d601828f97553a9192804216
2016-01-14 18:25:13 -08:00
Ihar Hrachyshka
60a40ffcca Enable Guru Meditation Reports for other refarch agents
OVS agent already supports GMR, but LinuxBridge and SR-IOV agents don't.
To enable them for those agents, we should move their main() entry
points under neutron/cmd/, so that __init__.py code that initializes
them is triggered on their invocation.

Since we put their entrypoints under neutron/cmd/eventlet/, there is now
also no need to explicitly monkey patch stdlib for eventlet in the
agents code (neutron/cmd/eventlet/__init__.py already does it for us).
With that, there is no more code in the tree that directly patches
stdlib except neutron/cmd/eventlet/__init__.py.

Also removed a way to execute agent modules as scripts since it's not a
supported way to invoke them (instead, stevedore generated console
scripts should always be used).

Change-Id: I9b823d07a41b575334e52065eed7e6be2741e79d
Implements: blueprint guru-meditation-report
2015-12-18 22:04:56 +00:00
fumihiko kakuma
ee78b063c7 Decompose OFAgent mechanism driver from neutron tree completely
All 3rd-party code is required to be removed from the neutron tree.
This change removes definition for ofagent mechanism driver from
neutron repository.

Change-Id: Ia21387eeaed71f38822356e22e4adbd237c1e64c
Closes-Bug: #1524164
Depends-On: I04c741daf12e7628e2c1e2d1b81b2b2ce1310542
2015-12-10 22:36:35 +09:00
Jenkins
c51f56f57b Merge "move usage_audit to cmd/eventlet package" 2015-12-08 21:54:13 +00:00
niusmallnan
5b6992db49 move usage_audit to cmd/eventlet package
setup_rpc func need the eventlet monkey_patch,
    otherwise the main process will be blocked.

Change-Id: I9f4a0b7c957b7dc7740e3cf6e75f18778ad562d0
Closes-Bug: #1522681
2015-12-07 07:49:53 +00:00
Matt Riedemann
fe987b5dd5 Set timetable for removal of oslo.messaging.notify.drivers
Icehouse is dead and gone, at least upstream. These special driver
registrations are not tested in the gate-tempest-dsvm-neutron-full job
which means they are also not tested in requirements constraints jobs.

oslo.messaging 2.6.0 broke these already by removing the internal modules,
which was fixed in o.m 3.0.0 with (deprecated) alias modules.

The minimum required version of o.m in mitaka is currently greater than
2.6.1, so we're OK to remove these once stable/mitaka is our oldest
supported branch. So add a TODO to remove these once liberty-eol happens.

Proper configuration for notification drivers happens through the
config file using the oslo_messaging options:

http://docs.openstack.org/developer/oslo.messaging/opts.html

Adds a release note for the deprecation and timetable.

Change-Id: I2c04117b0f531fe3604e74401d0ffd8d8d3dd308
Related-Bug: #1513630
2015-12-05 07:55:37 -08:00
Jenkins
5eb008b2b8 Merge "Final decomposition of the nuage plugin" 2015-12-05 03:19:12 +00:00
Jenkins
0dd4a27c88 Merge "Final decomposition of Brocade vendor code" 2015-12-05 03:15:37 +00:00
Jenkins
47dce8f405 Merge "Hyper-V: remove driver from the neutron tree" 2015-12-05 00:37:23 +00:00
Henry Gessau
24fad53ae5 Final decomposition of the nuage plugin
This removes what's left of the nuage code and artifacts from the
neutron tree. All the vendor code is now in the
nuagenetworks/nuage-openstack-neutron repo on github.

Closes-Bug: #1518643

Change-Id: Ifbb9484f36a3e42c6039c42c7f8d0bcbd482bbf8
2015-12-04 15:08:37 -05:00
Henry Gessau
a050433d0d Final decomposition of Brocade vendor code
This removes what's left of the brocade code and artifacts from the
neutron tree. All the vendor code is now in the
openstack/networking-brocade repo.

Closes-Bug: #1518637

Change-Id: Ia366ec28d0ae9fd7f9fe41c9a82d5d44971d27d8
2015-12-04 14:52:19 -05:00
Victor Laza
60e63862fe Remove Neutron core static example configuration files - addition
Change id Ic7ae2e038b5bd7b215c65c9c565bfe31ef551520 is incomplete,
the files had to be removed from setup.cfg also.
It beaks the HyperV-CI beacause the config files do not exist
anymore.

Closes-Bug: #1522734

Change-Id: Ia6d3f0d789fad30d451a138b4ed0ff162ba0b00e
2015-12-04 11:19:57 +02:00
Gary Kotton
1b22c0e1ea Hyper-V: remove driver from the neutron tree
The hyperv drivers and code should be part of the networking-hyperv
project (https://github.com/openstack/networking-hyperv).

A few changes are necessary in order to prevent Hyper-V deployments from
breaking, especially when upgrading to Mitaka.

Hyper-V deployments are configured to use the in-branch HyperVSecurityGroupsDriver.
Removing it will cause the Hyper-V Neutron Agent to fail. If the agent is
configured to use the old driver, the networking_hyperv's driver must be used
instead and the users must be warned to update their configuration files to
use the networking_hyperv's security groups driver.

Removes the neutron-hyperv-agent entry point from setup.cfg.
Removes the hyperv mechanism_driver from setup.cfg
Moves the in-tree HyperVSecurityGroupsDriver to the networking_hyperv equivalent.
Logs a warning if the in-tree HyperVSecurityGroupsDriver is used.
Removes pywin32 and wmi requirements, as they've been included in networking_hyperv
and they are Hyper-V specific requirements.
Adds release note regarding the deprecated security groups driver.

Co-Authored-By: Claudiu Belu <cbelu@cloudbasesolutions.com>

Depends-On: I3a25f18b4f3a0621cb92b44eb61e434fa87e0aab

Change-Id: I32451cba6933e88306a4308a07f3f0d1b81f626c
Closes-bug: #1520054
2015-12-03 06:11:59 -08:00
Kyle Mestery
3eebf61944 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.

[1] http://lists.openstack.org/pipermail/openstack-dev/2015-November/080692.html

Depends-On: I19e888fc403aa2d95b769ed1730721eba29e68ea
Change-Id: I66d4db96e3a81fb1a2e59c62b38704c3db380e6c
Signed-off-by: Kyle Mestery <mestery@mestery.com>
2015-12-01 10:44:15 -06:00
Martin Hickey
71190773e1 Automatically generate neutron core configuration files
This adds a new tox environment, genconfig, which generates sample
neutron core configuration file using oslo-config-generator.

Updates to some configuration option help messages to reflect useful
details that were missing in the code but were present in config files.

It also adds details to devref on how to update config files.

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

DocImpact

Change-Id: I1c6dc4e7d479f1b7c755597caded24a0f018c712
Closes-bug: #1199963
Co-Authored-By: Louis Taylor <louis@kragniz.eu>
2015-11-27 15:22:59 +00:00
TrinathSomanchi
9f58496795 Freescale ML2 driver code complete decomposition.
This removes all the artifacts specific to Freescale ML2 driver code
from the Neutron tree. The code is maintained at github repository.

Change-Id: I194a4da49058724766b7fde7343f85d19a75fe8c
Closes-Bug: #1519078
2015-11-25 13:30:31 +05:30
Kanzhe Jiang
862de0d21f Remove BigSwitch plugin and driver
The BigSwitch Vendor plugin and driver are in
openstack/networking-bigswitch repo and will be moved to
Openstack bigtent. This patch removes the duplicated code and
corresponding entry points. It also moves the bigswitch specific
db tables to openstack/networking-bigswitch.
Closes-Bug: #1508781

Change-Id: I180d93f3e7da347c9b042fcc3f79f19e9a471f52
2015-11-21 16:13:44 -08:00
James Arendt
6bc53cc7f8 Fix Neutron flavor framework
Make flavor service profile store actual driver instead of
hardcoded dummy driver.  Ensure service type on flavor persisted.

Raise ServiceProfileDriverNotFound if non-empty driver is not part
of ServiceTypeManager providers.

Raise ServiceProfileEmpty if profile has neither a driver nor
any metainfo.

Raise InvalidFlavorServiceType if invalid service type passed.

Show flavors associated with a profile, not just profiles associated
with a flavor, to ease diagnosis when ServiceProfileInUse raised.

Create method to extract provider given a flavor for use with
neutron-lbaas plus tests.

Ensure various boolean forms accepted for enabled flag.

To enable in DevStack, add to local.conf:
enable_plugin neutron https://git.openstack.org/openstack/neutron
enable_service q-flavors

Add associated unit tests. Fix tempest api test that used invalid
LOADBALANCERS service type.

Change-Id: I5c22ab655a8e2a2e586c10eae9de9b72db49755f
Implements: blueprint neutron-flavor-framework
2015-11-19 11:27:05 -08:00
Jenkins
0b7d947db2 Merge "Remove SysV init script for neutron-server" 2015-11-18 15:39:24 +00:00
Jenkins
aa183ba070 Merge "Fix notification driver package" 2015-11-17 00:36:52 +00:00
Jenkins
fdee984b07 Merge "Remove MidonetInterfaceDriver" 2015-11-16 08:48:12 +00:00
Ihar Hrachyshka
1475689dd3 Remove SysV init script for neutron-server
The script has some issues, f.e. it does not read any plugin
configuration file.

I don't believe anyone relies on it these days. The only distro I could
think of that could use it is Debian, but they have their own version of
the script maintained independently.

So it seems easier to remove it not to mislead users.

Change-Id: Ice622402a6261cfed8a8b042d732f39e25aff77c
2015-11-13 12:53:59 +00:00
Henry Gessau
a29fe4a30a Final decomposition of opendaylight driver
It's all in networking-odl now.

Closes-Bug: #1514823

Depends-On: Ibc6fa46b9bae73c045bec71894ebe3cad570edcc

Change-Id: I76ae1a5078e4a47ee901150d4832f06c1d1ab093
2015-11-10 08:34:42 -05:00
YAMAMOTO Takashi
6fcc62b71b Remove MidonetInterfaceDriver
Now it lives in networking-midonet repository.

Closes-Bug: #1510826
Depends-On: I0a4d19ddeddfde2319dcbe24665a24d371625b10
Related-blueprint: core-vendor-decomposition
Change-Id: Ifd18ee1703541d04f1a4717a8b0b8e6dc61a2f4e
2015-11-10 16:09:52 +09:00
Davanum Srinivas
225663888e Fix notification driver package
In oslo.messaging change:
Ifb96c2ae9868426cac2700bf4917c27c02c90b15

the private package for the messaging driver was changed
to a public package. So we should fix our reference here
in our setup.cfg

Closes-Bug: #1513630

Change-Id: I6b066f4f1b6c6485cb67ca5f8a2a17359521c264
2015-11-07 14:14:08 -05:00
Jenkins
6f4ba78a8a Merge "Decompose ML2 mechanism driver for Mellanox" 2015-11-02 09:03:10 +00:00
Cedric Brandily
82a2d72cbe Decompose ML2 mechanism driver for Mellanox
This change removes Mellanox ML2 mechanism driver after its definition in
networking-mlnx.

DocImpact
Closes-Bug: #1511234
Change-Id: Ie48ac22d8e7477c22ad1d48aa0c44153a01eb242
2015-10-30 06:37:45 +00:00
Cedric Brandily
d5faf0eb76 Decompose ML2 mechanism driver for OVSvApp
This change removes OVSvApp ML2 mechanism driver after its definition in
networking-vsphere.

DocImpact
Closes-Bug: #1511198
Depends-On: Ib7b2852f3d4dc35a837a425366c5bf0135725a74
Change-Id: I5e310f0596f3ea206800ac9d4daca1c292a234f1
2015-10-29 22:52:41 +09:00
armando-migliaccio
df5aca2b91 Remove IBM SDN-VE left-overs
The project has been removed in I8def7fc2e92f967785b9ab05f8496de641e8f866
and it's been retired from stackforge [1]. So it's safe to remove it from
the list with the remaining bits.

[1] f66ddfa0a1

Change-Id: Ic1bb021d91bbaaa01d0ac305c8060b3af9e2389b
2015-10-20 14:49:11 -04:00
Martin Hickey
c5db6050e5 Add stevedore aliases for interface_driver configuration
Changed the interface_driver configure for agents from class
imports to stevedor aliases. The loading method needed to be
updated to load as a DriverManager. Backward compatability
for configuration as class import.

DocImpact

Change-Id: Ic349691989484286cd7c60eaf3ad1454c5852d1f
Closes-Bug: #1504536
2015-10-19 22:10:53 +01:00
Jenkins
b88cd283a1 Merge "Remove the embrane plugin" 2015-10-16 22:06:28 +00:00
Jenkins
2efe5956e3 Merge "Python 3: add classifiers" 2015-10-15 23:16:34 +00:00
Henry Gessau
44950383ac Remove the embrane plugin
The embrane plugin is EOL.
Users have been transitioned to other solutions.

Closes-Bug: #1504670

Depends-On: Ic13a101f04086af84251c98d775d75334504007d

Change-Id: Ibc336db310d051cae65291724ea5becadc3d3d45
2015-10-10 00:15:54 -04:00
Jenkins
371c37f2f6 Merge "Remove OneConvergence plugin from the source tree" 2015-10-07 01:39:08 +00:00
Cyril Roelandt
e2d0f390d7 Python 3: add classifiers
Change-Id: Ia420064d849d4ac389776a461d35e6625dbfa753
Blueprint: neutron-python3
2015-10-06 17:10:41 +02:00
Jenkins
2842ee8474 Merge "Add neutron-linuxbridge-cleanup util" 2015-10-06 11:27:27 +00:00
armando-migliaccio
42b78de3ed Remove OneConvergence plugin from the source tree
This plugin didn't decompose in the last two cycles, I failed
to spot a functional CI, and there hasn't been any meaningful
activity done in the subtree for the past couple of cycles

I think it is time to implement the eviction.

Related-blueprint: core-vendor-decomposition

Change-Id: I949a51873ee5af654b577952d423dd29a6ced8e7
2015-10-05 16:49:22 -07:00
Jenkins
51b8b19ef2 Merge "Decomposition phase2 for MidoNet plugin" 2015-10-03 00:55:14 +00:00
YAMAMOTO Takashi
a3cb179ffa Decomposition phase2 for MidoNet plugin
Remove the rest of MidoNet plugin from Neutron tree.

Closes-Bug: #1490852

Change-Id: I260ec3e19c74928390c8e5e4e32629357c184361
2015-10-02 19:26:37 +00:00
Mathieu Gagné
27f60c314b Add neutron-linuxbridge-cleanup util
Removal of empty bridges have been disabled [1] to fix a race condition
between Nova and Neutron where a bridge would be removed if
the only instance using it is rebooted. This means empty bridges
will pile up over time.

This script can be used to periodically remove empty bridges by running it
on compute nodes.

Note: Usage of this script can still trigger the original race condition.
It should be used when you don't expect anyone do be doing operations
on their instances.

[1] Commit 8dd8a7d93564168b98fa2350eedf56acede42b0f

DocImpact: Add neutron-linuxbridge-cleanup util
Related-bug: #1328546
Closes-bug: #1497027
Co-Authored-By: Cedric Brandily <zzelle@gmail.com>
Change-Id: Ieb2796381579ad295abf361ce483d979a53d2bd6
2015-10-01 21:54:34 +02:00
armando-migliaccio
b8a3eec02e Remove OpenContrail plugin from the source tree
This plugin didn't decompose in the last two cycles, the CI has
stopped working for a while and it seems there is no pulse since
March 2015.

I think it is time to implement the eviction.

Change-Id: Ib2cb1e3f05330c7808177b0312506d0e56254aa8
Related-blueprint: core-vendor-decomposition
2015-09-30 18:17:57 -07:00
Thierry Carrez
09ed190de5 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: Ib34bb19a8d1bee1988cedf91ea6e08d386a94ca8
2015-09-23 17:49:39 +02:00
Jenkins
50dac76b06 Merge "Introduce a separate RPC server" into feature/pecan 2015-09-18 16:58:54 +00:00
Salvatore Orlando
fb69960f1e Introduce a separate RPC server
As the Pecan server only server REST requests over HTTP, this
patch introduces a new server implementing the RPC over AMQP
endpoints for agent/server communication.

However, the REST server does not yet have the ability to send
notifications to the RPC server or directly to the agents.
This patch simply adapts the ML2 plugin to run the RPC notifiers
only when initialized in the pecan server, so that notification
to agents can still be sent.

This patch therefore is tantamount to a poor man's
implementation of REST/RPC separation which will be iteratively
improved.

Change-Id: Ie471869d9b2793acdc412f13507038433f6a72c6
2015-09-17 05:18:32 -07:00
Kevin Benton
40151be9b3 Revert "Revert "Pecan WSGI: prevent plugins from opening AMQP connections""
This reverts commit 4f1fb05959b211c0edc52021af8774a163aa518c.
Merge of master went in so this can be re-applied and have the
conflict resovled.

Conflicts:
	neutron/server/__init__.py

Change-Id: I917e89b2191b3d4646e66a7a313783a56cf0ace5
2015-09-16 03:33:47 -07:00
Ihar Hrachyshka
6ee4343c4c Install sriov-agent.ini on 'setup.py install'
The previous change [1] that split the configuration file into two pieces
missed the update of setup.cfg, so the file was not installed.

[1]: Ie1eda925e051f85d53ad9624d6617d095cf8c7be

Change-Id: Idcdc71b5614463fc0d81a8bc2d2833159be9e6c9
Related-Bug: #1489060
2015-09-11 16:34:22 +02:00
Jenkins
49fbdfaecc Merge "Final decomposition of Cisco plugin" 2015-09-06 20:02:34 +00:00