18648 Commits

Author SHA1 Message Date
Jenkins
ef1e24e05d Merge "tempest: Make _create_router_with_client obey enable_snat=False" 2017-06-20 16:18:01 +00:00
Jenkins
9f3a4c9de2 Merge "Clean up test cases in test_iptables_firewall.py" 2017-06-20 14:52:41 +00:00
Jenkins
92f9c21d03 Merge "Fix linuxbridge ebtables locking" 2017-06-20 12:23:35 +00:00
Jenkins
8c8ae29082 Merge "DHCP Agent: Separate local from non-local subnets" 2017-06-20 06:52:27 +00:00
Jenkins
97b97739fe Merge "DHCP RPC: Separate local from non-local subnets" 2017-06-20 06:37:12 +00:00
Cao Xuan Hoang
ee20757720 Clean up test cases in test_iptables_firewall.py
The protocol arg is called but never used.

Change-Id: Idff3ff67ed21c9bf36b0b01b098ad4411e12fdd7
2017-06-20 11:53:07 +07:00
YAMAMOTO Takashi
bd998d111e tempest: Make _create_router_with_client obey enable_snat=False
Found while working on I4452d61ee6e9d21add3d37ec39301efcbd3bd66d

Closes-Bug: #1699006
Change-Id: Ideb3e57b068dce150e333fde66f7ad488c2b515d
2017-06-20 12:50:27 +09:00
Jenkins
c4fd0317a3 Merge "Linuxbridge agent: detect existing IP on bridge" 2017-06-19 21:54:56 +00:00
Jenkins
6af12de193 Merge "Store segmentation_id during segment create" 2017-06-19 21:53:32 +00:00
Jenkins
e54b2e4a3e Merge "Stop binding attempts when network has no segments" 2017-06-19 21:42:57 +00:00
Harald Jensas
d2b82168cd DHCP Agent: Separate local from non-local subnets
In order to allow the DHCP agent to service other subnets on the
network in other segments via DHCP relay, we need to use the
'non_local_subnets' network attribute returned by rpc to set up dhcp
for off-link subnets.

Change-Id: I88e1c574bc429dc599ad7c956c03fa0688338186
Closes-Bug: 1692486
2017-06-19 16:11:48 +00:00
Kevin Benton
4dc81f0a53 DHCP RPC: Separate local from non-local subnets
In order to allow the DHCP agent to service other subnets
on the network in other segments via DHCP relay, we need to
return all subnets regardless of segment association.

However, this behavior will break older DHCP agents that
then try to get IPs on the subnets belonging to other segments.
This patch adds a new subnet attribute, 'non_local_subnets'
that will be returned in the DHCP RPC calls, so that agents
that can deal with off-link subnets can handle them
accordingly.

Change-Id: I9cce7b8a19c1201435df0c6baac7be57c57847e6
Partial-Bug: #1692486
2017-06-19 12:06:58 -04:00
Jenkins
c9a9b5d41a Merge "Fixes import_modules_recursively for Windows" 2017-06-19 13:56:28 +00:00
Jenkins
7cb56a1628 Merge "Pass the complete info in sg/rules db into PRECOMMIT_XXX callback" 2017-06-19 08:24:09 +00:00
Miguel Lavalle
323c29fd05 Store segmentation_id during segment create
The segmentation_id of a new segment is assigned by the
_handle_segment_change callback in the ML2 plugin, which is executed
after the segment was created, before commiting it to the DB. This
patchset adds code to update the newly created segment with the
segmentation_id assigned by the callback.

Change-Id: I493278a0bf5a3a0aadad10e5bee546d83b949fdc
Closes-Bug: #1698596
2017-06-18 17:47:00 -05:00
Jenkins
ab0dba40d1 Merge "docs: Fix indent level" 2017-06-17 10:11:01 +00:00
Jenkins
baa4ac9151 Merge "docs: reorganize developer reference for new theme" 2017-06-17 10:10:45 +00:00
Jenkins
f89a2467d8 Merge "docs: switch to openstackdocstheme" 2017-06-17 10:10:30 +00:00
Jenkins
2cdb1fc1fd Merge "Add a missing _LW()" 2017-06-17 09:22:53 +00:00
Jenkins
37e9999c8f Merge "Remove unreachable code in OVS mech driver" 2017-06-17 09:17:50 +00:00
Jenkins
1f27539c04 Merge "Add "default" behaviour to QoS policies documentation" 2017-06-17 08:03:53 +00:00
Kevin Benton
781b8f4149 Stop binding attempts when network has no segments
There is no point in retrying binding if the network has no
segments to bind to. This occurs during normal operations when
a network is being quickly created/deleted and the DHCP port
gets created during the network deletion.

By skipping binding we avoid misleading error messages and
wasted CPU cycles.

Closes-Bug: #1696010
Change-Id: I0b987ab7c3f65c1d860064a1b437b92a1dc1cb81
2017-06-17 00:15:22 -07:00
Reedip
89abce3efe Pass the complete info in sg/rules db into PRECOMMIT_XXX callback
PRECOMMIT_XXX events callback need completed sg info, like the sg id
and its related rules for registered driver.

Change-Id: I6f49f25eb2ad16221357024f45a6bb6175d5cd55
Co-Authored-By: Rui Wang <starwangrui@gmail.com>
Co-Authored-By: Manjeet Singh Bhatia <manjeet.s.bhatia@intel.com>
Co-Authored-By: Yalei Wang <yalei.wang@intel.com>
Closes-bug: #1546910
2017-06-16 16:32:46 -07:00
Jenkins
607c1810db Merge "Don't log ipam driver on every IP allocation" 2017-06-16 23:04:17 +00:00
Jenkins
0cdddcd7b6 Merge "OVO: ensure decomposed plugin do not break with OVO" 2017-06-16 22:33:01 +00:00
Jenkins
da0c0be9d9 Merge "use neutron-lib's callback fixture" 2017-06-16 20:34:38 +00:00
Boden R
98b9177c3e OVO: ensure decomposed plugin do not break with OVO
Commit af52d499a53f9dddacd8c9116d1bb0570e8f579c broke decomposed
plugins.

