]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
9 years agoMerge "Extenuate register_dhcp_agent code duplication in tests"
Jenkins [Thu, 14 May 2015 05:00:14 +0000 (05:00 +0000)]
Merge "Extenuate register_dhcp_agent code duplication in tests"

9 years agoMerge "Remove skip of service-type management API test"
Jenkins [Thu, 14 May 2015 04:55:10 +0000 (04:55 +0000)]
Merge "Remove skip of service-type management API test"

9 years agoMerge "Allow updating port 'binding:host_id' be None"
Jenkins [Thu, 14 May 2015 03:45:59 +0000 (03:45 +0000)]
Merge "Allow updating port 'binding:host_id' be None"

9 years agoMerge "Add capability to wait for IPv6 address in ip_lib"
Jenkins [Thu, 14 May 2015 03:26:06 +0000 (03:26 +0000)]
Merge "Add capability to wait for IPv6 address in ip_lib"

9 years agoMerge "Allow unit tests to be run independently"
Jenkins [Thu, 14 May 2015 02:33:16 +0000 (02:33 +0000)]
Merge "Allow unit tests to be run independently"

9 years agoMerge "setup port filters when sg rules change"
Jenkins [Thu, 14 May 2015 02:33:03 +0000 (02:33 +0000)]
Merge "setup port filters when sg rules change"

9 years agoMerge "Refactor checks for device existence"
Jenkins [Thu, 14 May 2015 02:17:30 +0000 (02:17 +0000)]
Merge "Refactor checks for device existence"

9 years agoAllow updating port 'binding:host_id' be None
shihanzhang [Mon, 11 May 2015 09:22:40 +0000 (17:22 +0800)]
Allow updating port 'binding:host_id' be None

with ml2 plugin, it should allow updating port 'binding:host_id'
be None directly, there is already a bug in nova#1441419.

Change-Id: I93e4c513e40a7cf5740dde6c658e2470788d716a
Closes-Bug: #1453715

9 years agoFix neutron tests
Assaf Muller [Wed, 13 May 2015 17:39:20 +0000 (13:39 -0400)]
Fix neutron tests

Tox updated to a new major version and changed some substitute
variables.

Change-Id: Ifd00abed7bf0a68d4d46d12230118022fa2292ef

9 years agoMerge "Consider all address scopes in init_l3"
Jenkins [Wed, 13 May 2015 16:30:39 +0000 (16:30 +0000)]
Merge "Consider all address scopes in init_l3"

9 years agoAllow unit tests to be run independently
Henry Gessau [Tue, 31 Mar 2015 14:54:51 +0000 (10:54 -0400)]
Allow unit tests to be run independently

Add various initializations and imports so that unit tests can be run
independently.

This change fixes the following test cases which could not be run
independently, that is running any individual unit test case by going
in to the py27 venv and running
"unit2 neutron.tests.unit.module.Class.test_case":

 neutron.tests.unit.plugins.ml2.drivers.arista.test_mechanism_arista.*
 neutron.tests.unit.plugins.ml2.drivers.cisco.apic.*
 neutron.tests.unit.plugins.ml2.test_rpc.RpcCallbacksTestCase.*
 neutron.tests.unit.services.l3_router.test_l3_apic.*
 neutron.tests.unit.agent.dhcp.test_agent.TestDhcpAgentEventHandler.*

(Note that these issues are not seen when running tox because the
initializations occur when all test modules are imported for test
discovery.)

Closes-bug: 1438463
Closes-bug: 1454640

Change-Id: I681caa66b51ce9a7bfbee5dfc43d534ba0d51947

9 years agoMerge "Fix routerid constraint migration"
Jenkins [Wed, 13 May 2015 13:40:53 +0000 (13:40 +0000)]
Merge "Fix routerid constraint migration"

9 years agoMerge "Update build hooks."
Jenkins [Wed, 13 May 2015 12:21:51 +0000 (12:21 +0000)]
Merge "Update build hooks."

9 years agoMerge "mlnx MD: mlnx_direct removal"
Jenkins [Wed, 13 May 2015 11:41:11 +0000 (11:41 +0000)]
Merge "mlnx MD: mlnx_direct removal"

9 years agoMerge "ARP spoofing patch: Data structures for rules."
Jenkins [Wed, 13 May 2015 07:33:51 +0000 (07:33 +0000)]
Merge "ARP spoofing patch: Data structures for rules."

