'Retrieve a service by name. Raises NoSuchService
if the named service does not exist.'

def get_service(self, name):

    for service in self.services:
        if (service.name == name):
            return service
    raise NoSuchService(name)
