]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
11 years agoMerge "Add method to get iptables traffic counters"
Jenkins [Thu, 5 Sep 2013 12:07:01 +0000 (12:07 +0000)]
Merge "Add method to get iptables traffic counters"

11 years agoMerge "Allow None for binding:profile attribute"
Jenkins [Thu, 5 Sep 2013 12:06:32 +0000 (12:06 +0000)]
Merge "Allow None for binding:profile attribute"

11 years agoMerge "Ensure unit tests do not let looping calls roam freely"
Jenkins [Thu, 5 Sep 2013 10:59:40 +0000 (10:59 +0000)]
Merge "Ensure unit tests do not let looping calls roam freely"

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Thu, 5 Sep 2013 10:13:04 +0000 (10:13 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "VCNS driver implementation"
Jenkins [Thu, 5 Sep 2013 09:58:01 +0000 (09:58 +0000)]
Merge "VCNS driver implementation"

11 years agoMerge "ML2 Mechanism Driver for Cisco Nexus"
Jenkins [Thu, 5 Sep 2013 07:47:06 +0000 (07:47 +0000)]
Merge "ML2 Mechanism Driver for Cisco Nexus"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Thu, 5 Sep 2013 06:14:24 +0000 (06:14 +0000)]
Imported Translations from Transifex

Change-Id: I6d5621e3af8df67133ab4689bd6df52c1a82cb75

11 years agoMerge "Add support for the multiprovider API to ML2"
Jenkins [Thu, 5 Sep 2013 06:01:30 +0000 (06:01 +0000)]
Merge "Add support for the multiprovider API to ML2"

11 years agoEnsure unit tests do not let looping calls roam freely
Salvatore Orlando [Wed, 4 Sep 2013 19:22:23 +0000 (12:22 -0700)]
Ensure unit tests do not let looping calls roam freely

Bug 1220871

This patch does minimal changes in neutron.plugins.nicira.common.sync
providing unit tests with a reference to the looping call object, so
that they can control its lifecycle.
Also, it perform a bit of refactoring in test_l3_agent.py in the way
mocks are created and started.

Change-Id: I73a1eb8ecdb7c6d46ff12afba549dd27095b7202

11 years agoVCNS driver implementation
Kaiwei Fan [Tue, 20 Aug 2013 21:28:58 +0000 (14:28 -0700)]
VCNS driver implementation

Implement API/driver interface for configuring vShield Edge Appliance.

Currently implemented functions:
    - Deploy an Edge
    - Destroy an Edge
    - Configuring interfaces
    - Configuring SNAT/DNAT rules
    - Configuring default gateway and static routes
    - Query Edge status
    - Task-based asynchronous model
    - Allow old routes/nat config to be skipped if new updates are coming

Implements: blueprint vcns-driver
Change-Id: I881bde907f4c90de4c919d008b76b8c2a2d0e1fd

11 years agoensure that Arista test destroys the database
Mark McClain [Wed, 4 Sep 2013 18:36:11 +0000 (14:36 -0400)]
ensure that Arista test destroys the database

Out of order test execution has revealed that the database was not
properly cleaned up after each test run.  This patch adds a call to
clear the database after each test.

Fixes bug: 1220784

Change-Id: I8a706887f89f21ede88177e441a3b562fd8f74dc

11 years agoML2 Mechanism Driver for Cisco Nexus
Rich Curran [Wed, 21 Aug 2013 21:43:12 +0000 (17:43 -0400)]
ML2 Mechanism Driver for Cisco Nexus

Port of the quantum/plugin/cisco/nexus plugin to run under the Modular
Layer 2 (ML2) infrastructure as defined in
https://blueprints.launchpad.net/quantum/+spec/ml2-mechanism-drivers

Implements blueprint ml2-md-cisco-nexus

Change-Id: Ifdd03bec554a08266de859387f1901858a3be4a1

11 years agoMerge "Add jump to float-snat chain after clearing snat chain"
Jenkins [Wed, 4 Sep 2013 17:34:12 +0000 (17:34 +0000)]
Merge "Add jump to float-snat chain after clearing snat chain"

11 years agoMerge "Reference driver implementation (IPsec) for VPNaaS"
Jenkins [Wed, 4 Sep 2013 17:33:31 +0000 (17:33 +0000)]
Merge "Reference driver implementation (IPsec) for VPNaaS"

11 years agoMerge "Embrane Neutron Plugin"
Jenkins [Wed, 4 Sep 2013 17:33:22 +0000 (17:33 +0000)]
Merge "Embrane Neutron Plugin"

11 years agoMerge "OpenFlow distributed router support in NEC plugin"
Jenkins [Wed, 4 Sep 2013 17:33:11 +0000 (17:33 +0000)]
Merge "OpenFlow distributed router support in NEC plugin"

11 years agoMerge "Fixes formatting exception from logging in BigSwitch plugin"
Jenkins [Wed, 4 Sep 2013 16:54:35 +0000 (16:54 +0000)]
Merge "Fixes formatting exception from logging in BigSwitch plugin"

