]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
10 years agoAdd missing ml2 plugin to migration 1fcfc149aca4
Eugene Nikanorov [Wed, 30 Jul 2014 13:11:10 +0000 (17:11 +0400)]
Add missing ml2 plugin to migration 1fcfc149aca4

Migration 1fcfc149aca4_agents_unique_by_type_and_host
shouldbe applied to ml2 plugin as well.

Change-Id: I3f5a2fcfec49316fbe06d6221d003aeb2599bca7
Closes-Bug: #1350326

10 years agoMerge "Pass filters in arrays in get_agent_gw_ports_exist_for_network"
Jenkins [Wed, 30 Jul 2014 09:04:17 +0000 (09:04 +0000)]
Merge "Pass filters in arrays in get_agent_gw_ports_exist_for_network"

10 years agoMerge "Bump hacking to version 0.9.2"
Jenkins [Wed, 30 Jul 2014 08:24:22 +0000 (08:24 +0000)]
Merge "Bump hacking to version 0.9.2"

10 years agoMerge "Make dvr_vmarp_table_update call conditional to dvr extension"
Jenkins [Wed, 30 Jul 2014 08:24:13 +0000 (08:24 +0000)]
Merge "Make dvr_vmarp_table_update call conditional to dvr extension"

10 years agoMerge "Functional tests work fine with random PYTHONHASHSEED"
Jenkins [Wed, 30 Jul 2014 08:24:04 +0000 (08:24 +0000)]
Merge "Functional tests work fine with random PYTHONHASHSEED"

10 years agoMerge "Replaced the strings with respective constants"
Jenkins [Wed, 30 Jul 2014 08:21:27 +0000 (08:21 +0000)]
Merge "Replaced the strings with respective constants"

10 years agoMerge "Call config_parse in base test setup"
Jenkins [Wed, 30 Jul 2014 08:21:18 +0000 (08:21 +0000)]
Merge "Call config_parse in base test setup"

10 years agoMerge "neutron.conf does not have the definition of firewall quotas"
Jenkins [Wed, 30 Jul 2014 06:47:11 +0000 (06:47 +0000)]
Merge "neutron.conf does not have the definition of firewall quotas"

10 years agoMerge "Race condition of L3-agent to add/remove routers"
Jenkins [Wed, 30 Jul 2014 06:02:57 +0000 (06:02 +0000)]
Merge "Race condition of L3-agent to add/remove routers"

10 years agoPass filters in arrays in get_agent_gw_ports_exist_for_network
Carl Baldwin [Wed, 30 Jul 2014 00:45:54 +0000 (00:45 +0000)]
Pass filters in arrays in get_agent_gw_ports_exist_for_network

Change-Id: I8925d7072b7cae7645e772b8a769a7e6f03ec64f
Closes-Bug: #1350119

10 years agoMerge "Check that router info is set before calling _update_arp_entry"
Jenkins [Wed, 30 Jul 2014 00:37:51 +0000 (00:37 +0000)]
Merge "Check that router info is set before calling _update_arp_entry"

10 years agoMerge "Fix deprecated opt in haproxy driver"
Jenkins [Wed, 30 Jul 2014 00:37:35 +0000 (00:37 +0000)]
Merge "Fix deprecated opt in haproxy driver"

10 years agoMerge "Fix wrong order of tables in downgrade"
Jenkins [Tue, 29 Jul 2014 22:59:59 +0000 (22:59 +0000)]
Merge "Fix wrong order of tables in downgrade"

10 years agoCheck that router info is set before calling _update_arp_entry
Carl Baldwin [Tue, 29 Jul 2014 20:34:01 +0000 (20:34 +0000)]
Check that router info is set before calling _update_arp_entry

Change-Id: Ieec6fb01a7d48bed1042114c27527fe6ec2555e0
Closes-bug: #1350028

10 years agoMerge "Set nullable=False on tenant_id in apic_contracts table"
Jenkins [Tue, 29 Jul 2014 19:20:23 +0000 (19:20 +0000)]
Merge "Set nullable=False on tenant_id in apic_contracts table"

10 years agoneutron.conf does not have the definition of firewall quotas
Liping Mao [Mon, 28 Jul 2014 09:24:32 +0000 (17:24 +0800)]
neutron.conf does not have the definition of firewall quotas

We have the definition of quotas for firewall/policy/role
in code, but we do not have them in neutron.conf.

Change-Id: I23ae4f5c00ccc62dd9f97c77011da4ce0bbf983e
Closes-Bug: #1349318

