18919 Commits

Author SHA1 Message Date
Miguel Lavalle
190b31e03a Add dns_domain attribute to ports in the API
This change adds a dns_domain attribute to ports in the API.

This patchset belongs to a series that adds dns_domain attribute
functionality to ports.

Change-Id: Ied1f2f0c1e96ae21c309b6e6fed9e3c602b0450b
Partial-Bug: #1650678
2017-07-13 16:51:54 -05:00
Gary Kotton
5f972ef406 Ensure that fault map translations work correctly
The patch does two things:
1. make the code validation of the code checks more generic
2. enables a extended fault map to be treated correctly (for example
   https://github.com/openstack/vmware-nsx/blob/master/vmware_nsx/plugins/nsx_mh/plugin.py#L769)

Change-Id: Idc89c0ece2e6ff3b0368f431fea098128bd68c34
2017-07-13 12:38:55 +03:00
jeremy.zhang
3e4cb0817d Replace test.attr() with decorators.attr()
Function 'tempest.test.attr()' has been moved to'tempest.lib.decorators.attr()'
in Pike and will be removed in a future version [1]. This patch is to replace
'tempest.test.attr()' with 'tempest.lib.decorators.attr()'.

[1] Iaafbb112b6eee458089cc49918359a8a8d0485e2

Depends-On: I50b823b049d0e391ac517f7ec72380a12fa81176
Change-Id: I1e511166a114a79504404c88579f6cb0c4caaebe
2017-07-13 03:31:15 +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
5c331ecbd2 Fixed AttributeError in l2pop.delete_port_postcommit
The error sneaked in with Ib6e59ab3405857d3ed4d82df1a80800089c3f06e
where is_ha_router_port expects a NeutronContext object but we still
pass PortContext instead.

Change-Id: I593af5d050de00ddea7d758007d9856c4b97695f
Closes-Bug: #1703938
2017-07-12 12:59:36 -07: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
Jakub Libosvar
e9e8f5dccb Introduce trusted ports to firewall driver API
Currently trusted ports (DHCP & router ports) are considered trusted
ports based on theirs owner. Trusted ports are not passed to the
firewall driver and hence the driver doesn't have any way how to deal
with such ports.

This change introduces two new methods to firewall driver API:
 - process_trusted_ports
 - remove_trusted_ports

These methods will give firewall driver a chance to process traffic
coming from the trusted ports in case its needed.

For specific case, see patch depending on this one.

Change-Id: I0be64483515e45f98ffffce8346a6bff06bc0fd1
Related-bug: #1626010
2017-07-12 15:36:48 +00:00
Jenkins
d37f0652b9 Merge "Remove unused exceptions" 2017-07-12 14:06:23 +00:00
Nguyen Phuong An
913c9e78b9 [log]: implement logging plugin
This patch introduces the logging api definition and initial
implementation of LoggingApiPlugin. The api definition code will
be removed after [1] has been merged on neutron lib.

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

Co-Authored-By: Yushiro FURUKAWA <y.furukawa_2@jp.fujitsu.com>

Partially-implements: blueprint security-group-logging
Related-Bug: #1468366
Change-Id: Iace31506502de25da9dce5fcfdbfe2c726bea27f
2017-07-12 13:30:50 +07: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
chenxing
a683978968 import content from cli-reference in openstack-manuals
The following commands are provided by the neutron repo,
so the corresponding CLI references are imported here.

- neutron-sanity-check
- neutron-debug

The purpose of this commit is just to import the CLI reference
related to the neutron repo as-is.

Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>
Change-Id: Ib514b3653cff615ee5b14e087fdd5985d7c4285b
2017-07-10 18:06:29 +00: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
Sean Redmond
0f076cfc2d Do not respond to ARP on IPv6-only interfaces
When using dual stack, the IPv6 router interface responds
to ARP requests that only the IPv4 interface should.
This results in ARP flux and can cause a guest to address
packets to the wrong layer-2 address when sending traffic
to the IPv4 gateway.

Change arp_ignore and arp_announce sysctl options on interfaces
in the router namespace to be more strict in how we respond.

Closes-bug: 1692007
Change-Id: Ic3c2370995abb027a3412b473ce6bc63790c1105
2017-07-06 13:19:39 -04: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