11 years agoMerge "LBaaS: add status of pool-monitor association to the pool return dict"
Jenkins [Wed, 4 Sep 2013 16:52:03 +0000 (16:52 +0000)]
Merge "LBaaS: add status of pool-monitor association to the pool return dict"

11 years agoAllow None for binding:profile attribute
Akihiro MOTOKI [Tue, 3 Sep 2013 12:57:53 +0000 (21:57 +0900)]
Allow None for binding:profile attribute

We need to pass None in binding:profile to allow an administrator
to clear binding:profile attribute.

Closes-Bug: #1220011

Adds dedicated unit tests to the plugins which uses binding:profile
attribute (Mellanox and NEC plugins at now).

This commit also adds common unit tests for binding:profile to
the common PortBindingTestCase class.
- create_port with binding:profile whose value is None or {}
- update_port with binding:profile whose value is None or {}
- Reject binding:profile from non-admin user

Note that _make_port() in BigSwitch plugin test is updated
to allow passing arg_list() from the base test class.

Fix a bug in NEC plugin that 500 is returned when putting
binding:profile None to a port whose binding:profile is
already None (Closes-Bug: #1220720)

Change-Id: I146afe961cd445a023adc7233588d8034fdb8437

11 years agoMerge "Add Neutron l3 metering agent"
Jenkins [Wed, 4 Sep 2013 15:47:55 +0000 (15:47 +0000)]
Merge "Add Neutron l3 metering agent"

11 years agoAdd support for the multiprovider API to ML2
Kyle Mestery [Fri, 23 Aug 2013 09:03:49 +0000 (09:03 +0000)]
Add support for the multiprovider API to ML2

This implements support for creating provider networks with
multiple different segments with the ML2 plugin.

Implements: blueprint ml2-multi-segment-api

Change-Id: Id6fc22841fddabfbe685de9605d4a4682ee1102d

11 years agoMerge "Introduce periodic state synchronization with backend"
Jenkins [Wed, 4 Sep 2013 14:41:16 +0000 (14:41 +0000)]
Merge "Introduce periodic state synchronization with backend"

11 years agoMerge "Adding more unit tests for the FWaaS agent"
Jenkins [Wed, 4 Sep 2013 14:35:02 +0000 (14:35 +0000)]
Merge "Adding more unit tests for the FWaaS agent"

11 years agoLBaaS: add status of pool-monitor association to the pool return dict
Oleg Bondarev [Mon, 2 Sep 2013 09:44:51 +0000 (13:44 +0400)]
LBaaS: add status of pool-monitor association to the pool return dict

Closes-Bug: #1219692
Change-Id: Icc7ca4a48c43a8462860cdbc42626079bffadc26

11 years agoOpenFlow distributed router support in NEC plugin
Akihiro MOTOKI [Fri, 23 Aug 2013 06:22:04 +0000 (15:22 +0900)]
OpenFlow distributed router support in NEC plugin

Implements blueprint nec-distribute-router

Two types of neutron router will be supported: l3-agent and distributed.
A type can be specified through "provider" attribute of a router.
The naming of the attribute "provider" is intentional since I plan to
support the service provider framework for router in the future and
would like to make it easy to migrate.

distributed router in NEC OpenFLow controller now does not support NAT,
so l3-agent and distributed router coexists. To achieve it, l3-agent
scheudler logic is modified in NEC plugin to exclude distributed routers
from candidates of floating IP hosting routers.

To support the above feature, the following related changes are done:
- Adds a new driver to PFC driver which supports OpenFlow based router
  support in NEC OpenFlow products in PFlow v5.
- Update ofc_client to extract detail error message
  from OpenFlow controller

This commit also changes the following outside of NEC plugin:
- Makes L3 agent notifiers configurable.
  l3-agent router and OpenFlow distributed router can coexist.
  Notication to l3-agent should be done only when routers are
  hosted by l3-agent, so we need custom L3 agent notifiers
  to filter non l3-agent routers.
- Split test_agent_scheduler base class (in OVS plugin) into
  the base setup and testcases. By doing so we can implement
  custom testcases related to agent scheduler.

Change-Id: I538201742950a61b92fb05c49a9256bc96ae9014

11 years agoReference driver implementation (IPsec) for VPNaaS
Nachi Ueno [Wed, 5 Jun 2013 23:24:38 +0000 (16:24 -0700)]
Reference driver implementation (IPsec) for VPNaaS

Implements blueprint ipsec-vpn-reference

This patch implements reference driver implementation for VPNaaS.
The driver uses openswan to manage vpn connections.

Future work: Support ikepolicy and ipsec update
Support service type framework
Intelligent updating of resources

This commit adds jinja2 for requirements.txt for
generating cofig file.

Change-Id: I8c5ed800a71ca014dc7bdbb6a57c4f8d18fa82e0

11 years agoMerge "Verify MTU is valid for ipsec_site_connection"
Jenkins [Wed, 4 Sep 2013 05:18:39 +0000 (05:18 +0000)]
Merge "Verify MTU is valid for ipsec_site_connection"

11 years agoMerge "Implement ML2 port binding"
Jenkins [Wed, 4 Sep 2013 04:47:04 +0000 (04:47 +0000)]
Merge "Implement ML2 port binding"

11 years agoIntroduce periodic state synchronization with backend
Salvatore Orlando [Thu, 20 Jun 2013 22:20:45 +0000 (00:20 +0200)]
Introduce periodic state synchronization with backend

Blueprint nicira-plugin-get-improvements

With this patch GET operations on the Nicira plugin will not
be forwarded anymore to the NVP backend.
Resource operational status will be periodically retrieved from
the NVP backend using a DynamicLoopingCall.
The process has been designed with the aim of avoiding:
1) frequent queries to NVP for retrieving resource status
2) execution of large queries to NVP for retrieving the status
   of a consistent number of resources.
