Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

provider/openstack: Per-network Floating IPs #4812

Merged

Conversation

jtopjian
Copy link
Contributor

This commit adds the ability to associate a Floating IP to a specific network.
Previously, there only existed a top-level floating IP attribute which was
automatically associated with either the first defined network or the default
network (when no network block was used).

Now floating IPs can be associated with networks beyond the first defined
network as well as each network being able to have their own floating IP.

Specifying the floating IP by using the top-level floating_ip attribute and
the per-network floating IP attribute is not possible.

Additionally, an access_network attribute has been added in order to easily
specify which network should be used for provisioning.

Fixes #4677

This commit adds the ability to associate a Floating IP to a specific
network. Previously, there only existed a top-level floating IP
attribute which was automatically associated with either the first
defined network or the default network (when no network block was
used).

Now floating IPs can be associated with networks beyond the first
defined network as well as each network being able to have their own
floating IP.

Specifying the floating IP by using the top-level floating_ip
attribute and the per-network floating IP attribute is not possible.

Additionally, an `access_network` attribute has been added in order
to easily specify which network should be used for provisioning.
@jtopjian jtopjian force-pushed the openstack-per-network-floating-ip branch from 6e93c2d to df660a2 Compare January 31, 2016 22:19
jtopjian added a commit that referenced this pull request Jan 31, 2016
provider/openstack: Per-network Floating IPs
@jtopjian jtopjian merged commit 1ccd049 into hashicorp:master Jan 31, 2016
jtopjian added a commit to jtopjian/terraform that referenced this pull request Feb 28, 2016
hashicorpGH-4812 removed reading server.AccessIPv4 and server.AccessIPv6
because, AFAICT, they are not set by Nova. After removal, a user
reported that they were no longer able to read IPs from access_ip_v4
and access_ip_v6 on Rackspace. It's possible that Rackspace sets
the AccessIPv* attributes, and if that's true, other cloud providers
might as well through custom extensions.

The priority of how access_ip_v* is set might require some tweaks in
the future.
bigkraig pushed a commit to bigkraig/terraform that referenced this pull request Mar 1, 2016
hashicorpGH-4812 removed reading server.AccessIPv4 and server.AccessIPv6
because, AFAICT, they are not set by Nova. After removal, a user
reported that they were no longer able to read IPs from access_ip_v4
and access_ip_v6 on Rackspace. It's possible that Rackspace sets
the AccessIPv* attributes, and if that's true, other cloud providers
might as well through custom extensions.

The priority of how access_ip_v* is set might require some tweaks in
the future.
@jtopjian jtopjian deleted the openstack-per-network-floating-ip branch March 23, 2017 16:07
@ghost
Copy link

ghost commented Apr 15, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Openstack: Ability to assign floating IP to specific network interface
1 participant