]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
10 years agoAdd physical_network to binding:vif_details dictionary
Irena Berezovsky [Sun, 27 Apr 2014 05:47:29 +0000 (08:47 +0300)]
Add physical_network to binding:vif_details dictionary

During port binding binding:vif_details dictionary is
updated with physical_network to be used by mlnx nova vif driver.
binding:profile update will be removed once nova side fix is merged
to keep consistent solution.

Change-Id: If9525929a1546e8d05f7923570d30dfc2eed8898
Closes-Bug: 1304872

10 years agoMerge "Imported Translations from Transifex"
Jenkins [Sun, 27 Apr 2014 02:34:16 +0000 (02:34 +0000)]
Merge "Imported Translations from Transifex"

10 years agoMerge "NSX: add nsx switch lookup to dhcp and metadata operations"
Jenkins [Sat, 26 Apr 2014 10:42:32 +0000 (10:42 +0000)]
Merge "NSX: add nsx switch lookup to dhcp and metadata operations"

10 years agoMerge "NSX: change api mapping for Service Cluster to Edge Cluster"
Jenkins [Sat, 26 Apr 2014 09:25:00 +0000 (09:25 +0000)]
Merge "NSX: change api mapping for Service Cluster to Edge Cluster"

10 years agoImported Translations from Transifex
OpenStack Proposal Bot [Sat, 26 Apr 2014 06:50:31 +0000 (06:50 +0000)]
Imported Translations from Transifex

Change-Id: Ic8ad2eed0ada3a616d73e6190dccf807612ca387

10 years agoMerge "Exclude .ropeproject from flake8 checks"
Jenkins [Fri, 25 Apr 2014 19:12:44 +0000 (19:12 +0000)]
Merge "Exclude .ropeproject from flake8 checks"

10 years agoMerge "LBaaS: remove orphan haproxy instances on agent start"
Jenkins [Fri, 25 Apr 2014 16:58:47 +0000 (16:58 +0000)]
Merge "LBaaS: remove orphan haproxy instances on agent start"

10 years agoMerge "Fixed floating IP logic in PLUMgrid plugin"
Jenkins [Fri, 25 Apr 2014 16:46:35 +0000 (16:46 +0000)]
Merge "Fixed floating IP logic in PLUMgrid plugin"

10 years agoNSX: change api mapping for Service Cluster to Edge Cluster
armando-migliaccio [Thu, 24 Apr 2014 17:38:37 +0000 (10:38 -0700)]
NSX: change api mapping for Service Cluster to Edge Cluster

NSX 4.2 GA has tweaked the naming for certain resources. Edge
Cluster vs Service CLuster is one of them.

Closes-bug: #1312822

Change-Id: Id4ddd99128c5e82e7a40c2d9e7385b272549cc3e

10 years agoMerge "Re-submit "ML2 plugin should not delete ports on subnet deletion""
Jenkins [Fri, 25 Apr 2014 12:20:20 +0000 (12:20 +0000)]
Merge "Re-submit "ML2 plugin should not delete ports on subnet deletion""

10 years agoLBaaS: remove orphan haproxy instances on agent start
Oleg Bondarev [Tue, 18 Mar 2014 08:22:05 +0000 (12:22 +0400)]
LBaaS: remove orphan haproxy instances on agent start

This change adds remove_orphans() handling to the haproxy
namespace driver. remove_orphans() is already called by
lbaas agent on start for all drivers

Closes-Bug: #1262885
Change-Id: I5deae8e56c2cd2deb1667e9646633fd59a94b34e

10 years agoMerge "Remove List events API from Cisco N1kv Neutron"
Jenkins [Fri, 25 Apr 2014 05:57:06 +0000 (05:57 +0000)]
Merge "Remove List events API from Cisco N1kv Neutron"

10 years agoFixed floating IP logic in PLUMgrid plugin
Fawad Khaliq [Tue, 8 Apr 2014 22:49:35 +0000 (15:49 -0700)]
Fixed floating IP logic in PLUMgrid plugin

  * Fixed associate and disassociate
    floating IP logic
  * Added unit tests

Change-Id: I310f5550bca1c9015cbda3e0338eb90a36dc96f1
Closes-Bug: 1298495

10 years agoNSX: add nsx switch lookup to dhcp and metadata operations
armando-migliaccio [Thu, 24 Apr 2014 19:11:41 +0000 (12:11 -0700)]
NSX: add nsx switch lookup to dhcp and metadata operations

The operations in questions were still using the neutron network
uuid as the nsx switch uuid, but this is no longer valid.

Close-bug: #1312439

Change-Id: I0f4bf02bb176c5c3914c7dd7e8249121af1b5a79

