Commit Graph

17319 Commits

Author SHA1 Message Date
Jenkins
4f705137e9 Merge "Get rid of floating IP bgp next_hop query" 2017-01-21 13:27:16 +00:00
Jenkins
2eaadd4050 Merge "ovsfw: Support protocol numbers instead of just tcp and udp" 2017-01-21 02:18:56 +00:00
Jenkins
86d47bad2d Merge "XenAPI: Support daemon mode for rootwrap" 2017-01-21 02:18:20 +00:00
Jenkins
f511ba9db5 Merge "Modify docref commands to reflect OSC transition" 2017-01-21 02:05:14 +00:00
Jenkins
74a227500a Merge "Register sqlalchemy events through hook for UT cleanup" 2017-01-21 02:04:51 +00:00
Jenkins
951ee8806c Merge "Add KillFilter for python 3.5" 2017-01-21 01:22:38 +00:00
Jenkins
1bff60d0a6 Merge "Fix empty string check for python 3" 2017-01-21 01:20:52 +00:00
Jakub Libosvar
d5c07fe512 ovsfw: Support protocol numbers instead of just tcp and udp
Neutron API accepts also protocol numbers as protocols for security
groups. This patch makes support for it in OVS firewall driver. iptables
driver already supports it.

Fullstack test covering SCTP connection was added and it requires
ip_conntrack_proto_sctp kernel module in order to make conntrack work
with SCTP.

Change-Id: I6c5665a994c4a50ddbb95cd1360be0de0a6c7e40
Closes-bug: 1625516
2017-01-20 11:17:40 -05:00
Davanum Srinivas
d6c99d521f Add KillFilter for python 3.5
When we run devstack with USE_PYTHON3, the existing KillFilter
definitions are not enough. Let's add one specific to python 3.5
as well.

Change-Id: I2472e4e39315225d6c9ea1651c8e3b20edc59b49
2017-01-20 15:08:56 +00:00
Kevin Benton
553ab6d86e Register sqlalchemy events through hook for UT cleanup
Register all sqlalchemy events through a new function in
neutron.db.api so we can keep track of active events and
ensure all are removed at the end of each test run.

Without this, an instance of a plugin may be left around
with the only reference to it existing in SQLAlchemy, where
it will receive events for tests unrelated to it and potentially
interfere.

Change-Id: I8e93eb4e8ef5a13f015db9cd20e44941cdcb72ef
2017-01-20 04:15:01 -08:00
Jenkins
0c05d49949 Merge "Server-side push notifications for ML2" 2017-01-20 08:41:34 +00:00
Jenkins
c0db29510c Merge "Fix netns_cleanup interrupted on rwd I/O" 2017-01-20 08:25:01 +00:00
Jenkins
ace1d669e2 Merge "Stop using legacy facade" 2017-01-20 08:23:22 +00:00
Jenkins
303324fb34 Merge "Add OVO for AutoAllocatedTopology" 2017-01-20 08:10:50 +00:00
Oleg Bondarev
7953e9886d Fix empty string check for python 3
It's '' in py2 and b'' in py3.
See bug for traceback.

Closes-Bug: #1657476
Change-Id: Ic2c32669bf238b702e13e81e15dd079d538a6abc
2017-01-20 10:03:20 +04:00
Jenkins
2614bc6498 Merge "DVR: Fix IPtables driver for metering with DVR routers" 2017-01-20 04:08:55 +00:00
Jenkins
f8b49d41c8 Merge "Add subprojects database migration" 2017-01-20 04:08:34 +00:00
Jenkins
29a002567f Merge "Get rid of L3 HA override of _update_router_db" 2017-01-20 04:07:57 +00:00
Jenkins
0c161908bd Merge "Get rid of create_router override in l3_ha mixin" 2017-01-20 04:07:36 +00:00
Jenkins
dce2118fd7 Merge "Remove get_router_cidrs method of dvr_edge_ha router" 2017-01-20 01:49:46 +00:00
Jenkins
af4992fc61 Merge "Updated from global requirements" 2017-01-20 00:24:33 +00:00
Jenkins
b6aba016ae Merge "Protect against non-determinstic sort" 2017-01-20 00:24:11 +00:00
Jenkins
37906965f6 Merge "Allow 0 in port range for securitygrouprule object" 2017-01-20 00:18:01 +00:00
Jenkins
96a51ad742 Merge "Add a ReST client for placement API" 2017-01-20 00:17:40 +00:00
Ankur Gupta
a43e992ed9 Modify docref commands to reflect OSC transition
Change-Id: Ie8f658372eb1273aa54f3d2d6a8a30651fe26f32
2017-01-19 21:52:46 +00:00
Kevin Benton
d8440e41e0 Server-side push notifications for ML2
ML2 server-side push notifications for subnets, networks,
ports, security groups, and security group rules.

