]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
10 years agoMerge "Change report_interval from 4 to 30, agent_down_time from 9 to 75"
Jenkins [Thu, 20 Mar 2014 04:39:12 +0000 (04:39 +0000)]
Merge "Change report_interval from 4 to 30, agent_down_time from 9 to 75"

10 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Thu, 20 Mar 2014 04:38:03 +0000 (04:38 +0000)]
Merge "Imported Translations from Transifex"

10 years agoMerge "Show neutron API request body with debug enabled"
Jenkins [Thu, 20 Mar 2014 02:34:39 +0000 (02:34 +0000)]
Merge "Show neutron API request body with debug enabled"

10 years agoMerge "API layer documentation"
Jenkins [Wed, 19 Mar 2014 23:20:28 +0000 (23:20 +0000)]
Merge "API layer documentation"

10 years agoMerge "Add session persistence support for NVP advanced LBaaS"
Jenkins [Wed, 19 Mar 2014 22:29:42 +0000 (22:29 +0000)]
Merge "Add session persistence support for NVP advanced LBaaS"

10 years agoMerge "BigSwitch: Watchdog thread start after servers"
Jenkins [Wed, 19 Mar 2014 22:29:33 +0000 (22:29 +0000)]
Merge "BigSwitch: Watchdog thread start after servers"

10 years agoMerge "Ensure to count firewalls in target tenant"
Jenkins [Wed, 19 Mar 2014 17:53:54 +0000 (17:53 +0000)]
Merge "Ensure to count firewalls in target tenant"

10 years agoMerge "Mock agent RPC for FWaaS tests to delete DB objs"
Jenkins [Wed, 19 Mar 2014 17:53:44 +0000 (17:53 +0000)]
Merge "Mock agent RPC for FWaaS tests to delete DB objs"

10 years agoMerge "Remove individual cfg.CONF.resets from tests"
Jenkins [Wed, 19 Mar 2014 17:37:37 +0000 (17:37 +0000)]
Merge "Remove individual cfg.CONF.resets from tests"

10 years agoMerge "Stop removing ip allocations on port delete"
Jenkins [Wed, 19 Mar 2014 09:52:56 +0000 (09:52 +0000)]
Merge "Stop removing ip allocations on port delete"

10 years agoMerge "Kill 'Skipping unknown group key: firewall_driver' log trace"
Jenkins [Wed, 19 Mar 2014 05:04:18 +0000 (05:04 +0000)]
Merge "Kill 'Skipping unknown group key: firewall_driver' log trace"

10 years agoEnsure to count firewalls in target tenant
Akihiro Motoki [Fri, 14 Mar 2014 22:57:34 +0000 (07:57 +0900)]
Ensure to count firewalls in target tenant

Previously admin tenant cannot create a firewall if other tenant
already created a firewall. We need to count firewalls only in
a target tenant.

Change-Id: I3e6d151d00d4a487bdd858e94929fab8960511a2
Closes-Bug: #1258438

10 years agoMock agent RPC for FWaaS tests to delete DB objs
Kevin Benton [Tue, 4 Mar 2014 11:27:11 +0000 (03:27 -0800)]
Mock agent RPC for FWaaS tests to delete DB objs

This changes the firewall service unit tests to
mock the RPC calls from the firewall service to
the agent. This allows the tests to fake the
agent response RPC that removes the firewall
from the DB so the all of the other objects that
the firewall depends on can be deleted.

Closes-Bug: #1288441
Change-Id: I32462ab5557b9c52328bf6a23a12efc2d799644c

10 years agoMerge "NSX: Ensure gateway devices are usable after upgrade"
Jenkins [Tue, 18 Mar 2014 18:06:59 +0000 (18:06 +0000)]
Merge "NSX: Ensure gateway devices are usable after upgrade"

10 years agoChange report_interval from 4 to 30, agent_down_time from 9 to 75
Assaf Muller [Sun, 16 Mar 2014 11:01:18 +0000 (13:01 +0200)]
Change report_interval from 4 to 30, agent_down_time from 9 to 75

report_interval is how often an agent sends out a heartbeat to the
service. The Neutron service responds to these 'report_state' RPC
messages by updating the agent's heartbeat DB record.
The last heartbeat is then compared to the configured
agent_down_time to determine if the agent is up or down.
The agent's status is used when scheduling networks on DHCP
and L3 agents.

In the spirit of sane defaults suited for production, these values
should be bumped to reduce the load on the Neutron service
dramatically, freeing up CPU time to perform intensive operations.