9 years agoUpdate build hooks.
Robert Collins [Tue, 12 May 2015 19:49:15 +0000 (07:49 +1200)]
Update build hooks.

The pbr setup_hook has not been needed for a while, so remove it.  The
neutron hook has been broken for a while: it places a setup_requires
build dependency on everything in neutron/__init__.py, which is
non-empty, but setup_requires is handled by easy install so we try
very hard to avoid it. Instead, we can use environment markers to
selectively include the win32 dependencies without requiring that
neutron be importable during setup.py execution. This is unusual
in OpenStack and will eventually be moved to a regular
requirements.txt dependency with the same marker - once we've finished
the integration work to make markers work properly in
requirements.txt.

Change-Id: Icdc403a3ccf06daeccf2a907a7bfeafd8dbbb5dd

9 years agoMerge "tests: don't allow oslo.config to autodiscover config files"
Jenkins [Tue, 12 May 2015 17:29:41 +0000 (17:29 +0000)]
Merge "tests: don't allow oslo.config to autodiscover config files"

9 years agoMerge "Allow users to run 'tox -epy34'"
Jenkins [Tue, 12 May 2015 16:09:47 +0000 (16:09 +0000)]
Merge "Allow users to run 'tox -epy34'"

9 years agosetup port filters when sg rules change
shihanzhang [Fri, 8 May 2015 00:51:19 +0000 (08:51 +0800)]
setup port filters when sg rules change

when security group rules change, the l2 agents which have the
ports in this security group should reload iptables, this bug
was introduced by patch#118274.

Closes-bug: #1452718
Change-Id: Idb1577128be5d8812024467f599166bc131d57ea

9 years agoMerge "l2pop UT: Reduce code duplication in migration tests"
Jenkins [Tue, 12 May 2015 11:44:30 +0000 (11:44 +0000)]
Merge "l2pop UT: Reduce code duplication in migration tests"

9 years agoMerge "Make it clear the rfe tag is lower-case"
Jenkins [Tue, 12 May 2015 11:44:17 +0000 (11:44 +0000)]
Merge "Make it clear the rfe tag is lower-case"

9 years agotests: don't allow oslo.config to autodiscover config files
Ihar Hrachyshka [Fri, 10 Apr 2015 09:29:56 +0000 (11:29 +0200)]
tests: don't allow oslo.config to autodiscover config files

oslo.config makes attempts to autodiscover configuration files using
find_config_files() helper. If e.g. /etc/neutron/neutron.conf exists,
and is not readable, the following test failure can be experienced:

oslo_config.cfg.ConfigFilesPermissionDeniedError: Failed to open some
config files: /etc/neutron/neutron.conf

Unit tests must not rely on any external state of the system and run
successfully no matter whether neutron is actually installed on the
system, or not.

Closes-Bug: #1442543
Change-Id: Ic90d8c40b2072fdda152703b84081719936b5f4e

9 years agoMerge "Support BP:ipv6-router in Neutron HA Router"
Jenkins [Tue, 12 May 2015 11:21:26 +0000 (11:21 +0000)]
Merge "Support BP:ipv6-router in Neutron HA Router"

9 years agoMerge "Remove H305 from tox.ini pep8 ignore list"
Jenkins [Tue, 12 May 2015 10:36:38 +0000 (10:36 +0000)]
Merge "Remove H305 from tox.ini pep8 ignore list"

9 years agomlnx MD: mlnx_direct removal
Moshe Levi [Sat, 9 May 2015 15:53:59 +0000 (18:53 +0300)]
mlnx MD: mlnx_direct removal

mlnx_direct is deprecated from Juno release. sriov-nic-switch
with macvtap port is the replacement for it.
This patch removes the mlnx_direct from mlnx MD and
from the supported vif_types.

Closes-Bug: #1453410

Change-Id: I7ee528dc04cdafa27455d5f8fd18c04c858466d8

9 years agoMerge "Two api tests for 'firewall insertion mode' feature"
Jenkins [Tue, 12 May 2015 08:10:32 +0000 (08:10 +0000)]
Merge "Two api tests for 'firewall insertion mode' feature"

9 years agol2pop UT: Reduce code duplication in migration tests
YAMAMOTO Takashi [Mon, 23 Feb 2015 04:37:47 +0000 (13:37 +0900)]
l2pop UT: Reduce code duplication in migration tests

Change-Id: Id5c2a849c242932ecfc243daef1d83f1892cbb0a

