'Validate that the domain ID belongs to the default domain.'

def _validate_default_domain_id(self, domain_id):

    if (domain_id != CONF.identity.default_domain_id):
        raise exception.DomainNotFound(domain_id=domain_id)
