Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] serviceType/serviceVersion values in LS registration

Subject: perfsonar development work

List archive

Re: [pS-dev] serviceType/serviceVersion values in LS registration


Chronological Thread 
  • From: Nina Jeliazkova <>
  • To: "Jeff W. Boote" <>
  • Cc: Michael Bischoff <>,
  • Subject: Re: [pS-dev] serviceType/serviceVersion values in LS registration
  • Date: Sat, 24 May 2008 07:32:51 +0300

Jeff,

Suppose the list of services for particular network element is retrieved.  These can be very different services, which have to be queried with different xml messages.
How the client will know that one service is "hades" and have to be queried for pair of IP adresses, and the other is TelnetSSH ?

The service version, introduced in newer LS versions help, and still how do we interpret servicetype="ma" and service version="3.0" ? Should it be uniquely recognized as RRD MA from perfsonar 3.0 distribution? What about flowSA MA ?  Is the expected meaning of serviceName  defined?

I guess event types might be the answer - but this needs to be bootstrapped somehow. Can lookup service metadata query be used for any type of service and return information in a more or less similar way?  Currently, the result of a LS query is returned as *AnyElement*

XQueryResults =
        element psservice:datum { AnyElement* }
        
AnyElement =
  element * {
    (attribute * { text }
     | text
     | AnyElement)*
  }  
Provided, that the client should parse the XQuery results in order to get the eventtypes, it should expect a well defined syntax. Do we have such syntax that is valid for all type of services that (at least) exist currently? For PIONIER RRD MA it contains nmwgt:interface elements. Is it assumed this is the case for all services?

<nmwg:metadata xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/" id="meta36">
        <netutil:subject xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/" id="subj36">
            <nmwgt:interface xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
                <nmwgt:hostName>poznan-gw1.rtr.pionier.gov.pl</nmwgt:hostName>
                <nmwgt:ifName>xe-5/1/0.128</nmwgt:ifName>
                <nmwgt:ifDescription>Szczecin at poznan-gw1 10GE</nmwgt:ifDescription>
                <nmwgt:ifAddress type="ipv4">212.191.224.170</nmwgt:ifAddress>
                <nmwgt:direction>out</nmwgt:direction>
                <nmwgt:authRealm>PIONIER-Public</nmwgt:authRealm>
                <nmwgt:capacity>1000000000</nmwgt:capacity>
            </nmwgt:interface>
        </netutil:subject>
        <nmwg:eventType>http://ggf.org/ns/nmwg/characteristic/utilization/2.0</nmwg:eventType>
    </nmwg:metadata>

This is definitely not the first time I am bringing the question how a generic client (working with any type of services) could bootstrap itself.

Speaking about LS metadata queries, is there any particular reason that metadata query for RRD MA returns only list of metadata elements, but not metadata/data pairs? This is the current behaviour of PINIER RRD MA service from perfsonar 3.0 distribution http://ls.perfsonar.pionier.net.pl:8080/xml-ls/services/LookupService

The schema seems to specify metadata/data pairs. https://svn.internet2.edu/svn/perfsonar/trunk/geant2_java-xml-ls/doc/schema/rnc/LSQueryResponse.rnc

Best regards,
Nina


Jeff W. Boote wrote:
The query we were expecting was:

What services (no matter the type) have data related to the following network topology elements?

jeff

On May 23, 2008, at 3:07 PM, Michael Bischoff wrote:

I'm not sure if its a valid use-case to figure out what kind of services a LS contains unless
the LS is also bound to a Location/area. (so something along the lines of which (h)Ls-es are
there along the path -> what tools(->read services) do I have avail to test this route?

But to be honest for the near future I expect users to look for services by organisation
(like what perfSONAR services are there available at Belnet) (perhaps summarization in the
gLS/dLS context should look at sending info on that too)


That 'can' be? Or that currently exist in any given LS?


Since new services can be created by anyone at any time, all possible
values can never be given.

jeff

On May 23, 2008, at 11:59 AM, Nina Jeliazkova wrote:


All,


Is it possible to list all possible serviceType values, that can be
registered in a Lookup service? e.g. for RRD-MA, SQL-MA, Hades, BWCTL, Telnet SSH, etc.?


I am looking for a way to establish a correspondence between the
information currently  stored in MA.conf and one retrieved from a Lookup service.

Best regards,
Nina










Archive powered by MHonArc 2.6.16.

Top of Page