10 years agoMerge "Fix migration that breaks Grenade jobs"
Jenkins [Thu, 24 Apr 2014 20:20:22 +0000 (20:20 +0000)]
Merge "Fix migration that breaks Grenade jobs"

10 years agoMerge "Replace loopingcall in notifier with a delayed send"
Jenkins [Thu, 24 Apr 2014 20:18:45 +0000 (20:18 +0000)]
Merge "Replace loopingcall in notifier with a delayed send"

10 years agoMerge "IBM: set secret=True on passwd config field"
Jenkins [Thu, 24 Apr 2014 18:36:05 +0000 (18:36 +0000)]
Merge "IBM: set secret=True on passwd config field"

10 years agoMerge "Add 2-leg configuration to Radware LBaaS Driver"
Jenkins [Thu, 24 Apr 2014 18:35:43 +0000 (18:35 +0000)]
Merge "Add 2-leg configuration to Radware LBaaS Driver"

10 years agoMerge "Fix incorrect usage of sa.String() type"
Jenkins [Thu, 24 Apr 2014 14:31:06 +0000 (14:31 +0000)]
Merge "Fix incorrect usage of sa.String() type"

10 years agoFix incorrect usage of sa.String() type
Ann Kamyshnikova [Thu, 24 Apr 2014 11:34:45 +0000 (15:34 +0400)]
Fix incorrect usage of sa.String() type

In downgrade of 4eca4a84f08a_remove_ml2_cisco_cred_db migartion
there is a mistake in usage SQLAlchemy String type.
Used sa.string() instead of sa.String()

Change-Id: I521dd63ca2b48e902ca2cb17c45a3fe996b060e7
Closes-bug: #1312124

10 years agoMerge "Remove unused variable"
Jenkins [Thu, 24 Apr 2014 10:12:47 +0000 (10:12 +0000)]
Merge "Remove unused variable"

10 years agoRe-submit "ML2 plugin should not delete ports on subnet deletion"
Sylvain Afchain [Tue, 17 Dec 2013 15:39:55 +0000 (16:39 +0100)]
Re-submit "ML2 plugin should not delete ports on subnet deletion"

This patch was previously merged:

Commit: 0d131ff0e9964cb6a65f64809270f9d597c2d5d1

And reverted by this commit da00ed76e6008bd06dada0f0441ae436dd759cdf
in order to check if there was a relation with the gate failures.

Change-Id: Iacb4de8d9aa6a6cbe32c4f41fcf2657f2d09e6e2

10 years agoMerge "Fix H302 violations in extensions package"
Jenkins [Thu, 24 Apr 2014 09:04:44 +0000 (09:04 +0000)]
Merge "Fix H302 violations in extensions package"

10 years agoMerge "Fix unshortened IPv6 address caused DHCP crash"
Jenkins [Thu, 24 Apr 2014 04:11:22 +0000 (04:11 +0000)]
Merge "Fix unshortened IPv6 address caused DHCP crash"

10 years agoIBM: set secret=True on passwd config field
Aaron Rosen [Thu, 24 Apr 2014 01:34:14 +0000 (18:34 -0700)]
IBM: set secret=True on passwd config field

This should carry secret=True to avoid being logged as clear text.

Change-Id: I7d15b9648b3a037589405b9ca9d26aae4a834f15
Closes-bug: 1311943

10 years agoMerge "Check if bridge exists and make sure it's UP in ensure_bridge"
Jenkins [Wed, 23 Apr 2014 23:28:09 +0000 (23:28 +0000)]
Merge "Check if bridge exists and make sure it's UP in ensure_bridge"

10 years agoMerge "Imported Translations from Transifex"
Jenkins [Wed, 23 Apr 2014 23:20:32 +0000 (23:20 +0000)]
Merge "Imported Translations from Transifex"

10 years agoMerge "NSX: Fix fake_api_client to raise NotFound"
Jenkins [Wed, 23 Apr 2014 23:14:18 +0000 (23:14 +0000)]
Merge "NSX: Fix fake_api_client to raise NotFound"

10 years agoMerge "Fix Metering doesn't respect the l3 agent binding"
Jenkins [Wed, 23 Apr 2014 16:05:39 +0000 (16:05 +0000)]
Merge "Fix Metering doesn't respect the l3 agent binding"

10 years agoMerge "Delete disassociated floating ips on external network deletion"
Jenkins [Wed, 23 Apr 2014 15:45:53 +0000 (15:45 +0000)]
Merge "Delete disassociated floating ips on external network deletion"

10 years agoFix H302 violations in extensions package
Jakub Libosvar [Fri, 18 Apr 2014 13:31:55 +0000 (15:31 +0200)]
Fix H302 violations in extensions package

H302 violation is reported by flake8 when importing separated objects from
modules instead of importing the whole module.
e.g.   from package.module import function
       function()
