示例#1
0
 def _check_from_pool(self, pool_uuid):
     # Disallow the removal of an allocated address after the initial
     # configuration is complete.
     if pool_uuid and cutils.is_initial_config_complete():
         raise exception.AddressAllocatedFromPool()
示例#2
0
 def _check_from_pool(self, pool_uuid):
     if pool_uuid:
         raise exception.AddressAllocatedFromPool()