16542 Commits

Author SHA1 Message Date
Edan David
e8fd2505e2 SR-IOV: Remove deprecated supported_pci_vendor_devs option
The SR-IOV option supported_pci_vendor_devs has been deprecated in Newton
and This change removes it from Ocata.

Change-Id: I42dadfd0b62730ca2d34d37cb63f19f6fec75567
2016-10-31 18:33:26 +02:00
Jenkins
3c7c8ee67a Merge "Pecan: add http_proxy_to_wsgi middleware" 2016-10-30 11:56:44 +00:00
Jenkins
978caadf3b Merge "Fix specs broken link" 2016-10-28 21:50:41 +00:00
Armando Migliaccio
2475265f75 Fix specs broken link
Change-Id: Idcfd0db55037c4e3fb45cb08edc555b22d2ae6ea
2016-10-28 14:39:49 -07:00
Jenkins
736a73d616 Merge "Make README less verbose and to the point" 2016-10-28 20:17:34 +00:00
Jenkins
a084dba91b Merge "Refactor/prepare db common utils for neutron-lib" 2016-10-28 20:17:17 +00:00
Armando Migliaccio
6980962087 Make README less verbose and to the point
Change-Id: I60d2b66257aac885b5b23378ce54b7e57d433208
2016-10-28 12:20:13 -07:00
Jenkins
14bfc67ac6 Merge "Make crystal clear how to contribute/approach the neutron community" 2016-10-28 19:04:18 +00:00
Armando Migliaccio
aa54d12b75 Make crystal clear how to contribute/approach the neutron community
It cannot get any clearer than this.

Change-Id: I11cb2391c445b584c8b1426243f68e310187d906
2016-10-28 11:49:44 -07:00
Henry Gessau
8f80a52b01 Refactor/prepare db common utils for neutron-lib
Extract all the common utils from common_db_mixin.py in preparation
for moving them to neutron-lib.

This is a preliminary step in preparation for refactoring the
CommonDbMixin class and moving it to neutron-lib also.

Partial Blueprint: neutron-lib

Change-Id: I3cba375a8162cb68e8f988f22f5c8b1ce7915180
2016-10-28 10:53:11 -04:00
Jenkins
c2e40cb069 Merge "Updated from global requirements" 2016-10-28 00:37:19 +00:00
Jenkins
bf81b49a37 Merge "Rename ipv6_utils.is_enabled()" 2016-10-27 23:14:55 +00:00
OpenStack Proposal Bot
41350404cf Updated from global requirements
Change-Id: I0cb47945aae95008e9a984d4fac243bfe3609682
2016-10-27 12:17:11 +00:00
Jenkins
5f1994dd79 Merge "Removed unnecessary file(openstack/common) in run_stack.sh" 2016-10-26 19:21:30 +00:00
Jenkins
2f46245d00 Merge "Validate type of allowed_address_pairs" 2016-10-26 13:13:07 +00:00
Jenkins
1683803658 Merge "OVO for Router Extra Attributes" 2016-10-26 11:38:19 +00:00
Jenkins
0fc308bac1 Merge "OVO for SegmentHostMapping" 2016-10-26 11:38:07 +00:00
Jenkins
00197acd99 Merge "Increase subnet count for rally test" 2016-10-26 11:37:52 +00:00
Jenkins
a6b18b2912 Merge "Correcting a spelling in README" 2016-10-26 10:25:29 +00:00
Jenkins
22bb0b9b36 Merge "Removes remaining Hyper-V plugin" 2016-10-26 10:18:04 +00:00
Dustin Lundquist
4f0caa0ece Rename ipv6_utils.is_enabled()
IPv6 utils is_enabled() doesn't actually determine if IPv6 is enabled on
the host. It checks if /proc/sys/net/ipv6/conf/default/disable_ipv6 is
present and is set to 0. This kernel configuration option controls if
the kernel will automatically assign IPv6 link-local addresses to newly
created network interfaces when their link state changes to up. The
existence of this /proc files does indicate that the Linux kernel has
the ipv6 module loaded or ipv6 was compiled in. Having this /proc file
set to zero does not indicate IPv6 is not available on the system, just
that newly created interfaces will inherit this configuration and will
not have IPv6 addresses bound to them unless the administrator changes
the interfaces specific /proc/sys/net/ipv6/conf/$IFACE/disable_ipv6
configuration.