9 years agoMerge "Move test_get_user_allocation*returns_none test to a proper class"
Jenkins [Tue, 12 May 2015 01:07:13 +0000 (01:07 +0000)]
Merge "Move test_get_user_allocation*returns_none test to a proper class"

9 years agoMake it clear the rfe tag is lower-case
Carl Baldwin [Mon, 11 May 2015 18:58:34 +0000 (12:58 -0600)]
Make it clear the rfe tag is lower-case

This tripped me up, I tried adding RFE to my bug and was denied.
It seems the tag was added with lower-case letters.  This is fine with
me as it is consistent with most, if not all, other tags in the
project.  If it stays lower-case, we should at least make the quoted
tag in the policy document lower-case.

Change-Id: I9c72a2db2a168b56b1137839f5bfc1d2068d9f0c

9 years agoRemove H305 from tox.ini pep8 ignore list
Jakub Libosvar [Mon, 11 May 2015 14:05:03 +0000 (16:05 +0200)]
Remove H305 from tox.ini pep8 ignore list

H305 is about grouping imports. It seems like we meet the requirement. I
don't think there a reason to keep it.

Change-Id: Ia2ddd467288c3c3aad39aed98eefb532b0e1d280

9 years agoAllow users to run 'tox -epy34'
Cyril Roelandt [Thu, 7 May 2015 13:00:38 +0000 (13:00 +0000)]
Allow users to run 'tox -epy34'

With this commit, it is possible to successfully run 'tox -epy34', even though
only a small amount of tests will actually be run. This is a required step in
making Neutron compatible with Python 3, as described in the 'Porting to Python
3' specification.

This commit:
- fixes some broken imports, while making sure they still work with Python 3;
- updates a call to gettext.install;
- adds a py34 target in tox.ini.

Change-Id: I91cc7a992d05ea85f7004d1c5a45a1c02cbf1c85
Blueprint: neutron-python3

9 years agoSupport BP:ipv6-router in Neutron HA Router
sridhargaddam [Tue, 14 Apr 2015 08:03:49 +0000 (08:03 +0000)]
Support BP:ipv6-router in Neutron HA Router

blueprint ipv6-router (ChangeID:Iaefa95f788053ded9fc9c7ff6845c3030c6fd6df),
supports an IPv6 Router where the router gateway port has no subnet.

The BP implements the following. If an external network (without any subnet)
is attached to the Neutron router, it reads the ipv6_gateway config parameter
(LLA of upstream router) from l3_agent.ini file and adds a default route that
points to this LLA.  If the ipv6_gateway config value is not configured, it
would configure the gateway interface to accept router advts from upstream
router to build the default route.

For an HA router, we would have to configure keepalived to perform this
operation. This patch extends the functionality to an HA router.

Implements: blueprint ipv6-router
Change-Id: I26dc5ce9e46c74423358aa8a9559bc6c7cbdf85e

9 years agoRemove skip of service-type management API test
Henry Gessau [Mon, 20 Apr 2015 18:50:50 +0000 (14:50 -0400)]
Remove skip of service-type management API test

Advanced services split is complete so remove the skip
for the service-type management API test.

(Yes, there is only one placeholder test. More tests
need to be developed.)

Also remove the obsolete 'JSON' suffix from the test
class.

Closes-bug: 1400370

Change-Id: I5b4b8a67b24595568ea13bc400c1f5fce6d40f28

9 years agoImported Translations from Transifex
OpenStack Proposal Bot [Sun, 10 May 2015 06:15:11 +0000 (06:15 +0000)]
Imported Translations from Transifex

For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: I879a3f7c7b0e970c91ef23b118f09ade99ceffc2

9 years agoAdd capability to wait for IPv6 address in ip_lib
Kevin Benton [Sat, 2 May 2015 12:08:26 +0000 (05:08 -0700)]
Add capability to wait for IPv6 address in ip_lib

When an IPv6 address is added to an interface, it
goes into a tentative state for a couple of seconds
for duplicate address detection. During this time,
use of the address will fail. This is an issue for
functional tests where they may add an address to
an interface and then immediately run a ping and
expect success.

This patch adds a new wait_until_address_ready function
to ip_lib that will poll the interface every 200 ms until
the status transitions off of tentative or until a time limit
is exceeded. If the time limit is exceeded, it will raise an
exception.

It also adds unit tests and updates a functional test to
make use of the new feature.

Change-Id: I2fa51e3f55847f7b5062bec0c1c666f5c11364d5

