]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Big Switch: Check source_address attribute exists
authorKevin Benton <blak111@gmail.com>
Thu, 8 May 2014 23:33:06 +0000 (16:33 -0700)
committerThomas Goirand <thomas@goirand.fr>
Mon, 9 Jun 2014 15:06:54 +0000 (23:06 +0800)
commitbb2a0326b55d8cac5cd5132ec5391d551b796e1f
tree3178a508007f2336cdb835ed3cafb35e64787fe6
parentc5ebe66bcd09e24c169bec3b6fc1d138dba231ee
Big Switch: Check source_address attribute exists

Check that the source_address attribute exists on
HTTPSConnection objects before referencing it since
it's not present on python 2.6 deployments. If it
does not exist, create a socket connection without
specifying the source.

Closes-Bug: #1316382

Conflicts:

neutron/tests/unit/bigswitch/test_servermanager.py

Change-Id: Ica10d23cc6de81ae56f711937f208c7321c77f36
(cherry picked from commit f5e4cf8e3edd1ce0ebb8c0c7256be07d094896de)
neutron/plugins/bigswitch/servermanager.py
neutron/tests/unit/bigswitch/test_servermanager.py