@Override public boolean prepare( VirtualMachineProfile profile, NicProfile nic, Network network, DeployDestination dest, ReservationContext context) { // TODO: select type from template BaremetalPxeType type = BaremetalPxeType.KICK_START; return getServiceByType(type.toString()).prepare(profile, nic, network, dest, context); }
@Override public boolean prepareCreateTemplate(Long pxeServerId, UserVm vm, String templateUrl) { // TODO: select type from template BaremetalPxeType type = BaremetalPxeType.PING; return getServiceByType(type.toString()).prepareCreateTemplate(pxeServerId, vm, templateUrl); }