16486 Commits

Author SHA1 Message Date
Jenkins
a6c5737eb7 Merge "iptables: fail to start ovs/linuxbridge agents on missing sysctl knobs" 2016-10-21 02:14:02 +00:00
Jenkins
6bc2a51562 Merge "Fixed functional iptables firewall tests for newer kernels" 2016-10-20 21:21:33 +00:00
Jenkins
d2b017da9b Merge "ovsfw: Add a dl_type match for action=ct flows" 2016-10-20 14:21:04 +00:00
Jenkins
cbb7dc0fb2 Merge "Generate OVSDB schema helper in a separate method" 2016-10-20 11:01:54 +00:00
Jenkins
9a0d2c46df Merge "Use BaseDbObjectTestCase in AddressScope UT" 2016-10-19 22:05:46 +00:00
Jenkins
196158253a Merge "Devref: fix repeated 'testing documentation' text" 2016-10-19 17:00:37 +00:00
Jenkins
b81b1a001d Merge "set_db_attribute differs between vsctl and native" 2016-10-19 16:58:37 +00:00
Jenkins
662d89a713 Merge "test_routers_flavors: Skip if requirements are not met" 2016-10-19 15:32:58 +00:00
IWAMOTO Toshihiro
14ee32940c ovsfw: Add a dl_type match for action=ct flows
Recently ovs has been changed to require a dl_type match for
action=ct flows.

Change-Id: I9040d8c50ee30f5daef7ea931a28cd0cf7855f3e
Closes-bug: #1634757
2016-10-19 17:16:33 +09:00
Jenkins
d2a28a8c73 Merge "Only emit deprecation warning when deprecated value read" 2016-10-18 00:54:13 +00:00
Jenkins
4222c8c731 Merge "neutron-lib: use dict methods from helpers" 2016-10-17 21:10:20 +00:00
Jenkins
9473606bc9 Merge "Updated from global requirements" 2016-10-17 21:09:59 +00:00
Jenkins
8fb6746a86 Merge "Fix typos in test_ipam_pluggable_backend.py & base.py" 2016-10-17 20:56:35 +00:00
Jenkins
b0193ac3b7 Merge "Clean import in code" 2016-10-17 20:54:31 +00:00
Omer Anson
4264083599 Generate OVSDB schema helper in a separate method
Move the generation of the schema helper in OVSDB connection to a
different method

In the OVSDB connection class, move the code retrieving the schema
helper to a separate method. This will allow subclasses to override this
method, and retrieve the schema helper in a different manner, or provide
it to the Connection subclass in advance.

This use-case came up in Dragonflow, where we wanted to retrieve
specific columns within specific tables, and not the whole tables.

Change-Id: I634841a2402e5d9bcbf1983a17eee2bb1a6299fb
Related-Bug: 1612403
2016-10-17 20:40:22 +03:00
OpenStack Proposal Bot
b39bad59ce Updated from global requirements
Change-Id: I5c7b760120f1348f1e8a4e6700eb0beae5b0bfee
2016-10-17 15:45:54 +00:00
Jenkins
b8e6803966 Merge "Fix spelling errors" 2016-10-17 15:40:39 +00:00
pawnesh.kumar
934b95d295 Cleanup coverage configuration
Removing invalid:
- directories

Change-Id: I3e2b56b228a0772d5f8f9136a8241fe5ae3d2deb
2016-10-17 17:06:19 +05:30
Jenkins
b288bcf6e5 Merge "Make ovs functional tests mutually isolated" 2016-10-17 08:58:51 +00:00
Hu Yupeng
71c8d355cc Fix spelling errors
TrivialFix
Change-Id: I25775b693c5bcbb5fa373b471437ff18785f61af
2016-10-17 14:39:15 +08:00
Jenkins
df085ee38e Merge "Add http_proxy_to_wsgi to api-paste" 2016-10-16 12:58:23 +00:00
Jenkins
7ed4b8dee2 Merge "Added trailing slash in link to Networking API v2.0" 2016-10-16 12:58:08 +00:00
Sławek Kapłoński
ca62e7ec9d Make ovs functional tests mutually isolated
Patch ports between br-int and br-tun have now got
randomly generated names so two different tests
shouldn't try to create ports with same name in same time.

