]> review.fuel-infra Code Review - openstack-build/neutron-build.git/log
openstack-build/neutron-build.git
11 years agoAdd NvpPluginV2 to migration 4a666eb208c2
Salvatore Orlando [Fri, 13 Sep 2013 09:35:48 +0000 (02:35 -0700)]
Add NvpPluginV2 to migration 4a666eb208c2

Bug 1224882

This migration alters a table used by NvpPluginV2 as well, so
it must be included in the plugin list.

Change-Id: Ifc5104d813c76fa8de000ec977ca3242e90e433d

11 years agoMerge "Fix incorrect NotImplementedError"
Jenkins [Fri, 13 Sep 2013 08:08:18 +0000 (08:08 +0000)]
Merge "Fix incorrect NotImplementedError"

11 years agoMerge "Fix error code for deletion of router which is in use by vpnservice"
Jenkins [Fri, 13 Sep 2013 07:46:26 +0000 (07:46 +0000)]
Merge "Fix error code for deletion of router which is in use by vpnservice"

11 years agoMerge "Fix ovs_lib's issue of parsing flow proto field"
Jenkins [Fri, 13 Sep 2013 00:26:15 +0000 (00:26 +0000)]
Merge "Fix ovs_lib's issue of parsing flow proto field"

11 years agoMerge "pass default l3_gateway_service_uuid if not specified"
Jenkins [Thu, 12 Sep 2013 23:27:57 +0000 (23:27 +0000)]
Merge "pass default l3_gateway_service_uuid if not specified"

11 years agoMerge "Avoid performing extra query for fetching qos bindings"
Jenkins [Thu, 12 Sep 2013 23:27:49 +0000 (23:27 +0000)]
Merge "Avoid performing extra query for fetching qos bindings"

11 years agoMerge "Clean up code of virt_phy_sw_v2 module"
Jenkins [Thu, 12 Sep 2013 23:26:49 +0000 (23:26 +0000)]
Merge "Clean up code of virt_phy_sw_v2 module"

11 years agoMerge "Add (useful) missing headlines to nvp unit test files"
Jenkins [Thu, 12 Sep 2013 23:25:41 +0000 (23:25 +0000)]
Merge "Add (useful) missing headlines to nvp unit test files"

11 years agoMerge "Fix LinuxBridge test name from Openvswitch"
Jenkins [Thu, 12 Sep 2013 21:51:27 +0000 (21:51 +0000)]
Merge "Fix LinuxBridge test name from Openvswitch"

11 years agoAdd (useful) missing headlines to nvp unit test files
armando-migliaccio [Thu, 12 Sep 2013 21:33:17 +0000 (14:33 -0700)]
Add (useful) missing headlines to nvp unit test files

For Aaron Rosen's amusement, even though slightly ashamed.

Change-Id: Idadb7a86dddb2523987852179ebe23f6272846fb

11 years agopass default l3_gateway_service_uuid if not specified
Aaron Rosen [Thu, 12 Sep 2013 19:42:29 +0000 (12:42 -0700)]
pass default l3_gateway_service_uuid if not specified

Previously, if one created an external network of type l3_ext and did
not specify the default_gw_service_uuid via --provider:physical_network
an exception would be raised on the backend as we need to specify the
l3_gw_service_uuid we want nvp to use.

Fixes bug: 1224660

Change-Id: I6312956528c17d6a704d4e4ef629916f6463312a

11 years agoFix error code for deletion of router which is in use by vpnservice
Nachi Ueno [Wed, 11 Sep 2013 23:24:13 +0000 (16:24 -0700)]
Fix error code for deletion of router which is in use by vpnservice

In this commit, we check router is in use by a vpnservice or not when
we delete router.

Fixes bug 1224174

Change-Id: I55a4b9b93715fbb36816c69729d88eb494bcf15e

11 years agoFixed typo defult_tz_uuid
Aaron Rosen [Wed, 11 Sep 2013 18:24:54 +0000 (11:24 -0700)]
Fixed typo defult_tz_uuid

Fixes bug: 1224038