DocImpact
Closes-Bug: #1293083
Change-Id: I77bcf8f66f74ba55513c989caead1f96c92b9832

10 years agoStop removing ip allocations on port delete
Maru Newby [Fri, 14 Mar 2014 22:14:09 +0000 (22:14 +0000)]
Stop removing ip allocations on port delete

The _delete_port() method was manually removing related
IPAllocation instances despite the existence of a perfectly
good cascade deletion relationship in the model.  This patch
puts an end to that nonsense and the potential for deadlock that
it represented.

Closes-bug: #1288379
Related-Bug: #1283522

Change-Id: Ib31550fa9000fc75768a327cb6cc1c419e06568f

10 years agoMerge "Validate multicast ip range in Cisco N1kv Plugin"
Jenkins [Tue, 18 Mar 2014 06:40:31 +0000 (06:40 +0000)]
Merge "Validate multicast ip range in Cisco N1kv Plugin"

10 years agoImported Translations from Transifex
OpenStack Jenkins [Tue, 18 Mar 2014 06:37:34 +0000 (06:37 +0000)]
Imported Translations from Transifex

Change-Id: I2e20faef71a104c1a58f20b9c0d8a14ed388a330

10 years agoMerge "Added missing l3_update call in update_network"
Jenkins [Tue, 18 Mar 2014 04:37:38 +0000 (04:37 +0000)]
Merge "Added missing l3_update call in update_network"

10 years agoMerge "Calculate stateless IPv6 address"
Jenkins [Tue, 18 Mar 2014 02:32:36 +0000 (02:32 +0000)]
Merge "Calculate stateless IPv6 address"

10 years agoMerge "Create new IPv6 attributes for Subnets"
Jenkins [Tue, 18 Mar 2014 02:26:34 +0000 (02:26 +0000)]
Merge "Create new IPv6 attributes for Subnets"

10 years agoShow neutron API request body with debug enabled
Kevin Benton [Mon, 17 Mar 2014 22:21:08 +0000 (15:21 -0700)]
Show neutron API request body with debug enabled

Shows the contents of update and create requests
to the neutron API when debugging is enabled.

Closes-Bug: #982504
Change-Id: I90680721aee9efbcb01779cdfacc86b90b37bf8f

10 years agoAdd session persistence support for NVP advanced LBaaS
berlin [Fri, 29 Nov 2013 09:45:33 +0000 (17:45 +0800)]
Add session persistence support for NVP advanced LBaaS

Change-Id: I2042894755cdaf54b2bc39e58028746aa7c1e8ea
Closes-Bug: #1256243

10 years agoMerge "Check vxlan enablement via modinfo"
Jenkins [Mon, 17 Mar 2014 22:52:36 +0000 (22:52 +0000)]
Merge "Check vxlan enablement via modinfo"

10 years agoBigSwitch: Watchdog thread start after servers
Kevin Benton [Mon, 17 Mar 2014 20:39:50 +0000 (13:39 -0700)]
BigSwitch: Watchdog thread start after servers

Start the watchdog thread after the servers have
been initialized.

Closes-Bug: #1293799
Change-Id: Ic7ae1f55bd7faed6edde84d9d0b52fc8fe7a1fc1

10 years agoMerge "NVP LBaaS: check for association before deleting health monitor"
Jenkins [Mon, 17 Mar 2014 20:27:46 +0000 (20:27 +0000)]
Merge "NVP LBaaS: check for association before deleting health monitor"

10 years agoCalculate stateless IPv6 address
Dazhao [Wed, 13 Nov 2013 10:24:32 +0000 (18:24 +0800)]
Calculate stateless IPv6 address

In order to support stateless IPv6, neutron should calculate IPv6 address base
on IPv6 prefix and MAC address via EUI-64 specification.  This change adds
common library to calculate IPv6 address.

Partially-implements bp ipv6-two-attributes
Co-Authored-By: Xu Han Peng <xuhanp@cn.ibm.com>
Change-Id: I68ccbc42388ec760d6fead242e080822ca753913

10 years agoCreate new IPv6 attributes for Subnets
Sean M. Collins [Thu, 30 Jan 2014 19:12:17 +0000 (14:12 -0500)]
Create new IPv6 attributes for Subnets

* Introduces two new optional attributes for Subnets:
  * ipv6_ra_mode
  * ipv6_address_mode

Both attributes accept the following values:

* dhcpv6-stateful
* dhcpv6-stateless
* slaac

