18752 Commits

Author SHA1 Message Date
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
Jenkins
df762b0d46 Merge "Modify the execution of alter_enum_add_value SQL" 2017-07-05 05:44:00 +00:00
Jenkins
7b4ad21cb5 Merge "use core resource attribute constants from neutron-lib" 2017-07-05 00:21:50 +00:00
Jenkins
e0c08bba30 Merge "Use subqueryload in l2pop DB for binding ports" 2017-07-04 23:37:45 +00:00
xiaoli
4e1fd1a62b Modify the execution of alter_enum_add_value SQL
'%' (value) s in the execution SQL statement of alter_enum_add_value
should be decorated with ' '

Ralated commit I4767222ba97d9c35c011adfc187b2977975f981a

Change-Id: I24138e5b4ec8b3c3126ae5ff79e26ecb91a65d69
2017-07-04 17:56:30 +08:00
Jenkins
1245b3c4a0 Merge "Make HA deletion attempt on RouterNotFound race" 2017-07-03 22:18:42 +00:00
Jenkins
f1cfd86ae3 Merge "Use super to make _build_routers_list safer" 2017-07-03 18:43:43 +00:00
Jenkins
ce1a5445a1 Merge "Add "default" behaviour to QoS policies documentation" 2017-07-03 15:19:42 +00:00
Jenkins
ab758e8e67 Merge "Add alter_enum_add_value function" 2017-07-03 05:40:48 +00:00
Jenkins
352afb37af Merge "objects: support tenant_id filter for get_* if project_id is present" 2017-07-02 09:32:42 +00:00
Jenkins
9d20de62bf Merge "Update after python-neutronclient doc rearrangement" 2017-06-30 22:36:21 +00:00
Jenkins
12da0b5003 Merge "Add new ovo field type class" 2017-06-30 22:25:34 +00:00
Jenkins
956c127c1b Merge "Change all config options in fullstack tests to be strings" 2017-06-30 16:23:24 +00:00
Jenkins
9e2b4ee629 Merge "Remove 'description' attribute" 2017-06-30 15:28:33 +00:00
Ihar Hrachyshka
c2d441b60c objects: support tenant_id filter for get_* if project_id is present
API often times pass tenant_id to all objects irrespective whether they
have the field. It's better to support both filters.

Change-Id: I8f7ff04c6d9d2237d89e82849cfdb6578f2c3313
2017-06-30 11:08:29 -04:00
Boden R
62576cabf7 use core resource attribute constants from neutron-lib
neutron-lib now contains the API definitions for neutron's core
resources. This patch removes the constant core resource and collection
variables and uses them from lib. Subsequent patches will consume the
actual core resource attribute definitions.

NeutronLibImpact

Change-Id: Ia9afdf620cd538b2aa420593277d6403a45c996b
2017-06-30 06:25:36 -06:00
Jenkins
b1dd13abfb Merge "Honor the common session options for the placement API" 2017-06-30 12:20:10 +00:00
Jenkins
d76c45d546 Merge "use attribute functions/operations from neutron-lib" 2017-06-30 11:42:17 +00:00
Jenkins
d8a27bf352 Merge "Fix html_last_updated_fmt for Python3." 2017-06-30 11:16:57 +00:00
Rodolfo Alonso Hernandez
cc5746f3a1 Add "default" behaviour to QoS policies documentation
Added documentation related to the "default" behaviour for QoS policies.

Change-Id: I433b80ba880397c9322752240727ca60a2e2d53f
Closes-Bug: #1694298
2017-06-30 10:54:03 +01:00
Kevin Benton
5be1ace546 Use subqueryload in l2pop DB for binding ports
This adjusts the l2pop DB queries that leverage the port relationship
on the PortBinding and DistributedPortBinding models to ensure that the
port gets loaded from the DB as part of the initial query.

Without this the number of DB queries will increase with the number
of ports since the port wasn't being loaded until the 'port' attribute
was referenced on its corresponding binding object.

Closes-Bug: #1701288
Change-Id: I7c3b08d525b2c90100c9fe4efaee973cf3a076f3
2017-06-30 02:17:38 -07:00
Sławek Kapłoński
ab70e64845 Change all config options in fullstack tests to be strings
Python 3 configparser module require that all values in
ConfigFixture should be None or str.

Change-Id: Iae6a559451ab03f4a5410626e50ff2c0aa634aea
2017-06-29 22:06:41 +00:00
Jenkins
f0aaffc2f3 Merge "Add fullstack-python35 testenv in tox.ini" 2017-06-29 21:20:34 +00:00
Jenkins
d581931b65 Merge "tempest-api: Skip test if deployment has not enough agents" 2017-06-29 20:50:08 +00:00
Jenkins
3017329964 Merge "import the networking guide content from openstack-manuals" 2017-06-29 19:41:56 +00:00
Jenkins
73eb1318b6 Merge "Replace the usage of 'admin_manager' with 'os_admin'" 2017-06-29 16:53:12 +00:00
YAMAMOTO Takashi
ee05a48bf3 Update after python-neutronclient doc rearrangement
Change-Id: I16d94000480d9c36984cd13ccb7e17a83e2809f5
2017-06-29 12:37:09 +00:00
rajat29
09e3e902b7 Replace the usage of 'admin_manager' with 'os_admin'
In tempest, alias 'admin_manager' has been moved to 'os_admin'
'alt_manager' to 'os_alt' and 'manager' to 'os_primary' in
version Pike, and it will be removed in version Queens[1].


