18842 Commits

Author SHA1 Message Date
Jenkins
3ebbe44b70 Merge "Adding option to check VM connectivity with packet of given size" 2017-07-19 09:35:01 +00:00
Jenkins
1c94a80b55 Merge "Add callback BEFORE_DELETE for delete_router" 2017-07-19 05:38:04 +00:00
Jenkins
c989331b93 Merge "Stop using non-ascii characters" 2017-07-19 03:28:55 +00:00
Jenkins
da79102907 Merge "Tempest: Fix DeprecationWarning for Read-only property" 2017-07-19 03:27:04 +00:00
Jenkins
79e2701937 Merge "Updated from global requirements" 2017-07-18 17:22:04 +00:00
Gary Kotton
83bcc8832d Add callback BEFORE_DELETE for delete_router
Enable a callback to be bound for deletion of routers.
A use case for this is in the NSX plugins, here a load
balancer needs to be connected to an existing router.
If one tries to delete the router then we would like to
prevent that if a load balancer is attached.

Change-Id: Ie0c422578acaa94e8e34c15beca9f18691a3abc6
2017-07-18 10:50:04 +00:00
OpenStack Proposal Bot
a5b43c5cfa Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: Icac713f54d7bf66a2970b3c60b304d6ef9628675
2017-07-18 08:36:04 +00:00
YAMAMOTO Takashi
af4bfb35a2 Stop using non-ascii characters
Namely, Replace U+2019 RIGHT SINGLE QUOTATION MARK
with U+0027 APOSTROPHE where appropriate.

Change-Id: Iec9e8f85bcddeb90e9a7fb8f845a7923cac38f52
2017-07-18 17:11:23 +09:00
Jenkins
9449a63021 Merge "Extend Quota API to report usage statistics" 2017-07-18 03:17:35 +00:00
Jenkins
e5f2a6db0e Merge "Ensure that fault map translations work correctly" 2017-07-18 03:15:44 +00:00
OpenStack Proposal Bot
354dd697cf Updated from global requirements
Change-Id: Ibd767e2286242218b5f83ee96bce4721593a3bff
2017-07-18 01:50:15 +00:00
Jenkins
88aa9dbf9e Merge "Fixed AttributeError in l2pop.delete_port_postcommit" 2017-07-17 21:33:58 +00:00
Sergey Belous
a8109af65f Extend Quota API to report usage statistics
Extend existing quota api to report a quota set. The quota set
will contain a set of resources and its corresponding reservation,
limits and in_use count for each tenant.

DocImpact:Documentation describing the new API as well as the new
information that it exposes.
APIImpact

Co-Authored-By: Prince Boateng<prince.a.owusu.boateng@intel.com>
Change-Id: Ief2a6a4d2d7085e2a9dcd901123bc4fe6ac7ca22
Related-bug: #1599488
2017-07-17 20:51:48 +00:00
fumihiko kakuma
b346c55548 Tempest: Fix DeprecationWarning for Read-only property
The following Read-only property has moved in Pike [1].
    os_adm -> os_admin
    os -> os_primary

[1] I9f7c13da05a8c4a63529c11aa6213a7269abee6d
    Ie4cf457d0a521910a82e41e7dad775df75d56587

Change-Id: I512048211888c3db40f95a084164e3add47e3588
2017-07-16 22:38:58 +09:00
Genadi Chereshnya
b82aaf7724 Adding option to check VM connectivity with packet of given size
Adding mtu parameter to check_remote_connectivity function.
When given, send packets of that size.
If fragmentation flag is False, then don't fragment the packets.

Change-Id: I5f2742b6e8fd894fcfe4c0e2a7eb4a14d2594dd4
2017-07-16 16:28:45 +03:00
OpenStack Proposal Bot
d7e7dd451a Updated from global requirements
Change-Id: Ie7f849de12a893833aaab64f636c4e11d653b364
2017-07-16 00:19:20 +00:00
Jenkins
01dd6de276 Merge "Introduce trusted ports to firewall driver API" 2017-07-16 00:12:05 +00:00
Jenkins
1a30123648 Merge "Replace test.attr() with decorators.attr()" 2017-07-16 00:11:28 +00:00
Jenkins
a1d564b913 Merge "Tempest: Adopt keystone api v3 for tests" 2017-07-15 02:15:56 +00:00
Jenkins
8ff216d0c1 Merge "DVR: Fix neutron metering agent to notify hosts hosting DVR" 2017-07-15 00:41:35 +00:00
Jenkins
0cd9161c86 Merge "Add support for list querying in resource cache" 2017-07-15 00:29:41 +00:00
nanaboat
7064afd79a Tempest: Adopt keystone api v3 for tests
Adopt v3 for the few tests that require v3 endpoint

Change-Id: I2bcc9ac2949f5f4d7e22a83f3839b97a775763db
2017-07-14 22:53:20 +00:00
Jenkins
b6395a5f63 Merge "[log]: implement logging plugin" 2017-07-14 15:30:27 +00:00
Jenkins
93390579da Merge "Fix typo" 2017-07-14 08:34:54 +00:00
Jenkins
693b2adc4e Merge "import content from cli-reference in openstack-manuals" 2017-07-14 07:19:44 +00:00
zhangdebo1987
4b95647225 Fix typo
Fix typo.

Change-Id: I26077354870e49223925a605e321e11b63cb318d
2017-07-14 10:14:02 +08:00
Jenkins
a9fd0e5f77 Merge "Removed ovsdbapp deprecation warnings" 2017-07-13 22:59:55 +00: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