[
https://issues.apache.org/jira/browse/STRATOS-493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13923293#comment-13923293
]
Martin Eppel commented on STRATOS-493:
--------------------------------------
attached the code changes for review
> 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
>
> Attachments:
> 0001-support-for-predefined-floating-ip-jira-STRATOS-493.patch
>
> 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)