18808 Commits

Author SHA1 Message Date
Jenkins
a9fd0e5f77 Merge "Removed ovsdbapp deprecation warnings" 2017-07-13 22:59:55 +00:00
Jenkins
8326a65a5e Merge "SR-IOV: remove ml2_conf_sriov.ini from manual" 2017-07-13 01:10:51 +00:00
Jenkins
5fdd163327 Merge "Fix alter_enum_add_value" 2017-07-13 01:09:46 +00:00
Jenkins
fa4e148b06 Merge "tests: kill a bunch of unneeded mocks in l2pop unit tests" 2017-07-13 00:59:53 +00:00
Trevor McCasland
c4e76908ae SR-IOV: remove ml2_conf_sriov.ini from manual
Before the doc-migration I proposed this patch:
Ica9c2beeee5f24cbdf0b947bb0371c41375c48c7

The following patch removed the ml2_conf_sriov.ini file:
Ida6c0930ce65169a9bc59ef80d6b427b2d5d4e09

In order to reduce confusion, lets remove the reference to it.

Change-Id: I22aacebc13c0c3c5eb361f79c293d3012f1ac149
2017-07-12 16:38:49 -05:00
Jenkins
bea5cd24a9 Merge "New API call to get details of supported QoS rule type" 2017-07-12 20:21:59 +00:00
Jenkins
0a18a3a4d8 Merge "ovs-fw: Use TRANSIENT table for traffic classification" 2017-07-12 20:20:21 +00:00
Ihar Hrachyshka
b88d0a80a6 tests: kill a bunch of unneeded mocks in l2pop unit tests
Those tests pass just fine without them.

Change-Id: Ic18666a9c332244bc31da547806c7afcdc4504c8
2017-07-12 12:38:03 -07:00
Jenkins
d37f0652b9 Merge "Remove unused exceptions" 2017-07-12 14:06:23 +00:00
Jenkins
4a316960f2 Merge "TrivialFix: Remove only_contrib argument" 2017-07-12 05:37:22 +00:00
Jenkins
1b05dca484 Merge "RouterPort to OVO" 2017-07-12 03:55:13 +00:00
Jenkins
7679d7400f Merge "stop ovs that installed from git on unstack" 2017-07-12 00:25:17 +00:00
Jenkins
0c2a8ff01f Merge "Enable an update test in UT of logging" 2017-07-11 21:33:44 +00:00
Jenkins
b7c99765be Merge "Tempest: Add default-subnetpools tests" 2017-07-11 20:14:36 +00:00
Jakub Libosvar
d559cd53e8 ovs-fw: Use TRANSIENT table for traffic classification
Commit ce8a0b2b7d73caf078c6634d6dded5117dbed265 introduces a TRANSIENT
table where all traffic local to br-int is sent after it's been
preprocessed by other features using openflow. This patch adopts the
table.

Change-Id: Ic66c186ab73bad6fcd133f2b9d15e07fd0eebb33
Related-bug: #1696983
2017-07-11 15:24:46 +00:00
Trevor McCasland
87b02a2552 TrivialFix: Remove only_contrib argument
While running unit tests plugins/ml2/drivers/test_type_vlan.py
the following message is observed:

""" UserWarning: Discovering extensions only by contrib path is
no longer supported since all contrib extensions have either
been made required or removed. The only_contrib argument is
deprecated and will be removed in a future release.
"""

From the source code you can see the TODO message to remove
the argument in Queens.
264c22a9cc/novaclient/client.py (L181)

This commit removes the argument and the stderr captured by unit
tests.

Change-Id: Ia4270c69c1519342636206fa439640240a1e13bb
2017-07-11 10:12:06 -05:00
Moshe Levi
7ee4d4564c stop ovs that installed from git on unstack
Change-Id: I6a30ca3e371787d147785944de61746c3cdd6046
2017-07-11 17:31:32 +03:00
Sławek Kapłoński
2cc547241c New API call to get details of supported QoS rule type
This commit adds new API call that allows to discover
details about supported QoS rule type and its parameters
by each of loaded backend drivers.

DocImpact: New call to get details about supported
           rule_type for each loaded backend driver
ApiImpact

Change-Id: I2008e9d3e400dd717434fbdd2e693c9c5e34c3a4
Closes-Bug: #1686035
2017-07-11 14:24:17 +00:00
Viktor Varga
8e5128e27a Remove unused exceptions
There are four exceptions (TenantNetworksDisabled,
InvalidExtensionEnv, DvrHaRouterNotSupported,
MissingMinSubnetPoolPrefix) that are not used in Neutron, thus
unnecessary to have them in neutron/common/exceptions.py.