In addition to these values, additional behaviors are specified for
when only one of the attributes is set. For example, a Neutron network
that uses a physical router as a gateway, that transmits ICMPv6 Router
Advertisement packets to configure hosts on the network will create
Neutron Subnets that have ipv6_ra_mode *not* set, and ipv6_address_mode
set to 'slaac' so that Neutron will calculate EUI64 addresses for
each port assigned to the subnet, and not spawn a Dnsmasq process.

These attributes maintain backwards compatability with the enable_dhcp
Subnet attribute, by requiring a subnet with these attributes to also
have enable_dhcp set to True.

DocImpact

Implements bp ipv6-two-attributes
Change-Id: I5b2313fff5dca1c16ff939fdc4397d7f95ba3ba5

10 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Mon, 17 Mar 2014 18:08:16 +0000 (18:08 +0000)]
Merge "Imported Translations from Transifex"

10 years agoMerge "ML2 plugin involves in agent_scheduler migration"
Jenkins [Mon, 17 Mar 2014 18:07:57 +0000 (18:07 +0000)]
Merge "ML2 plugin involves in agent_scheduler migration"

10 years agoRemove individual cfg.CONF.resets from tests
Henry Gessau [Wed, 12 Mar 2014 05:36:13 +0000 (01:36 -0400)]
Remove individual cfg.CONF.resets from tests

oslo.config.CONF.reset is added to cleanup in BaseTestCase, so it does
not need to be done by individual test cases.

Change-Id: I5fced5c2d480e78e5bb7cc150f0b653313884456
Closes-Bug: #1291144

10 years agoNSX: Ensure gateway devices are usable after upgrade
Salvatore Orlando [Mon, 17 Mar 2014 14:43:53 +0000 (15:43 +0100)]
NSX: Ensure gateway devices are usable after upgrade

The gateway device database migration upon an upgrade creates
gateway devices objects from references in network gateway
objects.
While these gateway devices are perfectly usable
in network gateways, they are not directly visible to tenants
and also cannot be updated to change details such as name,
connector type or ip as well as the client certificate.

This patch fixes the DB migration in order to ensure tenant
have access to gateway devices created after an upgrade.
This patch also modifies the l2 gateway nsxlib module to
ensure request bodies are correctly created even when not all
the attributes of a gateway device are specified.

Change-Id: I7077e9884adc739fb75e64a6e9a17a124d79fb6b
Closes-Bug: 1293617

10 years agoImported Translations from Transifex
OpenStack Jenkins [Mon, 17 Mar 2014 06:21:11 +0000 (06:21 +0000)]
Imported Translations from Transifex

Change-Id: I78925e933b51f5cc7a5b3d71e35eb4819af869ba

10 years agoAdded missing l3_update call in update_network
Fawad Khaliq [Mon, 17 Mar 2014 03:51:16 +0000 (20:51 -0700)]
Added missing l3_update call in update_network

Change-Id: Id907ae692140fd52762ef6ac4fc1613897eb5065
Closes-Bug: #1259125

10 years agoMerge "Avoid long transaction in plugin.delete_ports()"
Jenkins [Sun, 16 Mar 2014 22:23:54 +0000 (22:23 +0000)]
Merge "Avoid long transaction in plugin.delete_ports()"

10 years agoML2 plugin involves in agent_scheduler migration
Li Ma [Sun, 16 Mar 2014 11:32:22 +0000 (04:32 -0700)]
ML2 plugin involves in agent_scheduler migration

In agent_scheduler migration script which creates
network-dhcp-binding table and router-l3-binding table,
ML2 plugin should be included in the plugin list.

Change-Id: If39ef2a488513a58d608c70e26a2b9f960dbe904
Closes-Bug: #1293089

10 years agoImported Translations from Transifex
OpenStack Jenkins [Sun, 16 Mar 2014 06:15:20 +0000 (06:15 +0000)]
Imported Translations from Transifex

Change-Id: I6fd6f5592874892988a670dae7f7209f2b1e9eab

10 years agoAvoid long transaction in plugin.delete_ports()
Akihiro Motoki [Fri, 7 Mar 2014 06:58:46 +0000 (15:58 +0900)]
Avoid long transaction in plugin.delete_ports()

db_plugin.delete_ports() called plugin.delete_port() under
a transaction. It leads to long transaction if plugin.delete_port
talks with external systems. This commit changes each delete_port
outside of a transaction to avoid longer transaction.

plugin.delete_ports is now called by release_dhcp_ports and
dhcp-agent ports can be deleted separately, so this changes
does not break the existing behavior.

