# This document provides a schema for representing a request # for network measurement data. It is based on the draft # document Requirements for a measurment request default namespace = "http://www.ggf.org/namespaces/2004/08/gridNetworkMonitoring" include "nm_subject.rnc" include "nm_params.rnc" include "nm_tool.rnc" include "nm_timeinfo.rnc" include "nm_statistic.rnc" include "nm_extend.rnc" start = element networkMeasurementRequest { NetworkMeasurementRequest } NetworkMeasurementRequest = element request { Request }+, attribute version { token }? Request = ## The requested characteristic element characteristic { token }, ## The subject of the measurement(s) to be returned element subject { ( element node { Node } | element path { Path } ), Report}, ## The methodology to employ element methodology { Methodology }?, ## A request for statistics to be returned element statistics { Statistics }?, ## The maximum number of measurements to be returned # Enumerations break wsdl2spy #attribute maxResults { token "unbounded" | xsd:positiveInteger }?, attribute maxResults { token | xsd:positiveInteger }?, ## If false, new measurements should not be made to satisfy this request attribute allowNewMeasurements { xsd:boolean }?, ## If true, everything that can be reported, should be, otherwise individual report attributes are used attribute reportEverything { xsd:boolean }? Methodology = ## The endpoint to which the parameters apply FIXME: does this work? element endpoint { Endpoint }, ## The measurement(s) should have been made using this tool, if this element is present element tool { Tool }?, ## The measurement(s) must have been made in this time period element when { TimeInformation }, ## Tool parameters element parameterSet { ParameterSet }* #Enumerations break wsdl2spy #Endpoint = token "source" | token "destination" | token "all" | token "none" Endpoint = token # This is a global declaration as "required" will be used all over the place Required = attribute required { xsd:boolean }? # This is a global declaration as "report" will be used all over the place Report = attribute report { xsd:boolean}?