summaryrefslogtreecommitdiffstats
path: root/src/test/cli/crushtool/reweight.t
blob: f4da5c9cb309e95707b77ac69b35564ae8452ade (plain)
1
2
3
4
5
6
7
8
  $ crushtool -c "$TESTDIR/multitype.before" -o mt > /dev/null
  $ crushtool -i mt --reweight-item osd0 2.0 -o mt > /dev/null
  $ crushtool -i mt --reweight-item osd3 2.0 -o mt > /dev/null
  $ crushtool -i mt --reweight-item osd6 2.0 -o mt > /dev/null
  $ crushtool -i mt --reweight-item osd7 .5 -o mt > /dev/null
  $ crushtool -d mt -o final
  $ diff final "$TESTDIR/multitype.after"
  $ rm mt final