ReservationStrategy controls when IP address of the nic is allocated and 
released

        PlaceHolder - used as a marker to identify place holder NIC used by 
ExternalLB/Firewall device
        Create - IP address assigned to the NIC stays across start/stop sessions
        Start - IP address is assigned upon VM startup and released on VM stop
        Managed - IP address is pre-assigned or assigned by other means(out of 
band "Guru" allocation)

I may be wrong by just browsing the code, a property can be set in a couple of 
places, from NicProfile, NetworkManager, to various Network Gurus, Alex owes us 
some documentation on it

Kelven



> -----Original Message-----
> From: Frank Zhang [mailto:frank.zh...@citrix.com]
> Sent: Friday, May 18, 2012 4:24 PM
> To: cloudstack-dev@incubator.apache.org
> Subject: About ReservationStrategy in Network as Service
> 
> I noticed a nic is associated with ReservationStrategy where
> ReservationStrategy is :
>     public enum ReservationStrategy {
>         PlaceHolder, Create, Start, Managed;
>     }
> 
> What does each strategy mean?
> Create -- does it mean the nic is just created because it's owner VM is
> being created? I want to use it distinguish creating a VM and starting a
> VM. Is it possible?

Reply via email to