is changed to
       from package import module
       module.function()

Change-Id: I570eeee2a7633c1590b54ac98b411a71fc9d4f4e
Partial-Bug: #1291032

10 years agoImported Translations from Transifex
OpenStack Proposal Bot [Wed, 23 Apr 2014 06:49:17 +0000 (06:49 +0000)]
Imported Translations from Transifex

Change-Id: I35cb53cb3a7a5c151c20be1d6ab7b7447e5c22d1

10 years agoMerge "OFAgent: Improve handling of security group updates"
Jenkins [Wed, 23 Apr 2014 05:43:20 +0000 (05:43 +0000)]
Merge "OFAgent: Improve handling of security group updates"

10 years agoMerge "OFAgent: Process port_update notifications in the main agent loop"
Jenkins [Wed, 23 Apr 2014 05:43:09 +0000 (05:43 +0000)]
Merge "OFAgent: Process port_update notifications in the main agent loop"

10 years agoMerge "Make help texts more descriptive in Metaplugin"
Jenkins [Wed, 23 Apr 2014 03:23:51 +0000 (03:23 +0000)]
Merge "Make help texts more descriptive in Metaplugin"

10 years agoMerge "Fix H302 violations in db package and services"
Jenkins [Wed, 23 Apr 2014 02:46:43 +0000 (02:46 +0000)]
Merge "Fix H302 violations in db package and services"

10 years agoMerge "Enable flake8 E711 and E712 checking"
Jenkins [Wed, 23 Apr 2014 01:01:16 +0000 (01:01 +0000)]
Merge "Enable flake8 E711 and E712 checking"

10 years agoRemove List events API from Cisco N1kv Neutron
Dhanashree Gosavi [Mon, 10 Feb 2014 12:19:50 +0000 (04:19 -0800)]
Remove List events API from Cisco N1kv Neutron

Earlier Cisco N1kv plugin was using list events api to
poll policies from VSM.
It was inefficient and caused delay in processing.
So, now Cisco N1kv plugin  switched to list profiles to
poll policies from VSM.

Change-Id: Ia734735361dc3eaee8e276ada0c80045eaa9ef96
Closes-Bug: #1292173

10 years agoMerge "Updated from global requirements"
Jenkins [Tue, 22 Apr 2014 21:45:56 +0000 (21:45 +0000)]
Merge "Updated from global requirements"

10 years agoNSX: Fix fake_api_client to raise NotFound
Aaron Rosen [Tue, 22 Apr 2014 19:46:08 +0000 (12:46 -0700)]
NSX: Fix fake_api_client to raise NotFound

If one quries NSX doing GET /ws.v1/lswitch/LS_UUID/lport and LS_UUID
is a UUID that does not exist in NSX. NSX raises a 404. If LS_UUID is *
NSX returns an empty result string. This patch fixes the fake_api_client
so that it's behavior is correct.

Change-Id: Id66299d6ae3cfa43a65d4cb28f34348d64d8ed65
Closes-bug: 1311291

10 years agoMerge "Cisco: Set correct nullable for switch_ip, instance_id, vlan_id"
Jenkins [Tue, 22 Apr 2014 19:40:36 +0000 (19:40 +0000)]
Merge "Cisco: Set correct nullable for switch_ip, instance_id, vlan_id"

10 years agoMerge "ip-lib : use "ip neigh replace" instead of "ip neigh add""
Jenkins [Tue, 22 Apr 2014 19:40:25 +0000 (19:40 +0000)]
Merge "ip-lib : use "ip neigh replace" instead of "ip neigh add""

10 years agoMerge "Remove RPC to plugin when dhcp sets default route"
Jenkins [Tue, 22 Apr 2014 19:25:01 +0000 (19:25 +0000)]
Merge "Remove RPC to plugin when dhcp sets default route"

10 years agoMerge "Ml2: Set correct nullable for admin_state_up"
Jenkins [Tue, 22 Apr 2014 19:24:29 +0000 (19:24 +0000)]
Merge "Ml2: Set correct nullable for admin_state_up"

10 years agoMerge "Validate IPv6 modes in API when IP version is 4"
Jenkins [Tue, 22 Apr 2014 18:16:50 +0000 (18:16 +0000)]
Merge "Validate IPv6 modes in API when IP version is 4"

10 years agoReplace loopingcall in notifier with a delayed send
Carl Baldwin [Wed, 2 Apr 2014 16:53:33 +0000 (16:53 +0000)]
Replace loopingcall in notifier with a delayed send

The loopingcall thread here was started before processes fork and so
the thread stops working after the fork call.  This is a problem that
will probably need to be worked out in the long run.