Change-Id: I0a4c7a63fefc02c4b8ae52d61fd036be8d375351

11 years agoFix LinuxBridge test name from Openvswitch
Aaron Rosen [Thu, 12 Sep 2013 17:30:30 +0000 (10:30 -0700)]
Fix LinuxBridge test name from Openvswitch

Fixes bug: 1224598

Change-Id: I791108f39e5fc7fcd9532b29d4b117d47907261c

11 years agoClean up code of virt_phy_sw_v2 module
Sahid Orentino Ferdjaoui [Thu, 12 Sep 2013 12:38:28 +0000 (14:38 +0200)]
Clean up code of virt_phy_sw_v2 module

 Removes two methods not used:
 * _get_all_segmentation_ids
 * _validate_vlan_id

 About log formatting:
 * In the __init__, '\n' can be removed from this line:
     LOG.debug(_("Loaded device plugin %s\n"),

Closes-Bug: 1180783

Change-Id: Ic0aea7e8016f198e2ba245c710e12bc490720039

11 years agoAvoid performing extra query for fetching qos bindings
Salvatore Orlando [Thu, 22 Aug 2013 16:08:52 +0000 (09:08 -0700)]
Avoid performing extra query for fetching qos bindings

Bug 1215872

Add a relationship with eager loading in the Port and Network models,
thus preventing the 'extend' functions from performing extra queries.
This patch also slight alters the methods for processing qos_queue
bindings in order to allow them for populating the qos_queue id in
the response being created.

Change-Id: Ie80d12aeed5de94afa61f23d7bcfc21372f23c4f

11 years agoImported Translations from Transifex
OpenStack Jenkins [Thu, 12 Sep 2013 06:09:42 +0000 (06:09 +0000)]
Imported Translations from Transifex

Change-Id: I92988cad8948c56116469793ebda55933d358d7e

11 years agoMerge "Vxlan / L2population support to Linuxbridge Agent"
Jenkins [Thu, 12 Sep 2013 03:53:40 +0000 (03:53 +0000)]
Merge "Vxlan / L2population support to Linuxbridge Agent"

11 years agoMerge "OVS agent implementation of l2-population"
Jenkins [Thu, 12 Sep 2013 03:07:58 +0000 (03:07 +0000)]
Merge "OVS agent implementation of l2-population"

11 years agoMerge "Add l2 population base classes"
Jenkins [Thu, 12 Sep 2013 02:31:39 +0000 (02:31 +0000)]
Merge "Add l2 population base classes"

11 years agoVxlan / L2population support to Linuxbridge Agent
Francois Eleouet [Wed, 11 Sep 2013 12:19:39 +0000 (14:19 +0200)]
Vxlan / L2population support to Linuxbridge Agent

This patch introduces VXLAN support for Linuxbridge agent alongside
with ml2 plugin support in linubridge mechnism driver.

A new vxlan configuration section is added for vxlan related parameters.

The agent also implements l2population RPC callbacks which allows ml2
plugin using l2population mechnism driver to populate vxlan forwarding
and neighbor tables following portbinding events. It allows agent to
respond locally to ARP requests for remote VMs and avoid dataplane based
learning. This should help limiting the use of multicast or flooding
for broadcast emulation in vxlan networks.

These changes should anyway have a limited risk, as agent behaviour
shouldn't be affected, except when vxlan is enabled alongside ml2 plugin.

Implements: blueprint l2-population

Change-Id: I99a961c53f9e451409f1affb079042936d8ae5c6

11 years agoMerge "Fix unable to ping floating ip from internal_ip"
Jenkins [Wed, 11 Sep 2013 23:51:12 +0000 (23:51 +0000)]
Merge "Fix unable to ping floating ip from internal_ip"

11 years agoOVS agent implementation of l2-population
Francois Eleouet [Thu, 22 Aug 2013 14:51:01 +0000 (16:51 +0200)]
OVS agent implementation of l2-population

This patchset implements l2-population RPC callbacks in OVS agents,
it enables plugin to populate forwarding table following portbindings
events.

For now, it doesn't include ARP responder implementation which is
deferred to a future patchset (As this feature isn't yet supported by
OVS, it will require the use of an external responder such as ebtables)

It anyway brings some improvements in tunnelling management, as agent
will tear-down unecessary tunnels, and flood packets on a per-network
basis rather than to all other agents.

These changes should anyway have a limited risk, as tunnel management
won't be affected as long as l2_population option is not set. This
option must be used in conjonction with ml2 plugin using l2population
mechanism driver.

Implements: blueprint l2-population

Change-Id: I5185eefedb0ff392bc8b99d16f810813e26ff58d

11 years agoAdd l2 population base classes
Sylvain Afchain [Mon, 22 Jul 2013 12:45:34 +0000 (14:45 +0200)]
Add l2 population base classes

This patch initiates the blueprint l2-population
Implemented as a ml2 Mechanism driver.

OVS & LinuxBridge drivers will be added as dependencies.

Rebased on ML2 Portbinding.

Change-Id: Ia2345aa262ec791c9f38b6e41e1e4b46f69cadac

11 years agobp: pxeboot-port, provide pxeboot on ports
dekehn [Wed, 11 Sep 2013 20:26:35 +0000 (14:26 -0600)]
bp: pxeboot-port, provide  pxeboot on ports

Add extra_dhcp_opts extension to Ml2 plugin.

Implements:bp:pxeboot-ports

Change-Id: Id1d3923c4d2e3cf86731e2f2e9013fbee4ed68c7

11 years agoFix unable to ping floating ip from internal_ip
Aaron Rosen [Thu, 5 Sep 2013 20:22:46 +0000 (13:22 -0700)]
Fix unable to ping floating ip from internal_ip

The following patch adds a no-dnat rule so that an internal_ip
can communicate with it's floatingip.

Fixes bug: 1221419

Change-Id: I3899b01f316902d1139e47b153aadb7ecb1ff983

11 years agoMerge "Support for NVP advanced service router"
Jenkins [Wed, 11 Sep 2013 17:52:32 +0000 (17:52 +0000)]
Merge "Support for NVP advanced service router"

11 years agoMerge "Ensure pid file is removed when metadata ns daemon receives SIGTERM"
Jenkins [Wed, 11 Sep 2013 17:45:19 +0000 (17:45 +0000)]
Merge "Ensure pid file is removed when metadata ns daemon receives SIGTERM"

11 years agoAdds support for L3 routing/NAT as a service plugin
Bob Melander [Wed, 3 Apr 2013 19:22:30 +0000 (21:22 +0200)]
Adds support for L3 routing/NAT as a service plugin

- Adds L3 routing/NAT service plugin
- Removes L3 routing/NAT from ML2 plugin
- Moves "router:external" attribute to new extension "External-net"
- Introduces separate RPC topic for L3 callbacks from L3 agent

Implements: blueprint quantum-l3-routing-plugin

Change-Id: Id9af10c2910f9a1730b163203a68d101ffc3b282

11 years agoSupport for NVP advanced service router
Kaiwei Fan [Fri, 23 Aug 2013 06:25:52 +0000 (23:25 -0700)]
Support for NVP advanced service router

When creating an LR:
    - deploy an Edge asynchronously
    - create a L2 switch for connecting LR and Edge
    - attach a router port to the L2 switch.
    - assign ip address 169.254.2.1/28 and nexthop 169.254.2.3 to LR
When set external gateway:
    - configure Edge interface and default gateway
    - Add static routes to Edge for all logic networks attached to LR via nexthop 169.254.2.1
    - configure SNAT rules for all logic networks attached to LR
When add router interface:
    - Add static route/SNAT rule for the network attached to LR
When associate floating IP address:
    - configure DNAT rule for the floating ip and the port

Tests being done:
    - Verified Edge is deployed asynchronously and LR is attached to the internal created L2 switch
    - Manually attach Edge's vNic to the L2 switch and Edge is able to ping 169.254.2.1
    - Verified router-delete deletes Edge asynchronously and remove the internal L2 switch
    - Verified SNAT/DNAT/static-routes rules are configured on Edge in correct order
    - Verified external vnic ip address/netmask and default gateway is configured

Implements: blueprint nvp-service-router
Change-Id: If9eff53df4d65cf4e318dedbfaafc742f6c6ab7f

11 years agoFix ovs_lib's issue of parsing flow proto field
Chengli XU [Wed, 11 Sep 2013 05:58:15 +0000 (13:58 +0800)]
Fix ovs_lib's issue of parsing flow proto field

When 'proto' other than 'ip' and nw_src/nw_dst are provided at the same
time, the proto parameter will be ignored.

Fixes bug: 1223668

Change-Id: Ie813e66995e2a9310ec4b48c0f7de673db2097f1

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Wed, 11 Sep 2013 07:38:53 +0000 (07:38 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "Register an extend_dict function for ext_gw_mode extension"
Jenkins [Wed, 11 Sep 2013 07:16:50 +0000 (07:16 +0000)]
Merge "Register an extend_dict function for ext_gw_mode extension"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Wed, 11 Sep 2013 06:09:42 +0000 (06:09 +0000)]
Imported Translations from Transifex

Change-Id: I8de01b47a78ae301d9760ee8ab0e596e967e333f

11 years agoRegister an extend_dict function for ext_gw_mode extension
Salvatore Orlando [Tue, 10 Sep 2013 22:38:16 +0000 (15:38 -0700)]
Register an extend_dict function for ext_gw_mode extension

Bug 1223585wq

Use dict extension methods instead of overriding make_router_dict in
order to make this extension consistent with all the others.

Change-Id: I94fa7e70e5a869963ec4dfa9de85c8d922976843

11 years agoAdds help text to brocade configuration options
Justin Hammond [Tue, 3 Sep 2013 20:57:52 +0000 (15:57 -0500)]
Adds help text to brocade configuration options

Help text was added to the configuration options defined in the brocade neutron
plugin. This help text should assist users of the brocade plugin. The OSTYPE
configuration option was not used in the plugin and was labeled as such so a
user of the plugin would not worry about the meaning of it.

The example etc file /etc/neutron/plugins/brocade/brocade.ini has been updated
to share the same help values where applicable.

Fixes-Bug: #1157511

Change-Id: Ie068396e77902037a7a0b5334d4dfb0dcdd3575e

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Tue, 10 Sep 2013 16:16:18 +0000 (16:16 +0000)]
Merge "Imported Translations from Transifex"

