diff options
| author | Vishvananda Ishaya <vishvananda@gmail.com> | 2012-09-10 11:37:39 -0700 |
|---|---|---|
| committer | Vishvananda Ishaya <vishvananda@gmail.com> | 2012-09-10 13:50:55 -0700 |
| commit | 959c93f6d3572a189fc3fe73f1811c12323db857 (patch) | |
| tree | 25668ade0a02d8f7136e60b3bbf6a31943134912 /nova/openstack | |
| parent | 641223db012211b353658dabaec27942e89ee5c6 (diff) | |
| download | nova-959c93f6d3572a189fc3fe73f1811c12323db857.tar.gz nova-959c93f6d3572a189fc3fe73f1811c12323db857.tar.xz nova-959c93f6d3572a189fc3fe73f1811c12323db857.zip | |
Fixes snat rules in complex networking configs
There is currently no way to disable nova's snat rule, which causes
problems for some network configurations with an external gateway.
This patch allows the snat to be completely disabled by setting
a blank value for routing_source_ip.
This patch also makes the snat rule a little more specific, only
snatting traffic that is destined for the public interface (or
the floating interface if it is defined). This allows the snat
to work without changing routing_source_ip and also ensures that
an instance assigned multiple ips from different floating pools
will connect from the appropriate address for each pool
Fixes bug 1048765
Change-Id: I18be88a3dbb7a9f4762db7beefc94e07b8310100
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