- TenantNetworksDisabled was added in [1] to Quantum, and was
  raised when the tenant network type was TYPE_NONE.
  It was used in the openvswitch and linuxbridge plugins in Quantum,
  but now there are no occurrences of usage.
  It is still used in the Neutron plugin of OpenContrail though,
  so complete removal may be inappropriate right now.

- InvalidExtensionEnv (previously InvalidExtenstionEnv, renamed in
  [2a]) was added in [2b] to Quantum. It was raised when the
  appropriate quota driver was not provided, thus the extension
  environment was invalid. The usage was removed in [2c].

- DvrHaRouterNotSupported was added in [3a], and was raised when the
  router was both DVR and HA (it was not supported by that time).
  The usage was removed in [3b].

- MissingMinSubnetPoolPrefix was added in [4]. I did not find any
  prior usage of this exception.

This patch removes the last three exceptions from exceptions.py,
and adds a note to the first about possible removal in the future.

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

[2a]: https://review.openstack.org/#/c/23902/
[2b]: https://review.openstack.org/#/c/10484/
[2c]: https://review.openstack.org/#/c/23406/

[3a]: https://review.openstack.org/#/c/143733/
[3b]: https://review.openstack.org/#/c/196893/

[4]: https://review.openstack.org/#/c/148698/

Change-Id: Id47044e1feea4aea0d375b922aea7bd6cc50ac08
2017-07-11 14:16:21 +02:00
Jenkins
a51271d760 Merge "Rearrange existing documentation to fit the new standard layout" 2017-07-10 17:19:44 +00:00
Jenkins
47a665e87b Merge "import installation guide pages from openstack-manuals" 2017-07-10 17:19:24 +00:00
Jenkins
d7513cff4a Merge "Allow to set UDP ports for VXLAN in Linuxbridge agent" 2017-07-10 17:18:33 +00:00
Jenkins
3d4aee57db Merge "Integration of IPAllocation" 2017-07-10 04:17:15 +00:00
Lujin
b9117247e8 RouterPort to OVO
This patch introduces the RouterPort model classes to
Oslo-Versioned Object.

Change-Id: Ic1da9d2eb45aa99b7a18877e592d0cf24146bcbf
2017-07-10 13:15:22 +09:00
Jenkins
59006183e1 Merge "API compare-and-swap updates based on revision_number" 2017-07-09 18:17:59 +00:00
Jenkins
7ced607e54 Merge "devstack ovs: get correct kernel rpm version on customed kernel" 2017-07-09 10:11:53 +00:00
Jenkins
a3554856e7 Merge "Updated from global requirements" 2017-07-08 07:13:21 +00:00
Akihiro Motoki
2a47ffd96d Rearrange existing documentation to fit the new standard layout
For more detail, see the doc migration spec.
http://specs.openstack.org/openstack/docs-specs/specs/pike/os-manuals-migration.html

Change-Id: I142a686a3abbe65138a9f3296cd21fc21fbd763a
2017-07-08 05:49:56 +00:00
Jenkins
f04c6181e5 Merge "releasenote: Specify openstackdocs as html_theme" 2017-07-08 00:49:43 +00:00
OpenStack Proposal Bot
2ef34cb949 Updated from global requirements
Change-Id: I206754b68041b91cbafc1554006f773001d2fd44
2017-07-08 00:49:43 +00:00
Jenkins
980451cd60 Merge "Do not defer allocation if fixed-ips is in the port create request." 2017-07-07 22:58:20 +00:00
Jenkins
e939092006 Merge "Support object string field filtering on "LIKE" statement" 2017-07-07 22:58:04 +00:00
Jenkins
fc904313b7 Merge "Make the HA router state change notification more faster" 2017-07-07 21:00:08 +00:00
Aqsa
06380b0576 Do not defer allocation if fixed-ips is in the port create request.
The above is no longer true if fixed-ips is used in the port create
request.

Closes-Bug: #1697803

Change-Id: I211e40584a42d777531fe9d698c4907c7d97e2ac
2017-07-07 19:30:32 +00:00
tonytan4ever
8702eaa0e2 Support object string field filtering on "LIKE" statement
This patch allows objects' get_objects method take in "LIKE" filters.
e.g:
objs = agent.Agent.get_objects(
     self.context,
     resource_versions=obj_utils.StringContains('obj2')
)

Partially-Implements: blueprint adopt-oslo-versioned-objects-for-db
Change-Id: I15a76ce20defbcb5b23a13171f93049e84383e0c
Co-Authored-By: Manjeet Singh Bhatia <manjeet.s.bhatia@intel.com>
2017-07-07 16:15:44 +00:00
Rodolfo Alonso Hernandez
188aee25c6 Add QoS policy network binding OVO
Added QoS policy network binding OVO. Direct access to
'qos_network_policy_bindings' DB table is removed.