This adds a registry callback listener for each of the objects
above for the AFTER_CREATE and AFTER_UPDATE events. Whenever
one of these is triggered, it will parse the ID out of the event
and use it to retrieve an OVO object from the DB and dispatch
it to the RPC callback notifier.

This is only the logic to push changes to the agents. It does not
include an interface for the agents to query the server or the agent
side code to receive the notifications.

Partially-Implements: blueprint push-notifications
Change-Id: I5efc625c5e8565693e795d70e0f85810552d38cd
2017-01-19 21:01:23 +00:00
Kevin Benton
e834986084 Allow 0 in port range for securitygrouprule object
We allow 0 in port_range_min and port_range_max for the
non TCP/UDP use cases (e.g. ICMP). This adjusts the securitygrouprule
OVO object to use a new PortRangeWith0Field to allow 0.

Change-Id: I00f7a91202ccfcad1b8edb8759983332c6e79791
2017-01-19 21:01:02 +00:00
OpenStack Proposal Bot
48580f3012 Updated from global requirements
Change-Id: I98db73e4d9d9691f594a5275c636ceee1c0887c6
2017-01-19 20:51:48 +00:00
Jenkins
0fdfb11e0b Merge "Fix importing old path for exceptions" 2017-01-19 19:26:38 +00:00
Lizhixin
91b2efcbd5 Remove get_router_cidrs method of dvr_edge_ha router
Since commit a388f78c8c, we fetch
routers' existing floating ip address from the fip namespace's
route table instead of qrouter namespace's qg device for the
dvr_local and dvr_edge router. But for dvr_edge_ha router, it
still fetch the existing floating ip like legacy router, causing
it can’t know which existent floating ip rules need to be removed.

After removing the get_router_cidrs method, the dvr_edge_ha router
inherit the get_router_cidrs method from dvr_local router and it
will remove the existent floating ip rules successfully if we
disassociate the floating ip.

Co-Authored-By: Swaminathan Vasudevan <swaminathan.vasudevan@hpe.com>
Change-Id: Ic471189773298b353db7629c827c8787703c0069
Related-Bug: #1644415
2017-01-19 10:37:14 -08:00
Jenkins
082f4490a9 Merge "Add check for ha state" 2017-01-19 17:42:10 +00:00
Jenkins
3b05e83760 Merge "Support ovsdb-client monitor with remote connection" 2017-01-19 14:55:22 +00:00
Jenkins
43fd3bcee5 Merge "Catch invalid subnet service_types on input" 2017-01-19 12:00:19 +00:00
Jenkins
cd8277ce37 Merge "Remove second -m protocol from iptables rules" 2017-01-19 11:59:57 +00:00
Jenkins
83cfccbfaf Merge "Only migrate ports on DVR migration" 2017-01-19 11:14:44 +00:00
Jenkins
1c562471d6 Merge "Rename a test method" 2017-01-19 10:23:13 +00:00
Ann Kamyshnikova
4f17f70089 Stop using legacy facade
Introduce get_reader_session() and get_writer_session()
and replace get_session() with them.
Mark get_session as depricated.

Stop using get_engine from legacy facade. Use writer engine for
places where it is required.

Partially-Implements blueprint: enginefacade-switch