The process can be tuned using a set of configuration variables.
GET operations will now return a status which might differ
from the actual status of the resource. For retrieving status
in a punctual way, the field 'status' should be explicitly
specified in the GET request (only 'show' support has been
implemented in this patch)

This patchs also makes some changes to the fake nvp api client in
order to ensure each instance has a private set of dictionaries for
fake nvp entities.

Change-Id: Ia745b80d2826de32ba8d6883c0d6e0893047e123

11 years agoVerify MTU is valid for ipsec_site_connection
Paul Michali [Mon, 2 Sep 2013 11:02:12 +0000 (07:02 -0400)]
Verify MTU is valid for ipsec_site_connection

Since the check relies on the vpnservice subnet to determine whether
this is IPv4 ro IPv6, we must check in the plugin. Test is done at
create/update time and ensures that the MTU is equal to or greater
than the minimum allowed values, which are set to 68 for IPv4
minimum and 1280 for IPv6, respectively.

Refactored code to allow reuse of create and update test functions,
by allowing tests to override some settings, and to provide a dict
of changed items (for update).

bug 1219489

Change-Id: I3e62ef786d3a02c761903a15d546ee8758c0bf7f

11 years agoMerge "Refactoring for nicira plugin to support NVP DHCP/Metadata services"
Jenkins [Wed, 4 Sep 2013 01:43:24 +0000 (01:43 +0000)]
Merge "Refactoring for nicira plugin to support NVP DHCP/Metadata services"

11 years agoMerge "Default to not capturing log output in tests"
Jenkins [Wed, 4 Sep 2013 01:42:12 +0000 (01:42 +0000)]
Merge "Default to not capturing log output in tests"

11 years agoMerge "LBaaS integration with service type framework"
Jenkins [Wed, 4 Sep 2013 01:35:51 +0000 (01:35 +0000)]
Merge "LBaaS integration with service type framework"

11 years agoImplement ML2 port binding
Bob Kukura [Tue, 13 Aug 2013 01:58:36 +0000 (21:58 -0400)]
Implement ML2 port binding

The ml2 plugin uses mechanism drivers to determine which network
segment and what VIF driver to use for a port. Mechanism drivers
supporting the openvswitch, linuxbridge, and hyperv agents are
added. The binding:host attribute is set on ports belonging to the
dhcp and l3 agents so that they can be bound.

To use with devstack until it is updated, set
"Q_ML2_PLUGIN_MECHANISM_DRIVERS=openvswitch,linuxbridge" in localrc.

The hyperv L2 agent does not currently implement the agents_db RPC,
and will therefore not work with its ml2 mechanism driver. This issue
will be tracked as a bug to be fixed in a separate merge.

implements blueprint: ml2-portbinding

Change-Id: Icb9c70d8b0d7fcb34b57adc760bb713b740e5dad

11 years agoRefactoring for nicira plugin to support NVP DHCP/Metadata services
armando-migliaccio [Wed, 14 Aug 2013 23:23:31 +0000 (16:23 -0700)]
Refactoring for nicira plugin to support NVP DHCP/Metadata services

This initial patch is aimed at decoupling core plugin services from
DHCP and metadata services. The abstraction being introduced is
needed so that the code can support both models where dhcp and
metadata services are provided by external RPC agents or solely by
the server-side plugin.

Supports blueprint nvp-dhcp-metadata-services

Change-Id: I396ee7bbcbd866e4e9d4a79887e844b4f5ec3c9e

11 years agoMerge "ML2 type and mech managers should use instance vars for drivers lists"
Jenkins [Tue, 3 Sep 2013 21:49:40 +0000 (21:49 +0000)]
Merge "ML2 type and mech managers should use instance vars for drivers lists"

11 years agoAdding more unit tests for the FWaaS agent
Sridar Kandaswamy [Fri, 23 Aug 2013 07:39:18 +0000 (00:39 -0700)]
Adding more unit tests for the FWaaS agent

