"remove the tier <tierpool> from base pool <pool>", "osd", "rw", "cli,rest")
COMMAND("osd tier cache-mode " \
"name=pool,type=CephPoolname " \
- "name=mode,type=CephChoices,strings=none|writeback|invalidate+forward|readonly", \
+ "name=mode,type=CephChoices,strings=none|writeback|forward|readonly", \
"specify the caching mode for cache tier <pool>", "osd", "rw", "cli,rest")
COMMAND("osd tier set-overlay " \
"name=pool,type=CephPoolname " \
'toomany']))
def test_tier_cache_mode(self):
- for mode in ('none', 'writeback', 'invalidate+forward', 'readonly'):
+ for mode in ('none', 'writeback', 'forward', 'readonly'):
self.assert_valid_command(['osd', 'tier', 'cache-mode',
'poolname', mode])
assert_equal({}, validate_command(sigdict, ['osd', 'tier',