9 years agoMerge "remove router interface on Arista L3 plugin fails"
Jenkins [Sat, 9 May 2015 14:58:34 +0000 (14:58 +0000)]
Merge "remove router interface on Arista L3 plugin fails"

9 years agoMerge "Fix typos related to IPv6 use-cases"
Jenkins [Sat, 9 May 2015 08:42:31 +0000 (08:42 +0000)]
Merge "Fix typos related to IPv6 use-cases"

9 years agoremove router interface on Arista L3 plugin fails
Sukhdev Kapur [Sat, 9 May 2015 00:19:58 +0000 (17:19 -0700)]
remove router interface on Arista L3 plugin fails

The failure is because of mismatch of the
parameters to _validate_interface_info(). This patch removes
this code as it can be inherited from upstream

Change-Id: I5a92c6d05876e9ab5201e8fac018433eeb5c89e4
Closes-Bug: #1453323

9 years agoMerge "Kill hostname validation for subnet:dns_nameservers"
Jenkins [Fri, 8 May 2015 23:07:38 +0000 (23:07 +0000)]
Merge "Kill hostname validation for subnet:dns_nameservers"

9 years agoMerge "Remove use of contextlib.nested"
Jenkins [Fri, 8 May 2015 22:40:51 +0000 (22:40 +0000)]
Merge "Remove use of contextlib.nested"

9 years agoMerge "lb-agent: ensure tap mtu is the same as physical device"
Jenkins [Fri, 8 May 2015 22:32:45 +0000 (22:32 +0000)]
Merge "lb-agent: ensure tap mtu is the same as physical device"

9 years agoMerge "Update the specs process for Liberty"
Jenkins [Fri, 8 May 2015 22:29:18 +0000 (22:29 +0000)]
Merge "Update the specs process for Liberty"

9 years agoExtenuate register_dhcp_agent code duplication in tests
Assaf Muller [Fri, 1 May 2015 17:29:26 +0000 (13:29 -0400)]
Extenuate register_dhcp_agent code duplication in tests

Non-obvious changes:
* Change helpers.register_agent to use a slimmed down version
  of a plugin that knows how to register an agent. This allows
  the helper to be used with tests that do not register a core
  plugin.

Change-Id: Iefb1af676af6a984b01cdc1e9050541dffb5951a

9 years agoMerge "Updated from global requirements"
Jenkins [Fri, 8 May 2015 15:18:39 +0000 (15:18 +0000)]
Merge "Updated from global requirements"

9 years agoFix typos related to IPv6 use-cases
sridhargaddam [Fri, 17 Apr 2015 19:09:06 +0000 (19:09 +0000)]
Fix typos related to IPv6 use-cases

Change-Id: I8ede289ded70d2820a39c13a4cbfdaae570f699c

9 years agoRefactor checks for device existence
Sergey Belous [Thu, 15 Jan 2015 15:19:51 +0000 (18:19 +0300)]
Refactor checks for device existence

The code calling driver.plug() shouldn't check for the device existence,
it's a duplicate and it's an expensive call.
Move check for device existence to base LinuxInterfaceDriver.plug()
to remove code duplication. Make plug_new() abstract instead.

Change-Id: Id118a64012ad10b197ba681ce5f1b2742eb135b4
Closes-Bug:1348703

9 years agoMerge "Limit router gw ports' stateful fixed IPs to one per address family"
Jenkins [Fri, 8 May 2015 10:18:28 +0000 (10:18 +0000)]
Merge "Limit router gw ports' stateful fixed IPs to one per address family"

9 years agoUpdated from global requirements
OpenStack Proposal Bot [Thu, 7 May 2015 23:32:27 +0000 (23:32 +0000)]
Updated from global requirements

Change-Id: Iecf009725214efa30e42f62d14e4ef920d6ce4a1

9 years agoCheck for missing network in _bind_devices
Kevin Benton [Sun, 3 May 2015 06:10:52 +0000 (23:10 -0700)]
Check for missing network in _bind_devices

_bind_devices was making the assumption that the ports it
was operating had local VLAN map entries for their network.
This wasn't the case when a network was deleted right before
_bind_ports was called because the VLAN was reclaimed.

This patch just checks to see if the the network ID has an entry
in the map. If not, it skips the port. The port will be handled
on the next scan_ports iteration when the agent will discover that
the port is no longer defined on the plugin and it will be placed
in the DEAD vlan.

Change-Id: Ica51d727aceb41848fec0f4edbd16916365941ee
Closes-Bug: #1452903

