return "";
}
public static String buildNextGroupName(String asg) {
if (asg == null) throw new IllegalArgumentException("asg name must be specified");
Names parsed = Names.parseName(asg);
Integer sequence = parsed.getSequence();
Integer nextSequence = new Integer((sequence == null) ? 0 : sequence.intValue() + 1);
if (nextSequence.intValue() >= 1000) nextSequence = new Integer(0); // Hack
return String.format("%s-v%03d", parsed.getCluster(), nextSequence);
}