Change-Id: Ic3de53ed9fa47f6518cbb25dac4ee7782c97bfbb
Fixes: bug #1215771
11 years ago Arista ML2 Mechanism driver
sukhdev [Mon, 15 Jul 2013 23:26:58 +0000 (16:26 -0700)]
 Arista ML2 Mechanism driver

This patch implements Arista's modular L2 mechanism driver to
automate the management of virtual networks along with physical networks
using Arista hardware devices (Spine and Leaf switches)

This driver uses ML2 Mechanism Driver-API to interface with Neutron ML2 Plugin.

implements: blueprint arista-ml2-mechanism-driver

Change-Id: I1c4ca36cf3d7af013b7b3353e7b7d89fe39f91bf

11 years agoMerge "ML2 Mechanism Driver for Tail-f Network Control System (NCS)"
Jenkins [Tue, 3 Sep 2013 20:34:03 +0000 (20:34 +0000)]
Merge "ML2 Mechanism Driver for Tail-f Network Control System (NCS)"

11 years agoML2 type and mech managers should use instance vars for drivers lists
Dane LeBlanc [Tue, 3 Sep 2013 17:34:42 +0000 (13:34 -0400)]
ML2 type and mech managers should use instance vars for drivers lists

Fixes bug 1220296

The ML2 plugin's type and mechanism managers currently maintain
dictionaries/lists of type drivers, mechanism drivers, and ordered mechanism
drivers in (static) class variables. Once a type/mechanism/ordered-mechanism
driver of any given type is added to this list, then no new drivers of that
type are allowed to be registered, and therefore no new configuration for
that driver type is accepted.

This static nature of the driver dictionaries/lists is causing ML2 mechanism
driver unit test cases to fail. For example, if a non-vendor-specific ML2
plugin test case configures a VLAN type driver with no VLAN range, and then
a vendor specific test case attempts to configure a VLAN type driver with
some test VLAN range, then the new VLAN configuration is ignored because of
the previously (staticly) registered VLAN driver.

The proposed fix is to convert these driver dictionaries/lists to instance
variables, and clear them upon each instantiation of an ML2 type manager
or ML2 mechanism manager.

Change-Id: I3b5209640de229899561e2a3ec7c6dafe9a05e64

11 years agoLBaaS integration with service type framework
Eugene Nikanorov [Sun, 7 Jul 2013 06:50:56 +0000 (10:50 +0400)]
LBaaS integration with service type framework

The patch makes the following changes:

* adds new attribute of the pool: provider, which is provider name
as it is written in configuration
* adds support for multiple plugin drivers for loadbalancer
* cleans up healthmonitor-related plugin driver API
Drivers should work with healthmonitor associations only
* adds ability to update provider attribute for the pool used
to reassociate pools with new providers in case their providers
were removed from configuration

implements blueprint lbaas-integration-with-service-types

DocImpact

Change-Id: I4295c9bcceb38e60f813d5596af48bd8194c1c9b

11 years agoML2 Mechanism Driver for Tail-f Network Control System (NCS)
Luke Gorrie [Thu, 18 Jul 2013 09:25:48 +0000 (09:25 +0000)]
ML2 Mechanism Driver for Tail-f Network Control System (NCS)

Define a new ML2 Mechanism Driver that replicates Neutron network/port
configuration changes to NCS: http://www.tail-f.com/network-control-system/

Configuration is sent using a HTTP/JSON interface.

Implements blueprint tailf-ncs

Change-Id: I1f73fa3f2e4eec8e5a0f2865aec2d934e25c76d1

11 years agoDefault to not capturing log output in tests
Maru Newby [Tue, 3 Sep 2013 16:35:52 +0000 (16:35 +0000)]
Default to not capturing log output in tests

Viewing log output while tests are still running can be useful for
debugging, but log output was previously always captured.  This
change ensures that log capture is off by default, but can still
be enabled by setting OS_LOG_CAPTURE=1 in the shell environment.

testr invocation is unchanged and will continue to capture logs by
default.

Change-Id: I9d0fb648541280cacfebb47f67f608378ae66ef3

11 years agoMerge "Export portinfo thru portbinding ext in NEC plugin"
Jenkins [Tue, 3 Sep 2013 15:54:00 +0000 (15:54 +0000)]
Merge "Export portinfo thru portbinding ext in NEC plugin"

11 years agoMerge "Allow subclasses to modify dict_extend hooks"
Jenkins [Tue, 3 Sep 2013 14:59:42 +0000 (14:59 +0000)]
Merge "Allow subclasses to modify dict_extend hooks"

11 years agoSync rpc fix from oslo-incubator
Russell Bryant [Tue, 3 Sep 2013 06:51:14 +0000 (02:51 -0400)]
Sync rpc fix from oslo-incubator

Sync the following fix from oslo-incubator:

76972e2 Support a new qpid topology

This includes one other commit, so that the above fix could be brought
over cleanly:

5ff534d Add config for amqp durable/auto_delete queues