11 years agoadd missing comma to supported alias string list
Mark McClain [Mon, 9 Sep 2013 18:04:50 +0000 (14:04 -0400)]
add missing comma to supported alias string list

Fixes bug: 1222949

Change-Id: Iac7f3b7605149e706e2ea8a30700dccd09f3c57e

11 years agoEnsure pid file is removed when metadata ns daemon receives SIGTERM
Darragh O'Reilly [Tue, 10 Sep 2013 09:06:28 +0000 (09:06 +0000)]
Ensure pid file is removed when metadata ns daemon receives SIGTERM

These files from the metadata namespace proxy are not being removed
because delete_pid() is registered with atexit. This means it only runs
when a process exits normally and won't run when a process receives a
signal.

This patch registers a signal handler for SIGTERM that calls exit()
to make the process exit normally so delete_pid() gets called.

Fixes bug: 1223250

Change-Id: I6309802e2109359560ccc084559ec8e4d310cce2

11 years agoImported Translations from Transifex
OpenStack Jenkins [Tue, 10 Sep 2013 06:09:56 +0000 (06:09 +0000)]
Imported Translations from Transifex

Change-Id: Ib94bfe915a60c9c1a1d2375b9a15c666f065d865

11 years agoAvoid KeyError 'distributed' exception when using NVP <3.x
armando-migliaccio [Mon, 9 Sep 2013 21:54:32 +0000 (14:54 -0700)]
Avoid KeyError 'distributed' exception when using NVP <3.x