Change-Id: I6107bc3bc2e2a504e8ec5b4f0e3abaa68d51c01f
Closes-Bug: #1625724
2016-10-15 20:03:45 +00:00
Terry Wilson
cb48d15466 set_db_attribute differs between vsctl and native
On the following:

b.set_db_attribute('Port', pname, 'other_config', {'a': 'b'})
b.set_db_attribute('Port', pname, 'other_config', {'c': 'd'})

will produce different results between the vsctl and native OVSDB
implementations. vsctl will merge the values into a single dict
and native will overwrite the dict.

This patch makes the native implementation mirror vsctl.

Related-Bug: #1630920
Change-Id: Ie7680a301b8b3ee8e5654666e2aea78ecbd07a12
2016-10-14 15:36:40 -05:00
Jenkins
0871aaa39a Merge "Fix IPv6 PD with pluggable IPAM" 2016-10-14 20:02:11 +00:00
Jenkins
849e4e8eb7 Merge "Add db_add to OVSDB API" 2016-10-14 18:02:36 +00:00
Jenkins
12f1827f5d Merge "OVO for Router Route" 2016-10-14 17:35:11 +00:00
Jenkins
943c9e4e8f Merge "Integrate SubnetRoute OVO" 2016-10-14 17:32:31 +00:00
Jenkins
57d886e79d Merge "Drop MANIFEST.in - it's not needed by pbr" 2016-10-14 14:28:43 +00:00
YAMAMOTO Takashi
c4b2c8d558 test_routers_flavors: Skip if requirements are not met
- Require l3-flavors extension and enable it on gate
- Skip on ServiceProfileDriverNotFound

Closes-Bug: #1633339
Change-Id: I53ccc6ec33665160b44d699c96795dc72f1710e6
2016-10-14 19:55:28 +09:00
Juan Antonio Osorio Robles
19c354aacd Add http_proxy_to_wsgi to api-paste
This sets up the HTTPProxyToWSGI middleware in front of Neutron-API. The
purpose of this middleware is to set up the request URL correctly in
case there is a proxy (For instance, a loadbalancer such as HAProxy)
in front of Neutron.

So, for instance, when TLS connections are being terminated in the
proxy, and one tries to get the versions from the / resource of
Neutron, one will notice that the protocol is incorrect; It will show
'http' instead of 'https'. So this middleware handles such cases.
Thus helping Keystone discovery work correctly.

The HTTPProxyToWSGI is off by default and needs to be enabled via a
configuration value.

Change-Id: Ice9ee8f4e04050271d59858f92034c230325718b
Closes-Bug: #1590608
2016-10-14 11:24:03 +03:00
Jenkins
500c1edc13 Merge "Updated from global requirements" 2016-10-14 04:15:37 +00:00
Jamie Lennox
46ba1aa762 Only emit deprecation warning when deprecated value read
If providers is not found in the CONF.service_providers.service_provider
it looks them up from implicit conf files. If nothing is defined there
it still emits a deprecation warning.

Maybe a warning should be emitted if this value is empty, however the
deprecation warning that is provided is incorrect and misleading.

Change-Id: I3166a445b69d854b294843814a081e74c1aadb3b
Closes-Bug: #1633293
2016-10-14 13:14:05 +11:00
Jenkins
a6d39e9ba2 Merge "Swap the order of arguments to _check_equal" 2016-10-14 00:46:11 +00:00
Manjeet Singh Bhatia
0c1c754d63 Swap the order of arguments to _check_equal
In object base test framework _check_equal method was having
opposite argument order as assert* statements, this patch will swap
them to reflect the order followed in assert* statements.