Closes-bug: #1178375
Change-Id: I99d6a1771bc3223f86db0132525bf22c271fe862

11 years agoLBaaS: update status of members according to health statistics
Oleg Bondarev [Wed, 14 Aug 2013 12:11:24 +0000 (16:11 +0400)]
LBaaS: update status of members according to health statistics

Added members health stats reporting to the haproxy driver.
During pool stats update db plugin checks for members stats
and updates members statuses if any

Fixes bug 1160125

Change-Id: I77bf13615607fcf91bf877c228811ea8008b2457

11 years agoAllow subclasses to modify dict_extend hooks
Salvatore Orlando [Tue, 3 Sep 2013 00:37:22 +0000 (17:37 -0700)]
Allow subclasses to modify dict_extend hooks

Partial-Bug 1219991

This change modifies the hook processing for dict_extend routines
to call the method on the instance if a hook is registered as a string.
Otherwise, the callable hook is directly invoked as an unbound method.

This patch fixes hook registration for all extensions except port_binding.
This is because some plugins are currently working around this limitation
by invoking both the global hook and another dict_extend function,
which might either be registered as another hook, or invoked explicitly
before returning the response.
Fixing this would go beyong the scope of this patch.

Change-Id: Ibe78433e6554aa7fdf5156fc75b8339254876e78

11 years agoExport portinfo thru portbinding ext in NEC plugin
Akihiro MOTOKI [Wed, 21 Aug 2013 06:43:19 +0000 (15:43 +0900)]
Export portinfo thru portbinding ext in NEC plugin

blueprint nec-port-binding

* Add host-id support in port-binding extension.
* Expose portinfo thourgh binding:profile attr in a port.
  portinfo is a mapping between neutron port id and OpenFlow switch
  physical information (datapath_id and port_no)

It changes the following in portinfo db model
* Add cascade on delete to delete an associated portinfo
  when deleting the port.
* Use joined query for portinfo model to retrieve an associated
  portinfo when querying a port.

Change-Id: Id88d93dc0770a1290714436324b1b53c0b023eeb

11 years agoMerge "Adds metrics collection support in Hyper-V"
Jenkins [Mon, 2 Sep 2013 22:05:26 +0000 (22:05 +0000)]
Merge "Adds metrics collection support in Hyper-V"

11 years agoFix DHCP agent to work without extra_dhcp_opt extension
Francois Eleouet [Mon, 2 Sep 2013 16:21:01 +0000 (18:21 +0200)]
Fix DHCP agent to work without extra_dhcp_opt extension

With the introduction of extra_dhcp_opt extension, DHCP agent
stopped serving mac adresses when used in conjunction with a
plugin that doesn't support this extension. This fixes the agent
by not assuming that port dict contains extra_dhcp_opt key.

Closes Bug: #1219893

Change-Id: I5bb52f3092f04c5e332b43cb3a04de05edc29cf5

11 years agoMake ipsec_site_connection dpd_timeout == dpd_interval return 400
Nachi Ueno [Sun, 1 Sep 2013 17:24:16 +0000 (10:24 -0700)]
Make ipsec_site_connection dpd_timeout == dpd_interval return 400

dpd_timeout == dpd_interval is a invalid case,
so in this commit, we modify validation and added test.
Fixes bug 1219440

Change-Id: I14fb9aa7df890f9c5a27f18f20d7dc1a316b2d79

11 years agoAdd method to get iptables traffic counters
Sylvain Afchain [Thu, 4 Jul 2013 09:44:25 +0000 (11:44 +0200)]
Add method to get iptables traffic counters

Add methods to iptables_manager to get traffic counters.
this is a part of the blueprint bandwidth-router-measurement

Change-Id: I6485d1239085e46398126c81e674e399952a4597

11 years agoAdd Neutron l3 metering agent
Sylvain Afchain [Thu, 4 Jul 2013 14:00:30 +0000 (16:00 +0200)]
Add Neutron l3 metering agent

This is the agent side of :
blueprint bandwidth-router-measurement
blueprint bandwidth-router-label

This patch initiates agent side by adding a new
l3 metering agent and a Noop Driver.

DocImpact

Change-Id: Ib34721209c282b2669ff5488a33293d9f86467ef

11 years agoAdd jump to float-snat chain after clearing snat chain
Carl Baldwin [Wed, 28 Aug 2013 19:32:34 +0000 (19:32 +0000)]
Add jump to float-snat chain after clearing snat chain

Clearing the chain in this code eliminates the rule to jump to the
floating-snat chain.  This is the simplest way to get it working
again.

Change-Id: Ic1818e10bd64170b6f0a2f52af8dc0814d7e04e0
Fixes: Bug #1218040
11 years agoFixes formatting exception from logging in BigSwitch plugin
Kevin Benton [Thu, 29 Aug 2013 22:16:00 +0000 (15:16 -0700)]
Fixes formatting exception from logging in BigSwitch plugin

Corrects the data type expected for the HTTP code that comes
back from the back-end controller in a debug log call.