To ensure that this notifier works correctly in all processes, this
change replaces the persistent loopingcall thread with a thread
created on demand to delay and batch up notifications.  The first
notification will trigger spawning the thread to wait to send it.  Any
notifications that come in the meantime will notice that there is
already a thread waiting to send and will return without spawning.

Change-Id: I519d4e89b8cee341c0e1cfffbce3e77151e8202a
Closes-Bug: #1301035

10 years agoip-lib : use "ip neigh replace" instead of "ip neigh add"
mathieu-rohon [Tue, 22 Apr 2014 09:44:35 +0000 (11:44 +0200)]
ip-lib : use "ip neigh replace" instead of "ip neigh add"

Closes bug #1311002

Change-Id: Ie50bc0bff32b7f97ac317ccc2521bbea52d59ca3

10 years agoAdd 2-leg configuration to Radware LBaaS Driver
jasonrad [Fri, 24 Jan 2014 20:43:24 +0000 (15:43 -0500)]
Add 2-leg configuration to Radware LBaaS Driver

Radware's load balancer currently supports three network interfaces.
Prior to this code addition, the configuration of those three
interfaces was: one interface for management, one for high
availability backup, and one for load balancing servers where the
IP that the outside world sees (VIP) and the IP that the servers
respond to (PIP) are identical.

This change adds a new "2-legged" configuration: one interface for
management, one interface for a VIP network, and one interface for the
PIP and the high availability backup network.

During VIP creation, the LBaaS driver detects if the incoming
configuration is "2-legged" by comparing VIP and PIP networks.  If they
are different it allocates a new port on the PIP network in order to
obtain an IP address for the PIP and names that port after its
associated VIP ID.  vDirect is then directed to create a load balancer
with the PIP network also used as the HA network instead of using the
vDirect container's default HA network configuration.

During VIP deletion, the LBaas driver detects if a port for the PIP
had been previously allocated by searching for and deleting port names
that map to the VIP ID.

Change-Id: Ifb93159c654f16958842f646c119479c465230f9
Closes-Bug: 1268728

10 years agoFix H302 violations in db package and services
Jakub Libosvar [Fri, 18 Apr 2014 13:22:45 +0000 (15:22 +0200)]
Fix H302 violations in db package and services

Change-Id: If5e07fa4529430ba90d9c7dd81d28ceeee00ebe0
Partial-Bug: #1291032

10 years agoCisco: Set correct nullable for switch_ip, instance_id, vlan_id
Ann Kamyshnikova [Tue, 22 Apr 2014 07:34:18 +0000 (11:34 +0400)]
Cisco: Set correct nullable for switch_ip, instance_id, vlan_id

Corrected the following model according to database
content:
 - NOT NULL for NexusPortBinding switch_ip and instance_id

In migrations folsom_initial was set incorrect nullable parameter:
- Set vlan_id NOT NULL in cisco_nexusport_bindings.

Partial-Bug: #1296282

Change-Id: Ie5315fcbf227025c30ab4a4b97ec2a140ee3923c

10 years agoMl2: Set correct nullable for admin_state_up
Ann Kamyshnikova [Tue, 22 Apr 2014 07:22:24 +0000 (11:22 +0400)]
Ml2: Set correct nullable for admin_state_up

In migrations 492a106273f8_brocade_ml2_mech_dri was set incorrect
nullable parameter:

Set admin_state_up NOT NULL in ml2_brocadeports.

Partial-Bug: #1296282

Change-Id: I051e37990ae3371978eeb1ff71e70ae2a44097bc

10 years agoMerge "gw_port should be set as lazy='join'"
Jenkins [Tue, 22 Apr 2014 03:09:31 +0000 (03:09 +0000)]
Merge "gw_port should be set as lazy='join'"

10 years agoMerge "ML2 Cisco Nexus MD: Improve Unit Test Coverage"
Jenkins [Tue, 22 Apr 2014 03:09:21 +0000 (03:09 +0000)]
Merge "ML2 Cisco Nexus MD: Improve Unit Test Coverage"

10 years agoUpdated from global requirements
OpenStack Proposal Bot [Tue, 22 Apr 2014 01:49:26 +0000 (01:49 +0000)]
Updated from global requirements

Change-Id: I11182ae01c05ed104b064c2b68bcbf5a53e0da99

10 years agoMerge "Add nova_ca_certificates_file option to neutron"
Jenkins [Tue, 22 Apr 2014 01:42:15 +0000 (01:42 +0000)]
Merge "Add nova_ca_certificates_file option to neutron"

10 years agoMerge "Add support for https requests on nova metadata"
Jenkins [Tue, 22 Apr 2014 01:23:43 +0000 (01:23 +0000)]
Merge "Add support for https requests on nova metadata"

