3447 Commits

Author SHA1 Message Date
Russell Bryant
34a208d1f3 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
2013-09-03 09:22:22 -04:00
Oleg Bondarev
957533f685 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
2013-09-03 10:14:14 +00:00
Jenkins
795155c743 Merge "Adds metrics collection support in Hyper-V" 2013-09-02 22:05:26 +00:00
Francois Eleouet
b63c6f9f83 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
2013-09-02 18:58:04 +02:00
Alessandro Pilotti
a9230a3897 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
2013-08-28 18:12:35 +03:00
Jenkins
090e7d47a8 Merge "Minimize ovs l2 agent calls to get_vif_port_set()" 2013-08-28 14:47:52 +00:00
Jenkins
fa15b6f1d5 Merge "Remove trailing comma" 2013-08-28 14:20:48 +00:00
Jenkins
3519cc0222 Merge "Adds support for the Hyper-V WMI V2 namespace" 2013-08-28 10:40:40 +00:00
Jenkins
8937999104 Merge "Fix script to build rpm required for L2 OVS agent for XenServer" 2013-08-28 10:12:18 +00:00
Jenkins
04418e4771 Merge "Support for Floating IPs in PLUMgrid plugin" 2013-08-28 06:34:44 +00:00
Jenkins
c5e3a84d77 Merge "BigSwitch plugin - add portbinding info in requests to controller" 2013-08-28 06:34:21 +00:00
Jenkins
b81bc42796 Merge "Make Neutron NVP plugin future-versions friendly" 2013-08-28 06:09:34 +00:00
Jenkins
c5bdc18fae Merge "subnet calls of ml2 mechanism driver" 2013-08-28 06:09:26 +00:00
OpenStack Jenkins
dab69bf498 Merge "Imported Translations from Transifex" 2013-08-28 03:30:32 +00:00
Jenkins
19069f82ce Merge "Enable authentication between PLUMgrid Director and Plugin" 2013-08-27 23:07:13 +00:00
armando-migliaccio
80df449aa5 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
2013-08-27 13:31:18 -07:00
armando-migliaccio
706554ba17 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
2013-08-27 07:19:31 -07:00
Zang MingJie
317c8f318f subnet calls of ml2 mechanism driver
Implements blueprint ml2-mechanism-driver-subnet-calls

Change-Id: Ib9a8009975959692f46f80fb2a850fcc2b22debe
2013-08-27 19:24:55 +08:00
OpenStack Jenkins
5fd99edf66 Imported Translations from Transifex
Change-Id: Ia664404f7d37fff4cbc76fb43227584fcdd106a2
2013-08-27 06:13:26 +00:00
Jenkins
6ae42583eb Merge "Fix port creation issue appeared with postgresql backend" 2013-08-27 03:45:59 +00:00
Jenkins
a3fd75c2b4 Merge "Deal with 501 errors from NVP correctly" 2013-08-27 02:30:32 +00:00
Jenkins
a2eb7ae2a7 Merge "Use system locale when Accept-Language header is not provided" 2013-08-27 02:03:33 +00:00
Rudrajit Tapadar
996bb5e218 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
2013-08-26 18:43:49 -07:00
Kevin Benton
9928edb42d 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
2013-08-27 05:39:10 -07:00
Jenkins
289695acf2 Merge "Add extra_dhcp_opt extension to BigSwitch/Floodlight plugin" 2013-09-01 18:50:03 +00:00
Jenkins
3ca3f0a261 Merge "Analyze re-raised exceptions in Cisco Plugin" 2013-09-01 18:32:00 +00:00
Jenkins
ccd6b1fd22 Merge "Add missing match in OVS agent tunnel mac leaning" 2013-09-01 16:44:24 +00:00
Jenkins
bf53381c64 Merge "Correct VPNaaS limit checks in extension" 2013-09-01 08:35:29 +00:00
Jenkins
6c11b959d9 Merge "Fix 500 error on invalid security-group-rule creation for NVP" 2013-09-01 04:46:29 +00:00
Jenkins
6902013ff6 Merge "Return 400 if creating a distributed router on old NVP platforms" 2013-08-31 20:19:10 +00:00
dekehn
d91bc54749 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
2013-08-31 10:40:56 -06:00
Jenkins
9c34ac63c7 Merge "Create RPC connection before modifying OVS bridges" 2013-08-30 23:56:45 +00:00
Aaron Rosen
4dd8bb8637 Fix comment typo s/no/so
Change-Id: I1c7b0834202caca6b3bb79acd243c96b865583bc
2013-08-30 15:15:24 -07:00
Francois Eleouet
0b703922e3 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
2013-08-30 22:37:38 +02:00
Stephen Gran
d72848c9af 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>
2013-08-30 18:51:52 +01:00
OpenStack Jenkins
f9465f289a Merge "Imported Translations from Transifex" 2013-08-30 16:39:57 +00:00
armando-migliaccio
4cc297f103 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
2013-08-30 08:41:56 -07:00
Jenkins
0f3750ceb7 Merge "Corrects error in ml2 rpc log message formatting" 2013-08-30 07:08:31 +00:00
OpenStack Jenkins
95b09597bd Imported Translations from Transifex
Change-Id: I503e7e0273a8b344646a99373ddd87451ed7fd75
2013-08-30 06:13:51 +00:00
Zang MingJie
9951318dd5 Corrects error in ml2 rpc log message formatting
Change-Id: Ic6f445408ef83c2aa0376c94f395363503412814
2013-08-30 13:42:30 +08:00
Jenkins
0ea7a341aa Merge "Load tables of service plugins when migration auto generation" 2013-08-30 04:13:17 +00:00
Jenkins
ae44534a22 Merge "Support for NVP distributed router" 2013-08-30 02:22:24 +00:00
Paul Michali
0c4ba5e0b8 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
2013-08-29 20:35:08 -04:00
Jenkins
4e2c1ff163 Merge "Fix unsuitable assertTrue/assertFalse in api ut" 2013-08-30 00:13:41 +00:00
Jenkins
828601fa31 Merge "Forbid update of subnet gateway ip when in use by a port" 2013-08-29 22:01:09 +00:00
ZhiQiang Fan
3ba8096007 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
2013-08-30 05:38:54 +08:00
Jenkins
e5a39d7224 Merge "Improve dhcp agent structure to support multiple dhcp models" 2013-08-29 20:46:20 +00:00
Jenkins
c8c962de86 Merge "Fix incorrect usage of assertTrue()" 2013-08-29 20:25:35 +00:00
Jenkins
c96d32281f Merge "Add list of pool ids to HealthMonitor dict" 2013-08-29 17:32:51 +00:00
Salvatore Orlando
634fd1d23f Support for NVP distributed router
Blueprint nvp-distributed-router

This patch adds support for NVP distributed logical routers
adding a simple attribute extension.
The default router type can be controlled used the default_router_type
option in the nvp section of neutron configuration.
In order to ensure backward compatibility, pre-existing routers
will be treated as centralized routers.

Change-Id: Iaab9ffb6071c93990be711ebb56c212230544a7a
2013-08-29 09:56:08 -07:00