@classmethod<EOL><INDENT>def get_OS_UUID(cls, os):<DEDENT>
if os in cls.templates:<EOL><INDENT>return cls.templates[os]<EOL><DEDENT>uuid_regexp = '<STR_LIT>'<EOL>if re.search(uuid_regexp, os):<EOL><INDENT>return os<EOL><DEDENT>raise Exception((<EOL>"<STR_LIT>"<EOL>"<STR_LIT>"<EOL>"<STR_LIT>"<EOL>))<EOL>
Validate Storage OS and its UUID.

If the OS is a custom OS UUID, don't validate against templates.