'Destroy the service object in the datastore.
NOTE: Although this method is not used anywhere else than tests, it is
convenient to have it here, so the tests might easily and in clean way
stop and remove the service_ref.'

def kill(self):

    self.stop()
    try:
        self.service_ref.destroy()
    except exception.NotFound:
        LOG.warning(_LW('Service    killed    that    has    no    database    entry'))