10 years agoFix wrong order of tables in downgrade
Ann Kamyshnikova [Tue, 29 Jul 2014 12:02:20 +0000 (16:02 +0400)]
Fix wrong order of tables in downgrade

Heal migration fix bug https://bugs.launchpad.net/neutron/+bug/1336177.
Now table ml2_brocadenetworks has foreign key and downgrade
of 492a106273f8_brocade_ml2_mech_dri fails. To fix this change order
of tables in downgrade is needed.

Closes-bug: #1349810

Change-Id: Ida2ba66d35a952381f213080d417e475e18c196d

10 years agoFix deprecated opt in haproxy driver
Jakub Libosvar [Tue, 29 Jul 2014 10:18:33 +0000 (12:18 +0200)]
Fix deprecated opt in haproxy driver

If Neutron was updated from Havana, lbaas config file defines user_group
and loadbalancer_state_path in default section but since Icehouse these
settings were moved to haproxy section.
This patch adds DEFAULT group to DeprecatedOpt.

Change-Id: Ic92d4bc81ff6a3b16799414d17ac52e7a4801796
Closes-bug: #1349767

10 years agoRace condition of L3-agent to add/remove routers
Li Ma [Fri, 21 Feb 2014 08:57:25 +0000 (00:57 -0800)]
Race condition of L3-agent to add/remove routers

This race condition happens when repeatedly calling
l3-agent-router-add and l3-agent-router-remove
by different neutron-servers at the same time.

The primary key constraint is added for the pair of
(router_id and l3_agent_id).

During migration, verification is done if the current
records violate the PK constraint defined in this bug
fix, and sanitize the data before schema modification.

Due to different dialects of database engines, different
sql statements are executed correspondingly to do
the verification.

Change-Id: Ia541e023b757b2e77c4eec9bb1670632c7a271fa
Closes-Bug: #1230323

10 years agoReplaced the strings with respective constants
Sitaram Dontu [Fri, 25 Jul 2014 23:39:56 +0000 (16:39 -0700)]
Replaced the strings with respective constants

Change-Id: Ie36fde1307a75c1485120d848f8bdb182e5e1fc0
Closes-Bug: 1344497

10 years agoMake dvr_vmarp_table_update call conditional to dvr extension
armando-migliaccio [Tue, 29 Jul 2014 03:09:04 +0000 (20:09 -0700)]
Make dvr_vmarp_table_update call conditional to dvr extension

Without making this call conditional, every l3plugin that
integrates with the ML2 plugin will need to implement this
method and this must not be necessary.

Closes-bug: #1349638

Change-Id: Ie9ba3bad4152810f5bfa530be54be70139cebc0c

10 years agoMerge "ML2 additions to support DVR"
Jenkins [Tue, 29 Jul 2014 01:12:03 +0000 (01:12 +0000)]
Merge "ML2 additions to support DVR"

10 years agoMerge "Updated from global requirements"
Jenkins [Mon, 28 Jul 2014 22:29:48 +0000 (22:29 +0000)]
Merge "Updated from global requirements"

10 years agoMerge "Changes to remove the use of mapping tables from Nuage plugin"
Jenkins [Mon, 28 Jul 2014 19:58:17 +0000 (19:58 +0000)]
Merge "Changes to remove the use of mapping tables from Nuage plugin"

10 years agoUpdated from global requirements
OpenStack Proposal Bot [Mon, 28 Jul 2014 19:49:32 +0000 (19:49 +0000)]
Updated from global requirements

Change-Id: I4116476698feba5b17ed4443db75a27c53da8615

10 years agoMerge "Set promote_secondaries when creating namespaces"
Jenkins [Mon, 28 Jul 2014 14:35:52 +0000 (14:35 +0000)]
Merge "Set promote_secondaries when creating namespaces"

10 years agoMerge "Make test_l3_agent._prepare_router_data a module function"
Jenkins [Mon, 28 Jul 2014 14:35:05 +0000 (14:35 +0000)]
Merge "Make test_l3_agent._prepare_router_data a module function"

10 years agoMerge "Remove redundant code in tests/unit/test_l3_agent"
Jenkins [Mon, 28 Jul 2014 14:34:56 +0000 (14:34 +0000)]
Merge "Remove redundant code in tests/unit/test_l3_agent"

10 years agoSet promote_secondaries when creating namespaces
Zang MingJie [Thu, 17 Jul 2014 15:06:07 +0000 (23:06 +0800)]
Set promote_secondaries when creating namespaces