This patch fixes an issue found when creating routers with
NVP plugin and NVP platform 2.2

Fixes bug 1220931

Change-Id: Ia7b358b59e48a723c07efec015bb650accaa3322

11 years agoMerge "Make neutron.common.log.log print module path"
Jenkins [Mon, 9 Sep 2013 16:33:45 +0000 (16:33 +0000)]
Merge "Make neutron.common.log.log print module path"

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Mon, 9 Sep 2013 15:31:16 +0000 (15:31 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "Enhance unittest for hyperv_neutron_agent"
Jenkins [Mon, 9 Sep 2013 15:24:41 +0000 (15:24 +0000)]
Merge "Enhance unittest for hyperv_neutron_agent"

11 years agoMerge "Fix message i18n error"
Jenkins [Mon, 9 Sep 2013 15:03:30 +0000 (15:03 +0000)]
Merge "Fix message i18n error"

11 years agoMerge "LBaaS: Fix healthmonitor disassociation for non-admin"
Jenkins [Mon, 9 Sep 2013 12:46:04 +0000 (12:46 +0000)]
Merge "LBaaS: Fix healthmonitor disassociation for non-admin"

11 years agoMerge "Move declaration of int_br_device_count earlier"
Jenkins [Mon, 9 Sep 2013 09:03:01 +0000 (09:03 +0000)]
Merge "Move declaration of int_br_device_count earlier"

11 years agoLBaaS: Fix healthmonitor disassociation for non-admin
Eugene Nikanorov [Wed, 4 Sep 2013 18:00:40 +0000 (22:00 +0400)]
LBaaS: Fix healthmonitor disassociation for non-admin

Due to specifics of policy engine, checked object should have
tenant_id to be checked by rule admin_or_owner.
In 'disassociate' operation neutron API layer works with
PoolHealthMonitorAssociation which doesn't have tenant_id field.
Need to add it to resulting dict returned by get_pool_health_monitor.

Change-Id: I6c58558b09ff34dedd7da30866275de44d3ba993
Closes-bug: 1220668

11 years agoImported Translations from Transifex
OpenStack Jenkins [Mon, 9 Sep 2013 06:10:05 +0000 (06:10 +0000)]
Imported Translations from Transifex

Change-Id: I3f069fcb0ff5645581152ca33d12ed802d0779e5

11 years agoFix message i18n error
ZhiQiang Fan [Tue, 27 Aug 2013 00:02:04 +0000 (08:02 +0800)]
Fix message i18n error

Partial-Bug: #1217100

Using tools/check_i18n.py to scan source directory, and fix most of
the errors.

- Message internationalization
- First letter must be capital
- Using comma instead of percent in LOG.xxx

Note: all extension's description are not touched in this patch,
can be fixed after discussing.
Note: all nicira/check_nvp_config.py print messages are not fixed.

Change-Id: I79ef06fd42f6780beb5019c592662536c2a51864

11 years agoEnhance unittest for hyperv_neutron_agent
Hui HX Xiang [Mon, 19 Aug 2013 15:13:41 +0000 (08:13 -0700)]
Enhance unittest for hyperv_neutron_agent

Change-Id: Idc726ba668eba56a64dc498b49ec0e5e397590b5

11 years agoMerge "Enclose command args in with_venv.sh"
Jenkins [Sat, 7 Sep 2013 16:58:56 +0000 (16:58 +0000)]
Merge "Enclose command args in with_venv.sh"

11 years agoMerge "Imported Translations from Transifex"
OpenStack Jenkins [Sat, 7 Sep 2013 16:58:03 +0000 (16:58 +0000)]
Merge "Imported Translations from Transifex"

11 years agoMerge "Fix IF checks on spawned green thread instance"
Jenkins [Sat, 7 Sep 2013 16:57:54 +0000 (16:57 +0000)]
Merge "Fix IF checks on spawned green thread instance"

11 years agoImported Translations from Transifex
OpenStack Jenkins [Sat, 7 Sep 2013 06:10:31 +0000 (06:10 +0000)]
Imported Translations from Transifex

Change-Id: I4602704b4a4f1be5a49f1431eebd58072dfb7704

11 years agoMerge "Mock midonetclient in test_midonet_lib"
Jenkins [Fri, 6 Sep 2013 23:37:45 +0000 (23:37 +0000)]
Merge "Mock midonetclient in test_midonet_lib"

11 years agoFix IF checks on spawned green thread instance
Kaiwei Fan [Thu, 5 Sep 2013 20:57:13 +0000 (13:57 -0700)]
Fix IF checks on spawned green thread instance

Initially the symptom looks like race condition between two threads when
stopping the task manager. After further analysis/troubleshooting, it
turns out that two threads are spawned if a task manager is stopped and
started again, causing unexpected errors.

The IF check on the spawned thread sometimes return True sometime return False
if not compared against None explicitly. This makes start() method
think no thread has been started or stop() method think no thread is started.
Change the check to compare against None.

Also fixed a problem in unit-test where a thread may never terminated when
a stop call is invoked during db access.

Closes-Bug: 1221486
Change-Id: I0d67bfe8fef7a390f0d6bc0f5a42835f86a9fb27

11 years agoPrevents 400 NVP errors caused by a None display_name
armando-migliaccio [Fri, 6 Sep 2013 19:57:48 +0000 (12:57 -0700)]
Prevents 400 NVP errors caused by a None display_name

The API forbids a resource name to be None, but the
Model does not. Such errors may  be induced by
programming directly against the plugin interface. With
this fix we avoid raising 400 faults which may be introduced
by involuntary programming errors.

Fixes bug 1221896

Change-Id: Ic1201c5af5691f2bed38753453f73c229858b10f

11 years agoMake neutron.common.log.log print module path
Akihiro MOTOKI [Fri, 6 Sep 2013 17:10:57 +0000 (02:10 +0900)]
Make neutron.common.log.log print module path

Closes-Bug: #1221663

neutron.common.log.log is useful for logging arguments of a method.
It outputs class name and method name, but module path is not output.
A module path is useful to search the log message.

Change-Id: Ic2903da750cc13980d5cdee153bb079f7d4ee122

11 years agoMerge "Replace assertEquals with assertEqual"
Jenkins [Fri, 6 Sep 2013 14:49:52 +0000 (14:49 +0000)]
Merge "Replace assertEquals with assertEqual"

11 years agoLoad ML2 mech drivers as listed in ml2_conf.ini
Rich Curran [Fri, 6 Sep 2013 12:45:18 +0000 (08:45 -0400)]
Load ML2 mech drivers as listed in ml2_conf.ini

stevedore requires an additional parameter to be used (name_order=True) to
sort the loaded extensions to match the order used in the parameter "names".

bug 1221490

Change-Id: I614716c45d91cdf152650fba5ec8ced1e9c5aad4

11 years agoMock midonetclient in test_midonet_lib
Rossella Sblendido [Fri, 6 Sep 2013 10:42:31 +0000 (10:42 +0000)]
Mock midonetclient in test_midonet_lib

Change-Id: Idb4de82c193b2f2589131b06bad04bc858499a21
Closes-bug: #1221674

11 years agoFix incorrect NotImplementedError
ZhiQiang Fan [Fri, 6 Sep 2013 05:27:19 +0000 (13:27 +0800)]
Fix incorrect NotImplementedError

neutron.common.exceptions doesn't define NotImplementedError, but
some codes still use it. We should use builtin
exceptions.NotImplementedError instead.

Note: this patch also fixes a never run code in nvp.

Closes-Bug: #1221500
Change-Id: I5f367ab5edc1e7fbbc2e4eba5fe36d148d4d062d

11 years agoReplace assertEquals with assertEqual
Zhongyue Luo [Fri, 6 Sep 2013 07:27:20 +0000 (15:27 +0800)]
Replace assertEquals with assertEqual

The method assertEquals has been deprecated since python 2.7.
http://docs.python.org/2/library/unittest.html#deprecated-aliases

Also in Python 3, a deprecated warning is raised when using assertEquals
therefore we should use assertEqual instead.

Fixes bug #1221601

Change-Id: Id502cfbc210c6c3fe0a256d5350e159ffa220141

11 years agoImported Translations from Transifex
OpenStack Jenkins [Fri, 6 Sep 2013 06:09:44 +0000 (06:09 +0000)]
Imported Translations from Transifex

Change-Id: I874308f83a54defeb77336acc1c0318172db1bb6

11 years agoMerge "vArmour gateway agent and FWaaS driver"
Jenkins [Fri, 6 Sep 2013 00:34:03 +0000 (00:34 +0000)]
Merge "vArmour gateway agent and FWaaS driver"

11 years agoMerge "Allow default network and policy profiles"
Jenkins [Thu, 5 Sep 2013 22:26:49 +0000 (22:26 +0000)]
Merge "Allow default network and policy profiles"

11 years agoMerge "Install metering_agent.ini and vpn_agent.ini"
Jenkins [Thu, 5 Sep 2013 22:18:37 +0000 (22:18 +0000)]
Merge "Install metering_agent.ini and vpn_agent.ini"

11 years agoMerge "LBaaS: make haproxy stats parsing more safe"
Jenkins [Thu, 5 Sep 2013 22:12:48 +0000 (22:12 +0000)]
Merge "LBaaS: make haproxy stats parsing more safe"

11 years agoInstall metering_agent.ini and vpn_agent.ini
Sascha Peilicke [Thu, 5 Sep 2013 08:30:44 +0000 (10:30 +0200)]
Install metering_agent.ini and vpn_agent.ini

Fixes Bug: 1221451
Change-Id: I83c4e4e0cfd6605930acfcc4f69ea9ece35abc24

11 years agoMerge "fix conversion type missing"
Jenkins [Thu, 5 Sep 2013 20:30:23 +0000 (20:30 +0000)]
Merge "fix conversion type missing"

11 years agoMerge "Fix NVP plugin to send notifications for gateway-less subnets"
Jenkins [Thu, 5 Sep 2013 20:25:05 +0000 (20:25 +0000)]
Merge "Fix NVP plugin to send notifications for gateway-less subnets"

11 years agoAllow default network and policy profiles
Abhishek Raut [Sat, 31 Aug 2013 00:39:26 +0000 (17:39 -0700)]
Allow default network and policy profiles

Allow for default network/policy profile to be used if
no network/policy profile is specified during network/port creation
in the Cisco N1KV plugin.

Change-Id: I6120abb5abb9a869eb7310453cf27dd8f72bfd1d
Closes-Bug: #1218588

11 years agofix conversion type missing
Kun Huang [Thu, 5 Sep 2013 06:20:23 +0000 (14:20 +0800)]
fix conversion type missing

Conversion type is missing in some places which would cause some
unexcepted error. By using 'grep -rn "%(\w\+)\W"', we could find
all cases of '%(variable_a)' and fix them.

Change-Id: I05cbaac73976c70be8428bf5a2d0017ea7059cb3
Closes-Bug: #1221036

11 years agoMerge "Add sub-type field to VXLAN network profiles for Cisco N1KV plugin"
Jenkins [Thu, 5 Sep 2013 16:13:17 +0000 (16:13 +0000)]
Merge "Add sub-type field to VXLAN network profiles for Cisco N1KV plugin"

11 years agoMerge "Implement Allowed Address Pairs"
Jenkins [Thu, 5 Sep 2013 16:13:07 +0000 (16:13 +0000)]
Merge "Implement Allowed Address Pairs"

11 years agoMerge "Use admin context to retrieve metadata ports in NVP plugin"
Jenkins [Thu, 5 Sep 2013 15:31:20 +0000 (15:31 +0000)]
Merge "Use admin context to retrieve metadata ports in NVP plugin"

11 years agoAdd sub-type field to VXLAN network profiles for Cisco N1KV plugin
Abhishek Raut [Tue, 20 Aug 2013 04:20:11 +0000 (21:20 -0700)]
Add sub-type field to VXLAN network profiles for Cisco N1KV plugin

Rename VXLAN type of network profiles to Overlay network profiles.
Add a new sub type column to Overlay network profiles. Support
enhanced VXLAN and native VXLAN as Overlay sub types. Allow plugin to
be flexible to support newer sub types.

Change-Id: I3899b01f316902d1139e47b153a9db7ecb3ff982
Implements: blueprint cisco-plugin-n1k-enh-vxlan-support

11 years agoMove declaration of int_br_device_count earlier
Derek Higgins [Wed, 4 Sep 2013 22:05:08 +0000 (23:05 +0100)]
Move declaration of int_br_device_count earlier

_report_state is being called by setup_rpc so int_br_device_count needs
to be initialized earlier. To avoid
AttributeError: object has no attribute 'int_br_device_count'

This wasn't caught by unit tests for 3 separate reason
o The reference to self.int_br_device_count is wrapped in
  except Exception: log / pass
- This reference has been moved outside of the try/except

o Unit tests set report_interval to 0 so the heartbeat wasn't called
  during unit tests.
- now removed

o The function passed into FixedIntervalLoopingCall isn't started
  anyways so wasn't calling self._report_state
- replaced FixedIntervalLoopingCall with a mock that calls the
  function once.

Fixes bug #1221054

Change-Id: I572af4ee017c1f7f016c8f9981ca54d1301442d1

11 years agoMerge "Implement MidoNet Neutron plugin for Havana"
Jenkins [Thu, 5 Sep 2013 12:45:57 +0000 (12:45 +0000)]
Merge "Implement MidoNet Neutron plugin for Havana"

11 years agoMerge "Iptables metering driver"
Jenkins [Thu, 5 Sep 2013 12:07:09 +0000 (12:07 +0000)]
Merge "Iptables metering driver"

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 agoImplement Allowed Address Pairs
Aaron Rosen [Fri, 16 Aug 2013 17:56:21 +0000 (10:56 -0700)]
Implement Allowed Address Pairs

The following patch adds the concept of allowed address pairs.
This allows one to add additional ip/mac address pairs on a port to
allow traffic that matches those specified values. This is useful in order
to leverage dataplane failover mechanisms like vrrp. This patch adds support
for the NVP plugin, the OVS plugin, and Ml2.

DocImpact

implements blueprint: allowed-address-pairs

Change-Id: Ie73b3886c5be8e1fc4ade86a0cfb854267f345ac

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 agovArmour gateway agent and FWaaS driver
garyduan [Sun, 25 Aug 2013 00:34:00 +0000 (17:34 -0700)]
vArmour gateway agent and FWaaS driver

This patch enables vArmour's routing and firewall services to be deployed in
openstack environment.
- as gateway for internal networks
- support SNAT and DNAT (floating IP)
- FWaaS services

Implements: blueprint varmour-fwaas-driver
Change-Id: I6ddfa3137ed7e2a3fcf16a764d1340a8eae9359a

11 years agoUse admin context to retrieve metadata ports in NVP plugin
armando-migliaccio [Thu, 5 Sep 2013 01:04:55 +0000 (18:04 -0700)]
Use admin context to retrieve metadata ports in NVP plugin

The port that connects the router and the metadata
network is created with admin context, so use the
elevated one.

Change-Id: Idd416fe0841f6aea80da3a3b66a80a451e0360fd
Closes-Bug: 1220877

11 years agoFix NVP plugin to send notifications for gateway-less subnets
armando-migliaccio [Wed, 4 Sep 2013 20:11:43 +0000 (13:11 -0700)]
Fix NVP plugin to send notifications for gateway-less subnets

It was noted that an update notification should be sent
regardless; this patch addresses that. Since there is
no longer the need to distinguish on whether to send
the RPC message or not, the operation has been factored
out to avoid code duplication.

Closes-Bug: 1220881

Change-Id: If553a84b7221f8c98d758654d317217a909c43dc

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 agoEnclose command args in with_venv.sh
ZhiQiang Fan [Wed, 4 Sep 2013 22:14:18 +0000 (06:14 +0800)]
Enclose command args in with_venv.sh

Change-Id: I6d2ca2f8fca951fe2d90265da8728438dd7d7567
Closes-Bug: #1220937

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"