def METHOD_NAME(self, addr, settings='', **kw):
    settings += '\nserver %s:%s\n' % addr
    for name, value in kw.items():
        settings += '\n{} {}\n'.format(name.replace('_', '-'), value)
    return storageFromString(
        """
        %import ZEO
        <clientstorage>
        {}
        </clientstorage>
        """.format(settings))