]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/test/cli/monmaptool/add-exists.t
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / test / cli / monmaptool / add-exists.t
index 130c88cbfb6f80f4b299ca076713d7875cc736a7..d652a1bdd0512dab7d0ebaef0b0fc427d9ae7c6f 100644 (file)
   $ monmaptool --add foo 3.4.5.6:7890 mymonmap
   monmaptool: monmap file mymonmap
   monmaptool: map already contains mon.foo
-   usage: [--print] [--create [--clobber][--fsid uuid]]
-          [--generate] [--set-initial-members]
-          [--add name 1.2.3.4:567] [--rm name]
-          [--feature-list [plain|parseable]]
-          [--feature-set <value> [--optional|--persistent]]
-          [--feature-unset <value> [--optional|--persistent]] <mapfilename>
+  monmaptool -h for usage
   [1]
 
   $ monmaptool --print mymonmap
@@ -25,7 +20,8 @@
   fsid [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12} (re)
   last_changed \d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}\.\d+ (re)
   created \d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}\.\d+ (re)
-  0: 2.3.4.5:6789/0 mon.foo
+  min_mon_release 0 (unknown)
+  0: v1:2.3.4.5:6789/0 mon.foo
 
   $ NEW_FSID="$(monmaptool --print mymonmap|grep ^fsid)"
   $ [ "$ORIG_FSID" = "$NEW_FSID" ]