Partially-Implements: blueprint adopt-oslo-versioned-objects-for-db
Change-Id: I2a2037dae5a071bd220fa04b0988bc8e7172eb59
2017-07-07 10:53:04 +01:00
Gyorgy Szombathelyi
d7c4428525 Allow to set UDP ports for VXLAN in Linuxbridge agent
Introduce vxlan.{udp_srcport_min, udp_srcport_max and udp_dstport}
for setting the port range used for VXLAN communication.

Change-Id: I97999988090eee7aee9b533ac1dad2de95b29cbe
Closes-Bug: #1483853
DocImpact:  vxlan.{udp_srcport_min, udp_srcport_max and udp_dstport}
can be used to set UDP port numbers used for VXLAN in LinuxBridge
agent.
2017-07-07 10:53:44 +02:00
Hirofumi Ichihara
5745723971 Enable an update test in UT of logging
A logging update test doesn't run in UT. This patch fixes an issue
and enables the test.

Change-Id: I06b8ac72304f03068a92ccb3c0c07a960c7a421a
2017-07-07 12:01:49 +09:00
Akihiro Motoki
05b776f4ce releasenote: Specify openstackdocs as html_theme
https://review.openstack.org/#/c/480767/ forgot to specify
the correct html_theme.

Change-Id: I02e7ab3aed032260009f2c1e870cd0e9696c0e79
2017-07-06 22:33:15 +00:00
Jenkins
c2e12079f6 Merge "Switch from oslosphinx to openstackdocstheme" 2017-07-06 22:27:12 +00:00
Jenkins
1f5d753da8 Merge "Use _is_dns_integration_supported for _delete_floatingip" 2017-07-06 22:25:34 +00:00
Jenkins
94d32069cd Merge "Add QoS policy port binding OVO" 2017-07-06 17:59:09 +00:00
Dongcan Ye
316e2f42c1 Tempest: Add default-subnetpools tests
Add missing default-subnetpools tempest tests.

Change-Id: I59a98b822400a6f3ba480daf275c1e3058225b87
Closes-Bug: #1684071
2017-07-07 00:49:51 +08:00
Andrew Austin
a6f83bc0aa Use _is_dns_integration_supported for _delete_floatingip
L3_NAT_dbonly_mixin._delete_floatingip still uses
utils.is_extension_supported to determine if DNS-specific methods should
be run rather than the self._is_dns_integration_supported method used
by _create and _update.

This causes issues with L3 service plugins like Cisco ACI where the core
plugin is ML2 but the L3 plugin does not implement the DNS methods.
When such a plugin sets _dns_integration to False, _create and _update
do not call the DNS-specific plugin methods, but _delete_floatingip does
 which leads to an exception being raised.

This patch changes _delete_floatingip to use the same method for
determining DNS support as _create_floatingip and _update_floatingip.

Change-Id: Ieb2db6cb96c5d6aae166aa7f0d2d481b2a3690f9
Closes-Bug: #1702693
2017-07-06 14:27:21 +00:00
Moshe Levi
908f0e4f04 devstack ovs: get correct kernel rpm version on customed kernel
When building custom kernel version
uname -r returns 4.10.0-00054-ge4cd924
but the rpm name is kernel-4.10.0_00054_ge4cd924-1.x86_64
This is because dash is illegal character in rpm version

This patch fix the kernel version is rpm based OS
but converting all the dashes to underscores

Change-Id: I3d0981fbe30f2436f00c200919b50aeb97491252
2017-07-06 13:03:31 +03:00
Jenkins
3a894d0b9e Merge "Updated from global requirements" 2017-07-06 02:07:50 +00:00
Jenkins
af308ca0da Merge "Use flake8-import-order plugin" 2017-07-06 02:01:36 +00:00
Akihiro Motoki
76f9dfe237 Switch from oslosphinx to openstackdocstheme
* Switch the release note theme to openstackdocstheme.
* Use the new style of setting of openstackdocstheme
  of the in-tree documentation.

Change-Id: I0424f097c0f5d78a539bc997e2cd61119d606524
2017-07-06 06:56:06 +09:00
chenxing
d19c7e7d59 import installation guide pages from openstack-manuals
Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>
Change-Id: Id8057d229add4daf3093d362eab7614685fdb8ac
2017-07-06 04:21:51 +09:00
Ann Kamyshnikova
42fbe0e0b5 Fix alter_enum_add_value
Using alter_enum_add_value for PostgreSQL hit error with running
inside migration.

Update code with operations that can be executed. As this implementation
do not drop columns like alter_enum, it can be used in expand branch
as well.

Change-Id: I56d0731fff317b7be73e8237fa897c1d44331bcd
2017-07-05 18:23:50 +04:00