def METHOD_NAME(self, name, os_class):
    """Add the operating_system class object into the
    platform.operating_sys dictionary.
    """
    if name in Platform.reserved_oss:
        msg = "{0} is a spack reserved alias and cannot be the name of an OS"
        raise ValueError(msg.format(name))
    self.operating_sys[name] = os_class