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: Loukik Kudarimoti <>, Roman Lapacz <>,
  • Subject: Re: [pS-dev] quering GEANT2 interface router utilization!!
  • Date: Thu, 05 Apr 2007 21:28:29 +0200

Asif, Mohammad wrote:
Hello Loukik, Roman

Thanks, the documents you sent helped alot. But I have another warning
"warning.ma.metadata_configuration" while quering Geant2 RRD MA.

It says that this MA does not contain such metadata you specified in the request. Am I right Loukik?

Roman


My request is
<?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:nmwgt="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">
<nmwgt:interface>
<nmwgt:ifAddress id="ifAddress"
type="ipv4">62.40.112.133</nmwgt:ifAddress>
<nmwgt:direction>in</nmwgt:direction>
</nmwgt:interface>
</netutil:subject>

<nmwg:eventType>http://ggf.org/ns/nmwg/characteristic/utilization/2.0</nmwg:eventType>
</nmwg:metadata>
<nmwg:data id="data1" metadataIdRef="#meta1"/>
</nmwg:message>

Its response is:
<?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>warning.ma.metadata_configuration</nmwg:eventType>
</nmwg:metadata>
<nmwg:data id="resultDescriptionData_for_resultCodeMetadata"
metadataIdRef="resultCodeMetadata">
<nmwgr:datum
xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/";>MetadataConfigurationStorageManager.fetch:
No metadata in the metadata configuration</nmwgr:datum>
</nmwg:data>
</nmwg:message>

asif

-----Original Message-----
From: Loukik Kudarimoti
[mailto:]
Sent: Thu 4/5/2007 2:12 AM
To: Roman Lapacz
Cc: Asif, Mohammad;

Subject: Re: [pS-dev] quering GEANT2 interface router utilization!!
Hello Asif, Maxim,

As Roman mentioned, this is the 2.0 version of MA. There are a few changes to the protocol. The complete protocol has been documented in the interface specifications document here:

http://anonsvn.internet2.edu/svn/perfsonar/tags/JAVA-RRD-MA-2.0/doc/ma/rrdTypeMA/

Loukik.


Roman Lapacz wrote:
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