[
https://issues.apache.org/jira/browse/STRATOS-493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13921182#comment-13921182
]
Martin Eppel commented on STRATOS-493:
--------------------------------------
Yes, it would be a special use case were the VM serves a specific role and we
won't be scaling up multiple instances, hence if the instance goes down and is
brought back again (e.g. health check) it should be able to acquire the same
floating ip.
I am not entirely sure I understand why it would restrict us to the flat
deployment policy though ?
> Assign a predefined floating ip
> --------------------------------
>
> Key: STRATOS-493
> URL: https://issues.apache.org/jira/browse/STRATOS-493
> Project: Stratos
> Issue Type: Improvement
> Components: Cloud Controller
> Affects Versions: 4.0.0 Alpha
> Reporter: Martin Eppel
> Labels: patch
> Fix For: FUTURE
>
> Original Estimate: 168h
> Remaining Estimate: 168h
>
> Instead of auto assigning the floating ip address from the pool (autoAssignIp
> “false” in cartridgeDefinitionBean:iaasProvider, see example below), the ip
> address would be predefined in the cartridge definition as an additional
> property (see example below with property “floatingIp”, ) and if available in
> the floating ip pool, assigned to the instance when it is created. If the
> floating ip is unavailable, an exception will be thrown and the instance
> will be destroyed.
>
> As for now it would be sufficient to add this enhancement for the OpenStack
> provider.
> Configuration Example:
> …
> "iaasProvider":
> [
> {
> "type": "openstack",
> "imageId": "RegionOne/${IMAGE_ID}",
> "maxInstanceLimit": "4",
> "property":
> [
> {
> "name": "instanceType",
> "value": "RegionOne/${FLAVOR_ID}"
> },
> {
> "name": "keyPair",
> "value": "${KEY}"
> },
> {
> "name": "autoAssignIp",
> "value": "false”
> },
> {
> "name": "floatingIp",
> "value": "10.10.10.10”
> },
> {
> "name": "securityGroups",
> "value": "default"
> },
> {
> "name": "networkInterfaces",
> "value": “net1,net2,net3”
> }
> ]
> }
> ],
> …
--
This message was sent by Atlassian JIRA
(v6.2#6252)