delete_ports is renamed to delete_ports_by_device_id
to clarify the usage of this method.

NEC plugin already has this change and it is no longer needed.

_do_side_effect helper method in test_db_plugin is renamed
to more self-descriptive name.

Change-Id: Ied5883a57c7774c3b0778453d84c717b337f88c0
Closes-Bug: #1282925
Related-Bug: #1283522

10 years agoMerge "Fix KeyError except on router_info in FW Agent"
Jenkins [Sat, 15 Mar 2014 13:05:36 +0000 (13:05 +0000)]
Merge "Fix KeyError except on router_info in FW Agent"

10 years agoMerge "NSX: fix intermetting UT failure on vshield test_router_create"
Jenkins [Sat, 15 Mar 2014 07:30:01 +0000 (07:30 +0000)]
Merge "NSX: fix intermetting UT failure on vshield test_router_create"

10 years agoMerge "NSX: Propagate name updates for security profiles"
Jenkins [Sat, 15 Mar 2014 06:15:36 +0000 (06:15 +0000)]
Merge "NSX: Propagate name updates for security profiles"

10 years agoMerge "Remove legacy quantum config path"
Jenkins [Sat, 15 Mar 2014 01:24:01 +0000 (01:24 +0000)]
Merge "Remove legacy quantum config path"

10 years agoMerge "Add extraroute_db support for Cisco N1kv Plugin"
Jenkins [Sat, 15 Mar 2014 01:22:57 +0000 (01:22 +0000)]
Merge "Add extraroute_db support for Cisco N1kv Plugin"

10 years agoMerge "Fix ml2 & nec plugins for allowedaddresspairs tests"
Jenkins [Sat, 15 Mar 2014 00:47:15 +0000 (00:47 +0000)]
Merge "Fix ml2 & nec plugins for allowedaddresspairs tests"

10 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Fri, 14 Mar 2014 22:03:35 +0000 (22:03 +0000)]
Merge "Imported Translations from Transifex"

10 years agoMerge "Send fdb remove message when a port is migrated"
Jenkins [Fri, 14 Mar 2014 21:42:58 +0000 (21:42 +0000)]
Merge "Send fdb remove message when a port is migrated"

10 years agoFix KeyError except on router_info in FW Agent
Sridar Kandaswamy [Mon, 10 Mar 2014 06:31:28 +0000 (23:31 -0700)]
Fix KeyError except on router_info in FW Agent

The workflow of creating a firewall when a router without any i/f is present in that tenant
causes a KeyError on the FWAgent. The issue occurs as such routers are present in the list of
routers returned by get_routers() but are not populated in the router_info dict. Adding a check
before accessing the dict to prevent the exception. When an i/f is added to such routers -
_router_added processing in the l3agent will populate the router_info dict and the FWAgent
also picks this up in that context.

Change-Id: I5ea22e88a46e62372a0462e9cb958a08dd9f4c7d
Closes-Bug: #1289643

10 years agoMerge "NSX: remove last of unneed quantum references"
Jenkins [Fri, 14 Mar 2014 20:21:54 +0000 (20:21 +0000)]
Merge "NSX: remove last of unneed quantum references"

10 years agoMerge "Fix in admin_state_up check function"
Jenkins [Fri, 14 Mar 2014 18:28:37 +0000 (18:28 +0000)]
Merge "Fix in admin_state_up check function"

10 years agoMerge "Adds state reporting to SDN-VE agent"
Jenkins [Fri, 14 Mar 2014 16:50:56 +0000 (16:50 +0000)]
Merge "Adds state reporting to SDN-VE agent"

10 years agoNSX: remove last of unneed quantum references
Aaron Rosen [Thu, 13 Mar 2014 20:18:42 +0000 (13:18 -0700)]
NSX: remove last of unneed quantum references

Bye bye quantum!

Change-Id: Idabb3c28abfafedb1740d55aead1745725f6ca63

10 years agoNSX: fix intermetting UT failure on vshield test_router_create
armando-migliaccio [Fri, 14 Mar 2014 15:07:23 +0000 (08:07 -0700)]
NSX: fix intermetting UT failure on vshield test_router_create

Logstash shows this happened twice during the past 24 hours.
Let's be proactive and see if we can mitigate the random failure
by raising the poll time.

Change-Id: Icef7de4d9fbb3da037337c607fd7642cc15e0257
Closes-bug: 1292506