there is a sysconf entry which controls how deletion of the primary ip
is performed (/proc/sys/net/ipv4/conf/all/promote_secondaries). when set
instead of deleting the secondary addresses, one of them will be
promoted to primary ip.

Without it, when init_l3 called on a port, it may unexpectedly delete
some useful ips.

Change-Id: I0b1b3bd6ade21129532c842daa31059ea164719e
Closes-bug: 1343320

10 years agoMerge "Fixed audit notifications for dhcp-agent-network"
Jenkins [Mon, 28 Jul 2014 07:09:32 +0000 (07:09 +0000)]
Merge "Fixed audit notifications for dhcp-agent-network"

10 years agoFunctional tests work fine with random PYTHONHASHSEED
Henry Gessau [Mon, 28 Jul 2014 01:01:46 +0000 (21:01 -0400)]
Functional tests work fine with random PYTHONHASHSEED

Partial-bug: #1348818

Change-Id: Iccac403585635851c6d121d6e27c1c90b0de5acb

10 years agoCall config_parse in base test setup
Kevin Benton [Sat, 19 Jul 2014 07:54:09 +0000 (00:54 -0700)]
Call config_parse in base test setup

Some of the tests (e.g. NeutronDbPluginV2AsMixinTestCase) do not call
config_parse so if the database engine is not already been setup by another
test before the config object is reset on teardown, the database connection
will fail since the database config is then empty.

This patch adds a new setup_config method called during the base test case
setUp method which calls config_parse by default to load the default config.
Tests that couldn't use the default config were then modified to override the
setup_config method.

Some other unit tests were slightly adjusted to pass using the default config.

Closes-Bug: #1346673
Change-Id: I3724200fa932115c0a8c264640b1a9dbe431a1cc

10 years agoML2 additions to support DVR
Vivekanandan Narasimhan [Tue, 24 Jun 2014 21:50:29 +0000 (14:50 -0700)]
ML2 additions to support DVR

This patch introduces the changes necessary to
support DVR at Layer 2 with ML2, and L2pop.

Partially-implements: blueprint neutron-ovs-dvr

Change-Id: I709d877e7df83728868e68e023e6a37bb2e11704
Authored-by: Vivekanandan Narasimhan <vivekanandan.narasimhan@hp.com>
10 years agoMake test_l3_agent._prepare_router_data a module function
Assaf Muller [Sun, 27 Jul 2014 15:03:26 +0000 (18:03 +0300)]
Make test_l3_agent._prepare_router_data a module function

Remove an unneeded class variable, allowing _prepare_router_data
to be changed to a module level function. This allows the function
to be reused by other tests cases.

Change-Id: Ia4de3c535c703fbb2528e6cc9594bcd34f50aca1

10 years agoRemove redundant code in tests/unit/test_l3_agent
Assaf Muller [Sun, 27 Jul 2014 14:50:26 +0000 (17:50 +0300)]
Remove redundant code in tests/unit/test_l3_agent

Change-Id: I87d09507cb9e9e37179d6d2035b211aa99f37260

10 years agoMerge "Cisco: Fix test cases which make incorrect create requests"
Jenkins [Sun, 27 Jul 2014 11:09:29 +0000 (11:09 +0000)]
Merge "Cisco: Fix test cases which make incorrect create requests"

10 years agoMerge "Avoid RequestURITooLong exception in metadata agent"
Jenkins [Sat, 26 Jul 2014 19:59:12 +0000 (19:59 +0000)]
Merge "Avoid RequestURITooLong exception in metadata agent"

10 years agoMerge "Add definition for new VIF type"
Jenkins [Sat, 26 Jul 2014 19:15:32 +0000 (19:15 +0000)]
Merge "Add definition for new VIF type"

10 years agoMerge "Set python hash seed to 0 in tox.ini"
Jenkins [Sat, 26 Jul 2014 00:09:27 +0000 (00:09 +0000)]
Merge "Set python hash seed to 0 in tox.ini"

10 years agoSet python hash seed to 0 in tox.ini
Clark Boylan [Fri, 25 Jul 2014 20:30:00 +0000 (13:30 -0700)]
Set python hash seed to 0 in tox.ini

New tox (>=1.7.0) sets a random python hash seed by default. This is
generally good for testing because it will help keep projects working
regardless of the hash seed, but neutron unittests don't currently pass
with a random hash seed so set it to the python default seed.

This change will allow us to use new tox again and remove the
restriction on tox<=1.6.1 to run unittests.

Note this change will need to be backported to the stable branches to
keep unittests there working with new tox as well.