9 years agoMerge "Fix fetching prevent_arp_spoofing from cfg in neutron-sanity-check"
Jenkins [Thu, 7 May 2015 21:37:26 +0000 (21:37 +0000)]
Merge "Fix fetching prevent_arp_spoofing from cfg in neutron-sanity-check"

9 years agoMerge "VMWare NSXv: Metadata for distributed router"
Jenkins [Thu, 7 May 2015 21:37:14 +0000 (21:37 +0000)]
Merge "VMWare NSXv: Metadata for distributed router"

9 years agoMerge "Add missed actions into policy.json"
Jenkins [Thu, 7 May 2015 21:37:02 +0000 (21:37 +0000)]
Merge "Add missed actions into policy.json"

9 years agoAdd missed actions into policy.json
Yushiro FURUKAWA [Tue, 7 Apr 2015 01:56:55 +0000 (10:56 +0900)]
Add missed actions into policy.json

This patch adds following actions into policy.json.

  1. v2.0/fw/firewall_policies/{firewall_policy_id}/insert_rule
  2. v2.0/fw/firewall_policies/{firewall_policy_id}/remove_rule

Closes-Bug: #1439383
Change-Id: I8051a97852f0f1f21bf266c16a477a5e2fd32062

9 years agoMerge "VMware: add in router types for NSXv"
Jenkins [Thu, 7 May 2015 20:33:16 +0000 (20:33 +0000)]
Merge "VMware: add in router types for NSXv"

9 years agoARP spoofing patch: Data structures for rules.
Juergen Brendel [Thu, 26 Feb 2015 00:51:04 +0000 (13:51 +1300)]
ARP spoofing patch: Data structures for rules.

ARP cache poisoning is not actually prevented by the firewall
driver 'iptables_firewall'. We are adding the use of the ebtables
command - with a corresponding ebtables-driver - in order to create
Ethernet frame filtering rules, which prevent the sending of ARP
cache poisoning frames.

The complete patch is broken into smaller patch sets for easier review.

This patch set here includes the some classes for the maintenance of ebtable
chains and rules.

Note:
    This commit is based greatly on an original, now abandoned patch,
    presented for review here:

        https://review.openstack.org/#/c/70067/

Full spec can be found here: https://review.openstack.org/#/c/129090/

SecurityImpact

Change-Id: I3c66e92cbe8883dcad843ad243388def3a96dbe5
Implements: blueprint arp-spoof-patch-ebtables
Related-Bug: 1274034
Co-Authored-By: jbrendel <jbrendel@cisco.com>
9 years agoLimit router gw ports' stateful fixed IPs to one per address family
Andrew Boik [Wed, 25 Mar 2015 20:05:41 +0000 (16:05 -0400)]
Limit router gw ports' stateful fixed IPs to one per address family

Validate a router's gateway port during a router update by ensuring
it has no more than one v4 fixed IP and one v6 (statefully-assigned)
fixed IP.

Note that there is no limit on v6 addresses from SLAAC and
DHCPv6-stateless subnets as they are automatically allocated.

Change-Id: I6a328048b99af39ab9497fd9f265d1a9b95b7148
Closes-Bug: 1438819
Partially-implements: blueprint multiple-ipv6-prefixes

9 years agoMerge "Refactoring to adhere to coding convention"
Jenkins [Thu, 7 May 2015 15:56:46 +0000 (15:56 +0000)]
Merge "Refactoring to adhere to coding convention"

9 years agoMerge "changes log level to debug for help calls"
Jenkins [Thu, 7 May 2015 14:53:30 +0000 (14:53 +0000)]
Merge "changes log level to debug for help calls"

9 years agoMerge "Allow to define enable_snat default value"
Jenkins [Thu, 7 May 2015 13:53:47 +0000 (13:53 +0000)]
Merge "Allow to define enable_snat default value"

9 years agoVMWare NSXv: Metadata for distributed router
Kobi Samoray [Sun, 19 Apr 2015 09:25:33 +0000 (12:25 +0300)]
VMWare NSXv: Metadata for distributed router

Metadata support for NSXv distributed routers is provided via DHCP Edge
appliances. In order to avoid conflicts between distributed routers and
DHCP Edges which map different networks with same CIDRs, we create a 1:1
mapping between an distributed router and a DHCP Edge.

This patch contains the data model for the above, while the implementation
is in vmware-nsx repository.

Change-Id: I324403f7d5df4861193840e05bedf7a473aea655

