1014 Commits

Author SHA1 Message Date
Jenkins
66eced0014 Merge "Add availability_zone support for network" 2015-11-25 22:17:43 +00:00
venkatamahesh
bf915b001d Change instances of Openstack to OpenStack.
Change Openstack to OpenStack
as per standards

Change-Id: I10f33c1e70fb5f2d74e6feda0a4a266d7071e1ab
2015-11-25 20:47:58 +00:00
Hirofumi Ichihara
6e50027819 Add availability_zone support for network
This patch adds the availability_zone support for network.

APIImpact
DocImpact

Change-Id: I9259d9679c74d3b3658771290e920a7896631e62
Co-Authored-By: IWAMOTO Toshihiro <iwamoto@valinux.co.jp>
Partially-implements: blueprint add-availability-zone
2015-11-25 22:34:09 +09:00
Jenkins
13f59c40df Merge "Freescale ML2 driver code complete decomposition." 2015-11-25 10:00:23 +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
Jenkins
941878240c Merge "Deprecate l3-agent router_id option" 2015-11-24 11:54:32 +00:00
Cedric Brandily
d5ea235865 Deprecate l3-agent router_id option
L3-agent router_id option has been defined in order to associate a
l3-agent to a specific router when use_namespaces=False. The option
use_namespaces has been removed in Mitaka, so router_id option is no
longer needed and can be deprecated in order to prepare its removal in N
cycle.

Closes-Bug: #1518776
Change-Id: Id79499ccbf3ea69ca4cd7e4b2f812f6dbc0406e0
2015-11-23 21:47:21 +01:00
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
Jenkins
b97fbb2aa5 Merge "Add vhost-user support via ovs capabilities/datapath_type" 2015-11-20 22:13:05 +00: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
a93b889ae5 Merge "Remove deprecated use_namespaces option" 2015-11-19 14:45:43 +00:00
Jenkins
364abc81c8 Merge "Add a better description for notification_driver" 2015-11-18 20:28:57 +00:00
Terry Wilson
34d4d46c40 Add vhost-user support via ovs capabilities/datapath_type
Adds the ovs 'config' property which returns the contents of the
single row of the Open_vSwitch table. This gives access to certain
OVS capabilities such as datapath_types and iface_types.

Using this information in concert with the datapath_type config
option, vif details are calculated by the OVS mech driver. If
datapath_type == 'netdev' and OVS on the agent host is capable of
supporting dpdkvhostuser, then it is used.

Authored-By: Terry Wilson <twilson@redhat.com>
Co-Authored-By: Sean Mooney <sean.k.mooney@intel.com>

Closes-Bug: #1506127
Change-Id: I5047f1d1276e2f52ff02a0cba136e222779d059c
2015-11-18 14:04:06 -06:00
Cedric Brandily
23b907bc6e Remove deprecated use_namespaces option
The use_namespaces option has been defined as a workaround to kernels
not properly supporting namespaces. This limitation is behind us, it's
time to remove use_namespaces after its deprecation in Kilo in order to
simplify code and remove a poorly tested case (use_namespaces=False).

This change prepares for removal pullup_route method[1] which was only
used when use_namespaces=False.

[1] neutron.agent.linux.ip_lib

DocImpact
UpgradeImpact
Closes-Bug: #1508188
Related-Bug: #1435382
Depends-On: I303038eec560a6d99421140c2822aed8b518470b
Depends-On: I4feb2a15c7e1e4bfdbed2531b18b8e7d798ab3cc
Change-Id: I2fbf65df1250d9f9f1656b3964ee3b6de1ef1118
2015-11-18 19:17:29 +01:00
Jenkins
0b7d947db2 Merge "Remove SysV init script for neutron-server" 2015-11-18 15:39:24 +00:00
Jenkins
ddd13b25e7 Merge "Revert "Move dhcp_lease_duration into DHCP agent config options list"" 2015-11-17 05:29:34 +00:00
Dongcan Ye
6bcac62fc2 Add a better description for notification_driver
Improve description for the notification_driver
property in neutron.conf, so users will understand
how to configure it correctly.

Change-Id: Ib5d4c4b6eea5cabf58708d8201f9ff9c883b6c97
2015-11-17 13:16:29 +08:00
Kevin Benton
3a57401e86 Revert "Move dhcp_lease_duration into DHCP agent config options list"
This reverts commit 3101e2b62f0741baffc61174637486da17dd29bb.

