]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
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 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 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 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 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 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 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 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 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"

9 years agol3 agent: fix grammar in router info not found warning
Matt Riedemann [Fri, 1 May 2015 15:04:00 +0000 (08:04 -0700)]
l3 agent: fix grammar in router info not found warning

This offends my delicate sensibilities...

Change-Id: I4d00747093da6c39d5dc73272efd5acbcaa3684d

9 years agoFinally let L3 and DHCP agents cleanup namespaces by default
Eugene Nikanorov [Wed, 22 Apr 2015 15:45:57 +0000 (19:45 +0400)]
Finally let L3 and DHCP agents cleanup namespaces by default

There has been a problem with iproute package that resulted in errors
when deleting the namespaces, so deleting was turned off by default.
According to tests with iproute version 3.12.0 there is no such issue
so the option could be safely turned on by default.

DocImpact
Related-Bug: #1052535
Related-Bug: #1402739

Change-Id: I4c831f98fb2462382ef0f9216e265555186b965a

9 years agoMerge "Add notes about official sub-projects."
Jenkins [Fri, 1 May 2015 13:30:18 +0000 (13:30 +0000)]
Merge "Add notes about official sub-projects."

9 years agoMerge "Support multiple IPv6 prefixes on internal router ports for an HA Router"
Jenkins [Fri, 1 May 2015 13:30:06 +0000 (13:30 +0000)]
Merge "Support multiple IPv6 prefixes on internal router ports for an HA Router"

9 years agoMerge "Don't use iterator in search for tunnel type"
Jenkins [Fri, 1 May 2015 00:49:33 +0000 (00:49 +0000)]
Merge "Don't use iterator in search for tunnel type"

9 years agoMerge "Context: is_admin==True implies is_advsvc=True"
Jenkins [Fri, 1 May 2015 00:44:23 +0000 (00:44 +0000)]
Merge "Context: is_admin==True implies is_advsvc=True"

9 years agoMerge "Disembowel register_l3_agent code duplication in tests"
Jenkins [Thu, 30 Apr 2015 20:06:47 +0000 (20:06 +0000)]
Merge "Disembowel register_l3_agent code duplication in tests"

9 years agoContext: is_admin==True implies is_advsvc=True
Salvatore Orlando [Wed, 29 Apr 2015 23:07:27 +0000 (16:07 -0700)]
Context: is_admin==True implies is_advsvc=True

With this change is the is_admin parameter is set to True when
creating a context, the is_advsvc property is set to True as well,
without executing a pointless check with policy engine.

Closes-Bug: #1450244

Change-Id: I0a21a82692665599260d07c00c55df18fc926eb5

9 years agoAdd some tests for floating ips
Ann Kamyshnikova [Thu, 30 Apr 2015 11:09:59 +0000 (14:09 +0300)]
Add some tests for floating ips

* Associate floating ip to port that has already another floating ip
* Associate floating ip with port from another tenant

Change-Id: I8da074e94526c21d4d6a6a7910052cda809a1338

9 years agoAdd notes about official sub-projects.
Russell Bryant [Tue, 21 Apr 2015 15:53:08 +0000 (11:53 -0400)]
Add notes about official sub-projects.

There was recently a thread on openstack-dev titled "A big tent home
for Neutron backend code."

The thread began here:

    http://lists.openstack.org/pipermail/openstack-dev/2015-April/062310.html

and has roughly ended up here:

    http://lists.openstack.org/pipermail/openstack-dev/2015-April/062853.html

This patch is an attempt to reflect the end of that thread with
updates to docs.

Any further discussion should just continue on openstack-dev to avoid
forking the discussion between openstack-dev and gerrit.

Change-Id: I48dbe8ac69e60fbfd5e5082844004aaf9fdce539

9 years agoUpdated ovsvapp_agent.ini in neutron
Romil Gupta [Thu, 30 Apr 2015 08:37:34 +0000 (01:37 -0700)]
Updated ovsvapp_agent.ini in neutron

