Comment 11 for bug 1091007

Revision history for this message
Sergio Rubio (rubiojr) wrote :

In my particular case, monkey patching works well enough apparently in case anyone is interested:

import swift.common.utils
swift.common.utils.HASH_PATH_SUFFIX = '0xxxxxxxxxxxxxxxxx'
swift.common.utils.HASH_PATH_PREFIX = '6xxxxxxxxxxxxxxxxx'

from swift.common.ring import Ring

ring = Ring('./', ring_name = 'object')
print ring.get_nodes('AUTH_7xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx')