Re: CloudStack Allocator Pre-Condition Check

2012-08-12 Thread Chiradeep Vittal
empty list. You can refer >FirstFitRoutingAllocator that does the exact same thing. > >-Prachi > >-Original Message- >From: Amir Nashat [mailto:amir.nas...@citrix.com] >Sent: Wednesday, August 08, 2012 3:07 PM >To: 'cloudstack-users@incubator.apache.org'

RE: CloudStack Allocator Pre-Condition Check

2012-08-08 Thread Prachi Damle
st 08, 2012 3:07 PM To: 'cloudstack-users@incubator.apache.org' Subject: RE: CloudStack Allocator Pre-Condition Check Ok, I'll use your suggestion of returning an empty list which is what my intention was with setting the returnUpTo value to 0. I won't modify the returnUpTo v

RE: CloudStack Allocator Pre-Condition Check

2012-08-08 Thread Amir Nashat
rnUpTo. Thanks again for your help! Amir -Original Message- From: Prachi Damle [mailto:prachi.da...@citrix.com] Sent: Wednesday, August 08, 2012 2:36 PM To: cloudstack-users@incubator.apache.org Subject: RE: CloudStack Allocator Pre-Condition Check Yes you can use vmProfile.getHost

RE: CloudStack Allocator Pre-Condition Check

2012-08-08 Thread Prachi Damle
ng on implementing custom planner and set a different returnUpto value? -Prachi -Original Message- From: Amir Nashat [mailto:amir.nas...@citrix.com] Sent: Wednesday, August 08, 2012 2:16 PM To: 'cloudstack-users@incubator.apache.org' Subject: RE: CloudStack Allocator Pre-Condition C

RE: CloudStack Allocator Pre-Condition Check

2012-08-08 Thread Amir Nashat
: Wednesday, August 08, 2012 2:12 PM To: cloudstack-users@incubator.apache.org Subject: RE: CloudStack Allocator Pre-Condition Check Amir, Yes to add any custom checks on top of the existing host allocation you will need to write your HostAllocator extending the default FirstFitAllocator. Also replace

RE: CloudStack Allocator Pre-Condition Check

2012-08-08 Thread Prachi Damle
Amir, Yes to add any custom checks on top of the existing host allocation you will need to write your HostAllocator extending the default FirstFitAllocator. Also replace the FirstFitAllocator in componets.xml by your custom allocator. If your condition verification fails, your allocator should