we have added the vxlan support for OVSvApp l2 Agent.

References:
https://review.openstack.org/#/c/168866/
https://review.openstack.org/#/c/175148/
https://review.openstack.org/#/c/177616/

Change-Id: I8061a1280b765e71aa682711c55c469f8425dac6

9 years agoDon't use iterator in search for tunnel type
Jakub Libosvar [Wed, 29 Apr 2015 10:04:03 +0000 (12:04 +0200)]
Don't use iterator in search for tunnel type

Changing dictionary size while using iterator causes RuntimeError. This
can happen in local vlan mapping under certain program flows. This patch
changes iteritems() to values() that returns list and thus preventing
from failure if local vlan mapping changes during creating tunnels.

Change-Id: I8a858d5c53e85f83a582f34205f9afa214cb4d58
Closes-Bug: 1449944

9 years agoMerge "Eliminate extra queries used to retrieve gw_ports"
Jenkins [Thu, 30 Apr 2015 06:44:21 +0000 (06:44 +0000)]
Merge "Eliminate extra queries used to retrieve gw_ports"

9 years agoMerge "Allow plugin to specify router_id"
Jenkins [Thu, 30 Apr 2015 01:41:14 +0000 (01:41 +0000)]
Merge "Allow plugin to specify router_id"

9 years agoMerge "Updated from global requirements"
Jenkins [Thu, 30 Apr 2015 00:40:07 +0000 (00:40 +0000)]
Merge "Updated from global requirements"

9 years agoMerge "Correct inconsistent enable_snat management"
Jenkins [Thu, 30 Apr 2015 00:17:31 +0000 (00:17 +0000)]
Merge "Correct inconsistent enable_snat management"

9 years agoMerge "Make sure OVS restarts when Exception occurred"
Jenkins [Wed, 29 Apr 2015 23:12:10 +0000 (23:12 +0000)]
Merge "Make sure OVS restarts when Exception occurred"

9 years agoMerge "Ensure mocks for lla allocator _write in test_agent"
Jenkins [Wed, 29 Apr 2015 23:11:34 +0000 (23:11 +0000)]
Merge "Ensure mocks for lla allocator _write in test_agent"

9 years agoMerge "Replace unnecessary call to get_sync_routers"
Jenkins [Wed, 29 Apr 2015 22:49:35 +0000 (22:49 +0000)]
Merge "Replace unnecessary call to get_sync_routers"

9 years agoRemove is_active property from SimpleInterfaceMonitor
rossella [Thu, 23 Apr 2015 22:57:18 +0000 (22:57 +0000)]
Remove is_active property from SimpleInterfaceMonitor

is_active property from SimpleInterfaceMonitor shadows
the method is_active inherited from AsyncProcess.
The property checks that ovsdb monitor is running and
that it received some data. When ovsdb monitor starts
it always receives data, since it processes the interfaces
present on the machine, so the flag data_received will
always be set to true right after SimpleInterfaceMonitor
starts. Considering that, is_active can be removed and
the method is_active inherited from AsyncProcess can be
used instead.

Change-Id: I05faeddd061ab45af51c044a10462c3a57593d4d

9 years agoUpdated from global requirements
OpenStack Proposal Bot [Wed, 29 Apr 2015 19:18:14 +0000 (19:18 +0000)]
Updated from global requirements

Change-Id: Icec7a7d00ebdd07673cfdb49a46faa4c73d3908a

9 years agoMerge "Fix _device_to_port_id for non-tap devices"
Jenkins [Wed, 29 Apr 2015 19:07:46 +0000 (19:07 +0000)]
Merge "Fix _device_to_port_id for non-tap devices"

9 years agoMerge "Imported Translations from Transifex"
Jenkins [Wed, 29 Apr 2015 19:07:00 +0000 (19:07 +0000)]
Merge "Imported Translations from Transifex"

