Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] quering GEANT2 interface router utilization!!

Subject: perfsonar development work

List archive

Re: [pS-dev] quering GEANT2 interface router utilization!!


Chronological Thread 
  • From: Roman Lapacz <>
  • To: "Asif, Mohammad" <>
  • Cc:
  • Subject: Re: [pS-dev] quering GEANT2 interface router utilization!!
  • Date: Thu, 05 Apr 2007 09:21:13 +0200

Asif, Mohammad wrote:
Hello,
Hi Asif
I am quering for the GEANT2 Interface utilization, with a query given below and I am getting response error.ma.query: eventType utilization not supported.
I have two questions:

- what is supported event type for quering geant2 interface utilization?
- Is there any way, through which I can query for the supported event types
of specific perfsonar service?

Probably this is a new version of MA so you must use http://ggf.org/ns/nmwg/characteristic/utilization/2.0 for eventType field.

example:

<nmwg:metadata id="meta1">
<netutil:subject id="iusub1">
<nmwgt:interface>
<nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
<nmwgt:direction>in</nmwgt:direction>
<nmwgt:hostName>test-hostName</nmwgt:hostName>
<nmwgt:ifName>test-0</nmwgt:ifName>
<nmwgt:authRealm>TestRealm</nmwgt:authRealm>
<nmwgt:capacity>1000BaseT</nmwgt:capacity>
</nmwgt:interface>
</netutil:subject>
<nmwg:eventType>http://ggf.org/ns/nmwg/characteristic/utilization/2.0</nmwg:eventType>
</nmwg:metadata>


Roman




Service Url:
http://stats.geant2.net/perfsonar/RRDMA-access/MeasurementArchiveService

<?xml version='1.0' encoding='UTF-8'?>
<nmwg:message id="#message1"
type="SetupDataRequest" xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/";
xmlns:topo="http://ggf.org/ns/nmwg/topology/2.0/"; xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/";> <nmwg:metadata id="#meta1">
<netutil:subject id="#netutil1">
<topo:interface>
<topo:ifAddress type="ipv4">62.40.112.133</topo:ifAddress>
</topo:interface>
</netutil:subject>
<nmwg:eventType>utlization</nmwg:eventType>
</nmwg:metadata>
<nmwg:data id="data1" metadataIdRef="#meta1"/>
</nmwg:message>

Response:
<?xml version="1.0" encoding="UTF-8"?>
<nmwg:message id="#message1_resp" messageIdRef="#message1"
type="SetupDataResponse" xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/";>
<nmwg:metadata id="resultCodeMetadata">
<nmwg:eventType>error.ma.query</nmwg:eventType>
</nmwg:metadata>
<nmwg:data id="resultDescriptionData_for_resultCodeMetadata"
metadataIdRef="resultCodeMetadata">
<nmwgr:datum
xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/";>MetadataQueryGeneratorFactory.getMetadataQueryGenerator:
eventType utlization is not supported</nmwgr:datum>
</nmwg:data>
</nmwg:message>

regards..
Mohammad Asif




Archive powered by MHonArc 2.6.16.

Top of Page