[1]I5f7164f7a7ec5d4380ca22885000caa0183a0bf7

Closes-bug: 1697588

Change-Id: Ib41a1bcff70cc7323b90a222c9f64d66e0203e53
2017-06-29 11:20:02 +00:00
Sławek Kapłoński
970488a8b0 Add fullstack-python35 testenv in tox.ini
Change-Id: Iebb36f050ae6831ff03d74079d98b2fa2f67b6ec
2017-06-29 07:38:14 +00:00
Jenkins
f54feddd4a Merge "test_floatingip: Add a case for SRC without FIP" 2017-06-29 04:30:15 +00:00
chenxing
2553f2b131 import the networking guide content from openstack-manuals
Change-Id: Ibcedc9389dbea4a5810f2cecf890f6ba9887a07b
2017-06-29 03:09:59 +00:00
Jenkins
27b2537392 Merge "use service type constants from neutron_lib plugins" 2017-06-28 10:35:07 +00:00
Jenkins
6d7bac7475 Merge "Fix tempest router creation" 2017-06-28 10:21:47 +00:00
Jenkins
9a72bfe389 Merge "functional: Replace unicode() with six.u()" 2017-06-28 02:40:00 +00:00
Jenkins
4723a11da9 Merge "Add provider info to network for update" 2017-06-27 21:19:11 +00:00
Boden R
0a1405794f use service type constants from neutron_lib plugins
The well known service type constants are in
neutron_lib.plugins.constants, but for legacy reasons a few still exist
and are referenced from neutron_lib.constants that we'd like to remove.
This patch switches references over to neutron_lib's plugin constants.

Change-Id: I1861448cec303725b30cef8f42029f467f9e03a3
2017-06-27 15:16:05 -06:00
Jenkins
c6bc9e3dd5 Merge "Fix list QoS rule_types tempest API test" 2017-06-27 18:15:32 +00:00
Jenkins
e3855c8b7c Merge "Common Agent loop: Catch delete_port extension failures" 2017-06-27 11:43:17 +00:00
Van Hung Pham
40da4dd96e Remove 'description' attribute
Since the QosPolicy model inherits from standard attributes[1],
the Standardattrdescription extension adds the 'description'
to the attributes map in the API layer[2].
So there is no need to keep it in Qos code.
[1]https://github.com/openstack/neutron/blob/master/neutron/db/qos/models.py#L26
[2]https://github.com/openstack/neutron/blob/master/neutron/extensions/standardattrdescription.py#L55

Change-Id: Ia1ba22d754c66f2976dcbd946ab688e3e2507cfb
2017-06-27 11:31:34 +07:00
Kevin Benton
5aa7192ffa Common Agent loop: Catch delete_port extension failures
Catch delete port extension failures like we do with normal port
removal to avoid interrupting the deletion processing for other
ports.

Related-Bug: #1697937
Change-Id: I42d86a86965d30e14c85ce975681a6b82be41ecc
2017-06-26 22:02:11 +00:00
Sławek Kapłoński
e10524e87e Fix list QoS rule_types tempest API test
Test was wrong because it was only checking if each of
expected rule types is in list returned from Neutron server.
As list of expected rule types was wrong, it didn't check anything.

This test was also dependent on deployment because it was checking
available rule types returned by neutron-server.

Now it is changed that it's checking only returned keys in each
rule_type and it's not checking returned values.

Change-Id: I467672cc0ba1e579cddfff6020658c82e80fa5af
2017-06-26 21:54:22 +00:00
Jenkins
3c5e099733 Merge "functional-tests: Make addresses for tunneling unique" 2017-06-26 18:25:21 +00:00
Jenkins
440d700601 Merge "Enable some off-by-default checks" 2017-06-26 13:06:13 +00:00
Jenkins
6e75ddae86 Merge "Manually increment revision numbers in revision plugin" 2017-06-25 13:37:49 +00:00
Jenkins
5cd3b2a8bb Merge "Add missing description of Linuxbridge egress bw limit" 2017-06-25 11:31:09 +00:00
Sławek Kapłoński
ad49bbd0f2 Add missing description of Linuxbridge egress bw limit
Add to QoS devref document missing description about how
egress bandwidth limit rules are implemented by Linuxbridge
agent driver.

Change-Id: I1ce44aba14d54179e64f8d0516e0a60605b2add1
2017-06-24 08:42:07 +00:00
Jenkins
11acb1d642 Merge "Replaced assertTrue(False) with fail()" 2017-06-23 23:42:14 +00:00
YAMAMOTO Takashi
02cd20a3c1 test_floatingip: Add a case for SRC without FIP
Change-Id: Iaa7121ced07f7877292e4ff15926bf02b5e7aaa1
2017-06-23 18:21:06 +09:00
lingyongxu
c68e2a19aa Enable some off-by-default checks
Some of the available checks are disabled by default, like:
[H106] Don’t put vim configuration in source files
[H203] Use assertIs(Not)None to check for None

Change-Id: Ie38ec248651b57f2f2886cf90366cbf13673ffaf
2017-06-23 09:51:01 +08:00
Jenkins
7078a5d8ea Merge "DHCP Agent: Set dhcp-range netmask property" 2017-06-22 22:09:21 +00:00