10 years agoMerge "ofa_neutron_agent: Fix _phys_br_block_untranslated_traffic"
Jenkins [Tue, 22 Apr 2014 01:23:31 +0000 (01:23 +0000)]
Merge "ofa_neutron_agent: Fix _phys_br_block_untranslated_traffic"

10 years agoMerge "allow delete_port to work when there are multiple floating ips"
Jenkins [Mon, 21 Apr 2014 22:51:52 +0000 (22:51 +0000)]
Merge "allow delete_port to work when there are multiple floating ips"

10 years agoMake help texts more descriptive in Metaplugin
Itsuro Oda [Wed, 16 Apr 2014 01:46:29 +0000 (10:46 +0900)]
Make help texts more descriptive in Metaplugin

This patch makes help texts of configuration parameters of
metaplugin.ini more descriptive. Comments in metaplugin.ini
are also improved.

Change-Id: I1fac888ecc223a7199cc9c9aeb603b7493f22171
Closes-Bug: #1283930

10 years agoMerge "Register LBaaS resources to quotas engine"
Jenkins [Mon, 21 Apr 2014 20:07:46 +0000 (20:07 +0000)]
Merge "Register LBaaS resources to quotas engine"

10 years agoMerge "NSX: sync thread catches wrong exceptions on not found"
Jenkins [Mon, 21 Apr 2014 17:16:24 +0000 (17:16 +0000)]
Merge "NSX: sync thread catches wrong exceptions on not found"

10 years agoML2 Cisco Nexus MD: Improve Unit Test Coverage
Rich Curran [Fri, 18 Apr 2014 21:09:08 +0000 (17:09 -0400)]
ML2 Cisco Nexus MD: Improve Unit Test Coverage

Improve unit test coverage for:
neutron/plugins/ml2/drivers/cisco/ modules.

Current coverage info:
neutron/plugins/ml2/drivers/cisco/nexus/nexus_models_v2      65%
neutron/plugins/ml2/drivers/cisco/nexus/nexus_network_driver 82%
neutron/plugins/ml2/drivers/cisco/nexus/credentials_v2       81%
neutron/plugins/ml2/drivers/cisco/nexus/mech_cisco_nexus     78%
neutron/plugins/ml2/drivers/cisco/nexus/config               75%

With these updates:
neutron/plugins/ml2/drivers/cisco/nexus/mech_cisco_nexus     99%
neutron/plugins/ml2/drivers/cisco/nexus/nexus_db_v2          99%
neutron/plugins/ml2/drivers/cisco/nexus/nexus_models_v2      65%
neutron/plugins/ml2/drivers/cisco/nexus/nexus_network_driver 98%
neutron/plugins/ml2/drivers/cisco/nexus/config               100%

NB: nexus_models_v2.py consists of database definitions and two
customization methods, __repr__ and __eq__.

Change-Id: I0de1cb9e71adffff698e37c8bec5497b88f0f0cd
Closes-Bug: 1267481

10 years agoFix migration that breaks Grenade jobs
Ann Kamyshnikova [Wed, 16 Apr 2014 11:17:02 +0000 (15:17 +0400)]
Fix migration that breaks Grenade jobs

Migration 33c3db036fe4_set_length_of_description_field_metering
needs to be changed as it is a reason of Grenade job's fail.

Closes-bug: #1307344

Change-Id: Ia57d9a60847e4a34977e40fb8b09181bdbd9c39b

10 years agoallow delete_port to work when there are multiple floating ips
Lars Kellogg-Stedman [Fri, 4 Apr 2014 17:35:32 +0000 (13:35 -0400)]
allow delete_port to work when there are multiple floating ips

It is possible to associate multiple floating ip addresses with a single
port through the use of multiple *fixed* ip addresses, e.g.:

    nova boot ... --nic net-id=my-net-id myserver
    nova add-fixed-ip myserver my-net-id
    nova add-floating-ip --fixed-address x.x.x.1 myserver y.y.y.y.1
    nova add-floating-ip --fixed-address x.x.x.2 myserver y.y.y.y.2

In this situation, neutron.db.l3_db.disassociate_floatingips would throw
an exception:

    Exception: Multiple floating IPs found for port <port-id>

This would prevent someone from deleting an instance that was associated
with multiple floating ips.

This patch corrects disassociate_floatingips so that it will
disassociate all floating ips associated with the port, allowing the
delete operation to proceed correctly.

Change-Id: I68a2131fa8ee80828354c9db4ac405c3f77c3b90
Closes-bug: 1302701

10 years agoAdd nova_ca_certificates_file option to neutron
Paul Ward [Fri, 18 Apr 2014 19:57:38 +0000 (14:57 -0500)]
Add nova_ca_certificates_file option to neutron

