CloudStack supports 'cloud' workloads and 'enterprise' workloads as has been 
highlighted numerous times recently in e-mails comparing CloudStack to 
OpenStack.

Yes 'cloudy' workloads should not need this, but enterprise workloads most 
definitely do.

This is something which regularly comes up on the user lists

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com

-----Original Message-----
From: Chiradeep Vittal [mailto:chiradeep.vit...@citrix.com]
Sent: 29 May 2014 05:27
To: dev@cloudstack.apache.org
Subject: Re: [PROPOSAL] - Change Primary IP Address

Curious: What is the reason to change the primary IP?  Quite un-cloudy.

@Wido: changing the IP in basic zone is quite involved, not just changing a 
dnsmasq entry.

From: Wido den Hollander <w...@widodh.nl<mailto:w...@widodh.nl>>
Reply-To: "dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>" 
<dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>>
Date: Wednesday, May 28, 2014 at 2:08 PM
To: "dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>" 
<dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>>
Subject: Re: [PROPOSAL] - Change Primary IP Address


On 05/28/2014 04:36 PM, Alex Hitchins wrote:
All, I'd like to submit the below proposal. This can also be found here :
https://cwiki.apache.org/confluence/display/CLOUDSTACK/New+API+call+to+chang
e+Primary+IP+address+after+VM+creation+in+Advanced+Zones

I've started looking into this project although before anything is written I'd 
like community thoughts and feedback.


Why only Advanced? I think this feature would benefit Basic Zone networks as 
well.

I know that a lot of public cloud offerings use the Basic Zone networking and 
would love to see this feature.

Wido

----

Subject: New API call to change Primary IP address after VM creation in 
Advanced Zones.

Background: Currently the only way to change the IP address (via the API) is to 
drop a NIC attached to the VM and then add a new NIC with the desired new IP 
address. The process is as follows:

1. Add Temp NIC
2. Make Temp NIC default
3. Remove original NIC
4. Add NIC on same network as NIC removed in step 3, specifying IP as you add 
it 5. Make newly added NIC default 6. Remove Temp NIC

This process works however it will mean the VM will see a new MAC address which 
could mean additional configuration is required.

The existing API calls (removeIPFromNic & addIpToNic) only allow the user to 
modify the secondary IP addresses. This proposal is to create a new API call 
allowing the user to reset the IP address without the need to remove and add a 
new NIC.

Requirements:

1. Add a new API call under the NIC section for root & admin users, allowing 
them to specify a new IP address for a given NIC e.g. amendIpToNic ( int nicId, 
string oldIpAddress, string newIpAddress ) 2. The system should check to ensure 
the new IP address that is being applied isn't already in use on the network.
3. The API call on success will require the virtual machine to be restarted for 
DHCP to be refreshed.
4. The functionality should apply to Advanced Zones.

Comments:

While we will perform a cursory check to see that the IP address isn't already 
in use, no other checks will be made. It will still be up to the domain 
administrator to manage IP allocation.





Alex Hitchins
------------------------------
E: a...@alexhitchins.com<mailto:a...@alexhitchins.com>
W: alexhitchins.com
M: 07788 423 969
T: 01892 523 587



Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
CloudStack Infrastructure 
Support<http://shapeblue.com/cloudstack-infrastructure-support/>
CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/>

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England & Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.

Reply via email to