10 years agoMerge "Fixing lost vlan ids on interfaces"
Jenkins [Fri, 14 Mar 2014 11:12:08 +0000 (11:12 +0000)]
Merge "Fixing lost vlan ids on interfaces"

10 years agoMerge "NSX: nicira_models should import model_base directly"
Jenkins [Fri, 14 Mar 2014 11:10:40 +0000 (11:10 +0000)]
Merge "NSX: nicira_models should import model_base directly"

10 years agoSend fdb remove message when a port is migrated
mathieu-rohon [Fri, 14 Mar 2014 09:17:55 +0000 (10:17 +0100)]
Send fdb remove message when a port is migrated

the fdb_remove rpc message is sent when the status
of the port goes to BUILD, that is when the new host
send a get_device_details which means that it owns
the migrated port. The fdb_add message will be sent
as soon as the new host send update_device_up

Closes bug: #1237841

Change-Id: Ibdc7768d8db922b7e6eb9dc505382168cbb8e55d

10 years agoImported Translations from Transifex
OpenStack Jenkins [Fri, 14 Mar 2014 06:28:15 +0000 (06:28 +0000)]
Imported Translations from Transifex

Change-Id: I5666887bf63545e4c32617eebb215b7de339efd1

10 years agoSend network-changed notifications to nova
Aaron Rosen [Tue, 4 Mar 2014 18:47:07 +0000 (10:47 -0800)]
Send network-changed notifications to nova

This patch notifies nova whenever a floatingip or fixed_ip is updated.

Implements blueprint: nova-event-callback

DocImpact - This notifications are off by default.

Change-Id: Ifbe9d856e80e512d5595fd72ea2d7c047ce0de9d

10 years agoNotify nova when ports are ready
Aaron Rosen [Fri, 21 Feb 2014 00:18:11 +0000 (16:18 -0800)]
Notify nova when ports are ready

The following patch adds a callback from neutron to nova that notifies nova
when a port for an instance is *ready to be used*. After nova receives this
event it will then start the instance in a hope that when it comes up
its networking should be in working order.

NOTE: *ready to be used* currently means that a plugin changes the status
in the db associated with a port from:
NO_VALUE/PORT_STATUS_DOWN/PORT_STATUS_ACTIVE to ACTIVE/ERROR.

Neutron will then signal nova: network_vif_plugged:<status> where status
will either be 'completed' or 'failed' given the neutron port status.

Neutron also notifies nova when a port goes from status:
PORT_STATUS_ACTIVE to PORT_STATUS_DOWN and sends nova a network_vif_unplugged
event.

Currently this patch breaks multiregion support (i.e previously you could
back multiple nova regions by one neutron server) though now since neutron
needs to notify nova we'll need to add a way to determine which region a
given port is in.

For now the work around for this would be to set: notify_nova_port_active=False
in neutron to prevent neutron from sending the notification and setting:
vif_plugging_is_fatal=False in nova.conf. Doing this will keep the current
interaction where an instance will be booted without waiting for the network
to be ready.

DocImpact

implements blueprint: nova-event-callback

Change-Id: I4177124485b986706fcf8e73b928024b5d82b822

10 years agoSkip radware failing test for now
Aaron Rosen [Fri, 14 Mar 2014 00:14:52 +0000 (17:14 -0700)]
Skip radware failing test for now

Change-Id: Ic6c9b1aad20c732864fc4569fb566263df0f6879
Related-bug: #1288312

10 years agoMerge "Embrane LBaaS Driver"
Jenkins [Thu, 13 Mar 2014 23:05:12 +0000 (23:05 +0000)]
Merge "Embrane LBaaS Driver"

10 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Thu, 13 Mar 2014 23:03:45 +0000 (23:03 +0000)]
Merge "Imported Translations from Transifex"

10 years agoMerge "Create agents table when ML2 core_plugin is used"
Jenkins [Thu, 13 Mar 2014 21:50:11 +0000 (21:50 +0000)]
Merge "Create agents table when ML2 core_plugin is used"

10 years agoNSX: Propagate name updates for security profiles
armando-migliaccio [Thu, 6 Mar 2014 20:06:18 +0000 (12:06 -0800)]
NSX: Propagate name updates for security profiles

...All the way to the controller.

Change-Id: I4740f632eeafdd165dbd0208e37acc85ff883925
Closes-bug: #1285845

10 years agoFix in admin_state_up check function
Fawad Khaliq [Wed, 12 Mar 2014 00:33:30 +0000 (17:33 -0700)]
Fix in admin_state_up check function

