perfsonar-dev - perfsonar: r2595 - branches/new-structure/trunk/geant2_java-rrd-ma/conf
Subject: perfsonar development work
List archive
- From:
- To:
- Subject: perfsonar: r2595 - branches/new-structure/trunk/geant2_java-rrd-ma/conf
- Date: Tue, 7 Aug 2007 08:52:41 -0400
Author: roman
Date: 2007-08-07 08:52:40 -0400 (Tue, 07 Aug 2007)
New Revision: 2595
Modified:
branches/new-structure/trunk/geant2_java-rrd-ma/conf/eventType-map.xml
branches/new-structure/trunk/geant2_java-rrd-ma/conf/objects.config
branches/new-structure/trunk/geant2_java-rrd-ma/conf/rrd-database_TEST.xml
Log:
configs updated to support discards data
Modified:
branches/new-structure/trunk/geant2_java-rrd-ma/conf/eventType-map.xml
===================================================================
--- branches/new-structure/trunk/geant2_java-rrd-ma/conf/eventType-map.xml
2007-08-07 12:51:24 UTC (rev 2594)
+++ branches/new-structure/trunk/geant2_java-rrd-ma/conf/eventType-map.xml
2007-08-07 12:52:40 UTC (rev 2595)
@@ -16,5 +16,9 @@
<name>http://ggf.org/ns/nmwg/characteristic/errors/2.0</name>
<metadataQueryGenerator>org.perfsonar.service.measurementArchive.metadataConfig.queryGenerator.ErrorsQueryGenerator</metadataQueryGenerator>
</eventType>
+ <eventType>
+ <name>http://ggf.org/ns/nmwg/characteristic/discards/2.0</name>
+
<metadataQueryGenerator>org.perfsonar.service.measurementArchive.metadataConfig.queryGenerator.DiscardsQueryGenerator</metadataQueryGenerator>
+ </eventType>
</eventType-config>
Modified: branches/new-structure/trunk/geant2_java-rrd-ma/conf/objects.config
===================================================================
--- branches/new-structure/trunk/geant2_java-rrd-ma/conf/objects.config
2007-08-07 12:51:24 UTC (rev 2594)
+++ branches/new-structure/trunk/geant2_java-rrd-ma/conf/objects.config
2007-08-07 12:52:40 UTC (rev 2595)
@@ -13,6 +13,7 @@
http://ggf.org/ns/nmwg/characteristic/utilization/2.0/parameters/
org.ggf.ns.nmwg.characteristic.utilization.v2_0.Parameters
http://ggf.org/ns/nmwg/characteristic/utilization/2.0/datum/
org.ggf.ns.nmwg.characteristic.utilization.v2_0.Datum
http://ggf.org/ns/nmwg/characteristic/errors/2.0/subject/
org.ggf.ns.nmwg.characteristic.errors.v2_0.Subject
+http://ggf.org/ns/nmwg/characteristic/discards/2.0/subject/
org.ggf.ns.nmwg.characteristic.discards.v2_0.Subject
http://ggf.org/ns/nmwg/event/status/base/2.0/stateOper/
org.ggf.ns.nmwg.event.status.base.v2_0.StateOper
http://ggf.org/ns/nmwg/event/status/base/2.0/stateAdmin/
org.ggf.ns.nmwg.event.status.base.v2_0.StateAdmin
http://ggf.org/ns/nmwg/event/status/base/2.0/datum/
org.ggf.ns.nmwg.event.status.base.v2_0.Datum
Modified:
branches/new-structure/trunk/geant2_java-rrd-ma/conf/rrd-database_TEST.xml
===================================================================
---
branches/new-structure/trunk/geant2_java-rrd-ma/conf/rrd-database_TEST.xml
2007-08-07 12:51:24 UTC (rev 2594)
+++
branches/new-structure/trunk/geant2_java-rrd-ma/conf/rrd-database_TEST.xml
2007-08-07 12:52:40 UTC (rev 2595)
@@ -119,4 +119,41 @@
</nmwg:data>
+ <!-- discards -->
+
+ <nmwg:metadata id="meta4">
+ <discards:subject id="subj1">
+ <nmwgt:interface>
+ <nmwgt:hostName>test-hostName</nmwgt:hostName>
+ <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
+ <nmwgt:ifName>test-0</nmwgt:ifName>
+ <nmwgt:ifIndex>2</nmwgt:ifIndex>
+ <nmwgt:direction>in</nmwgt:direction>
+ <nmwgt:capacity>1000000000</nmwgt:capacity>
+ </nmwgt:interface>
+ </discards:subject>
+ <nmwg:parameters>
+ <nmwg:parameter
name="supportedEventType">http://ggf.org/ns/nmwg/characteristic/discards/2.0</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:metadata>
+
+
+ <nmwg:data id="data4" metadataIdRef="meta4">
+ <nmwg:key>
+ <nmwg:parameters>
+ <nmwg:parameter
name="file">__BASEPATH__/samples/rrd/test.rrd</nmwg:parameter>
+ <nmwg:parameter name="dataSource">bytes</nmwg:parameter>
+ <nmwg:parameter name="valueUnits">Bps</nmwg:parameter>
+
+ <!-- those below are optional parameters describing rrd
file-->
+ <nmwg:parameter name="dataSourceStep">300</nmwg:parameter>
+ <nmwg:parameter
name="dataSourceType">ABSOLUTE</nmwg:parameter>
+ <nmwg:parameter
name="dataSourceHeartbeat">400</nmwg:parameter>
+ <nmwg:parameter name="dataSourceMinValue">0</nmwg:parameter>
+ <nmwg:parameter
name="dataSourceMaxValue">10000000</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:key>
+ </nmwg:data>
+
+
</nmwg:store>
\ No newline at end of file
- perfsonar: r2595 - branches/new-structure/trunk/geant2_java-rrd-ma/conf, svnlog, 08/07/2007
Archive powered by MHonArc 2.6.16.