Change-Id: If151efeb8caae3111515191e238d6e6ae491cd44

10 years agoMerge "VPNaaS: Separate validation for Cisco impl"
Jenkins [Fri, 25 Jul 2014 20:24:15 +0000 (20:24 +0000)]
Merge "VPNaaS: Separate validation for Cisco impl"

10 years agoMerge "Encapsulate some port properties in the PortContext"
Jenkins [Fri, 25 Jul 2014 18:27:58 +0000 (18:27 +0000)]
Merge "Encapsulate some port properties in the PortContext"

10 years agoAdd definition for new VIF type
Gary Kotton [Fri, 25 Jul 2014 00:41:38 +0000 (17:41 -0700)]
Add definition for new VIF type

The type VIF_TYPE_DVS is added. This indicates that the port
will be added to a VMware distributed virtual switch.

This is for blueprint vsphere-neutron.

Change-Id: I1b5df837734af9a3f7d48b60de120592b11e392e

10 years agoMerge "update vsm credential correctly"
Jenkins [Fri, 25 Jul 2014 14:42:41 +0000 (14:42 +0000)]
Merge "update vsm credential correctly"

10 years agoMerge "VMWare: don't notify on disassociate_floatingips()"
Jenkins [Fri, 25 Jul 2014 14:20:25 +0000 (14:20 +0000)]
Merge "VMWare: don't notify on disassociate_floatingips()"

10 years agoMerge "sync periodic_task fix from incubator"
Jenkins [Fri, 25 Jul 2014 12:55:06 +0000 (12:55 +0000)]
Merge "sync periodic_task fix from incubator"

10 years agoMerge "Updated from global requirements"
Jenkins [Fri, 25 Jul 2014 11:51:14 +0000 (11:51 +0000)]
Merge "Updated from global requirements"

10 years agoHandle bool correctly during _extend_extra_router_dict
armando-migliaccio [Fri, 25 Jul 2014 04:44:47 +0000 (21:44 -0700)]
Handle bool correctly during _extend_extra_router_dict

Ensure that extension attributes are always used to
override the chosen defaults. This was not working
in the case of default boolean True, as the testing
condition was wrong.

Closes-bug: #1348479

Change-Id: I22bce82c6078a96c0eb4a67e6decb6e9205721a8

10 years agoEncapsulate some port properties in the PortContext
armando-migliaccio [Fri, 18 Jul 2014 00:22:49 +0000 (17:22 -0700)]
Encapsulate some port properties in the PortContext

Bindings to host or status may need further encapsulation
to avoid exposing mechanism drivers to underlying DB model
details. This was particularly true in the case of the
l2pop mech driver.

As a result, some docstrings were reworded, and the newly
introduced properties used directly in the mech drivers.

Partially-implements: blueprint neutron-ovs-dvr
Supports blueprint: ml2-hierarchical-port-binding

Change-Id: If2a373ef04d19b164585fb4bde4fe6e0cfaf43be

10 years agoMerge "Add rule for updating network's router:external attribute"
Jenkins [Thu, 24 Jul 2014 20:29:02 +0000 (20:29 +0000)]
Merge "Add rule for updating network's router:external attribute"

10 years agoMerge "ML2 mechanism driver for SR-IOV capable NIC based switching, Part 2"
Jenkins [Thu, 24 Jul 2014 20:20:28 +0000 (20:20 +0000)]
Merge "ML2 mechanism driver for SR-IOV capable NIC based switching, Part 2"

10 years agoMerge "Log methods using rpc communcation"
Jenkins [Thu, 24 Jul 2014 19:09:56 +0000 (19:09 +0000)]
Merge "Log methods using rpc communcation"

10 years agoMerge "Correct misspelled variable name"
Jenkins [Thu, 24 Jul 2014 19:09:28 +0000 (19:09 +0000)]
Merge "Correct misspelled variable name"

10 years agoChanges to remove the use of mapping tables from Nuage plugin
Sayaji [Thu, 17 Jul 2014 21:51:58 +0000 (14:51 -0700)]
Changes to remove the use of mapping tables from Nuage plugin

Nuage plugin maintains a mapping of Openstack and Nuage resources.
With this change Nuage VSD can itself maintain this mapping, so the
plugin doesn't have to store the information in the neutron DB.
This eliminates potential out of sync and upgrade issues.

Closes-Bug: #1338853

Change-Id: I03b32a83d792c742962e0195383a622c1967ae4f

10 years agoUpdated from global requirements
OpenStack Proposal Bot [Thu, 24 Jul 2014 16:04:36 +0000 (16:04 +0000)]
Updated from global requirements

