]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test/cli/crushtool: fix rules.t 16027/head
authorSage Weil <sage@redhat.com>
Sat, 8 Jul 2017 02:34:58 +0000 (22:34 -0400)
committerSage Weil <sage@redhat.com>
Sat, 8 Jul 2017 02:34:58 +0000 (22:34 -0400)
Signed-off-by: Sage Weil <sage@redhat.com>
src/test/cli/crushtool/rules.t

index 68ead0b1b0e8633c091f44422b176b7fddd21fe5..bda3c13a444458640ccfc3b5efe773b87edd5610 100644 (file)
@@ -1,7 +1,7 @@
   $ crushtool -c $TESTDIR/rules.txt --create-replicated-rule foo default host -o one > /dev/null
   $ crushtool -d one
   # begin crush map
-
+  
   # devices
   device 0 osd.0 class ssd
   device 1 osd.1 class ssd
@@ -9,12 +9,12 @@
   device 3 osd.3 class hdd
   device 4 osd.4 class hdd
   device 5 osd.5 class hdd
-
+  
   # types
   type 0 osd
   type 1 host
   type 2 root
-
+  
   # buckets
   host foo {
   \tid -3\t\t# do not change unnecessarily (esc)
@@ -48,7 +48,7 @@
   \titem foo weight 3.000 (esc)
   \titem bar weight 3.000 (esc)
   }
-
+  
   # rules
   rule data {
   \truleset 0 (esc)
   \tstep chooseleaf firstn 0 type host (esc)
   \tstep emit (esc)
   }
-
+  
   # end crush map
 
 
 
 
 
+
+
+
+
+
   $ crushtool -c $TESTDIR/rules.txt --create-replicated-rule foo-ssd default host -o two --device-class ssd > /dev/null
   $ crushtool -d two
   # begin crush map
-
+  
   # devices
   device 0 osd.0 class ssd
   device 1 osd.1 class ssd
   device 3 osd.3 class hdd
   device 4 osd.4 class hdd
   device 5 osd.5 class hdd
-
+  
   # types
   type 0 osd
   type 1 host
   type 2 root
-
+  
   # buckets
   host foo {
   \tid -3\t\t# do not change unnecessarily (esc)
   \titem foo weight 3.000 (esc)
   \titem bar weight 3.000 (esc)
   }
-
+  
   # rules
   rule data {
   \truleset 0 (esc)
   \tstep chooseleaf firstn 0 type host (esc)
   \tstep emit (esc)
   }
-
+  
   # end crush map
+
+
+
+
+