7.4. 禁用域
您可以使用
--disable
禁用域:$ openstack domain set TestDomain --disable
确认域已被禁用:
$ openstack domain show TestDomain +-------------+----------------------------------+ | Field | Value | +-------------+----------------------------------+ | description | | | enabled | False | | id | 3abefa6f32c14db9a9703bf5ce6863e1 | | name | TestDomain | +-------------+----------------------------------+
然后,如果需要可以重新启用域:
$ openstack domain set TestDomain --enable