cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chiradeep Vittal <>
Subject Re: Functional Specification for the multiple IPs per NIC
Date Wed, 19 Dec 2012 01:56:15 GMT
I would actually propose that the feature is more on parity with AWS's
'private' ip feature.
The relevant APIs are:

This kind of ties into [1] and [2] and [3]
As for Hari's question below, you could always modify the listNetwork API
to return the list of available ip addresses. Of course this list is
ephemeral, so you may still fail after choosing one of these addresses.


On 12/18/12 4:45 PM, "Kelcey Damage (BT)" <>

>Kind of yes. In advanced networking the user owns the whole subnet of the
>isolated network... so this does not matter.
>In shared you are correc its more tricky. The goal I would envision is a
>dynamically provided IP that has infinite DHCP lease.
>Now we are in the realm of what John was discussing.
>The basic spec for MIPN is only to get CS to track the request for
>additional private IP, nothing more.
>>-----Original Message-----
>>From: Hari Kannan []
>>Sent: Tuesday, December 18, 2012 4:32 PM
>>Subject: RE: Functional Specification for the multiple IPs per NIC
>>Hi Kelcey,
>>The question is not whether CS knows this or not - the question is how
>>"user" know it..
>>Here is the workflow I envision -
>>User requests a VM
>>                As part of this, he requests one or more isolated
>>optionally could add more networks for the VM (multiple nics feature in
>>Campo) User "acquires guest IPs" (new feature)
>>                Specifies the network he wants
>>                Optionally specifies the ip address (or we automatically
>assign from
>>the CIDR) <--------- not sure if we need to let him provide an IP - this
>>question Out of band (manual) he ifconfigs the acquired guest IP on a
>>{VM,NIC} User can "acquire IP" (public ip) like he does today
>>                Associate the public IP with the guest IP (CS does the
>>public IP, if acquired "release" guest IP, if acquired (cannot release if
>>mapped to a public IP)
>>The workflow is similar for shared net
>>Does it make sense?
>>-----Original Message-----
>>From: Kelcey Damage (BT) []
>>Sent: Tuesday, December 18, 2012 4:22 PM
>>Subject: RE: Functional Specification for the multiple IPs per NIC
>>All networks in CS shared, isolated, basic track assigned IPs in the
>database, so
>>yes, we can know what is in use if provisioned by CS. The key here is to
>use the
>>same tables to assign auxiliary IPs at the users request to individual
>>The responsibility is still on the  VM administrator to take the new IP
>>by CS and configure it in the correct VM.
>>This is a start, and John and I have been discussing using
>>management to further automate this process.
>>>-----Original Message-----
>>>From: Hari Kannan []
>>>Sent: Tuesday, December 18, 2012 4:15 PM
>>>Subject: RE: Functional Specification for the multiple IPs per NIC
>>>Regarding " User can specify the  IP address from the guest subnet  if
>>>picks the IP from the guest subnet " comment in the FS
>>>I don't see a need to do this - because, it is a shared network, how
>>>know what is used up and what is not? So, he could go through a
>>>sequence of steps only to get an error message back that it is not
>>>possible (and keep
>>>this until success)
>>>One possibility is telling him what is available - it may not be a big
>>>reveal the used/unused IPs in isolated network (although it would be
>>>show from a large CIDR what is used/available), but we wont even be
>>>able to tell him what is used/unused in a shared network -
>>>Any thoughts?
>>>Hari Kannan
>>>-----Original Message-----
>>>From: John Kinsella []
>>>Sent: Tuesday, December 18, 2012 10:36 AM
>>>Subject: Re: Functional Specification for the multiple IPs per NIC
>>>Is there any logic behind 30? At some point, we're going to be asked,
>>>like to have a decent answer. :)
>>>On the rest of this, I'd like to get some level of consensus on the
>>>looks best to me:
>>>* Improve UserData/CloudInit support in CloudStack (I'm willing to work
>>>on this, consider it important) - allow expiration of data, wider
>>>variety of
>>>* Create the multi-IPs-per-NIC code to get IPs via CloudInit (Need to
>>>think through Windows equivalent)
>>>* Update the password changing script to use CloudInit
>>>Thoughts? Or Jayapal have you already started work on the multi-IP
>>>On Dec 18, 2012, at 2:03 AM, Jayapal Reddy Uradi
>>><> wrote:
>>>> Regarding IP limit,  it can be made as configurable using global
>>>> settings
>>>default value will be 30.
>>>> Thanks,
>>>> Jayapal
>>>>> -----Original Message-----
>>>>> From: Chiradeep Vittal []
>>>>> Sent: Monday, December 17, 2012 12:59 PM
>>>>> To: CloudStack DeveloperList
>>>>> Subject: Re: Functional Specification for the multiple IPs per NIC
>>>>> In basic/shared networks the allocation is bounded by what is
>>>>> already
>>>>> "used- up". To prevent tenants from hogging all the available ips,
>>>>> there needs to be limits.
>>>>> On 12/15/12 8:38 AM, "John Kinsella" <> wrote:
>>>>>> I'd remove the limitation of having 30 IPs per interface. Modern
>>>>>> OSes can support way more.
>>>>>> Why no support for basic networking? I can see a small hosting
>>>>>> provider with a basic setup wanting to manage web servers...
>>>>>> John
>>>>>> On Dec 14, 2012, at 9:37 AM, Jayapal Reddy Uradi
>>>>>> <> wrote:
>>>>>>> Hi All,
>>>>>>> Current guest VM by default having one NIC and one IP address
>>>>>>> If your wants extra IP for the guest VM, there no provision from
>>>>>>> the CS.
>>>>>>> Using multiple IP address per NIC feature CS can associate IP
>>>>>>> address for the NIC,  user can take that IP and assign it to
>>>>>>> Please find the FS for  the more details.
>>>>>>> +
>>>>>>> a
>>>>> dd
>>>>>>> res
>>>>>>> s+per+NIC
>>>>>>> Please provide your comments on the FS.
>>>>>>> Thanks,
>>>>>>> jayapal
>>>>>> Stratosec - Secure Infrastructure as a Service
>>>>>> o: 415.315.9385
>>>>>> @johnlkinsella
>>>Stratosec - Secure Infrastructure as a Service
>>>o: 415.315.9385

View raw message