Change-Id: I546027899985af3fadb09928af7b5b4ca4a0a3bc
2016-10-13 21:39:59 +00:00
Jenkins
e245f10c19 Merge "neutron-lib: use get_hostname" 2016-10-13 20:47:14 +00:00
Jenkins
47867a5d35 Merge "Fix callers of _make_port_dict()" 2016-10-13 19:44:35 +00:00
Jenkins
8bf83baa2a Merge "Allow to override Idl class in OVSDB Connection" 2016-10-13 19:00:29 +00:00
Jenkins
95a59168d4 Merge "Remove deprecation warnings for agents_db" 2016-10-13 18:50:53 +00:00
Jenkins
b944fe4f4e Merge "neutron-lib: use cpu_count" 2016-10-13 16:01:17 +00:00
Jenkins
a0752ad862 Merge "Have RouterRoute object increment Router revision" 2016-10-13 16:00:47 +00:00
John Schwarz
013a48f49b Remove deprecation warnings for agents_db
Change I7be4ce2513e49e6da46a7bdffb8538613f0be7c7 relocated the Agent
model (and a few other functions), but some references to old
functions/model still remain. These cause a considerable amount of
warnings when running unit tests and the code itself.

Change-Id: Id026cae75bfa56b1023f8a1c4e5db750cf0bff5f
Partial-Bug: #1597913
2016-10-13 15:33:22 +00:00
Jenkins
d718895974 Merge "Fix typo in comment" 2016-10-13 13:19:48 +00:00
Omer Anson
29e15f9278 Have RouterRoute object increment Router revision
When modifying RouterRoute objects on a Router (e.g. adding a route to a
router via the ExtraRoute extension), have the modification update the
Router's revision number.

Change-Id: If9bb56442375efac3043b9de0a03972552ac34bf
Closes-Bug: 1632080
2016-10-13 15:53:19 +03:00
Omer Anson
070ee35b9c Allow to override Idl class in OVSDB Connection
Add an option to neutron.agent.ovsdb.native.connection.Connection to
override the Idl class that is created to communicate with OVSDB.

This is a feature that would help in Dragonflow[1], where the notify
method should be overriden before start() is called, in order to receive
all events in real-time, and not retroactively.

[1] d17ae9705a/dragonflow/ovsdb/impl_idl.py (L135)

Change-Id: I49da05f02a00352b1b1db863d244e97f9c148804
Closes-Bug: 1627615
2016-10-13 13:51:57 +03:00
shashi.kant
43f5b5912f Drop MANIFEST.in - it's not needed by pbr
Neutron already uses PBR:- setuptools.setup(
	setup_requires=['pbr>=1.8'],
	pbr=True)

This patch removes `MANIFEST.in` file as pbr generates a
sensible manifest from git files and some standard files
and it removes the need for an explicit `MANIFEST.in` file.

Change-Id: I902f29fedb4b756af978af52927bd32a51270dc8
Closes-Bug: #1608980
2016-10-13 16:12:42 +05:30
OpenStack Proposal Bot
7858b75bf5 Updated from global requirements
Change-Id: I48857c0c068f01ec7f7e2af21783081605b88365
2016-10-13 10:23:12 +00:00
IWAMOTO Toshihiro
ff9c6e219b fullstack: Add security group tests
Change-Id: Ie1fbc3c253805120f44692e3459a64537b7ae340
2016-10-13 07:01:21 +00:00
Gary Kotton
c4a3a723aa neutron-lib: use dict methods from helpers
Uses the following library methods:
    - dict2str
    - str2dict
    - dict2tuple
    - diff_list_of_dict

Change-Id: I9b220039090ffaf91ccc86e2eb76b4aac16fb792
2016-10-12 23:39:08 -07:00
Gary Kotton
6941152716 neutron-lib: use get_hostname
Use get_hostname from neutron-lib.

Change-Id: Id4446f59a7f1b10e326fa87fb450e6ee44c84b36
2016-10-12 23:36:50 -07:00