Previously, neutron had no way to pass a certificates file to the
novaclient.  This change is to add that ability, similar to the way
you can pass a certificates file to neutronclient in nova.conf via
neturon_ca_certificates_file.

Change-Id: I1a3f85505eb44bee604900301af79d773e1952a3
Closes-Bug: #1309694

10 years agogw_port should be set as lazy='join'
armando-migliaccio [Fri, 18 Apr 2014 19:32:26 +0000 (12:32 -0700)]
gw_port should be set as lazy='join'

This forces the object to be ready ahead of accessing time.
The change in loading behavior is also beneficial while listing
routers, as reduces the amount of queries being issued. Tests
show a performance gain of 15-30% for router-list times.

As Mr. Aaron Rosen is used to saying: Woot woot!!

Closes-bug: #1309144

Change-Id: Ibae261b91de26ca7c50e3f6c80e9be2a799785a3

10 years agonetaddr<=0.7.10 raises ValueError instead of AddrFormatError
sridhargaddam [Fri, 18 Apr 2014 15:31:48 +0000 (21:01 +0530)]
netaddr<=0.7.10 raises ValueError instead of AddrFormatError

This patch is based on Aarons work for the Bug#1308675.
It ensures that ValueError is also caught in addition to
AddrFormatError as in netaddr>=0.7.11 AddrFormatError is raised and
in netaddr<=0.7.10 ValueError is raised.

Change-Id: I71cfe82e57290552fb22637ad929747a6fa22460
Closes-bug: #1308675

10 years agoMerge "Imported Translations from Transifex"
Jenkins [Fri, 18 Apr 2014 15:36:02 +0000 (15:36 +0000)]
Merge "Imported Translations from Transifex"

10 years agoMerge "ML2 Cisco Nexus MD: Remove unnecessary Cisco nexus DB"
Jenkins [Fri, 18 Apr 2014 15:33:24 +0000 (15:33 +0000)]
Merge "ML2 Cisco Nexus MD: Remove unnecessary Cisco nexus DB"

10 years agoMerge "Add 'ip neigh' to ip_lib"
Jenkins [Fri, 18 Apr 2014 15:09:34 +0000 (15:09 +0000)]
Merge "Add 'ip neigh' to ip_lib"

10 years agoImported Translations from Transifex
OpenStack Proposal Bot [Fri, 18 Apr 2014 06:35:25 +0000 (06:35 +0000)]
Imported Translations from Transifex

Change-Id: Ica3d37f1b176233a75cd3a6fc2d6ff14859848e1

10 years agoMerge "netaddr<=0.7.10 raises ValueError instead of AddrFormatError"
Jenkins [Fri, 18 Apr 2014 06:05:15 +0000 (06:05 +0000)]
Merge "netaddr<=0.7.10 raises ValueError instead of AddrFormatError"

10 years agoMerge "Switch over to FixedIntervalLoopingCall"
Jenkins [Fri, 18 Apr 2014 05:42:29 +0000 (05:42 +0000)]
Merge "Switch over to FixedIntervalLoopingCall"

10 years agonetaddr<=0.7.10 raises ValueError instead of AddrFormatError
Aaron Rosen [Wed, 16 Apr 2014 18:31:25 +0000 (11:31 -0700)]
netaddr<=0.7.10 raises ValueError instead of AddrFormatError

This patch ensures that ValueError is also caught in addition to
AddrFormatError as in netaddr>=0.7.11 AddrFormatError is raised and
in netaddr<=0.7.10 ValueError is raised.

Change-Id: I595c90e42129a2d365f3860e3042e826bd031365
Closes-bug: #1308675

10 years agoValidate IPv6 modes in API when IP version is 4
Xuhan Peng [Tue, 15 Apr 2014 03:12:16 +0000 (11:12 +0800)]
Validate IPv6 modes in API when IP version is 4

Add a validation to ipv6_ra_mode and ipv6_address_mode with ip
version. An InvalidInput error is prompted when ipv6_ra_mode
or ipv6_address_mode is specified in subnet create and update
API and ip version is 4.

Change-Id: I9a0356f23e6b162c31f2d289a34f4bd261cee91e
Closes-Bug: 1307788

10 years agoAdd 'ip neigh' to ip_lib
rajeev [Wed, 16 Apr 2014 22:24:44 +0000 (18:24 -0400)]
Add 'ip neigh' to ip_lib

This change adds 'ip neigh add' and 'ip neigh delete' as
Ip Device commands

Partially-Implements: blueprint neutron-ovs-dvr
Change-Id: I59428e2fe28c6a632c232b47cc46c097c281f253

10 years agoOFAgent: Improve handling of security group updates
fumihiko kakuma [Sun, 13 Apr 2014 11:25:03 +0000 (20:25 +0900)]
OFAgent: Improve handling of security group updates

