778 Commits

Author SHA1 Message Date
Jenkins
c676c5f6cf Merge "SR-IOV: Fix macvtap assigned vf check when kernel < 3.13" 2016-01-08 08:03:52 +00:00
Moshe Levi
d760416998 SR-IOV: Fix macvtap assigned vf check when kernel < 3.13
when creating macvtap passthrough to SR-IOV VF in Kernel >= 3.13 an
upper_macvtap symbolic link is created. For Kernel < 3.13 the only
way to know it is by parsing the ip link show output and look for
macvtap[0-9]+@<vf ifname>.

This patch used the ip link show command to detects
macvtap assigned vf so that detection of macvtap assigned vf
will work on all kernels

Closes-Bug: #1523083
Change-Id: Icbc8d6af5c00d1453095e04dd779210dc7244c7f
2016-01-07 09:38:39 +01:00
Jenkins
9c5a25b141 Merge "SR-IOV agent: display loaded extensions" 2016-01-06 20:43:11 +00:00
Jenkins
25a9f6eec3 Merge "Add extension_manager and support for extensions in linuxbridge agent" 2016-01-06 15:12:58 +00:00
Moshe Levi
66a91c6c38 SR-IOV agent: display loaded extensions
The SR-IOV agent support l2 agent extension due to
this patch https://review.openstack.org/#/c/210483/

This patch allow to show the loaded l2 agent extensions
when executing neutron agent-show <SR-IOV agent id>

Closes-Bug: #1527307
DocImpact update the agent configuration to show
          l2 agent extensions
Change-Id: I5dcb79ef539e4f18693e4a8eff03fff40873d3fa
2016-01-06 10:45:09 +02:00
Sławek Kapłoński
23e0e29a2b Add extension_manager and support for extensions in linuxbridge agent
There is extensions mechanism for l2 agents already but it was
implemented only for openvswitch l2 agent. This patch adds support for
such extensions also for linuxbridge agent.

This patch also adds support for network_update events received by the
agent via RPC. It is required because sometimes when a network is
updated (for example with a QoS policy is attached to it) all ports that
belong to the network should also be updated.

Change-Id: Ie81c818d0eb817b044a6df1cbddc5864f118fe3f
Partial-bug: 1468803
2016-01-05 12:38:11 +00:00
Kyle Mestery
0de1d8d4ca dhcp: Default to using local DNS resolution
It's pointless to not include default DNS resolution for Neutron.
This adds a new config option (dnsmasq_local_resolv) which defaults
to 'True' and will allow for DNS name resolution to work out of
the box. The caveat is that if the 'dnsmasq_dns_servers' is set it
will override the 'dnsmasq_local_resolv' setting, thus allowing
operators to explicitly set their own DNS servers.

DocImpact: Default to using local DNS resolution with the DHCP agent.

Change-Id: I17a884f467d307432a06f67a9dd93ed2fa6081a3
Closes-Bug: #1466117
Signed-off-by: Kyle Mestery <mestery@mestery.com>
2015-12-30 12:06:16 -06:00
Hirofumi Ichihara
3f1c75ade7 Add a link of availability zone document into releasenote
Change-Id: I01f1a8f8b13a240aad22267f2042ffc2f00dfea3
Closes-bug: #151998
Depends-On: I9ea73040b4d15f78d529d5652215699841bd3732
2015-12-21 17:17:31 +09:00
Jenkins
7537d3286c Merge "Cleanup all the release notes" 2015-12-20 14:15:56 +00:00
Jenkins
b6cb1f41f0 Merge "Adding a VNIC type for physical functions" 2015-12-18 19:00:07 +00:00
Jenkins
de756ae9f9 Merge "Add to deprecate OFAgent in release note" 2015-12-18 05:21:26 +00:00
fumihiko kakuma
5c09ca7932 Add to deprecate OFAgent in release note
The OFAgent is decomposed completely.
And the OFAgent driver and its agent are depecated in the Mitaka and
will be removed in the next release.