Closes-Bug: #1220521
Change-Id: Ic71b24c724222ade5e695addf291c6488d665da9

11 years agoAdds metrics collection support in Hyper-V
Alessandro Pilotti [Thu, 22 Aug 2013 00:14:00 +0000 (03:14 +0300)]
Adds metrics collection support in Hyper-V

Blueprint: hyper-v-metrics

Hyper-V Server 2012 supports a new set of metrics API that can be used to
provide switch port metrics data to external applications, e.g. Ceilometer.

Metrics collection is disabled by default and can be enabled with a config
option.

Metrics are configured via ACLs applied by the Hyper-V plugin agent.

Change-Id: Ife2a53db84936bae7c73b8c027022bbc5e89d48a

11 years agoMerge "Minimize ovs l2 agent calls to get_vif_port_set()"
Jenkins [Wed, 28 Aug 2013 14:47:52 +0000 (14:47 +0000)]
Merge "Minimize ovs l2 agent calls to get_vif_port_set()"

11 years agoMerge "Remove trailing comma"
Jenkins [Wed, 28 Aug 2013 14:20:48 +0000 (14:20 +0000)]
Merge "Remove trailing comma"

11 years agoMerge "Adds support for the Hyper-V WMI V2 namespace"
Jenkins [Wed, 28 Aug 2013 10:40:40 +0000 (10:40 +0000)]
Merge "Adds support for the Hyper-V WMI V2 namespace"

11 years agoMerge "Fix script to build rpm required for L2 OVS agent for XenServer"
Jenkins [Wed, 28 Aug 2013 10:12:18 +0000 (10:12 +0000)]
Merge "Fix script to build rpm required for L2 OVS agent for XenServer"

11 years agoMerge "Support for Floating IPs in PLUMgrid plugin"
Jenkins [Wed, 28 Aug 2013 06:34:44 +0000 (06:34 +0000)]
Merge "Support for Floating IPs in PLUMgrid plugin"

11 years agoMerge "BigSwitch plugin - add portbinding info in requests to controller"
Jenkins [Wed, 28 Aug 2013 06:34:21 +0000 (06:34 +0000)]
Merge "BigSwitch plugin - add portbinding info in requests to controller"

11 years agoMerge "Make Neutron NVP plugin future-versions friendly"
Jenkins [Wed, 28 Aug 2013 06:09:34 +0000 (06:09 +0000)]
Merge "Make Neutron NVP plugin future-versions friendly"

