def get_all_backends(self): Datastore.get_all_backends(self) return self.resources
def add_backend(self, resource): Datastore.add_backend(self, resource) self.resources.append(resource)
def remove_backend(self, resource): Datastore.remove_backend(self, resource) self.resources.remove(resource)
def add_backend(self, resource): Datastore.add_backend(self, resource) _backends = self.get_all_backends() self.resources.append(resource)
def __init__(self, config): Datastore.__init__(self, config)
def remove_backend(self, ip_address): Datastore.remove_backend(self, ip_address) self.backend_ip_addresses.remove(ip_address)
def get_all_backends(self): Datastore.get_all_backends(self)
def add_backend(self, ip_address): Datastore.add_backend(self, ip_address) self.backend_ip_addresses.append(ip_address)
def __init__(self, config): Datastore.__init__(self, config) logging.debug('sqlite datasource started')
def add_backend(self, ip_address): Datastore.add_backend(self, ip_address)