The lease duration isn't DHCP agent specific. DHCP is a feature that
should be provided by whatever plugin is loaded and operators would
still like to set lease times for DHCP.

In the reference implementation we just consume it directly in the
agent, but that doesn't mean it's specific to the agent implementation.

Change-Id: I5efb6aa5e196d4cac5ff7c0c35be5a350401b925
2015-11-16 10:53:24 +00:00
Dongcan Ye
a95edc8980 Trivial fix in ml2 conf
Fix alignment for ml2_type_gre section in ml2_conf.ini, using
two lines instead of one line.

Change-Id: I567b53e442d6393b9efc9c8b1e2d60786fbe584b
2015-11-15 15:41:13 +00:00
Jenkins
d8c07f1933 Merge "Move dhcp_lease_duration into DHCP agent config options list" 2015-11-13 22:31:42 +00:00
Jenkins
772b3e3df3 Merge "Replace subnetpool config options with admin-only API" 2015-11-13 16:08:38 +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
Ihar Hrachyshka
3101e2b62f Move dhcp_lease_duration into DHCP agent config options list
It is DHCP agent specific, and so it should not be present in
neutron.conf or be reported as a valid option for other services.

Also modified the help message slightly to avoid mentioning dnsmasq
since the option could in theory be used by alternative dhcp drivers.

Change-Id: I66bcea1c3a6ce6fa9ce56ea8137a94858f18dc5a
2015-11-13 12:21:44 +01:00
Ihar Hrachyshka
ce814a1c29 sriov: add extensions option to configuration file
The agent supports l2 agent extension manager, so the option should be
there.

Closes-Bug: #1515274
Change-Id: I4376c7422dba058c11bfaf10046bd97b17592ce3
2015-11-11 15:25:45 +01:00
Jenkins
87ce4868ca Merge "Add new config option for IPv6 Prefix Delegation" 2015-11-11 08:42:32 +00:00
Jenkins
73c804d1c5 Merge "Add track_quota_usage conf into neutron.conf" 2015-11-09 21:42:06 +00:00
John Davidge
6ee91e56c8 Replace subnetpool config options with admin-only API
This patch adds a new boolean 'is_default' property to subnetpools. This
allows the admin to set the default v4/v6 subnetpools via the API rather
than the existing neutron.conf options - which are deprecated by this patch.

Only one subnetpool per IP family can be set to default.

DocImpact
ApiImpact

Co-Authored-By: Carl Baldwin <carl@ecbaldwin.net>

Change-Id: I5daba2347cfb91fac0b155b2c1b459ee7d9e4505
Closes-Bug: 1501328
2015-11-06 17:16:31 +00:00
John Davidge
a3113c56c2 Add new config option for IPv6 Prefix Delegation
With the impending deprecation of the default subnetpool configuration
options, IPv6 PD needs to be enabled with a new config option.

This patch adds the 'ipv6_pd_enabled' option to neutron.conf, and makes
all of the necessary changes for its use.

DocImpact

Change-Id: I43486c5a13ee2ff0097355afe7e1f3ef8794b185
Closes-Bug: 1501835
2015-11-06 16:35:02 +00:00
Martin Hickey
cb712c5a9e Make '*' the default ml2 flat_networks configuration
Update the ml2 flat_networks configuration to set '*' as the
default because that has been effectively the default behavior due
to a bug with the empty list.

Also, fix the empty list configuration for disabling flat networks.

DocImpact
UpgradeImpact

Change-Id: I13eb22afd7c0d011154b58a1bd218fd4fa82a8d9
Closes-bug: #1437745
Co-Authored-By: Martin Hickey <martin.hickey@ie.ibm.com>
2015-11-06 14:16:32 +00:00
Jenkins
1bba4db6f0 Merge "PortOpt cleanups" 2015-11-04 20:00:12 +00:00
Gary Kotton
988048bf8f PortOpt cleanups
Commit 44d73d1ad3073958c8d5cce933deedc7e6ea5f83 added support
for oslo.config 2.6.

Commit 4d2cb851b7b7d6399163ca9f624f656a3e41ac34 added this to Neutron.

The patch adds a few missing items.

Change-Id: Id36515e28458c354ddb6fe3656f182d17df08f8a
2015-11-02 23:48:03 -08:00
Jenkins
6f4ba78a8a Merge "Decompose ML2 mechanism driver for Mellanox" 2015-11-02 09:03:10 +00:00
Jenkins
5fe2ab900f Merge "Remove deprecated nova_* options" 2015-11-01 09:43:32 +00:00
Cedric Brandily
26f008296b Remove deprecated nova_* options
Neutron nova_* options have been deprecated in Kilo in favour of options
in [nova] section.

