public function designateType($platform, $family, $generation = null, $version = '')
{
if ($platform == SERVER_PLATFORMS::EC2) {
switch (true) {
case in_array($family, ['redhat', 'oel', 'scientific']):
case $family == 'centos' && ($generation == '7' || strpos($version, '7') === 0):
case $family == 'debian' && ($generation == '8' || strpos($version, '8') === 0):
case $family == 'amazon' && ($generation == '2014.09' || $version == '2014.09'):
$this->bundleType = SERVER_SNAPSHOT_CREATION_TYPE::EC2_EBS_HVM;
break;
}
}
}