getChildVcResourcePool(rp, childRpName);
if (childVcResourcePool == null) {
Long reservation = Long.valueOf(0);
Boolean expandable = Boolean.valueOf(true);
Long limit = Long.valueOf(-1);
SharesInfo shares = new SharesInfoImpl();
if (nodeGroup != null && softManager.isComputeOnlyRoles(nodeGroup.getRoles())) {
shares.setLevel(SharesInfo.Level.low);
} else {
shares.setLevel(SharesInfo.Level.normal);
}
ResourceAllocationInfo cpu =
new ResourceAllocationInfoImpl(reservation, expandable, limit,
shares, null);
ResourceAllocationInfo mem =