stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Eppel (JIRA)" <j...@apache.org>
Subject [jira] [Created] (STRATOS-493) Assign a predefined floating ip
Date Tue, 04 Mar 2014 22:07:43 GMT
Martin Eppel created STRATOS-493:
------------------------------------

             Summary: 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
             Fix For: FUTURE


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)

Mime
View raw message