Change-Id: Ibdbdae16eb5b15cdfa5ca194dc852abfde14f74d

10 years agoMerge "Move loadbalancer vip port creation outside of transaction"
Jenkins [Thu, 24 Jul 2014 14:19:03 +0000 (14:19 +0000)]
Merge "Move loadbalancer vip port creation outside of transaction"

10 years agoCorrect misspelled variable name
Robert Mizielski [Tue, 15 Jul 2014 09:19:40 +0000 (11:19 +0200)]
Correct misspelled variable name

In neutron/services/loadbalancer/drivers/embrane/driver.py,
"persistence" is wrote with an "a", not with an "e".
This patch fix this.

Change-Id: I8da0d6d28c188c73ed844a8a0c7a523dae713344

10 years agoAvoid RequestURITooLong exception in metadata agent
Ilya Shakhat [Thu, 24 Jul 2014 11:14:26 +0000 (15:14 +0400)]
Avoid RequestURITooLong exception in metadata agent

Length of API port query is proportional to number of networks
and may exceed URI limit. The solution is to query ports by
given ip address only and then filter them by network_id.

Closes bug 1348097

Change-Id: I2a87d6b215df380b24dd5ebb24947e8729f3f6fb

10 years agoMerge "OFAgent: Share codes of l2-population in OVS agent"
Jenkins [Thu, 24 Jul 2014 09:59:32 +0000 (09:59 +0000)]
Merge "OFAgent: Share codes of l2-population in OVS agent"

10 years agoMove loadbalancer vip port creation outside of transaction
Eugene Nikanorov [Wed, 23 Jul 2014 10:14:00 +0000 (14:14 +0400)]
Move loadbalancer vip port creation outside of transaction

Currently _create_port_for_vip calls ml2 create_port() method
which includes rpc notification.
That leads to lock wait timeouts in certain cases.

The patch fixes that while making VIP creation process non-atomic.
But that is fine as long until create_vip() returns vip id, it's
not usable from API.

Change-Id: Ie30973de80118a6b022e8c3bb07ca48122ebcd29
Partial-Bug: #1334226

10 years agoMerge "ML2: Update a comment after the recent bind_port change"
Jenkins [Thu, 24 Jul 2014 03:55:41 +0000 (03:55 +0000)]
Merge "ML2: Update a comment after the recent bind_port change"

10 years agoMerge "Clear entries in Cisco N1KV specific tables on rollback"
Jenkins [Thu, 24 Jul 2014 01:36:25 +0000 (01:36 +0000)]
Merge "Clear entries in Cisco N1KV specific tables on rollback"

10 years agoMerge "call security_groups_member_updated in port_update"
Jenkins [Thu, 24 Jul 2014 01:20:27 +0000 (01:20 +0000)]
Merge "call security_groups_member_updated in port_update"

10 years agoMerge "Modify L3 Agent for Distributed Routers"
Jenkins [Thu, 24 Jul 2014 01:01:33 +0000 (01:01 +0000)]
Merge "Modify L3 Agent for Distributed Routers"

10 years agoMerge "Use method's logger in log decorator"
Jenkins [Thu, 24 Jul 2014 00:38:12 +0000 (00:38 +0000)]
Merge "Use method's logger in log decorator"

10 years agoMerge "Missing max_routes in neutron.conf"
Jenkins [Thu, 24 Jul 2014 00:25:17 +0000 (00:25 +0000)]
Merge "Missing max_routes in neutron.conf"

10 years agoMerge "Return a tuple of None's instead of one None"
Jenkins [Thu, 24 Jul 2014 00:22:51 +0000 (00:22 +0000)]
Merge "Return a tuple of None's instead of one None"

10 years agoML2 mechanism driver for SR-IOV capable NIC based switching, Part 2
Irena Berezovsky [Wed, 16 Jul 2014 11:33:42 +0000 (14:33 +0300)]
ML2 mechanism driver for SR-IOV capable NIC based switching, Part 2

This set of changes introduces SRIOV NIC Agent to run with
ML2 mechanism driver for SR-IOV capable NIC based switching.
This is the second part of a 2 part commit.

The review is submitted in two parts:
- Part 1
    The Mechanism Driver to support port binding for SR-IOV virtual
functions of SRIOV capable switching NICs.

- Part2 (this part)
    The SRIOV NIC Based L2 Agent.
Use  configurable list of mappings physical_networks to PF
        interfaces and configurable list of mappings PF interfaces
        to list of excluded VFs to get list of Virtual Functions that agent should manage.
