Author: nunofsantos
Date: 2007-11-02 13:32:47 -0400 (Fri, 02 Nov 2007)
New Revision: 1218
Modified:
mgmt/mint/xml/MgmtSchema.xml
Log:
changes to allow for concatenated keys/references
Modified: mgmt/mint/xml/MgmtSchema.xml
===================================================================
--- mgmt/mint/xml/MgmtSchema.xml 2007-11-02 16:29:36 UTC (rev 1217)
+++ mgmt/mint/xml/MgmtSchema.xml 2007-11-02 17:32:47 UTC (rev 1218)
@@ -1,4 +1,4 @@
-<schema version="0.1" date="10/22/2007">
+<schema package="qpid">
<!--
Licensed to the Apache Software Foundation (ASF) under one
@@ -30,10 +30,10 @@
Access rights for configuration elements:
RO => Read Only
- RC => Read/Create, can be set at create time only, read-only thereafter
- RW => Read/Write
+ RC => Read/Create, can be set at create time only, read-only thereafter
+ RW => Read/Write
- If access rights are omitted for a configElement, they are assumed to be RO.
+ If access rights are omitted for a configElement, they are assumed to be RO.
-->
@@ -45,7 +45,7 @@
===============================================================
-->
<object name="system" schemaId="1">
- <configElement name="sysId" type="string"/>
+ <configElement name="sysId" index="y"
type="string"/>
<!-- RT config/instrumentation TBD -->
@@ -57,19 +57,20 @@
===============================================================
-->
<object name="broker" schemaId="2">
- <configElement name="sysId" type="string"
access="RO" index="y" desc="System ID"/>
- <configElement name="port" type="uint16" access="RO"
desc="TCP Port for AMQP Service"/>
- <configElement name="workerThreads" type="uint16"
access="RO" desc="Thread pool size"/>
- <configElement name="maxConns" type="uint16"
access="RO" desc="Maximum allowed connections"/>
- <configElement name="connBacklog" type="uint16"
access="RO" desc="Connection backlog limit for listening socket"/>
- <configElement name="stagingThreshold" type="uint32"
access="RO" desc="Broker stages messages over this size to disk"/>
- <configElement name="storeLib" type="string"
access="RO" desc="Name of persistent storage library"/>
- <configElement name="asyncStore" type="bool"
access="RO" desc="Use async persistent store"/>
- <configElement name="mgmtPubInterval" type="uint16"
min="1" access="RW" unit="second" desc="Interval for
management broadcasts"/>
- <configElement name="initialDiskPageSize" type="uint32"
access="RO" desc="Number of disk pages allocated for storage"/>
+ <configElement name="systemRef" type="string"
access="RO" index="y" desc="System ID"/>
+ <configElement name="port" type="uint16"
access="RO" index="y" desc="TCP Port for AMQP Service"/>
+ <configElement name="workerThreads" type="uint16"
access="RO" desc="Thread pool size"/>
+ <configElement name="maxConns" type="uint16"
access="RO" desc="Maximum allowed connections"/>
+ <configElement name="connBacklog" type="uint16"
access="RO" desc="Connection backlog limit for listening socket"/>
+ <configElement name="stagingThreshold" type="uint32"
access="RO" desc="Broker stages messages over this size to disk"/>
+ <configElement name="storeLib" type="string"
access="RO" desc="Name of persistent storage library"/>
+ <configElement name="asyncStore" type="bool"
access="RO" desc="Use async persistent store"/>
+ <configElement name="mgmtPubInterval" type="uint16"
min="1" access="RW" unit="second" desc="Interval for
management broadcasts"/>
+ <configElement name="initialDiskPageSize" type="uint32"
access="RO" desc="Number of disk pages allocated for storage"/>
<configElement name="initialPagesPerQueue" type="uint32"
access="RO" desc="Number of disk pages allocated per queue"/>
- <configElement name="clusterName" type="string"
access="RO" desc="Name of cluster this server is a member of, zero-length
for standalone server"/>
- <configElement name="version" type="string"
access="RO" desc="Running software version"/>
+ <configElement name="clusterName" type="string"
access="RO"
+ desc="Name of cluster this server is a member of, zero-length for
standalone server"/>
+ <configElement name="version" type="string"
access="RO" desc="Running software version"/>
<method name="joinCluster">
<arg name="clusterName" type="string"/>
@@ -84,7 +85,8 @@
===============================================================
-->
<object name="vhost" schemaId="3">
- <configElement name="name" type="string" access="RC"
index="y"/>
+ <configElement name="brokerRef" type="string"
access="RC" index="y"/>
+ <configElement name="name" type="string"
access="RC" index="y"/>
</object>
<!--
@@ -93,45 +95,45 @@
===============================================================
-->
<object name="queue" schemaId="4">
- <configElement name="vhostRef" type="string"
access="RC" index="y"/>
- <configElement name="name" type="string" access="RC"
index="y"/>
+ <configElement name="vhostRef" type="string"
access="RC" index="y"/>
+ <configElement name="name" type="string"
access="RC" index="y"/>
- <configElement name="durable" type="bool"
access="RC"/>
- <configElement name="autoDelete" type="bool"
access="RC"/>
- <configElement name="exclusive" type="bool"
access="RC"/>
+ <configElement name="durable" type="bool"
access="RC"/>
+ <configElement name="autoDelete" type="bool"
access="RC"/>
+ <configElement name="exclusive" type="bool"
access="RC"/>
<configElement name="pageMemoryLimit" type="uint32"
access="RO"/>
- <instElement name="diskPageSize" type="uint32"/>
- <instElement name="diskPages" type="uint32"/>
- <instElement name="diskAvailableSize" type="uint32"/>
+ <instElement name="diskPageSize" type="uint32"/>
+ <instElement name="diskPages" type="uint32"/>
+ <instElement name="diskAvailableSize" type="uint32"/>
- <instElement name="msgTotalEnqueues" type="uint64"
unit="message" desc="Total messages enqueued"/>
- <instElement name="msgTotalDequeues" type="uint64"
unit="message" desc="Total messages dequeued"/>
- <instElement name="msgTxnEnqueues" type="uint64"
unit="message" desc="Transactional messages enqueued"/>
- <instElement name="msgTxnDequeues" type="uint64"
unit="message" desc="Transactional messages dequeued"/>
- <instElement name="msgPersistEnqueues" type="uint64"
unit="message" desc="Persistent messages enqueued"/>
- <instElement name="msgPersistDequeues" type="uint64"
unit="message" desc="Persistent messages dequeued"/>
- <instElement name="msgDepth" type="uint32_wm"
unit="message" desc="Current size of queue in messages"/>
- <instElement name="byteTotalEnqueues" type="uint64"
unit="octet" desc="Total messages enqueued"/>
- <instElement name="byteTotalDequeues" type="uint64"
unit="octet" desc="Total messages dequeued"/>
- <instElement name="byteTxnEnqueues" type="uint64"
unit="octet" desc="Transactional messages enqueued"/>
- <instElement name="byteTxnDequeues" type="uint64"
unit="octet" desc="Transactional messages dequeued"/>
- <instElement name="bytePersistEnqueues" type="uint64"
unit="octet" desc="Persistent messages enqueued"/>
- <instElement name="bytePersistDequeues" type="uint64"
unit="octet" desc="Persistent messages dequeued"/>
- <instElement name="byteDepth" type="uint32_wm"
unit="octet" desc="Current size of queue in bytes"/>
- <instElement name="enqueueTxnStarts" type="uint64"
unit="transaction" desc="Total enqueue transactions started "/>
- <instElement name="enqueueTxnCommits" type="uint64"
unit="transaction" desc="Total enqueue transactions committed"/>
- <instElement name="enqueueTxnRejects" type="uint64"
unit="transaction" desc="Total enqueue transactions rejected"/>
- <instElement name="enqueueTxnCount" type="uint32_wm"
unit="transaction" desc="Current pending enqueue transactions"/>
- <instElement name="dequeueTxnStarts" type="uint64"
unit="transaction" desc="Total dequeue transactions started"/>
- <instElement name="dequeueTxnCommits" type="uint64"
unit="transaction" desc="Total dequeue transactions committed"/>
- <instElement name="dequeueTxnRejects" type="uint64"
unit="transaction" desc="Total dequeue transactions rejected"/>
- <instElement name="dequeueTxnCount" type="uint32_wm"
unit="transaction" desc="Current pending dequeue transactions"/>
- <instElement name="consumers" type="uint32_wm"
unit="consumer" desc="Current consumers on queue"/>
- <instElement name="bindings" type="uint32_wm"
unit="binding" desc="Current bindings"/>
- <instElement name="unackedMessages" type="uint32_wm"
unit="message" desc="Messages consumed but not yet acked"/>
+ <instElement name="msgTotalEnqueues" type="uint64"
unit="message" desc="Total messages enqueued"/>
+ <instElement name="msgTotalDequeues" type="uint64"
unit="message" desc="Total messages dequeued"/>
+ <instElement name="msgTxnEnqueues" type="uint64"
unit="message" desc="Transactional messages enqueued"/>
+ <instElement name="msgTxnDequeues" type="uint64"
unit="message" desc="Transactional messages dequeued"/>
+ <instElement name="msgPersistEnqueues" type="uint64"
unit="message" desc="Persistent messages enqueued"/>
+ <instElement name="msgPersistDequeues" type="uint64"
unit="message" desc="Persistent messages dequeued"/>
+ <instElement name="msgDepth" type="uint32_wm"
unit="message" desc="Current size of queue in messages"/>
+ <instElement name="byteTotalEnqueues" type="uint64"
unit="octet" desc="Total messages enqueued"/>
+ <instElement name="byteTotalDequeues" type="uint64"
unit="octet" desc="Total messages dequeued"/>
+ <instElement name="byteTxnEnqueues" type="uint64"
unit="octet" desc="Transactional messages enqueued"/>
+ <instElement name="byteTxnDequeues" type="uint64"
unit="octet" desc="Transactional messages dequeued"/>
+ <instElement name="bytePersistEnqueues" type="uint64"
unit="octet" desc="Persistent messages enqueued"/>
+ <instElement name="bytePersistDequeues" type="uint64"
unit="octet" desc="Persistent messages dequeued"/>
+ <instElement name="byteDepth" type="uint32_wm"
unit="octet" desc="Current size of queue in bytes"/>
+ <instElement name="enqueueTxnStarts" type="uint64"
unit="transaction" desc="Total enqueue transactions started "/>
+ <instElement name="enqueueTxnCommits" type="uint64"
unit="transaction" desc="Total enqueue transactions committed"/>
+ <instElement name="enqueueTxnRejects" type="uint64"
unit="transaction" desc="Total enqueue transactions rejected"/>
+ <instElement name="enqueueTxnCount" type="uint32_wm"
unit="transaction" desc="Current pending enqueue transactions"/>
+ <instElement name="dequeueTxnStarts" type="uint64"
unit="transaction" desc="Total dequeue transactions started"/>
+ <instElement name="dequeueTxnCommits" type="uint64"
unit="transaction" desc="Total dequeue transactions committed"/>
+ <instElement name="dequeueTxnRejects" type="uint64"
unit="transaction" desc="Total dequeue transactions rejected"/>
+ <instElement name="dequeueTxnCount" type="uint32_wm"
unit="transaction" desc="Current pending dequeue transactions"/>
+ <instElement name="consumers" type="uint32_wm"
unit="consumer" desc="Current consumers on queue"/>
+ <instElement name="bindings" type="uint32_wm"
unit="binding" desc="Current bindings"/>
+ <instElement name="unackedMessages" type="uint32_wm"
unit="message" desc="Messages consumed but not yet acked"/>
- <method name="purge" desc="Discard all messages on
queue"/>
+ <method name="purge" desc="Discard all messages on
queue"/>
<method name="increaseDiskSize" desc="Increase number of disk pages
allocated for this queue">
<arg name="pages" type="uint32" desc="New total page
allocation"/>
</method>
@@ -143,18 +145,18 @@
===============================================================
-->
<object name="exchange" schemaId="5">
- <configElement name="vhostRef" type="string"
access="RC" index="y"/>
- <configElement name="name" type="string" access="RC"
index="y"/>
- <configElement name="type" type="string"
access="RC"/>
+ <configElement name="vhostRef" type="string"
access="RC" index="y"/>
+ <configElement name="name" type="string"
access="RC" index="y"/>
+ <configElement name="type" type="string"
access="RC"/>
- <instElement name="producers" type="uint32_wm"
desc="Current producers on exchange"/>
- <instElement name="bindings" type="uint32_wm"
desc="Current bindings"/>
- <instElement name="msgReceives" type="uint64" desc="Total
messages received"/>
- <instElement name="msgDrops" type="uint64" desc="Total
messages dropped (no matching key)"/>
- <instElement name="msgRoutes" type="uint64" desc="Total
routed messages"/>
- <instElement name="byteReceives" type="uint64"
desc="Total bytes received"/>
- <instElement name="byteDrops" type="uint64" desc="Total
bytes dropped (no matching key)"/>
- <instElement name="byteRoutes" type="uint64" desc="Total
routed bytes"/>
+ <instElement name="producers" type="uint32_wm"
desc="Current producers on exchange"/>
+ <instElement name="bindings" type="uint32_wm"
desc="Current bindings"/>
+ <instElement name="msgReceives" type="uint64"
desc="Total messages received"/>
+ <instElement name="msgDrops" type="uint64"
desc="Total messages dropped (no matching key)"/>
+ <instElement name="msgRoutes" type="uint64"
desc="Total routed messages"/>
+ <instElement name="byteReceives" type="uint64"
desc="Total bytes received"/>
+ <instElement name="byteDrops" type="uint64"
desc="Total bytes dropped (no matching key)"/>
+ <instElement name="byteRoutes" type="uint64"
desc="Total routed bytes"/>
</object>
<!--
@@ -163,10 +165,10 @@
===============================================================
-->
<object name="binding" schemaId="6">
- <configElement name="queueRef" type="string"
access="RC" index="y"/>
- <configElement name="exchangeRef" type="string"
access="RC" index="y"/>
- <configElement name="bindingKey" type="string"
access="RC"/>
- <configElement name="arguments" type="fieldTable"
access="RC"/>
+ <configElement name="queueRef" type="string"
access="RC" index="y"/>
+ <configElement name="exchangeRef" type="string"
access="RC" index="y"/>
+ <configElement name="bindingKey" type="string"
access="RC"/>
+ <configElement name="arguments" type="fieldTable"
access="RC"/>
<instElement name="msgMatched" type="uint64"/>
</object>
@@ -177,13 +179,13 @@
===============================================================
-->
<object name="client" schemaId="7">
- <configElement name="vhostRef" type="string"
index="y"/>
- <configElement name="ipAddr" type="ipAddress"
index="y"/>
- <configElement name="port" type="uint16"
index="y"/>
+ <configElement name="vhostRef" type="string"
index="y"/>
+ <configElement name="ipAddr" type="ipAddress"
index="y"/>
+ <configElement name="port" type="uint16"
index="y"/>
- <instElement name="authIdentity" type="string"/>
- <instElement name="msgsProduced" type="uint64"/>
- <instElement name="msgsConsumed" type="uint64"/>
+ <instElement name="authIdentity" type="string"/>
+ <instElement name="msgsProduced" type="uint64"/>
+ <instElement name="msgsConsumed" type="uint64"/>
<instElement name="bytesProduced" type="uint64"/>
<instElement name="bytesConsumed" type="uint64"/>
@@ -197,12 +199,12 @@
===============================================================
-->
<object name="session" schemaId="8">
- <configElement name="vhostRef" type="string"
index="y"/>
- <configElement name="name" type="string"
index="y"/>
- <configElement name="clientRef" type="string"
access="RO"/>
+ <configElement name="vhostRef" type="string"
index="y"/>
+ <configElement name="name" type="string"
index="y"/>
+ <configElement name="clientRef" type="string"
access="RO"/>
<configElement name="detachedLifespan" type="uint32"
access="RO"/>
- <instElement name="attached" type="bool"/>
+ <instElement name="attached" type="bool"/>
<instElement name="remainingLifespan" type="uint32"/>
<instElement name="framesOutstanding" type="uint32"/>
@@ -219,13 +221,13 @@
-->
<object name="destination" schemaId="9">
<configElement name="sessionRef" type="string"
index="y"/>
- <configElement name="name" type="string"
index="y"/>
+ <configElement name="name" type="string"
index="y"/>
- <instElement name="flowMode" type="enum(credit,window)"/>
- <instElement name="maxMsgCredits" type="uint32"/>
- <instElement name="maxByteCredits" type="uint32"/>
+ <instElement name="flowMode"
type="enum(credit,window)"/>
+ <instElement name="maxMsgCredits" type="uint32"/>
+ <instElement name="maxByteCredits" type="uint32"/>
- <instElement name="msgCredits" type="uint32"/>
+ <instElement name="msgCredits" type="uint32"/>
<instElement name="byteCredits" type="uint32"/>
<method name="throttle" desc="Apply extra rate limiting to
destination: 0 = Normal, 10 = Maximum">
@@ -242,9 +244,9 @@
-->
<object name="producer" schemaId="10">
<configElement name="destinationRef" type="string"
index="y"/>
- <configElement name="exchangeRef" type="string"
index="y"/>
+ <configElement name="exchangeRef" type="string"
index="y"/>
- <instElement name="msgsProduced" type="uint64"/>
+ <instElement name="msgsProduced" type="uint64"/>
<instElement name="bytesProduced" type="uint64"/>
</object>
@@ -254,13 +256,14 @@
===============================================================
-->
<object name="consumer" schemaId="11">
- <configElement name="destinationRef" type="string"
index="y"/>
- <configElement name="queueRef" type="string"
index="y"/>
+ <configElement name="destinationRef" type="string"
index="y"/>
+ <configElement name="queueRef" type="string"
index="y"/>
- <instElement name="msgsConsumed" type="uint64"/>
- <instElement name="bytesConsumed" type="uint64"/>
+ <instElement name="msgsConsumed" type="uint64"/>
+ <instElement name="bytesConsumed" type="uint64"/>
<instElement name="unackedMessages" type="uint32_wm"
desc="Messages consumed but not yet acked"/>
<method name="close"/>
</object>
-</schema>
\ No newline at end of file
+</schema>
+