This was for a number of reasons:
1. _make_security_group_dict should always get the object as
   as parameter. There were some cases where it received the
   database object
2. The returned port security groups needed to be a list
3. A rule create needed to fetch from the DB

In addition to this the methods resource_extend.apply_funcs
should receive the database object.

Change-Id: I740da1ea65a0af9451701e3a40fd673fa82f0f5b
2017-06-16 13:42:34 -06:00
Jenkins
5a1de1be7d Merge "replace WorkerSupportServiceMixin with neutron-lib's WorkerBase" 2017-06-16 15:36:08 +00:00
Jenkins
243c742f4e Merge "Split allowed ICMPv6 types into two constants" 2017-06-16 06:14:01 +00:00
Jenkins
8829d90204 Merge "python3: Do not pass MagicMock as ConfigOpts" 2017-06-16 05:29:14 +00:00
Jenkins
e17e58ee5a Merge "Updated from global requirements" 2017-06-16 05:13:25 +00:00
Jenkins
211fb55fab Merge "net_helpers: Set process streams to text mode" 2017-06-16 04:33:10 +00:00
Jenkins
40d2df0094 Merge "Removed Mitaka times compatibility code from RPC callbacks" 2017-06-16 04:14:15 +00:00
wlfightup
ba5e846859 Linuxbridge agent: detect existing IP on bridge
If bridge IP address already exists, when we try and add
it an error will be raised.  Check for the existence of
the IP to avoid the error.

Closes-Bug: #1697926
Change-Id: I9aae3b4f0fab053e8c215887f58b983d9549582d
2017-06-15 22:01:51 -04:00
Jenkins
934641e59e Merge "Lazy load of resources in resource cache" 2017-06-16 00:15:54 +00:00
Jenkins
6509f92e4f Merge "functional: Add support for python35 flavor" 2017-06-15 23:33:35 +00:00
Jenkins
fa5babc9a5 Merge "python3: use a list of IPDevice objects in tests" 2017-06-15 23:33:15 +00:00
Akihiro Motoki
eee9d2ca80 docs: Fix indent level
Leading spaces before item lists leads to vertical line
on the left side. They are completely unnecessary.

Change-Id: I08c3f077e470aa593076a525de1445bc5d0bdb9a
2017-06-16 08:21:56 +09:00
Akihiro Motoki
a23cd43abe docs: reorganize developer reference for new theme
openstackdocstheme generates the toc tree in the left sidebar
based on the page hierarchy from the top page.
The previous developer guide hirarchy is a bit deep, and
this commit reorganizes the devref pages for better navigation
with openstackdocstheme.

Change-Id: I1412b047efc1c268b34ef97e78073da7bcbb6d7e
2017-06-16 08:21:56 +09:00
Akihiro Motoki
2a1b0b0523 docs: switch to openstackdocstheme
The docs reorganization proposed in the docs-specs [1],
we will migrate our sphinx theme to openstackdocsthems.
This commit switches our docs theme to it,

Also ajust title levels. openstackdocstheme assume one title (first
level) per page.  Second or later first-level titles are not shown.
This changes title levels to match openstackdocsthem requirements.

Note that oslosphinx is used by releasenotes build,
so it is not dropped from test-requirements.txt.

[1] https://review.openstack.org/#/c/472275/

Change-Id: I72d55c26401ae9bfd06626d1b1584a368bbd9f86
2017-06-16 08:20:54 +09:00
Jenkins
674b354e61 Merge "Remove unnecessary debug statement from OVO push" 2017-06-15 22:45:49 +00:00
OpenStack Proposal Bot
8cc9348181 Updated from global requirements
Change-Id: I047caa0164ea3aeff08bb442329b97889ccd92e8
2017-06-15 22:45:38 +00:00
Jenkins
c3803b1701 Merge "Decompose SG RPC API DB methods" 2017-06-15 22:37:55 +00:00
Jenkins
ebf0e5dafd Merge "Move info retrieval methods below notifier" 2017-06-15 22:36:46 +00:00
Jenkins
dfeab00048 Merge "Move db methods to bottom of SG RPC class" 2017-06-15 22:36:31 +00:00
Jenkins
cd5c480fc4 Merge "Move retry decorator to DB methods" 2017-06-15 22:26:38 +00:00
Jenkins
177c665052 Merge "Switch to olso.messaging:get_rpc_transport" 2017-06-15 21:52:25 +00:00
Kevin Benton
a919ab2959 Lazy load of resources in resource cache
This gets rid of the bulk_flood call and adjusts
the cache to query the server on demand as it's asked
for things it hasn't been asked for before.

Change-Id: I58f3d4dd9bcf545fd9dca8cd42673d705db06c10
Partially-Implements: blueprint push-notifications
2017-06-15 13:26:20 -07:00
Jenkins
1bbb8a421d Merge "Send port ID in network-changed event to Nova" 2017-06-15 17:22:36 +00:00
Brian Haley
b212951e17 Add a missing _LW()
Missed a _LW() in a recent ip_lib change.

Trivalfix

Change-Id: I1df870258fad2fb0f01c6bd34685efcb89acf4ce
2017-06-15 12:00:51 -04:00