VMWare: don't notify on disassociate_floatingips()

L3 agent notifications don't make sense for NSX VMWare plugin since
there is no L3 agent in such setup, so disabling them here.

Updated a unit test to check that notification is indeed not requested.

Conflicts:
	neutron/tests/unit/vmware/test_nsx_plugin.py

Change-Id: I9c7c32d02d466098d22df8f10448361c3d99174c
Related-Bug: 1330955
(cherry picked from commit eafebec2d3f6d0bd0ecc6e6d7c4f1ae421a44dfe)
Ignore variable column widths in ovsdb functional tests

The ovsdb tests check the output of "ovsdb-client monitor" before and after
some operations. The first line of output is a header row with spaces for
column separation. The column widths can vary depending on the data in the
columns, so compress multiple spaces to one for testing.

Change-Id: I6b4690ea9ef1c1b215411ca2c39b1e65fec2c6c7
Partial-bug: #1336172
(cherry picked from commit 17686c1f24ddf1977bbd930ce94b3e3d76962c5b)
Big Switch: Only update hash header on success

This patch moves the hash update call into the success block
of the server manager so the database isn't updated with
a hash header from an error response. Additionally, it prevents
the hash from being updated to an empty value if the hash header
is not present in the response.

Conflicts:

	neutron/tests/unit/bigswitch/test_servermanager.py

Closes-Bug: #1348766
Change-Id: I512d01f9bb91b208dd58883d2464951ecc6748e1
(cherry picked from commit b8cf45218714937681d7df2e5b9d7d440cb2edd9)
Verify ML2 type driver exists before calling del

Verifies that an ML2 type driver exists for a given
segment type before attempting to call the release_segment
method on it. Logs an error if a type driver is not
found.

This covers the case where a segment is created with
a given type and then ML2 is reconfigured without
support for that type.

DocImpact
The ML2 documentation should be updated with a warning
that disabling a network type driver and re-enabling
it later may lead to possible DB inconsistencies.

Closes-Bug: #1292102
Change-Id: I65a35abf3ed57347bb6e8fee228f8c0697217c00
(cherry picked from commit af89d74d2961db6a04572375150ad908c9e72e78)
Bump stable/icehouse next version to 2014.1.3

Bump stable/icehouse next version to 2014.1.3

Change-Id: I7a71b42bc99b66dedc99fb8b299e898d51d6e62b
Signed-off-by: Chuck Short <chuck.short@canonical.com>
Clear entries in Cisco N1KV specific tables on rollback

During rollback operations, resources are cleaned up from neutron
database but leaves a few stale entries in the n1kv specific tables.
This change addresses the proper clean up of tables. i.e. VLAN/VXLAN
allocation tables, profile binding and vm network table.

Conflicts:

        neutron/plugins/cisco/n1kv/n1kv_neutron_plugin.py

Change-Id: I7a09d34f3a9dee0a43b76c5d781ee9eb9938953a
Closes-bug: #1336596
(cherry picked from commit 73b4239fbef5e52494cf3ffc3293dbb79b52d91c)
Merge "Ignore variable column widths in ovsdb functional tests" into stable/icehouse
Merge "VMWare: don't notify on disassociate_floatingips()" into stable/icehouse
Remove explicit dependency on amqplib

kombu already depends on amqp or amqplib depending on its
version, and no explicit access to amqplib exists in neutron code.

Conflicts:
	requirements.txt

Closes-Bug: #1317094
Change-Id: I5cf189d7173b732cba6df3f9b6aff1d2bb85cdfe
(cherry picked from commit 39ffcb0dd75d9dc5d8a249f2974a67f0def5204b)
Merge "Bump stable/icehouse next version to 2014.1.3" into stable/icehouse
Ensure ip6tables are used only if ipv6 is enabled in kernel

On systems where ipv6 module is not loaded in kernel we need to avoid
usage of ip6tables. This patch reads
/proc/sys/net/ipv6/conf/default/disable_ipv6 file and if ipv6 is
disabled then ip6tables are not used in IptablesManager

Closes-Bug: #1352893

Conflicts:
	neutron/agent/l3_agent.py

Change-Id: I07e5851aa25eb98b7a97dff86b9850475df85f64
(cherry picked from commit b6e9922364fca4d8d141fbb2f27024f7db79ca9e)
Fixes Hyper-V issue due to ML2 RPC versioning

The ML2 RPC version 1.1 breaks the hyper-v agent and
consequentially the RPC version in the Hyper-V agent needs
to be set to 1.1 to match the ML2 RPC base API version.

Conflicts:
	neutron/plugins/hyperv/agent/hyperv_neutron_agent.py

(cherry picked from commit 771327adbe9e563506f98ca561de9ded4d987698)

Change-Id: Idc4ae8d7dcff4331aca148a8f2a7a2b01679b3a8
Closes-Bug: #1353697
Fixes Hyper-V agent issue on Hyper-V 2008 R2

The vmutils.HyperVUtils class used on versions of Hyper-V prior of 2012
is missing the "remove_all_security_rules" method.

Change-Id: Ib14e643c400b230c912589f9480acf59d6e7b147
Closes-Bug: #1360817
Add hook scripts for the functional infra job

Infra jobs support hooks to customize behavior.  This change adds
scripts that are intended to be called by the neutron-dsvm-functional
jobs as hooks.   Defining hook behavior in-tree instead of directly in
the job definition has the advantage of allowing changes in hook
behavior to be tested before merge.

The gate_hook.sh script added by this change installs a rootwrap
filter to allow functional tests to destroy python processes that
they have spawned.  The tests use the python executable provided by
their tox env, and the default rootwrap configuration does not
support killing processes launched by non-system python executables.

This change will have to merge to master and stable/icehouse before
the supporting infra config change can be merged:

https://review.openstack.org/#/c/116458/

Partial-bug: #1360658
Change-Id: Idcc6195f91fac833c14892f27fb793048ef964b9
(cherry picked from commit 31ca6ea1412ca30c708f52ef844f5a2eedb7a56d)
Merge "Add hook scripts for the functional infra job" into stable/icehouse
Fix func job hook script permission problems

- The hook script is the wrong place to unstack since
  it needs to run as the stack user with sudo privileges and those
  permissions are removed as part of the devstack-vm-gate.sh script.

- The functional job gate hook script needs to use sudo to
  install the test-only rootwrap filter.

Change-Id: Ib2e5ec016a5a414dd9675328650efb2b39b0e3fe
Related-Bug: #1360658
(cherry-picked from commit 2f7932055247df3ac5ec4783e029cfeda0466f71)
Merge "Clear entries in Cisco N1KV specific tables on rollback" into stable/icehouse
Add support for router scheduling in Cisco N1kv Plugin

Added functionality for router and network scheduling
in Cisco N1kv Plugin.

Closes-Bug: #1286412
(cherry picked from commit 9869cc1d100ced5f50cf03b557639835c364fbb5)

Conflicts:
	neutron/plugins/cisco/n1kv/n1kv_neutron_plugin.py

Change-Id: I1a8d27670d10ca26fb62a8d02230a1aaf3e7bbca
Merge "Fix func job hook script permission problems" into stable/icehouse
Merge "Big Switch: Only update hash header on success" into stable/icehouse