def get_value(self, key): return inventory.get_dc_by_host(key)
def get_dc(self): host = self.__address.split(':')[0] return inventory.get_dc_by_host(host)