9 years agoMerge "Use iptables zone to separate different ip_conntrack"
Jenkins [Thu, 7 May 2015 02:10:45 +0000 (02:10 +0000)]
Merge "Use iptables zone to separate different ip_conntrack"

9 years agoAllow to define enable_snat default value
Cedric Brandily [Thu, 23 Oct 2014 15:49:46 +0000 (17:49 +0200)]
Allow to define enable_snat default value

Currently neutron resets enable_snat attribute to True when enable_snat
is not provided in router external_gateway_info. But in some deployments
(private/enterprise clouds) such behavior is not the expected default
one as snat/nat/floating-ips is not used (at least by default).

This change defines the option enable_snat_by_default which allows
deployers to set enable_snat default value when neutron resets it. The
option default value is True for backward compatibility.

DocImpact
APIImpact
Closes-Bug: #1388858
Change-Id: I455a552230ec89fe907a087c1de8c8144b5d086e

9 years agoUpdate the specs process for Liberty
Kyle Mestery [Wed, 6 May 2015 14:50:57 +0000 (14:50 +0000)]
Update the specs process for Liberty

This adds explicit wording around the fact we will not use a deadline
for specs submission during Liberty. It also adds wording around the
new requirement for a less heavy-weight template to be filled in
when submitting a spec.

Change-Id: Id54550fb4314117db8fcfea90dd0627899e80c74

9 years agochanges log level to debug for help calls
Matthew Thode [Wed, 6 May 2015 19:39:20 +0000 (14:39 -0500)]
changes log level to debug for help calls

Calling help typically causes the program being called to exit non-zero.
This causes the command to be logged as an error even though it should not be.
By setting 'log_fail_as_error=False' we log to debug.  This helps clean
up logs.

Change-Id: I13f9488b9bc524bb85047e9b2dcf4e8a76bd6c11
Closes-Bug: 1452425

9 years agoRemove use of contextlib.nested
ankitagrawal [Wed, 25 Mar 2015 12:40:45 +0000 (05:40 -0700)]
Remove use of contextlib.nested

Removed use of contextlib.nested call from codebase, as it has been
deprecated since Python 2.7.

There are also known issues with contextlib.nested that were addressed
by the native support for multiple "with" variables. For instance, if
the first object is created but the second one throws an exception,
the first object's __exit__ is never called. For more information see
https://docs.python.org/2/library/contextlib.html#contextlib.nested
contextlib.nested is also not compatible with Python 3.

This is the first patch in a series for removing use of
contextlib.nested.

Added hacking check to catch if any new instances are added to
the codebase.

