def create_domain(
            self, name, description=None, enabled=True):
        with _utils.shade_exceptions("Failed to create domain {name}".format(
                name=name)):
            domain = self.manager.submitTask(_tasks.DomainCreate(
                name=name,
                description=description,
                enabled=enabled))
        return _utils.normalize_domains([domain])[0]
Create a Keystone domain.
dataset/ETHPy150Open openstack-infra/shade/shade/operatorcloud.py/OperatorCloud.create_domain