9 years agoMerge "Rename delete_gateway method name"
Jenkins [Wed, 29 Apr 2015 18:40:15 +0000 (18:40 +0000)]
Merge "Rename delete_gateway method name"

9 years agoDisembowel register_l3_agent code duplication in tests
Assaf Muller [Tue, 28 Apr 2015 15:44:16 +0000 (11:44 -0400)]
Disembowel register_l3_agent code duplication in tests

Change-Id: I32fe50ce0904ff439c615d9860782d76e94c48c3

9 years agoEnsure mocks for lla allocator _write in test_agent
Sam Betts [Wed, 29 Apr 2015 15:15:35 +0000 (16:15 +0100)]
Ensure mocks for lla allocator _write in test_agent

The test test_create_dvr_fip_interfaces_for_restart_l3agent_case was
causing a file fip-linklocal-networks to be created when the tests are
run, this patch ensures that the correct part of the LinkLocalAllocator
is patched to prevent this in the test case.

Change-Id: Ifd0cae56324364b281a9279047b26a182b77905a
Closes-Bug: 1450090

9 years agoFix _device_to_port_id for non-tap devices
Kevin Benton [Mon, 30 Mar 2015 18:29:44 +0000 (11:29 -0700)]
Fix _device_to_port_id for non-tap devices

This adjusts the _device_to_port_id function in ML2
to recognize other interfaces that belong to Neutron
under different name prefixes.

Adds unit tests to achieve full converage of _device_to_port_id
method.

Closes-Bug: #1443710
Change-Id: I80284ee67e5876cf5689e49e1592ca1351ae5fa1

9 years agoMerge "Remove 'IP' from device exception message"
Jenkins [Wed, 29 Apr 2015 06:46:17 +0000 (06:46 +0000)]
Merge "Remove 'IP' from device exception message"

9 years agoImported Translations from Transifex
OpenStack Proposal Bot [Wed, 29 Apr 2015 06:14:13 +0000 (06:14 +0000)]
Imported Translations from Transifex

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

Change-Id: I35b81a59fe9d273742cdebf7ee3d47c23e2f5b9a

9 years agoRename delete_gateway method name
Gal Sagie [Wed, 29 Apr 2015 04:49:16 +0000 (07:49 +0300)]
Rename delete_gateway method name

Fix last comments from bug #1435012
Some comments were left out and the patch is already merged.
This patch address these comments.
Rename method and remove an unneeded comment

Change-Id: Ie087edf1fee7136eddf75ce01d4b640211445bfa

9 years agoMerge "Remove RecursivePermDirFixture useless cleanup"
Jenkins [Tue, 28 Apr 2015 23:43:09 +0000 (23:43 +0000)]
Merge "Remove RecursivePermDirFixture useless cleanup"

9 years agoDrop use of 'oslo' namespace package
Doug Hellmann [Tue, 28 Apr 2015 22:08:39 +0000 (22:08 +0000)]
Drop use of 'oslo' namespace package

The Oslo libraries have moved all of their code out of the 'oslo'
namespace package into per-library packages. The namespace package was
retained during kilo for backwards compatibility, but will be removed by
the liberty-2 milestone. This change removes the use of the namespace
package, replacing it with the new package names.

The patches in the libraries will be put on hold until application
patches have landed, or L2, whichever comes first. At that point, new
versions of the libraries without namespace packages will be released as
a major version update.

Please merge this patch, or an equivalent, before L2 to avoid problems
with those library releases.

Blueprint: remove-namespace-packages
https://blueprints.launchpad.net/oslo-incubator/+spec/remove-namespace-packages

Change-Id: If8a132de65ba1e57ea93f98daac66816a3cefaa8

9 years agoMerge "Utilities for building/parsing netns names to facilitate testing"
Jenkins [Tue, 28 Apr 2015 21:30:07 +0000 (21:30 +0000)]
Merge "Utilities for building/parsing netns names to facilitate testing"