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'
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
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
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
: 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
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