11 years agoMerge "subnet calls of ml2 mechanism driver"
Jenkins [Wed, 28 Aug 2013 06:09:26 +0000 (06:09 +0000)]
Merge "subnet calls of ml2 mechanism driver"

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Wed, 28 Aug 2013 03:30:32 +0000 (03:30 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "Enable authentication between PLUMgrid Director and Plugin"
Jenkins [Tue, 27 Aug 2013 23:07:13 +0000 (23:07 +0000)]
Merge "Enable authentication between PLUMgrid Director and Plugin"

11 years agoMake Neutron NVP plugin future-versions friendly
armando-migliaccio [Tue, 27 Aug 2013 19:53:58 +0000 (12:53 -0700)]
Make Neutron NVP plugin future-versions friendly

This patch enables the plugin to deal correctly with
newer versions of the NVP platform; this is done by
allowing the plugin to fall back to the closest known
version of the NVP platform. This is acceptable behavior
as L2/L3 operations implemented by the platform are most
certainly backward compatible.

This patch also improves test coverage for this part of the
code, which is critical to the correct behavior of the plugin.

Fixes bug #1217479

Change-Id: Ifcce47c6ee2bc2bc96ddfe9298d252700aceca3f

11 years agoFix script to build rpm required for L2 OVS agent for XenServer
armando-migliaccio [Thu, 22 Aug 2013 20:23:21 +0000 (13:23 -0700)]
Fix script to build rpm required for L2 OVS agent for XenServer

Use up to date way to retrieve the version info.

Fixes bug #1215619

Change-Id: I7263fd61a8ea407626d2330f7546f4046e803b50

11 years agosubnet calls of ml2 mechanism driver
Zang MingJie [Mon, 26 Aug 2013 09:31:46 +0000 (17:31 +0800)]
subnet calls of ml2 mechanism driver

Implements blueprint ml2-mechanism-driver-subnet-calls

Change-Id: Ib9a8009975959692f46f80fb2a850fcc2b22debe

11 years agoImported Translations from Transifex
OpenStack Jenkins [Tue, 27 Aug 2013 06:13:26 +0000 (06:13 +0000)]
Imported Translations from Transifex

Change-Id: Ia664404f7d37fff4cbc76fb43227584fcdd106a2

11 years agoMerge "Fix port creation issue appeared with postgresql backend"
Jenkins [Tue, 27 Aug 2013 03:45:59 +0000 (03:45 +0000)]
Merge "Fix port creation issue appeared with postgresql backend"

11 years agoMerge "Deal with 501 errors from NVP correctly"
Jenkins [Tue, 27 Aug 2013 02:30:32 +0000 (02:30 +0000)]
Merge "Deal with 501 errors from NVP correctly"

11 years agoMerge "Use system locale when Accept-Language header is not provided"
Jenkins [Tue, 27 Aug 2013 02:03:33 +0000 (02:03 +0000)]
Merge "Use system locale when Accept-Language header is not provided"

11 years agoMulti-segment and trunk support for the Cisco N1Kv Plugin
Rudrajit Tapadar [Sat, 10 Aug 2013 06:42:45 +0000 (23:42 -0700)]
Multi-segment and trunk support for the Cisco N1Kv Plugin

This patch adds vlan and vxlan trunk support in the
Cisco N1Kv plugin. It also adds support for multi-segment
networks for bridging vlan networks with vxlan networks.

Change-Id: Ibecbbfbce1eb4d18ef6a1bc5250622b9ae87d39c
Implements: blueprint multi-segment-and-trunk-support-cisco-nexus1000v

11 years agoRefactor BigSwitch error handling to use db rollbacks
Kevin Benton [Fri, 23 Aug 2013 03:17:00 +0000 (20:17 -0700)]
Refactor BigSwitch error handling to use db rollbacks

This patch adjusts most of the logic handling the
calls to the controller in the BigSwitch/floodlight
plugin to make use of the db rollbacks from
sqlalchemy for free on exceptions. This eliminates
several complex try-except blocks and makes
maintaining db<->controller consistency easier.

Fixes: bug #1215823
Change-Id: Ia636c40e744b3b1c543e891791bf492df4f675d2

11 years agoMerge "Add extra_dhcp_opt extension to BigSwitch/Floodlight plugin"
Jenkins [Sun, 1 Sep 2013 18:50:03 +0000 (18:50 +0000)]
Merge "Add extra_dhcp_opt extension to BigSwitch/Floodlight plugin"

11 years agoMerge "Analyze re-raised exceptions in Cisco Plugin"
Jenkins [Sun, 1 Sep 2013 18:32:00 +0000 (18:32 +0000)]
Merge "Analyze re-raised exceptions in Cisco Plugin"

11 years agoMerge "Add missing match in OVS agent tunnel mac leaning"
Jenkins [Sun, 1 Sep 2013 16:44:24 +0000 (16:44 +0000)]
Merge "Add missing match in OVS agent tunnel mac leaning"

11 years agoMerge "Correct VPNaaS limit checks in extension"
Jenkins [Sun, 1 Sep 2013 08:35:29 +0000 (08:35 +0000)]
Merge "Correct VPNaaS limit checks in extension"

11 years agoMerge "Fix 500 error on invalid security-group-rule creation for NVP"
Jenkins [Sun, 1 Sep 2013 04:46:29 +0000 (04:46 +0000)]
Merge "Fix 500 error on invalid security-group-rule creation for NVP"

11 years agoMerge "Return 400 if creating a distributed router on old NVP platforms"
Jenkins [Sat, 31 Aug 2013 20:19:10 +0000 (20:19 +0000)]
Merge "Return 400 if creating a distributed router on old NVP platforms"

11 years agobp: pxeboot-port, provide pxeboot on ports
dekehn [Sat, 31 Aug 2013 02:15:12 +0000 (20:15 -0600)]
bp: pxeboot-port, provide pxeboot on ports

Teach neutron how to manage PXE boot.

Allow pxe boot parameters to be specified when creating a network port.

Implements bp:pxeboot-ports

Change-Id: I45fe7a16bc6c5975a765dd6a065558b9ba702e5b

11 years agoMerge "Create RPC connection before modifying OVS bridges"
Jenkins [Fri, 30 Aug 2013 23:56:45 +0000 (23:56 +0000)]
Merge "Create RPC connection before modifying OVS bridges"

11 years agoFix comment typo s/no/so
Aaron Rosen [Fri, 30 Aug 2013 22:15:24 +0000 (15:15 -0700)]
Fix comment typo s/no/so

Change-Id: I1c7b0834202caca6b3bb79acd243c96b865583bc

11 years agoAdd missing match in OVS agent tunnel mac leaning
Francois Eleouet [Fri, 30 Aug 2013 20:30:04 +0000 (22:30 +0200)]
Add missing match in OVS agent tunnel mac leaning

Learned flows introduced in commit a369f9e39691c01a4e4f7f8668cb37fc17ba03b3
to learn remote mac addresses on tunnels currently only match local VLAN,
but not destination mac address, as a consequence, connectivity may be
erratic as soon as more than two agents are used

Change-Id: I467e47d0dd2c1e5aca12a4e240e348116d530d4f
Closes-Bug: #1219074

11 years agoCreate RPC connection before modifying OVS bridges
Stephen Gran [Thu, 29 Aug 2013 06:11:44 +0000 (07:11 +0100)]
Create RPC connection before modifying OVS bridges

On startup, the agent removes and readds flows to the OVS bridges.  If
an RPC setup error exits the process prematurely, this can leave the
bridges in an unsafe state.  It is better to set the RPC communication
up before making changes to the host system.

Closes-Bug: 1217980
Change-Id: Ib9bbb864b9129bb7b1376a150a37a0c07908d74b
Signed-off-by: Stephen Gran <stephen.gran@guardian.co.uk>
11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Fri, 30 Aug 2013 16:39:57 +0000 (16:39 +0000)]
Merge "Imported Translations from Transifex"