This check was added to Neutron so it could operate with distributions
which didn't load the ipv6 kernel module, preventing errors when
attempting to make IPv6 specific configurations in the iptables firewall
driver and the L3 agent. Removing it would break existing deployments.

Renaming this function to provide clarity for complex conditions tested
by this function. In fact it is a good security practice to set this
default disable_ipv6 option to 1, and explicitly enable IPv6 by setting
disable_ipv6=0 on individual interfaces which the administrator intends
to bind IPv6 addresses on. This establishes parity with IPv4 behavior
where interfaces are not active in an address family until the
administrator explicitly configures them to be active in that address
family. This practice does not currently work as expected with the
Neutron, since setting /proc/sys/net/ipv6/conf/default/disable_ipv6 to 1
unexpectedly disables creating IPv6 security group rules leaving
instances completely exposed via IPv6 regardless of security group
rules.

Change-Id: I844b992240a5db642766ec9c04e3b5fcab8e2e23
2016-10-26 02:11:57 -07:00
Jenkins
42485c7b65 Merge "Support new osprofiler API" 2016-10-25 14:45:43 +00:00
Jenkins
4f5537f6e7 Merge "Removes the superfluous 'that'" 2016-10-25 11:18:02 +00:00
Jenkins
ec740b5ef0 Merge "Pecan: Bulk create with one item returns plural" 2016-10-25 10:55:11 +00:00
Prince Nana
c1540459b4 Correcting a spelling in README
Change-Id: I08b770559ae69060ea4ec5aabce8d2d6d36c83cc
2016-10-24 17:19:49 +00:00
Jenkins
321d40cc59 Merge "Pecan: rework notifier hook for registry callbacks" 2016-10-24 09:57:02 +00:00
Jenkins
2b9d9e3b9e Merge "Refactoring config options for cache_utils opts" 2016-10-22 17:05:51 +00:00
Jenkins
627868914d Merge "Replace retrying with tenacity" 2016-10-22 15:42:44 +00:00
Jenkins
0c5d6295ad Merge "Remove recursion from import_modules_recursively" 2016-10-22 13:38:27 +00:00
Anindita Das
d34bbf57cf Refactoring config options for cache_utils opts
Refactoring neutron cache_utils config opts to be in neutron/conf so that all
the configuration options for cache_utils reside in a centralized location.
This simplifies the process of looking up the cache_utils config opts and
provides an easy way to import.

Change-Id: I722a2fa7d72c62e6d878d0137f899d09a9ad64ae
Partial-Bug: #1563069
2016-10-22 06:28:59 +00:00
OpenStack Proposal Bot
a44543ff68 Updated from global requirements
Change-Id: Ib28315e083cb7c96f78c4423246b59dae4b3d456
2016-10-22 01:22:09 +00:00
Jenkins
57364544aa Merge "objects: Remove tenant_id from to_dict() when project_id is not set." 2016-10-21 16:54:16 +00:00
Aradhana Singh
a233ac5fb9 OVO for SegmentHostMapping
This patch introduces and integrates OVO for SegmentHostMapping.

Change-Id: I99598cf6fa4aefe7d3faee5cb0867d8ea1fff5c2
Partially-Implements: blueprint adopt-oslo-versioned-objects-for-db
2016-10-21 15:05:47 +00:00
Jenkins
378d4625cd Merge "objects: add validate_filters option for count() method." 2016-10-21 14:30:07 +00:00
Jenkins
7409d96d0d Merge "objects: Removed project_id/tenant_id field translation" 2016-10-21 14:29:41 +00:00
Jenkins
e2b79d923b Merge "Add functional tests for OVSDB Connection" 2016-10-21 13:29:54 +00:00
Jenkins
e4e56faaa3 Merge "Updated from global requirements" 2016-10-21 07:07:25 +00:00
Jenkins
81f1650bb7 Merge "Cleanup of SecurityGroup classes" 2016-10-21 04:18:22 +00:00
OpenStack Proposal Bot
32e1ee24a0 Updated from global requirements
Change-Id: I430728b65537336cb7969f9864ca6b187d3ffafd
2016-10-21 02:55:17 +00:00
Jenkins
a6c5737eb7 Merge "iptables: fail to start ovs/linuxbridge agents on missing sysctl knobs" 2016-10-21 02:14:02 +00:00
Brandon Logan
64252405c4 Pecan: Bulk create with one item returns plural
If a bulk create happened with a single item, the pecan code would
return back to the user the singular version of the resource in the
body.  For example, to bulk create many security group rules, the user
would give in the body of the request the json with a parent key of
"security-group-rules" with a value of a list of json security group
rules.  If this list is of length one, then after the creation of the
one security group rule, the API would return back to the client
"security-group-rule" as the parent key.  This is not how the legacy
wsgi layer behaved.  The behavior is expected when nova creates security
group rules by calling the neutron API through its deprecated security
groups API.

