Return-Path: X-Original-To: apmail-stratos-dev-archive@minotaur.apache.org Delivered-To: apmail-stratos-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B39D410DE0 for ; Tue, 1 Apr 2014 05:10:46 +0000 (UTC) Received: (qmail 71707 invoked by uid 500); 1 Apr 2014 05:10:45 -0000 Delivered-To: apmail-stratos-dev-archive@stratos.apache.org Received: (qmail 71493 invoked by uid 500); 1 Apr 2014 05:10:43 -0000 Mailing-List: contact dev-help@stratos.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stratos.incubator.apache.org Delivered-To: mailing list dev@stratos.incubator.apache.org Received: (qmail 71476 invoked by uid 99); 1 Apr 2014 05:10:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Apr 2014 05:10:41 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 01 Apr 2014 05:10:39 +0000 Received: (qmail 71438 invoked by uid 99); 1 Apr 2014 05:10:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Apr 2014 05:10:16 +0000 Date: Tue, 1 Apr 2014 05:10:16 +0000 (UTC) From: "Nirmal Fernando (JIRA)" To: dev@stratos.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (STRATOS-493) Assign a predefined floating ip MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STRATOS-493?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D139= 56111#comment-13956111 ]=20 Nirmal Fernando commented on STRATOS-493: ----------------------------------------- Hi Martin, Thanks for the analysis. Can you also check with the "jclouds.op= enstack-nova.auto-create-floating-ips" property's values (true/false)? > Assign a predefined floating ip=20 > -------------------------------- > > 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 > Assignee: Martin Eppel > Labels: patch > Fix For: FUTURE > > Attachments: 0001-support-for-predefined-floating-ip-jira-STRATOS= -493.patch, 0001-updating-floating-ip-review-comments.patch > > Original Estimate: 168h > Remaining Estimate: 168h > > Instead of auto assigning the floating ip address from the pool (autoAssi= gnIp =E2=80=9Cfalse=E2=80=9D in cartridgeDefinitionBean:iaasProvider, see = example below), the ip address would be predefined in the cartridge definit= ion as an additional property (see example below with property =E2=80=9Cflo= atingIp=E2=80=9D, ) and if available in the floating ip pool, assigned to t= he instance when it is created. If the floating ip is unavailable, an exc= eption will be thrown and the instance will be destroyed.=20 > =20 > As for now it would be sufficient to add this enhancement for the OpenSta= ck provider. > Configuration Example: > =E2=80=A6 > "iaasProvider": > [ > { > "type": "openstack", > "imageId": "RegionOne/${IMAGE_ID}", > "maxInstanceLimit": "4", > "property": > [ > { > "name": "instanceType", > "value": "RegionOne/${FLAVOR_ID}" > }, > { > "name": "keyPair", > "value": "${KEY}" > }, > { > "name": "autoAssignIp", > "value": "false=E2=80=9D > }, > { > "name": "floatingIp", > "value": "10.10.10.10=E2=80=9D > }, > { > "name": "securityGroups", > "value": "default" > }, > { > "name": "networkInterfaces", > "value": =E2=80=9Cnet1,net2,net3=E2=80=9D > } > ] > } > ], > =E2=80=A6 -- This message was sent by Atlassian JIRA (v6.2#6252)