Change-Id: I28b741bfa27bf04cbe273586e6e3e00e14fbe683
2017-01-19 13:02:33 +04:00
Jenkins
6f1c727267 Merge "Remove deprecated dhcp_domain from dhcp_agent.ini" 2017-01-19 08:41:02 +00:00
Jenkins
891345d3f0 Merge "Change the order of installing flows for br-int" 2017-01-19 08:27:40 +00:00
Jenkins
a4b3e28324 Merge "Refactor OVSDB native lib to be more customizable" 2017-01-19 08:27:19 +00:00
Jenkins
348f815a09 Merge "DHCP: enhance DHCPAgent startup procedure" 2017-01-19 08:25:16 +00:00
Jianghua Wang
8047da17db XenAPI: Support daemon mode for rootwrap
For Neutron's compute agent in a XenServer's compute node, the commands
actually need run in Dom0. Currently XenServer only supports rootwrap
for that purpose by invoking a script which invokes XenAPI to execute
commands in dom0. There are much performance overhead due to it requires
parsing on the script and the configuration file every time running
commands.

This change is to support daemon mode with which each agent service will
call XenAPI directly to execute commands in dom0. And it will keep the
single XenAPI session.

DocImpact: Need update the following configuration.

file: /etc/neutron/plugins/ml2/openvswitch_agent.ini
[agent]
root_helper_daemon = xenapi_root_helper
[xenapi]
connection_url = http://169.254.0.1
connection_username = root
connection_password = xenroot

Closes-Bug: #1585510
Change-Id: I684034359fe0571bc92dbcf342a9821553b1da35
2017-01-19 07:33:43 +00:00
Hirofumi Ichihara
66c7c604fe Fix importing old path for exceptions
The network_ip_availability plugin uses old path for exceptions.
This patch fixes the path and adds negative test for the exception.

Change-Id: I9021f76e21b386f371ff73b926553611ab87fb66
Closes-bug: #1657137
2017-01-19 14:53:49 +09:00
Jenkins
3987159db8 Merge "Use ubuntu image for tempest scenarios from Neutron" 2017-01-19 01:02:48 +00:00
Jenkins
645561e3f8 Merge "Fullstack SG test for LinuxBridge agent" 2017-01-18 20:53:59 +00:00
Jakub Libosvar
743a610bf3 Use ubuntu image for tempest scenarios from Neutron
Tempest scenarios in Neutron tree contain tests from trunk plugin. These
tests require instances with 802.1q capabilities in order to test VLAN
traffic through subports.

The patch adds hook to fetch Ubuntu image for tests running from Neutron
tree. There are only few other tests in the tree so using bigger image
won't make the job running that much longer in the gate. As ubuntu boot
time takes longer, it's expected that it will take longer time until
instance becomes available over SSH.

Change-Id: I867595b0e90d23f56101835f9a524a2b0d00bb5a
2017-01-18 17:54:36 +00:00
Jenkins
75f0f3433c Merge "Use writer for trunk database operations" 2017-01-18 16:44:38 +00:00
ZhaoBo
a594df67a7 Catch invalid subnet service_types on input
_validate_subnet_service_types function does not consider the
data type of service_type on creatation or update. For example,
if an integer type is passed, the neutron-server will hit
internal error.

This patch adds a check to make sure the data type is unicode.

Change-Id: I5e6d15def3e23f51172b69e1287ff18ab5d3f6aa
Closes-Bug: #1633066
2017-01-18 14:56:19 +00:00
Sławek Kapłoński
45e047f843 Fullstack SG test for LinuxBridge agent
This patch adds fullstack test for LinuxBridge L2
agent with iptables firewall driver.
As LinuxBridge L2 agent tests are spawning each agent
in separate namespace it is possible to test security
groups functionality.

Change-Id: I755c2f1cf68acc0df110902f3a587040ed0a4bab
2017-01-18 12:55:47 +00:00
Jenkins
1111fc61a1 Merge "Use new enginefacade for dvr mac db" 2017-01-18 12:50:24 +00:00