Current implementation supports admin state updates.

Co-authored-by: Samer Deeb <samerd@mellanox.com>
Partially implements: blueprint ml2-sriov-nic-switch

Change-Id: I533ccee067935326d5837f90ba321a962e8dc2a6

10 years agoModify L3 Agent for Distributed Routers
Michael Smith [Tue, 22 Jul 2014 23:58:26 +0000 (16:58 -0700)]
Modify L3 Agent for Distributed Routers

This patch is an enhancement to the existing L3 Agent.
This allows the L3 Agent to support distributed routers
by enhancing the router object to function across
multiple nodes.

Utilized two new types of namespaces:

- FIP to handle multiple VM fips and routers per node
- SNAT to handle centralized SNAT per router

Rules and tables are enhanced and added to support routing
across distributed routers without going to a centralized
router.

Finally, a new configuration param 'agent_mode' is introduced
and it controls what the L3 agent can do: the available values
are: 'legacy', 'dvr', 'dvr_snat' (more details inline).

The l3-scheduler uses the newly introduced agent_mode to
determine what L3 agent to select during the scheduling
process.

Partially-Implements: blueprint neutron-ovs-dvr

DocImpact

Change-Id: Icead821bb74372b15aac2e5cefe8ad7f08c037ab
Co-Authored-By: Rajeev Grover <rajeev.grover@hp.com>
10 years agoOFAgent: Share codes of l2-population in OVS agent
fumihiko kakuma [Tue, 15 Apr 2014 02:54:50 +0000 (11:54 +0900)]
OFAgent: Share codes of l2-population in OVS agent

This is step 1 implementation of OFAgent l2-population.
OFAgent partially uses codes in OVS agent on implementation of l2-population.
We share these codes adding mixin class for OVS to l2-population rpc.
We use a ryu library instead of executing a ovs-vsctl command
and on OFAgent l2-population is no longer optional.
Also a function of local arp responder will be implemented on step 2.

related commit: b6133c35dd587f6b01e8ec12757347b2767713a6

Partially implements: blueprint ofagent-l2pop

Change-Id: I99a2adfd380a9fefe34c53e0dabc21d8cf5936cc

10 years agoMerge "NSX: remove unnecessary checks on network delete"
Jenkins [Tue, 22 Jul 2014 23:09:54 +0000 (23:09 +0000)]
Merge "NSX: remove unnecessary checks on network delete"

10 years agoMerge "This patch changes the name of directory from mech_arista to arista"
Jenkins [Tue, 22 Jul 2014 21:13:52 +0000 (21:13 +0000)]
Merge "This patch changes the name of directory from mech_arista to arista"

10 years agoMerge "Bump min required version for dnsmasq to 2.63"
Jenkins [Tue, 22 Jul 2014 20:38:31 +0000 (20:38 +0000)]
Merge "Bump min required version for dnsmasq to 2.63"

10 years agoMerge "ML2 mechanism driver for SR-IOV capable NIC based switching, Part 1"
Jenkins [Tue, 22 Jul 2014 19:28:20 +0000 (19:28 +0000)]
Merge "ML2 mechanism driver for SR-IOV capable NIC based switching, Part 1"

10 years agoMerge "Imported Translations from Transifex"
Jenkins [Tue, 22 Jul 2014 17:53:49 +0000 (17:53 +0000)]
Merge "Imported Translations from Transifex"

10 years agoThis patch changes the name of directory from mech_arista to arista
Sukhdev [Tue, 22 Jul 2014 02:28:17 +0000 (19:28 -0700)]
This patch changes the name of directory from mech_arista to arista

This name change of directroy is needed so that additional drivers
can be moved into this directory and share the code among drivers.

In order to accomodate this name change, setup.cfg is modified to
point to the Arista ML2 driver at the new location. Additionally,
a similar new directroy is created for test files as well.

Change-Id: I614ccf8b6d152aa99e20ef1ea762c26115ab9373
closes-bug: 1346712

10 years agoML2 mechanism driver for SR-IOV capable NIC based switching, Part 1
Irena Berezovsky [Tue, 18 Feb 2014 13:13:58 +0000 (15:13 +0200)]
ML2 mechanism driver for SR-IOV capable NIC based switching, Part 1