Partial-Bug: #1521477
Change-Id: I8ce5e69d84bad486c95d5e3bd3f44effd29b2a62
2015-12-18 06:39:26 +09:00
Kyle Mestery
ae2e2ac77f Cleanup all the release notes
Fix grammar issues with release notes. Make the wording clearer for
a few of them as well.

Change-Id: If766f222c57f490276de717618ebb7102e7efdcb
Signed-off-by: Kyle Mestery <mestery@mestery.com>
2015-12-15 20:31:22 -05:00
Brent Eagles
2c60278992 Adding a VNIC type for physical functions
This change adds a new VNIC type to distinguish between virtual and
physical functions in SR-IOV.

The new VNIC type 'direct-physical' deviates from the behavior of
'direct' VNICs for virtual functions. While neutron tracks the resource
as a port, it does not currently perform any management functions.
Future changes may extend the segment mapping functionality that is
currently based on agent configuration to include direct types.
However, the direct-physical VNICs will not have functional parity with
the other SR-IOV VNIC types in that quality of service and port security
functionality is not available.

APIImpact
DocImpact: Add description for new 'direct-physical' VNIC type.

Closes-Bug: #1500993

Change-Id: If1ab969c2002c649a3d51635ca2765c262e2d37f
2015-12-14 10:02:40 -03:30
Jenkins
6135f8f837 Merge "Add Guru Meditation Reports support to Neutron services" 2015-12-10 02:59:36 +00:00
Jenkins
ad26d26987 Merge "Add release note covering keystoneauth and v3" 2015-12-09 09:55:28 +00:00
Monty Taylor
c01fe68be5 Add release note covering keystoneauth and v3
The previous two patches added the keystoneauth library and support for
interacting with the rest of the cloud using keystone v3. We should tell
someone about that in our release notes.

Change-Id: I59fcc217c5b8128840add1234aabc2687f3fa6a6
2015-12-08 03:22:46 +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
47dce8f405 Merge "Hyper-V: remove driver from the neutron tree" 2015-12-05 00:37:23 +00:00
Hirofumi Ichihara
ef2a5543cc Add availability_zone support for router
This patch adds the availability_zone support for router.

APIImpact
DocImpact: Make router scheduler availability zone aware. If multiple
availability zones are used, set router_scheduler_driver =
neutron.scheduler.l3_agent_scheduler.AZLeastRoutersScheduler. This scheduler
selects agent depends on LeastRoutersScheduler logic within an availability
zone so that considers the weight of agent.

Change-Id: Id26d9494b9a5b459767e93a850f47a3b014b11bb
Co-Authored-By: IWAMOTO Toshihiro <iwamoto@valinux.co.jp>
Partially-implements: blueprint add-availability-zone
2015-12-04 12:32:42 +09: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
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
Ihar Hrachyshka
a63c413f05 Add Guru Meditation Reports support to Neutron services
This new feature allows services to dump valuable debug info to stderr
on SIGUSR2 signal.

Change-Id: If17b57f687558e23b830eae5ee1f8900356355e4
Implements: blueprint guru-meditation-report
2015-11-26 17:35:07 +01: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
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
Andreas Jaeger
aa016ef2e3 Fix releasenotes/../unreleased.rst
The title is not valid RST, remove the extra "+" and align the headings
with the length of the string.

Change-Id: I32afdcc84e51a53a63a7cacaeba271b2f7811d75
2015-11-16 14:55:46 +01:00
Kyle Mestery
eeb12b940a Add "unreleased" release notes page
We need a release notes page to show notes for unreleased versions by
scanning the "current" branch. This ensures that notes files cannot be
merged if they break the releasenotes job.

Change-Id: Ic0614c37a67ebd28d1da0c0947c69c753833c870
Signed-off-by: Kyle Mestery <mestery@mestery.com>
2015-11-10 16:36:43 +00:00
Kyle Mestery
271d3c1fae Add reno for release notes management
Change-Id: I0c9b6d9a0e77b57e3637260b6e73edfe78afe5ae
Signed-off-by: Kyle Mestery <mestery@mestery.com>
2015-11-04 22:27:56 +00:00