Subtask #7048

Updated by Loic Dachary almost 6 years ago

- "change change 'rep' to 'replicated'": 'replicated'
- "create create 'osd_pool_default_crush_rule_{replicated,erasure}' options to replace osd_pool_default_crush_rule": osd_pool_default_crush_rule
- "make pool create verify the specified crush rule has a type (erasure or replicated) that matches": part of "a larger pull request": that contains unit tests
- make cluster creation create a generic erasure indep rule (min 2, max 20?). make it use the create_simple_rule helper.
- possibly change (or verify that) the default crushmap creation uses the same create_simple_rule helpers that the mon command exposes