Change-Id: If221cf5546e6432b31dd11ec322ddd4b69d161b2
Closes-Bug: #1291103
Signed-off-by: Fawad Khaliq <fawad@plumgrid.com>
10 years agoKill 'Skipping unknown group key: firewall_driver' log trace
armando-migliaccio [Thu, 13 Mar 2014 19:40:01 +0000 (12:40 -0700)]
Kill 'Skipping unknown group key: firewall_driver' log trace

This is done by trying to import the option first. If this
does not work, emit a warning instead as in most cases this is
harmless for a number of reasons: a) the service might not
even need the opt; b) if things do break down the line, we'll
see bigger traces; c) it's not gonna be long for this legacy
quantum/neutron stuff to be removed altogether.

Closes-bug: 1210121

Change-Id: I34917da9cb6117ee1d42140621c742f503279b6b

10 years agoMerge "Fix usage of sqlalchemy type Integer"
Jenkins [Thu, 13 Mar 2014 19:03:09 +0000 (19:03 +0000)]
Merge "Fix usage of sqlalchemy type Integer"

10 years agoImported Translations from Transifex
OpenStack Jenkins [Thu, 13 Mar 2014 06:31:04 +0000 (06:31 +0000)]
Imported Translations from Transifex

Change-Id: I9d442b17bd3febfa61277722d381fac42edaefc6

10 years agoAPI layer documentation
Sean M. Collins [Sun, 9 Mar 2014 02:11:23 +0000 (21:11 -0500)]
API layer documentation

* Discuss the WSGI layer of Neutron
* Describe the startup code that creates the WSGI application
* Briefly discuss the URL routing and resource creation

Change-Id: Id82a2a5679d7e29c0a19d1a20942a9249946b011

10 years agoMerge "Removes calls to mock.patch.stopall in unit tests"
Jenkins [Thu, 13 Mar 2014 01:59:54 +0000 (01:59 +0000)]
Merge "Removes calls to mock.patch.stopall in unit tests"

10 years agoEmbrane LBaaS Driver
Ivar Lazzaro [Wed, 30 Oct 2013 02:05:20 +0000 (19:05 -0700)]
Embrane LBaaS Driver

Implements blueprint embrane-lbaas-driver

This commit implements Embrane's driver for LBaaS,
which uses Embrane's heleos(tm) appliances to provide Load Balancing.

Change-Id: Ia76fbc8881d178cfe6df11a2cfe8e77d3f36094f

10 years agoFix ml2 & nec plugins for allowedaddresspairs tests
Jon Grimm [Thu, 28 Nov 2013 00:34:45 +0000 (18:34 -0600)]
Fix ml2 & nec plugins for allowedaddresspairs tests

Enabling the allowedaddresspairs tests uncovered that update_port()
was not returning the expected updated port info (still contained
original info).

Change-Id: I88f252e1348d272edd114fbee69e2309d3740213
Closes-bug: #1255150

10 years agoFix unittest failure in radware lbaas driver
Eugene Nikanorov [Wed, 12 Mar 2014 08:35:45 +0000 (12:35 +0400)]
Fix unittest failure in radware lbaas driver

Wait for vip delete completion before deleting network
and subnet.
Also fix indentation in the driver

Closes-Bug: #1288312
Change-Id: I88b3252102d6c4a60bbadf2951bbb74fcd19792b

10 years agoMerge "After bulk create send DHCP notification"
Jenkins [Wed, 12 Mar 2014 07:12:12 +0000 (07:12 +0000)]
Merge "After bulk create send DHCP notification"

10 years agoMerge "NSX: Allow multiple references to same gw device"
Jenkins [Wed, 12 Mar 2014 06:49:14 +0000 (06:49 +0000)]
Merge "NSX: Allow multiple references to same gw device"

10 years agoMerge "Stop mock patches by default in base test class"
Jenkins [Wed, 12 Mar 2014 06:30:30 +0000 (06:30 +0000)]
Merge "Stop mock patches by default in base test class"

10 years agoMerge "Query for port before calling l3plugin.disassociate_floatingips()"
Jenkins [Wed, 12 Mar 2014 05:34:45 +0000 (05:34 +0000)]
Merge "Query for port before calling l3plugin.disassociate_floatingips()"

10 years agoMerge "Optimize floating IP status update"
Jenkins [Wed, 12 Mar 2014 05:33:22 +0000 (05:33 +0000)]
Merge "Optimize floating IP status update"

