]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osdmaptool: fix cli tests
authorSage Weil <sage@inktank.com>
Tue, 4 Feb 2014 01:47:18 +0000 (17:47 -0800)
committerSage Weil <sage@inktank.com>
Fri, 7 Feb 2014 15:10:18 +0000 (07:10 -0800)
Signed-off-by: Sage Weil <sage@inktank.com>
src/test/cli/osdmaptool/help.t
src/test/cli/osdmaptool/simple.t

index c09768bc7d17db0d9d6470c64352a90df13af3be..b8fd79b87eeff09eb81e4d18383d6e30e5eea108 100644 (file)
@@ -3,6 +3,10 @@
    usage: [--print] [--createsimple <numosd> [--clobber] [--pg_bits <bitsperosd>]] <mapfilename>
      --export-crush <file>   write osdmap's crush map to <file>
      --import-crush <file>   replace osdmap's crush map with <file>
+     --test-map-pgs          map all pgs
+     --mark-up-in            mark osds up and in (but do not persist)
+     --clear-temp            clear pg_temp and primary_temp
+     --test-random           do random placements
      --test-map-pg <pgid>    map a pgid to osds
      --test-map-object <objectname> [--pool <poolid>] map an object to osds
   [1]
index 1783a9ef8e43cd6f4da14ea3c46e739d6261d8d0..8d23d5f18ff36a5c8f920115ff9df1a5ef491719 100644 (file)
@@ -3,6 +3,10 @@
    usage: [--print] [--createsimple <numosd> [--clobber] [--pg_bits <bitsperosd>]] <mapfilename>
      --export-crush <file>   write osdmap's crush map to <file>
      --import-crush <file>   replace osdmap's crush map with <file>
+     --test-map-pgs          map all pgs
+     --mark-up-in            mark osds up and in (but do not persist)
+     --clear-temp            clear pg_temp and primary_temp
+     --test-random           do random placements
      --test-map-pg <pgid>    map a pgid to osds
      --test-map-object <objectname> [--pool <poolid>] map an object to osds
   [1]