This change removes these options in order to simplify code, clarify
configuration and avoid a warning in unittests.

DocImpact
UpgradeImpact
Closes-Bug: #1509092
Related-Bug: #1403686
Change-Id: I950f72ad7d7d41cfa006f8c7105934301cd56faa
2015-11-01 00:13:10 +01: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
Jenkins
9f770a4a60 Merge "Remove deprecated namespace deletion options" 2015-10-23 15:45:28 +00:00
Jenkins
6c1afa5d6f Merge "Spawn dedicated rpc workers for state reports queue" 2015-10-22 07:45:04 +00:00
Eugene Nikanorov
678b431ba4 Spawn dedicated rpc workers for state reports queue
By default spawn one additional rpc worker to process
state report queue.
State report queue will also be processed by regular
rpc workers, but in case these workers are busy with
processing heavy requests, state reports queue will
automatically be consumed by dedicated rpc workers.

This change applies to ML2 plugin only.
Other plugins should implement start_rpc_state_reports_listener
to enable additional rpc workers.

Change-Id: I5f8df6a478f7c82382049274b34b07109eeafbdb
Closes-Bug: #1505217
2015-10-21 17:55:25 +04:00
Cedric Brandily
83c9578fcc Remove deprecated sriov agent_required option
The SR-IOV option agent_required has been deprecated in Liberty.

This change removes it and from now agents are mandatory for SR-IOV
mechanism in order to support extended features: QoS, port security.

DocImpact
Closes-Bug: #1508182
Related-Bug: #1488807
Change-Id: I4e6497da6b287531a211084a5208028c84112a83
2015-10-21 13:41:19 +02:00
Cedric Brandily
bd0e8af34c Remove deprecated namespace deletion options
dhcp/router_delete_namespaces[1] options have been defined as a
workaround to an iproute2 limitation[1] corrected 2 years ago.

That's why the change removes these options after their deprecation
in Liberty.

[1] in neutron.agent.dhcp/l3.config

DocImpact
Closes-Bug: #1508189
Related-Bug: #1418079
Change-Id: I2a879213c3b095a007a4531f430a33cea9fdf1bd
2015-10-21 12:53:14 +02: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
Assaf Muller
7acaff0dfb Add ml2 extension drivers examples
DocImpact
Change-Id: Idf8fcbd6f47ab91996d843575b66ad749cb9a3e0
2015-10-13 17:04:26 -04: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
0afd4d6c39 Merge "Removed neutronclient option from metadata agent" 2015-10-09 12:38:00 +00:00
gong yong sheng
eb6a41743c Add track_quota_usage conf into neutron.conf
track_quota_usage is missing in neutron configuration files. This
patch adds it into neutron.conf so that deployers know it.

Closes-bug: #1504370
DocImpact

Change-Id: Ibaff5ac60cd69958eb981d2058d946cc88f799f1
2015-10-09 11:49:26 +08:00
Jenkins
e739ba36ee Merge "Consume sslutils and wsgi modules from oslo.service" 2015-10-08 22:20:42 +00:00
Elena Ezhova
216d2d0b75 Consume sslutils and wsgi modules from oslo.service
sslutils and basic WSGI functionality have been moved to
oslo.service and now Neutron can reuse them.

Marked ssl options that were renamed in oslo.service as
deprecated.

Added a note about possible implications for out-of-tree plugins
to neutron_api.rst

Bumped oslo.service version to 0.9.0.

Related-Bug: #1482633

Depends-On: I0424a6c261fae447dbc25b3abf00258c860a88f5
Change-Id: Ibfdf07e665fcfcd093a0e31274e1a6116706aec2
2015-10-08 17:58:53 +00:00
Ihar Hrachyshka
e5cd4a9f54 Removed neutronclient option from metadata agent
The new RPC interface has proved itself for two cycles, I don't
recollect any serious issues with it, so let's just clean up the
obsolete neutronclient based fallback mechanism.

The metadata agent configuration documentation should be updated
to not require API configuration values for the agent to talk to
neutron-server.

DocImpact
Change-Id: I254c575c66214f50fb93a94c46c4c9caebfc2937
Closes-Bug: #1502947
2015-10-07 18:27:07 +02:00