10 years agoMerge "Updated from global requirements"
OpenStack Jenkins [Wed, 12 Mar 2014 05:33:08 +0000 (05:33 +0000)]
Merge "Updated from global requirements"

10 years agoMerge "Call target plugin out of DB transaction in the Metaplugin"
Jenkins [Wed, 12 Mar 2014 05:25:21 +0000 (05:25 +0000)]
Merge "Call target plugin out of DB transaction in the Metaplugin"

10 years agoMerge "NSX: Add ability to retry on 503's returned by the controller"
Jenkins [Wed, 12 Mar 2014 05:25:11 +0000 (05:25 +0000)]
Merge "NSX: Add ability to retry on 503's returned by the controller"

10 years agoRemoves calls to mock.patch.stopall in unit tests
Kevin Benton [Wed, 12 Mar 2014 02:13:30 +0000 (02:13 +0000)]
Removes calls to mock.patch.stopall in unit tests

Removes unnecessary calls to mock.patch.stopall
in individual unit tests since it is now
automatically called from the base test case.

Closes-Bug: #1291130
Change-Id: Ia8e82d6a9a9bc9bd5f48146c1be53069ff1cdb01

10 years agoStop mock patches by default in base test class
Kevin Benton [Mon, 10 Mar 2014 20:49:51 +0000 (20:49 +0000)]
Stop mock patches by default in base test class

Adds a mock.patch.stopall to the base unit test
case cleanup routines to stop patches by default
in unit tests. This behavior can be overwritten
by setting an attribute on the test class if
required.

Also removes the explicit stops in the Cisco n1kv,
VMware, and NEC unit tests to leverage the new
automatic cleanup.

Closes-Bug: #1290550
Change-Id: Ic642430a765ea8deb07ebd88b619da58a58e0edd

10 years agoMerge "VPNaaS Device Driver for Cisco CSR"
Jenkins [Wed, 12 Mar 2014 02:01:35 +0000 (02:01 +0000)]
Merge "VPNaaS Device Driver for Cisco CSR"

10 years agoQuery for port before calling l3plugin.disassociate_floatingips()
Aaron Rosen [Wed, 5 Mar 2014 19:32:39 +0000 (11:32 -0800)]
Query for port before calling l3plugin.disassociate_floatingips()

The call to l3plugin.disassociate_floatingips() trigggers several events
that could cause a timeout to occur trying to query the db for the port
therefore this patch changes the code to query first for the port.

Closes-bug: #1290478

Change-Id: I69fe9cff4b550240215329e1082a63cd11617faa

10 years agoOptimize floating IP status update
Salvatore Orlando [Mon, 10 Mar 2014 20:42:58 +0000 (13:42 -0700)]
Optimize floating IP status update

Hopefully also avoid tracebacks due to nested transactions
being rolled back

Change-Id: I1e74fb8d90de09b53d330f499b93073f19a5b9bf
Closes-Bug: #1290549

10 years agoNSX: Allow multiple references to same gw device
Salvatore Orlando [Tue, 11 Mar 2014 23:16:10 +0000 (16:16 -0700)]
NSX: Allow multiple references to same gw device

This patch amends a data model in order to allow user to specify
the same gateway device multiple times in a network gateway
specification.

The corresponding migration is also being amended with this
patch. This approach has been preferred to developing another
migration since the migration being amended is still the most
recent one for the NSX plugin.

Change-Id: I4d24837d8d65fc45b838f3b616c9ec8a73a50d9c
Closes-Bug: 1262790

10 years agoVPNaaS Device Driver for Cisco CSR
Paul Michali [Mon, 17 Feb 2014 20:56:22 +0000 (15:56 -0500)]
VPNaaS Device Driver for Cisco CSR

This is the device driver for the vendor specific VPNaaS plugin. This
change relies on the service driver code (review 74144), which is also
out for review.

Note: Support for sharing of IKE/IPSec policies (which is currently
      prevented by the service driver code), will be done as a later
      enhancement.
Note: Needs Tempest tests updated/created to test this.
Note: To run, this needs an out-of-band Cisco CSR installed and
      configured.
Note: This uses a newer version of requests library and a new httmock
      library. Until these are approved (75296), the UT will be
      renamed to prevent testing the REST client API to the CSR.

Change-Id: I4f73f7fa1bfcdc89a35ffe63dd253f8eede98485
Paritally-Implements: blueprint vpnaas-cisco-driver

10 years agoUpdated from global requirements
OpenStack Jenkins [Tue, 11 Mar 2014 17:31:09 +0000 (17:31 +0000)]
Updated from global requirements