Change-Id: I8757630403e4d486cd3c8dd6f041e9ee326ba3b4
Closes-Bug: #1633671
2016-10-20 19:03:08 -05:00
Jenkins
6bc2a51562 Merge "Fixed functional iptables firewall tests for newer kernels" 2016-10-20 21:21:33 +00:00
Boden R
e8bd6424e9 Replace retrying with tenacity
We are replacing all usages of the 'retrying' package with
'tenacity' as the author of retrying is not actively maintaining
the project. Tenacity is a fork of retrying, but has improved the
interface and extensibility (see [1] for more details). Our end
goal here is removing the retrying package from our requirements.

Tenacity provides the same functionality as retrying, but has the
following major differences to account for:
- Tenacity uses seconds rather than ms as retrying did.
- Tenacity has different kwargs for the decorator and
Retrying class itself.
- Tenacity has a different approach for retrying args by
using classes for its stop/wait/retry kwargs.
- By default tenacity raises a RetryError if a retried callable
times out; retrying raises the last exception from the callable.
Tenacity provides backwards compatibility here by offering
the 'reraise' kwarg.
- Tenacity defines 'time.sleep' as a default value for a kwarg.
That said consumers who need to mock patch time.sleep
need to account for this via mocking of time.sleep before
tenacity is imported.
- For retries that check a result, tenacity will raise if the retried
function raises, whereas retrying retried on all exceptions.

This patch updates all usages of retrying with tenacity.
Unit tests will be included where applicable.

Note: This change is not newton critical so projects are welcome
to hold off on committing until post-newton. Ideally this change
will merge by the first part of Ocata so dependant functionality
can land and have time to solidify for Ocata.

[1] https://github.com/jd/tenacity

Closes-Bug: #1635395

Change-Id: I1c0620894d07d58efbba5226b5244fec950354ca
2016-10-20 13:43:40 -06:00
Jenkins
d2b017da9b Merge "ovsfw: Add a dl_type match for action=ct flows" 2016-10-20 14:21:04 +00:00
Cady_Chen
b806d2cd37 Removes the superfluous 'that'
This patch removes the superfluous 'that'.

Change-Id: I18107d53b3d32dbfc291ae5c185e7bb8d8ab8368
2016-10-20 20:27:06 +08:00
Omer Anson
f7a2d4eb44 Add functional tests for OVSDB Connection
Add functional tests for the class:
neutron.agent.ovsdb.native.connection.Connection

Change-Id: I92ab574f04efb5e09802fc1d97c2a5715b4ae48d
Related-Bug: 1612403
Co-Authored-By: Terry Wilson <twilson@redhat.com>
2016-10-20 11:14:15 +00:00
pawnesh.kumar
9a6e3f9dc5 Removed unnecessary file(openstack/common) in run_stack.sh
Change-Id: I67899d6e4ec1f21b8a330ceb857f384c181c0587
2016-10-20 16:33:23 +05:30
Jenkins
cbb7dc0fb2 Merge "Generate OVSDB schema helper in a separate method" 2016-10-20 11:01:54 +00:00
Jenkins
9a0d2c46df Merge "Use BaseDbObjectTestCase in AddressScope UT" 2016-10-19 22:05:46 +00:00
Jenkins
196158253a Merge "Devref: fix repeated 'testing documentation' text" 2016-10-19 17:00:37 +00:00