# File lib/fog/libvirt/models/compute/pool.rb, line 27 def save raise Fog::Errors::Error.new('Creating a new pool requires proper xml') unless xml self.uuid = (persistent ? connection.define_pool(xml) : connection.create_pool(xml)).uuid reload end