Change-Id: I2e22d529892a1a15aa300b9904362cf491fd8064

10 years agoBigSwitch: Fix certificate file helper functions
Kevin Benton [Fri, 7 Mar 2014 19:09:46 +0000 (11:09 -0800)]
BigSwitch: Fix certificate file helper functions

Fixes function definitions for file-system calls
in certificate functions for BigSwitch plugin.

Closes-Bug: #1289192
Change-Id: Ifea8506ea0d751e0d5b08511eafd04d2fa26be23

10 years agoCreate agents table when ML2 core_plugin is used
Jakub Libosvar [Tue, 11 Mar 2014 16:11:38 +0000 (17:11 +0100)]
Create agents table when ML2 core_plugin is used

In Icehouse agents table is not created when ml2 is used but later in
migration chain is added uniq constraint on this table. This patch makes
agents table created when ml2 plugin is used as core_plugin.

Closes-bug: 1260224
Change-Id: I501534261efd278b6a69a66758f1a01aa49bfa17

10 years agoMerge "Fix ml2 db migration of subnetroutes table"
Jenkins [Tue, 11 Mar 2014 14:23:46 +0000 (14:23 +0000)]
Merge "Fix ml2 db migration of subnetroutes table"

10 years agoFix usage of sqlalchemy type Integer
AKamyshnikova [Fri, 7 Mar 2014 10:23:49 +0000 (14:23 +0400)]
Fix usage of sqlalchemy type Integer

In migration folsom_initial in cisco_upgrade function table
nexusport_bindings create column vlan_id with incorrect type
Integer(255).

Closes-bug: #1289256

Change-Id: I8ef99526d19b19b51d9284ccab5703de21838ee1

10 years agoMerge "N1kv: Fixes fields argument not None"
Jenkins [Tue, 11 Mar 2014 11:59:46 +0000 (11:59 +0000)]
Merge "N1kv: Fixes fields argument not None"

10 years agoFixing lost vlan ids on interfaces
Yves-Gwenael Bourhis [Mon, 13 Jan 2014 17:27:27 +0000 (18:27 +0100)]
Fixing lost vlan ids on interfaces

Sometimes a vm gets its tap interface unset and reset too fast to be caught in
an agent loop, and its vlan tag was not reset.

We now detect if an interface loses its vlan tag, and if it happens the
interface will be reconfigured.

Since the TAG ID is only available via the "Port" table (in the 'tag' column),
we couldn't reuse the get_vif_port_set() method's run_vsctl call which queries
the "Interface" table, and needed a specific run_vsct call to the "Port" table
in the new get_port_tag_dict() method.

Change-Id: I7f59e2c1e757c28dae35c44ebfad9d764ae1d3c5
Closes-Bug: 1240849

10 years agoCall target plugin out of DB transaction in the Metaplugin
Itsuro Oda [Wed, 5 Feb 2014 01:12:26 +0000 (10:12 +0900)]
Call target plugin out of DB transaction in the Metaplugin

Previously, there are cases that a target plugin is called
within a DB transaction in the metaplugin. This possibly causes
"DB lock timeout" error since a target plugin may take a long
time (ex. communicate to a controller).

Change-Id: Ie2971bfae1fecc97086b58cd943c321feb0aba04
Closes-Bug: #1267291

10 years agoMerge "Fixed Spelling error in Readme"
Jenkins [Tue, 11 Mar 2014 03:06:00 +0000 (03:06 +0000)]
Merge "Fixed Spelling error in Readme"

10 years agoMerge "Fix lack of extended port's attributes in Metaplugin"
Jenkins [Tue, 11 Mar 2014 02:15:26 +0000 (02:15 +0000)]
Merge "Fix lack of extended port's attributes in Metaplugin"

10 years agoMerge "Cisco Neutron plugin fails DB migration"
Jenkins [Mon, 10 Mar 2014 21:27:30 +0000 (21:27 +0000)]
Merge "Cisco Neutron plugin fails DB migration"

10 years agoMerge "One Convergence Neutron Plugin l3 ext support"
Jenkins [Mon, 10 Mar 2014 21:12:22 +0000 (21:12 +0000)]
Merge "One Convergence Neutron Plugin l3 ext support"

10 years agoMerge "BigSwitch: Fix rest call in consistency watchdog"
Jenkins [Mon, 10 Mar 2014 21:12:12 +0000 (21:12 +0000)]
Merge "BigSwitch: Fix rest call in consistency watchdog"