Author: aconway
Date: Wed Dec 10 02:36:54 2014
New Revision: 1644319

URL: http://svn.apache.org/r1644319
Log:
DISPATCH-56: Add get-mgmt-nodes operation to qdmanage tool.

Modified:
    qpid/dispatch/trunk/doc/man/qdmanage.8.in
    qpid/dispatch/trunk/doc/man/qdmanage.h2m
    qpid/dispatch/trunk/tools/qdmanage

Modified: qpid/dispatch/trunk/doc/man/qdmanage.8.in
URL: 
http://svn.apache.org/viewvc/qpid/dispatch/trunk/doc/man/qdmanage.8.in?rev=1644319&r1=1644318&r2=1644319&view=diff
==============================================================================
--- qpid/dispatch/trunk/doc/man/qdmanage.8.in (original)
+++ qpid/dispatch/trunk/doc/man/qdmanage.8.in Wed Dec 10 02:36:54 2014
@@ -41,14 +41,17 @@ Delete an entity specified by the --name
 get\-types [TYPE]
 List entity types with their base types. With no arguments list all types.
 .TP
-get\-operations [TYPE]:
+get\-operations [TYPE]
 List entity types with their operations. With no arguments list all types.
 .TP
-get\-attributes [TYPE]:
+get\-attributes [TYPE]
 List entity types with their attributes.  With no arguments list all types.
 .TP
-get\-annotations [TYPE]:
+get\-annotations [TYPE]
 List entity types with their annotations.  With no arguments list all types.
+.TP
+get\-mgmt\-nodes
+List all other known management nodes connected to this one.
 .SH OPTIONS
 .TP
 \fB\-h\fR, \fB\-\-help\fR

Modified: qpid/dispatch/trunk/doc/man/qdmanage.h2m
URL: 
http://svn.apache.org/viewvc/qpid/dispatch/trunk/doc/man/qdmanage.h2m?rev=1644319&r1=1644318&r2=1644319&view=diff
==============================================================================
--- qpid/dispatch/trunk/doc/man/qdmanage.h2m (original)
+++ qpid/dispatch/trunk/doc/man/qdmanage.h2m Wed Dec 10 02:36:54 2014
@@ -57,15 +57,17 @@ Delete an entity specified by the --name
 get\-types [TYPE]
 List entity types with their base types. With no arguments list all types.
 .TP
-get\-operations [TYPE]:
+get\-operations [TYPE]
 List entity types with their operations. With no arguments list all types.
 .TP
-get\-attributes [TYPE]:
+get\-attributes [TYPE]
 List entity types with their attributes.  With no arguments list all types.
 .TP
-get\-annotations [TYPE]:
+get\-annotations [TYPE]
 List entity types with their annotations.  With no arguments list all types.
-
+.TP
+get\-mgmt\-nodes
+List all other known management nodes connected to this one.
 [FILES]
 .I /etc/qpid-dispatch/qdstat.conf
 

Modified: qpid/dispatch/trunk/tools/qdmanage
URL: 
http://svn.apache.org/viewvc/qpid/dispatch/trunk/tools/qdmanage?rev=1644319&r1=1644318&r2=1644319&view=diff
==============================================================================
--- qpid/dispatch/trunk/tools/qdmanage (original)
+++ qpid/dispatch/trunk/tools/qdmanage Wed Dec 10 02:36:54 2014
@@ -31,7 +31,9 @@ class QdManage():
     def __init__(self):
 
         self.operations = ['query', 'create', 'read', 'update', 'delete',
-                           'get-types', 'get-operations', 'get-attributes', 
'get-annotations']
+                           'get-types', 'get-operations', 'get-attributes', 
'get-annotations',
+                           'get-mgmt-nodes']
+
         usage = "%prog <operation> [options...] [arguments...]\n\nOperations:"
         for o in self.operations:
             method = o.replace('-', '_')
@@ -140,5 +142,10 @@ class QdManage():
         if self.args: self.opts.type = self.args[0]
         self.print_json(self.call_node('get_operations', 'type'))
 
+    def get_mgmt_nodes(self):
+        """get-mgmt-nodes         - List of other known management nodes"""
+        check_args(self.args, 0)
+        self.print_json(self.call_node('get_mgmt_nodes'))
+
 if __name__ == "__main__":
     sys.exit(QdManage().main(sys.argv))



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to