]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Isolate use of fixed_ips[0] to avoid confusion
authorCarl Baldwin <carl.baldwin@hp.com>
Tue, 26 May 2015 20:33:56 +0000 (20:33 +0000)
committerCarl Baldwin <carl.baldwin@hp.com>
Wed, 27 May 2015 15:48:37 +0000 (15:48 +0000)
commit1e0d201f1d71ce48a096f69700e4097e460ee53a
treebc9d676f101b33fd248d6942b07471e50775d4b4
parent8dbacebf6752e7654afbf9451388b42d4d6355a9
Isolate use of fixed_ips[0] to avoid confusion

I was looking at the assumption around using fixed_ips[0] in a recent
patch [1].  I thought at the least, the usage of fixed_ips[0] should
be isolated with the comment explaining why it is okay.

I thought that we could also use this patch as an opportunity to vet
the validity of the claim made in the comment.

[1] If4a310da06f9b0076a9f62926a16b574a8c109ce

Change-Id: Iba5713dd7d852429997ff43d98266a9f022d5d86
neutron/plugins/openvswitch/agent/ovs_dvr_neutron_agent.py