Line continuation markers (e.g. '\') had to be used or syntax
errors were thrown. While using parentheses is the preferred way
for multiple line statements, but in case of long with statements
backslashes are acceptable.

Partial-Bug: 1428424
Change-Id: I171fbdb89892a3d4548bf2ca52f4a7dd9ef8dccb

9 years agoMerge "Deprecate config-based Quota Driver"
Jenkins [Wed, 6 May 2015 11:36:43 +0000 (11:36 +0000)]
Merge "Deprecate config-based Quota Driver"

9 years agoFix fetching prevent_arp_spoofing from cfg in neutron-sanity-check
Jakub Libosvar [Wed, 6 May 2015 11:13:37 +0000 (13:13 +0200)]
Fix fetching prevent_arp_spoofing from cfg in neutron-sanity-check

Change-Id: I0e2ae9fb7236db3aadfc8969bd0adc1d28ea1fc7
Closes-bug: 1452241

9 years agoMerge "Add test for security groups"
Jenkins [Wed, 6 May 2015 08:44:26 +0000 (08:44 +0000)]
Merge "Add test for security groups"

9 years agoMerge "Router test enhancements"
Jenkins [Wed, 6 May 2015 05:48:04 +0000 (05:48 +0000)]
Merge "Router test enhancements"

9 years agoMerge "OVS-agent: Ignore IPv6 addresses for ARP spoofing prevention"
Jenkins [Wed, 6 May 2015 05:40:46 +0000 (05:40 +0000)]
Merge "OVS-agent: Ignore IPv6 addresses for ARP spoofing prevention"

9 years agoVMware: add in router types for NSXv
Gary Kotton [Thu, 30 Apr 2015 13:40:58 +0000 (06:40 -0700)]
VMware: add in router types for NSXv

The configuration file was updated to include the configuration
variable for the tenant_router_types

Change-Id: Id6d544f0d11bad3fa2fe33781a14c299f4043aff

9 years agoMerge "Fix mock return settings in test_full_uuids_skip_port_id_lookup"
Jenkins [Wed, 6 May 2015 02:50:49 +0000 (02:50 +0000)]
Merge "Fix mock return settings in test_full_uuids_skip_port_id_lookup"

9 years agoAdd test for security groups
Ann Kamyshnikova [Thu, 30 Apr 2015 12:42:06 +0000 (15:42 +0300)]
Add test for security groups

Add test that default security group name can not be updated.

Change-Id: Iff0a920122be8e19a1e1d92db33519f372a8b9b2

9 years agoUse iptables zone to separate different ip_conntrack
yangxurong [Tue, 26 Aug 2014 07:15:40 +0000 (15:15 +0800)]
Use iptables zone to separate different ip_conntrack

ip_conntrack causes security group rule failures when packets share
the same 5-tuple. Use iptables zone option to separate different
conntrack zone. Currently this patch only works for OVS agent.

Co-authored-by: shihanzhang <shihanzhang@huawei.com>
Change-Id: I90b4d2485e3e491f496dfb7bdee03d57f393be35
Partial-Bug: #1359523

9 years agoUpdated from global requirements
OpenStack Proposal Bot [Tue, 5 May 2015 00:07:15 +0000 (00:07 +0000)]
Updated from global requirements

Change-Id: Ic51f5b4e157bcc097bd42eb5607dd8223d01952d

9 years agoMerge "Enhance configure_for_func_testing.sh for *aaS use"
Jenkins [Tue, 5 May 2015 00:03:23 +0000 (00:03 +0000)]
Merge "Enhance configure_for_func_testing.sh for *aaS use"

9 years agoMerge "Add IP version support to all ip_lib code"
Jenkins [Mon, 4 May 2015 19:25:05 +0000 (19:25 +0000)]
Merge "Add IP version support to all ip_lib code"

9 years agoEnhance configure_for_func_testing.sh for *aaS use
Paul Michali [Tue, 21 Apr 2015 20:12:38 +0000 (16:12 -0400)]
Enhance configure_for_func_testing.sh for *aaS use

Modify the script so that it can be used by the *aaS functional tests.
This is done by allowing callers, namely other *aaS repos, to override
information, like the project name and virtual environment used (for
example, VPNaaS has two functional jobs with different virtual env).

Change-Id: I450273036e938a4acc9a7bc1dc193a9c207b2d58
Closes-Bug: #1446807

9 years agoMerge "Imported Translations from Transifex"
Jenkins [Mon, 4 May 2015 18:15:09 +0000 (18:15 +0000)]
Merge "Imported Translations from Transifex"

9 years agoMerge "remove metadata_proxy_local filters for rootwrap"
Jenkins [Mon, 4 May 2015 15:50:27 +0000 (15:50 +0000)]
Merge "remove metadata_proxy_local filters for rootwrap"

9 years agoAdd IP version support to all ip_lib code
Brian Haley [Tue, 14 Apr 2015 21:37:55 +0000 (17:37 -0400)]
Add IP version support to all ip_lib code

Added an ip_version argument to IpNeighCommand.show() and
IpRouteCommand.pullup_route() to match other code in the file.

Change-Id: Ifdf2abc5a77f551223bad061a1abdc88695fa5f1

9 years agoImported Translations from Transifex
OpenStack Proposal Bot [Mon, 4 May 2015 06:08:30 +0000 (06:08 +0000)]
Imported Translations from Transifex

For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: I676a4c8fc05330990be3b8bfe3f123fcd897b12f

9 years agoMerge "Remove is_active property from SimpleInterfaceMonitor"
Jenkins [Sun, 3 May 2015 10:20:07 +0000 (10:20 +0000)]
Merge "Remove is_active property from SimpleInterfaceMonitor"

9 years agoMerge "Remove un-used keys in keepalived tests"
Jenkins [Sun, 3 May 2015 10:00:06 +0000 (10:00 +0000)]
Merge "Remove un-used keys in keepalived tests"

9 years agoMerge "l2pop UT: Simplify migration tests"
Jenkins [Sun, 3 May 2015 09:58:12 +0000 (09:58 +0000)]
Merge "l2pop UT: Simplify migration tests"

9 years agoMerge "l2pop UT: Expire cached db objects before reusing a session"
Jenkins [Sun, 3 May 2015 09:50:18 +0000 (09:50 +0000)]
Merge "l2pop UT: Expire cached db objects before reusing a session"

9 years agoMerge "Clarify stackforge/vmware-nsx is for VMware NSX suite"
Jenkins [Sun, 3 May 2015 03:52:49 +0000 (03:52 +0000)]
Merge "Clarify stackforge/vmware-nsx is for VMware NSX suite"

9 years agoGet all interfaces for get_snat_sync_interfaces
Kevin Benton [Fri, 17 Apr 2015 12:10:26 +0000 (05:10 -0700)]
Get all interfaces for get_snat_sync_interfaces

The get_snat_sync_interfaces method was being called for
each router individually during a sync, which resulted
in a new query to the database.

This patch eliminates that waste by querying for the snat
interfaces for all of the routers in the list at once.

Change-Id: I1e44a0cf15a70632e8b62ac89ce807a7a457747d
Partial-Bug: #1445412

9 years agoOVS-agent: Ignore IPv6 addresses for ARP spoofing prevention
YAMAMOTO Takashi [Tue, 28 Apr 2015 03:37:22 +0000 (12:37 +0900)]
OVS-agent: Ignore IPv6 addresses for ARP spoofing prevention

The flow rules to match on ARP headers for spoofing prevention
fail to install when an IPv6 address is used. These should be
skipped since the ARP spoofing prevention doesn't apply to IPv6.

Co-authored-by: Kevin Benton <blak111@gmail.com>
Closes-Bug: #1449363
Change-Id: I4bb3135e62378c5c96d1ac0b646336ac9a637bde

9 years agoRemove un-used keys in keepalived tests
sridhargaddam [Wed, 15 Apr 2015 15:07:45 +0000 (15:07 +0000)]
Remove un-used keys in keepalived tests

Change-Id: Ie1069f5ee6c7c28da67260656c4a0753b930624a

9 years agoDeprecate config-based Quota Driver
Salvatore Orlando [Fri, 1 May 2015 23:32:23 +0000 (16:32 -0700)]
Deprecate config-based Quota Driver

This patch displays a deprecation warning everytime the quota
driver neutron.quota.ConfDriver is loaded.
The driver will be removed in the "M" cycle.

Change-Id: Ifb799755bce50bb089f8df020286fd2e95c80a68
Closes-Bug: #1430523

9 years agoMerge "Add some tests for floating ips"
Jenkins [Fri, 1 May 2015 23:30:36 +0000 (23:30 +0000)]
Merge "Add some tests for floating ips"

9 years agoMerge "Drop use of 'oslo' namespace package"
Jenkins [Fri, 1 May 2015 23:30:23 +0000 (23:30 +0000)]
Merge "Drop use of 'oslo' namespace package"

9 years agoMerge "Finally let L3 and DHCP agents cleanup namespaces by default"
Jenkins [Fri, 1 May 2015 23:30:10 +0000 (23:30 +0000)]
Merge "Finally let L3 and DHCP agents cleanup namespaces by default"

9 years agoMerge "Updated from global requirements"
Jenkins [Fri, 1 May 2015 23:29:57 +0000 (23:29 +0000)]
Merge "Updated from global requirements"

9 years agoClarify stackforge/vmware-nsx is for VMware NSX suite
Salvatore Orlando [Fri, 1 May 2015 22:35:03 +0000 (15:35 -0700)]
Clarify stackforge/vmware-nsx is for VMware NSX suite

To avoid confusion with networking-vsphere

Change-Id: I5e787ba9d7aab75ff568baf5f5b9a6c37bf24d08

9 years agoMerge "Don't update port with host id of None"
Jenkins [Fri, 1 May 2015 22:26:03 +0000 (22:26 +0000)]
Merge "Don't update port with host id of None"

9 years agoMerge "l3 agent: fix grammar in router info not found warning"
Jenkins [Fri, 1 May 2015 21:22:28 +0000 (21:22 +0000)]
Merge "l3 agent: fix grammar in router info not found warning"

9 years agoUpdated from global requirements
OpenStack Proposal Bot [Fri, 1 May 2015 20:18:50 +0000 (20:18 +0000)]
Updated from global requirements

Change-Id: I42cf4af2058c08e8e805c323a5d0b7075947c031

9 years agoMerge "Updated ovsvapp_agent.ini in neutron"
Jenkins [Fri, 1 May 2015 18:06:01 +0000 (18:06 +0000)]
Merge "Updated ovsvapp_agent.ini in neutron"