Port the following patch to OFAgent.
commit: 3046c4ae22b10f9e4fa83a47bfe089554d4a4681
https://review.openstack.org/#/c/63100/

Partial-Bug: 1293265

Change-Id: Iecdfee894ff2fd5f05f63f040dd70821af124737

10 years agoOFAgent: Process port_update notifications in the main agent loop
fumihiko kakuma [Sun, 16 Mar 2014 04:13:03 +0000 (13:13 +0900)]
OFAgent: Process port_update notifications in the main agent loop

Port the following patch to OFAgent.
commit: 5e6e592132aa9a98936ce3bfdb66efc7832caafb
https://review.openstack.org/#/c/61964/

Partial-Bug: 1293265

Change-Id: I53813d12c66dc746cd373fd91ff9bd9bdbf222db

10 years agoNSX: sync thread catches wrong exceptions on not found
Aaron Rosen [Thu, 17 Apr 2014 21:48:55 +0000 (14:48 -0700)]
NSX: sync thread catches wrong exceptions on not found

Previously the sync code expected exc.NoResultFound to be raised if a
port/router/network was not found in the database. This is actually not the
correct exception raised. This error will only occur if an element is deleted
from the db right when the sync thead is run for a specific element.

Change-Id: I3a5c8316ade49004fb9fa0b454435205c543f6ee
Closes-bug: 1309208

10 years agoNotifier: Catch NotFound error from nova
Aaron Rosen [Thu, 17 Apr 2014 20:42:39 +0000 (13:42 -0700)]
Notifier: Catch NotFound error from nova

If neutron sends a single event to nova and the server_uuid isn't found
in nova. The python-novaclient will raise a 404 error. This patch ensures
we explicitly catch that exception and use LOG.warning instead of LOG.exception
as this is not an error and can happen when deleting an instance if neutron
detects that the port_status goes down before the port is deleted because
nova first unplugs the vif and then deletes it from neutron.

Change-Id: I909025503fc88a92201d5247ae5223e4516e8707
Closes-bug: #1309187

10 years agoMerge "Support enhancements to Cisco CSR VPN REST APIs"
Jenkins [Thu, 17 Apr 2014 19:25:32 +0000 (19:25 +0000)]
Merge "Support enhancements to Cisco CSR VPN REST APIs"

10 years agoSwitch over to FixedIntervalLoopingCall
Dirk Mueller [Mon, 14 Apr 2014 15:08:37 +0000 (17:08 +0200)]
Switch over to FixedIntervalLoopingCall

LoopingCall has been renamed (without a change) to
FixedIntervalLoopingCall in https://review.openstack.org/#/c/26345/

Adjust to the new name so that the compatibility code can be removed.

Change-Id: I64f62dca5bee580dcd28860760208e9be8f4b659
Closes-Bug: #1307560

10 years agoMerge "Validate CIDR given as ip-prefix in security-group-rule-create"
Jenkins [Thu, 17 Apr 2014 11:17:44 +0000 (11:17 +0000)]
Merge "Validate CIDR given as ip-prefix in security-group-rule-create"

10 years agoMerge "Remove workaround for bug #1219530"
Jenkins [Thu, 17 Apr 2014 07:35:35 +0000 (07:35 +0000)]
Merge "Remove workaround for bug #1219530"

10 years agoMerge "Use different name for the same constraint"
Jenkins [Thu, 17 Apr 2014 05:29:23 +0000 (05:29 +0000)]
Merge "Use different name for the same constraint"

10 years agoCheck if bridge exists and make sure it's UP in ensure_bridge
rossella [Fri, 4 Apr 2014 13:13:31 +0000 (13:13 +0000)]
Check if bridge exists and make sure it's UP in ensure_bridge

Introduce _bridge_exists_and_ensure_up that checks if the bridge
exists and if it's DOWN sets it UP

Change-Id: Ide9d2bb04016cadb347b00cadbee7007e61bd01e
Closes-bug: #1282741

10 years agoValidate CIDR given as ip-prefix in security-group-rule-create
marios [Fri, 29 Nov 2013 16:23:54 +0000 (18:23 +0200)]
Validate CIDR given as ip-prefix in security-group-rule-create

There was no validation for the provided ip prefix. This just adds
a simple parse using netaddr and explodes with appropriate message.
Also makes sure ip prefix _is_ cidr (192.168.1.1-->192.168.1.1/32).

Validation occurs at the attribute level (API model) as well as at
the db level, where the ethertype is validated against the ip_prefix
address type.

Unit test cases added - bad prefix, unmasked prefix and incorrect
ethertype. Also adds attribute test cases for the added
convert_ip_prefix_to_cidr method