This set of changes introduces the ML2 mechanism driver for SR-IOV capable NIC based switching.
Please see the blueprint for more information.
The review is submitted in two parts:
- Part 1 (this part)
    The Mechanism Driver to support port binding for SR-IOV virtual functions of
    SRIOV capable switching NICs, such as Mellanox ConnectX Family.

    Use configurable list of supported NIC vendor and product PCI ids to filter
    devices to bind the SR-IOV port.
    Use configurable agent_required option to require SRIOV L2 Agent
    for bort binding.

- Part2
    The SRIOV NIC Based L2 Agent.

Partially implements: blueprint ml2-sriov-nic-switch

Change-Id: If3d28df2a8ffe72ae512ddae076f42fca936cff7

10 years agoMerge "Add partial specs support in ML2 for multiprovider extension"
Jenkins [Tue, 22 Jul 2014 10:19:54 +0000 (10:19 +0000)]
Merge "Add partial specs support in ML2 for multiprovider extension"

10 years agoAdd rule for updating network's router:external attribute
Elena Ezhova [Wed, 9 Jul 2014 16:10:17 +0000 (20:10 +0400)]
Add rule for updating network's router:external attribute

Set admin_only rule for update_network:router:external in policy.json

Also, change the default value of router:external from attr.ATTR_NOT_SPECIFIED
to False, because each time we try to get or update a network the dict with
its attributes is extended by _extend_network_dict_l3 function which adds
router:external=False to the dict if this attribute is not specified.
Thus, if the default value is not specified, router:external is considered
to be updated in any case and the policy rule is applied.

Change-Id: I899d98c7d8c9d9863ac5d8f992b6a2d507ec4482
Closes-Bug: 1338880

10 years agoL2 Agent-side additions to support DVR
Vivekanandan Narasimhan [Mon, 14 Apr 2014 21:55:25 +0000 (14:55 -0700)]
L2 Agent-side additions to support DVR

This patch introduces changes to the L2 agent, whereby the L2 agent
relies on a DVR component that takes care of the port wiring and the
management of tunnels in face of topology changes due to the life
cycles or VM's as well as the life cycles of distributed virtual
routers.

Support for DVR needs to be explicitly enabled. Default behavior
remains unchanged.

Partially-implements: blueprint neutron-ovs-dvr

Change-Id: If75225898a6f0aeea8b0300b711ca7e01f6b4f9a

10 years agoImported Translations from Transifex
OpenStack Proposal Bot [Tue, 22 Jul 2014 06:07:08 +0000 (06:07 +0000)]
Imported Translations from Transifex

Change-Id: I6ebbb2da3747bbaf13b04eb30447a5e387f4e76b

10 years agoMerge "Split up metering test case into plugin + test case"
Jenkins [Tue, 22 Jul 2014 03:15:04 +0000 (03:15 +0000)]
Merge "Split up metering test case into plugin + test case"

10 years agoMerge "Make readme reference git.openstack.org not github"
Jenkins [Tue, 22 Jul 2014 03:14:42 +0000 (03:14 +0000)]
Merge "Make readme reference git.openstack.org not github"

10 years agoMerge "The default value of quota_firewall_rule should not be -1"
Jenkins [Tue, 22 Jul 2014 02:25:36 +0000 (02:25 +0000)]
Merge "The default value of quota_firewall_rule should not be -1"

10 years agoMerge "NSX: fix router ports port_security_enabled=False"
Jenkins [Tue, 22 Jul 2014 02:25:26 +0000 (02:25 +0000)]
Merge "NSX: fix router ports port_security_enabled=False"

10 years agoMerge "NSX: fix validation logic on network gateway connect"
Jenkins [Tue, 22 Jul 2014 02:25:14 +0000 (02:25 +0000)]
Merge "NSX: fix validation logic on network gateway connect"

10 years agoMerge "Add partial specs support in ML2 for gre/vxlan provider networks"
Jenkins [Tue, 22 Jul 2014 01:08:55 +0000 (01:08 +0000)]
Merge "Add partial specs support in ML2 for gre/vxlan provider networks"

10 years agoMerge "NSX: Optionally not enforce nat rule match length check"
Jenkins [Tue, 22 Jul 2014 00:36:09 +0000 (00:36 +0000)]
Merge "NSX: Optionally not enforce nat rule match length check"

10 years agoMerge "Move _convert_to_nsx_transport_zones into nsx_utils"
Jenkins [Mon, 21 Jul 2014 23:51:25 +0000 (23:51 +0000)]
Merge "Move _convert_to_nsx_transport_zones into nsx_utils"

10 years agoNSX: fix router ports port_security_enabled=False
Aaron Rosen [Fri, 18 Jul 2014 19:09:12 +0000 (12:09 -0700)]
NSX: fix router ports port_security_enabled=False