11 years agoReturn 400 if creating a distributed router on old NVP platforms
armando-migliaccio [Tue, 13 Aug 2013 21:13:14 +0000 (14:13 -0700)]
Return 400 if creating a distributed router on old NVP platforms

Without checking for the right NVP support, creating a distributed
router will silently fail, i.e. ithe 'distributed' attribute will
be ignored and a centralized router will be created instead.

Supports blueprint nvp-distributed-router

Change-Id: If8e40c0907d78c30f9ba918aaaff57e58ebb8055

11 years agoMerge "Corrects error in ml2 rpc log message formatting"
Jenkins [Fri, 30 Aug 2013 07:08:31 +0000 (07:08 +0000)]
Merge "Corrects error in ml2 rpc log message formatting"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Fri, 30 Aug 2013 06:13:51 +0000 (06:13 +0000)]
Imported Translations from Transifex

Change-Id: I503e7e0273a8b344646a99373ddd87451ed7fd75

11 years agoCorrects error in ml2 rpc log message formatting
Zang MingJie [Thu, 29 Aug 2013 07:46:17 +0000 (15:46 +0800)]
Corrects error in ml2 rpc log message formatting

Change-Id: Ic6f445408ef83c2aa0376c94f395363503412814

11 years agoMerge "Load tables of service plugins when migration auto generation"
Jenkins [Fri, 30 Aug 2013 04:13:17 +0000 (04:13 +0000)]
Merge "Load tables of service plugins when migration auto generation"

11 years agoMerge "Support for NVP distributed router"
Jenkins [Fri, 30 Aug 2013 02:22:24 +0000 (02:22 +0000)]
Merge "Support for NVP distributed router"

11 years agoCorrect VPNaaS limit checks in extension
Paul Michali [Fri, 23 Aug 2013 20:16:01 +0000 (16:16 -0400)]
Correct VPNaaS limit checks in extension

For the following VPNaaS attributes, ensure that these validation
tests are performed in the extension:

    keepalive >= 60 (seconds)
    mtu >= 0 (octets)
    DPD interval > 0 (seconds)
    DPD timeout > 0 (seconds)

Currently, the units for keepalive can only be seconds. If this
changes in the future (e.g. to allow kilobytes units), then the
test for the value will need to be changed.

To correctly test the MTU limits for an IPSec connection, the
protocol must be taken into consideration, which is defined by
the vpnservice object. Because of this dependency, we cannot
validate this in the extension, and will instead, just make
sure the value is positive.

Likewise, the attribute validators cannot ensure that the
DPD timeout is greater than the interval (again, because the
validators can only check the individual attributes one at
a time).

The range validator was modified to allow single ended ranges
for some of these attributes. The range also ensures the value
is an integer.

Companion changes are being made in the CLI code for these limit
changes.

Update: Fixed typo causing tox failure.

bug 1216117

Change-Id: I85d6175d81fbe7d27231aed48fb4691351e0db4c

11 years agoMerge "Fix unsuitable assertTrue/assertFalse in api ut"
Jenkins [Fri, 30 Aug 2013 00:13:41 +0000 (00:13 +0000)]
Merge "Fix unsuitable assertTrue/assertFalse in api ut"

11 years agoMerge "Forbid update of subnet gateway ip when in use by a port"
Jenkins [Thu, 29 Aug 2013 22:01:09 +0000 (22:01 +0000)]
Merge "Forbid update of subnet gateway ip when in use by a port"

11 years agoFix unsuitable assertTrue/assertFalse in api ut
ZhiQiang Fan [Thu, 29 Aug 2013 21:35:32 +0000 (05:35 +0800)]
Fix unsuitable assertTrue/assertFalse in api ut

Some usages of assertTrue()/assertFalse() are incorrect, improve
them to more explicit assert from the unit test suite.

Closes-Bug: #1218621
Change-Id: I22be2af05f06e91020dbaa4cf08bf395d68f563b

11 years agoMerge "Improve dhcp agent structure to support multiple dhcp models"
Jenkins [Thu, 29 Aug 2013 20:46:20 +0000 (20:46 +0000)]
Merge "Improve dhcp agent structure to support multiple dhcp models"

11 years agoMerge "Fix incorrect usage of assertTrue()"
Jenkins [Thu, 29 Aug 2013 20:25:35 +0000 (20:25 +0000)]
Merge "Fix incorrect usage of assertTrue()"