Change-Id: I71fb8c887963a122a5bd8cfdda800026c1cd3954
Closes-Bug: 1255338

10 years agoSupport enhancements to Cisco CSR VPN REST APIs
Paul Michali [Fri, 4 Apr 2014 19:14:36 +0000 (19:14 +0000)]
Support enhancements to Cisco CSR VPN REST APIs

Incorporate latest enhancements and fixes in Cisco CSR router REST API
to the VPNaaS device driver and unit test cases. Primarily, is support in
the REST API for different IKE and IPSec encryption algorithms, name length
error handling, disable of anti replay window, and IKE keep alive.

Also includes minor typos and comment fixes mentioned in previous reviews.

Note: notest_cisco_csr_rest.py, which tests the CSR REST client, is not
part of the UT suite yet, pending resolution of httmock package inclusion
as test requirement.

Change-Id: I931f487fbd4ead93a1648e89c9c383b3d55fc07c
Closes-Bug: 1303820

10 years agoMerge "Security Group rule validation for ICMP rules"
Jenkins [Wed, 16 Apr 2014 09:04:40 +0000 (09:04 +0000)]
Merge "Security Group rule validation for ICMP rules"

10 years agoMerge "Fixes Hyper-V agent security groups disabling"
Jenkins [Wed, 16 Apr 2014 06:15:25 +0000 (06:15 +0000)]
Merge "Fixes Hyper-V agent security groups disabling"

10 years agoMerge "Improved quota error message"
Jenkins [Wed, 16 Apr 2014 05:20:17 +0000 (05:20 +0000)]
Merge "Improved quota error message"

10 years agoMerge "Nuage Plugin: Delete router requires precommit checks"
Jenkins [Wed, 16 Apr 2014 05:20:07 +0000 (05:20 +0000)]
Merge "Nuage Plugin: Delete router requires precommit checks"

10 years agoMerge "Add support for multiple RPC workers under Metaplugin"
Jenkins [Wed, 16 Apr 2014 00:36:17 +0000 (00:36 +0000)]
Merge "Add support for multiple RPC workers under Metaplugin"

10 years agoNuage Plugin: Delete router requires precommit checks
ronak [Tue, 1 Apr 2014 01:09:42 +0000 (18:09 -0700)]
Nuage Plugin: Delete router requires precommit checks

There exist a case where deleting router from neutron without
deleting router-interface deletes router from VSD but not from neutron.
If router has an interface with subnet router deletion is not allowed.
Needs to precheck this condition before deleting router from
backend (VSD).

Change-Id: I4ba7eff399acda0427505328355dbfb931d62587
Closes-Bug: #1298635

10 years agoMerge "Remove device_exists in LinuxBridgeManager"
Jenkins [Tue, 15 Apr 2014 21:34:44 +0000 (21:34 +0000)]
Merge "Remove device_exists in LinuxBridgeManager"

10 years agoImproved quota error message
Shweta Patil [Thu, 13 Mar 2014 18:48:58 +0000 (11:48 -0700)]
Improved quota error message

Removed two negatives and showed a clear message when
tried to see quota of different tenants.
When a user who does not belong to a project tries to access the
quota of that project, the message that gets displayed is not clear.
In this change the user would understand the error more properly.

Change-Id: I2284df07687bb530fe06fbaab38e2971826b7b40
Closes-Bug: #1288915

10 years agoMerge "Start using oslosphinx theme for docs"
Jenkins [Tue, 15 Apr 2014 11:16:29 +0000 (11:16 +0000)]
Merge "Start using oslosphinx theme for docs"

10 years agoRemove device_exists in LinuxBridgeManager
rossella [Fri, 4 Apr 2014 09:55:11 +0000 (11:55 +0200)]
Remove device_exists in LinuxBridgeManager

LinuxBridgeManager is adding a device_exists method instead of
using the one in ip_lib as the rest of the codebase

Change-Id: Ibeb95be76a1e1b20c69841e708c2a2cbf1cbe05a
Closes-Bug: #1302463

10 years agoAdd support for multiple RPC workers under Metaplugin
Itsuro Oda [Wed, 2 Apr 2014 04:24:42 +0000 (13:24 +0900)]
Add support for multiple RPC workers under Metaplugin

Metaplugin needs a fix to support multiple RPC workers properly
because a plugin which supports multiple RPC workers cannot
initialize RPC connections at plugin initialization.

Closes-Bug: #1300570
Change-Id: I584f70abb8969054cd4edc8f914d00f6be930bab

10 years agoMerge "DHCP agent should check interface is UP before adding route"
Jenkins [Mon, 14 Apr 2014 21:01:16 +0000 (21:01 +0000)]
Merge "DHCP agent should check interface is UP before adding route"