Previously there was a bug that resulted in a security group being
added to router ports which was not supported in NSX. Removing the
security group didn't actually completely solve the problem as we
never cleared the allowed_address_pairs on the router port. This
patch fixes this issue by disabling port_security_enabled on the
router port.

Change-Id: Ib61756e3bd5866318cbc3bb9856344571399d656
Closes-bug: 1344266
Related-bug: 1329043

10 years agoAdd partial specs support in ML2 for multiprovider extension
Cedric Brandily [Fri, 20 Jun 2014 09:31:01 +0000 (11:31 +0200)]
Add partial specs support in ML2 for multiprovider extension

ML2 provider network partial specs let admins choose some
multiprovider network attributes and let neutron choose remaining
attributes. This change provides the implementation for
multiprovider networks.

In practice, for VLAN/GRE/VXLAN segments provider:segmentation_id
choice can be delegated to neutron, in such case neutron try to find
a segment in tenant network pools which respects provided segment
attributes. For VLAN segments provider:physical_network choice can
also be delegated.

DocImpact

Implements blueprint provider-network-partial-specs

Change-Id: I1cf1441a179ec527674276b71e9924841f8570b6

10 years agoAdd partial specs support in ML2 for gre/vxlan provider networks
Cedric Brandily [Mon, 16 Jun 2014 20:03:14 +0000 (22:03 +0200)]
Add partial specs support in ML2 for gre/vxlan provider networks

ML2 provider networks partial specs let admins choose some provider
network attributes and let neutron choose remaining attributes. This
change provides the implementation for GRE/VXLAN provider networks.

In practice, for GRE/VXLAN provider networks provider:segmentation_id
choice can be delegated to neutron, in such case neutron will try to
find a network in tenant network pools which respects provided
provider attributes.

DocImpact

Related to blueprint provider-network-partial-specs
Partial-Bug: #1330562

Change-Id: I720d7d04f6e3453145e888d9e4d9b5e381d0f7d4

10 years agoSet nullable=False on tenant_id in apic_contracts table
Henry Gessau [Mon, 21 Jul 2014 14:35:41 +0000 (10:35 -0400)]
Set nullable=False on tenant_id in apic_contracts table

The cisco_ml2_apic_contracts table has a tenant_id field that is not nullable
since it is the primary key. The HasTenant mixin does not allow setting
nullable=False, so use sa.Column() explicitly for this.

Change-Id: If8e96e76fad0bfcf2bfd71b0223624f1da4517c9
Closes-bug: #1342756

10 years agoMerge "NSX: Remove unneed call to _ensure_default_security_group"
Jenkins [Mon, 21 Jul 2014 19:51:23 +0000 (19:51 +0000)]
Merge "NSX: Remove unneed call to _ensure_default_security_group"

10 years agoMerge "Fix incorrect downgrade"
Jenkins [Mon, 21 Jul 2014 19:49:23 +0000 (19:49 +0000)]
Merge "Fix incorrect downgrade"

10 years agoMerge "Initialize RpcProxy objects correctly"
Jenkins [Mon, 21 Jul 2014 19:44:26 +0000 (19:44 +0000)]
Merge "Initialize RpcProxy objects correctly"

10 years agoMerge "Correct LOG.debug use"
Jenkins [Mon, 21 Jul 2014 18:34:57 +0000 (18:34 +0000)]
Merge "Correct LOG.debug use"

10 years agocall security_groups_member_updated in port_update
Xu Chen [Thu, 19 Jun 2014 19:01:33 +0000 (15:01 -0400)]
call security_groups_member_updated in port_update

When a running VM is added to a security group, all existing VMs (ports)
in the security group should be notified/updated - otherwise they would
have incorrect rules, not knowing the new VM/port added.

The current behavior would only update the port of the added VM. This
patch forces an security_groups_member_updated() call for all the
security groups that have ports removed or added.

Change-Id: Ibdcd74f47043762386b62f3ec0fa1723060446ac
Closes-Bug: 1316618

10 years agoMerge "Support Router Advertisement Daemon (radvd) for IPv6"
Jenkins [Mon, 21 Jul 2014 17:52:41 +0000 (17:52 +0000)]
Merge "Support Router Advertisement Daemon (radvd) for IPv6"

10 years agoMerge "Fix spelling mistake in the log message"
Jenkins [Mon, 21 Jul 2014 17:01:41 +0000 (17:01 +0000)]
Merge "Fix spelling mistake in the log message"