Change I2be04f600e6bd8d7d78948d25395d8e04fa0dea3 moved the
exception to tempest_lib. We should use the new import.
Closes-bug: #1421454
Change-Id: Id9ec2537261f101b1bed895bfe5ef2943b8548d2
It seems that 15 secs is not always enough, so raise the timeout to
something guaranteed to indicate a failure.
Change-Id: I4821983ebb2ef9483c0d35737794ddb45ddd4ac6
Closes-Bug: #1421354
A recent patch introduced a new keepalived manager utility
function which returns the keepalived.conf file contents,
but the keepalived functional test was not updated to use it.
Also, a bunch of unneeded logging configuration was removed from
this test.
Additionally, the keepalived configuration functional test
in the L3 agent testing module compares expected configuration
to an in-memory representation of the configuration that will
be persisted to disk. It's better to compare the expected
configuation with what was actually written to disk.
Change-Id: I0d6f73c5326d2ba1960456a151a67517db5cce7a
The projects that depend on Neutron do not play nicely with this.
This reverts commit 24b11ded7f6ff12f9484aecdb8d30498bf1b9025.
Change-Id: Ic7afd7de9db97cc3a085bc842a2d990519cf42f6
This removes the unsued RPC methods from
l3_rpc.py. 'get_snat_router_interface_ports"
was defined but not used by any agent.
Change-Id: Ide08e2a4b183b4f2616550efd5b1fb726b016b4c
Closes-Bug: #1421011
The NCS driver is scheduled for decomposition, and in the targetted vendor repo
the files are in a new location in the tree. Before we can decompose the driver
we must move it to its new location in the neutron tree.
A future patch will decompose (thin) the driver and add requirements.txt.
Partial-Bug: #1416713
Partially Implements: blueprint core-vendor-decomposition
Change-Id: If9d098bbbd571f53f945122e007d12d561295546
Those scripts are pretty trivial, calling external commands and using
kill -s and $(...) construction. All that is available in POSIX shell,
so let's not use bash in shebang and utilize more performant shell in
case /bin/sh != /bin/bash (valid for Debian based systems).
Change-Id: Ib5264c5ef51ca9028d7c27d440104a5ab978a557
Enhanced N323 hacking check to catch 'import oslo.*' form of obsolete
imports.
Added missing unit tests.
Change-Id: I92ae3818fbfd304dfc5e77596483c7caf6775e69
The format ('column:field', 'value') for map-type ovsdb values is
ovs-vsctl-specific. The updated implementation-neutral way to do
this is ('column', {'field': 'value'}).
Partially-Implements: blueprint vsctl-to-ovsdb
Change-Id: Icc917c97963204c01e0e9054cdcb9d8ec60f6ec1
When the OVSDB interface is added, make it easy to run all
ovs-related functional tests against both interfaces.
Partially-Implements: blueprint vsctl-to-ovsdb
Change-Id: Iadff4ec8c44be61861a2358745c7b08dc8985d26
To simplify the maintenance of plugin-specific models,
this patch moves all models of NEC plugin into a single module.
Partial-Bug: #1419396
Related blueprint core-vendor-decomposition
Change-Id: Icd914450bf80bd64abb4bb49c7048d678fd0bf0f
This patch does a couple of things. First it adds docstrings to the
client/server pair of the rpc interface used by an agent to report
state back to the plugin. The docs tell you where the other side of
the interface is found in the code, and where docs are that give more
info on the rules for changing them.
The second thing done in this patch is to scope this interface using a
messaging namespace. Right now some plugins expose several interfaces
via the default namespace. This effectively means they are a single
API and should be managed with a single version stream. It's much
more managable to just treat these as separate interfaces and this
change makes that explicit and functionally true. Now when a method
is invoked, the only classes considered for handling that request will
be ones marked with the right namespace.
Part of blueprint rpc-docs-and-namespaces.
Change-Id: I832db5c81780d98157a68d4abaf9787ba00adbeb
Now keepalived configuration wraps the VRRP instances with a
'vrrp_sync_group'. The VRRP sync group functionality is only
relevant when more then one VR instance is contained in it.
In that case the VRs in the group will have the same state.
Our use of keepalived uses a single instance per router.
This patch simply removes the 'vrrp_sync_group'.
In this patch VR instances are used on their own and they now
hold the 'notify_scripts'.
Note that the same VRRP functionality is preserved with this
patch.
Another motiviation for this patch, aside from removing
useless configuration, is to lay the foundation for a future
patch that will the related bug by adding 'track_script'
that are not supported with 'vrrp_sync_group'.
Change-Id: I33b81049cd9cf140244bbf121d1a71492161c77c
Related-Bug: #1365461
This patch does a couple of things. First it adds docstrings to the
client/server pair of the rpc interface used by the ovs agent
to make dvr related calls back into the Neutron server. The docs
tell you where the other side of the interface is found in the code,
and where docs are that give more info on the rules for changing them.
The second thing done in this patch is to scope this interface using a
messaging namespace. Right now some plugins expose several interfaces
via the default namespace. This effectively means they are a single
API and should be managed with a single version stream. It's much
more managable to just treat these as separate interfaces and this
change makes that explicit and functionally true. Now when a method
is invoked, the only classes considered for handling that request will
be ones marked with the right namespace.
Part of blueprint rpc-docs-and-namespaces.
Change-Id: Ieb1f023f5ab0ba66620d07e90005a49f1d40574c
This will greatly speed up SELECTs with filters by tenant_id (e.g.
when checking if we are going to exceed the quota value per resource
per tenant).
Closes-bug: #1419815
Change-Id: Iab80cce701e1f12dbf7a4f60d5ce945c6e7d0e2d
root_helper has been deprecated under [DEFAULT] since the quantum
to neutron rename. It's time to finally remove handling it.
DocImpact
UpgradeImpact
Partially-Implements: blueprint rootwrap-daemon-mode
Change-Id: I17cd62c8763430bf3a4b67ab5e9cf5b736065133