# Test parameters namespace local = "" default namespace tns = "http://www.ggf.org/namespaces/2004/10/gridNetworkMonitoring" grammar { ParameterSet = ## The duration of the test element duration { xsd:double, ParameterUnits, Range, ParameterAttributes }*, ## Type of packets being sent # XXX: Unfortunately, enumerations break wsdl2py!! #element packetType { ( token "TCP" | token "ICMP" | token "UDP" ), ParameterAttributes }*, element packetType { token, ParameterAttributes }*, ## Size of packets sent on network element packetSize { xsd:int, ParameterUnits, Range, ParameterAttributes }*, ## Number of packets sent on network element numPackets { xsd:int, ParameterUnits, Range, ParameterAttributes }*, ## What algorithm is used to space packets # XXX: Unfortunately, enumerations break wsdl2py!! ## element packetSpacing { ( token "poisson" | token "periodic" ), ParameterAttributes }*, element packetSpacing { token , ParameterAttributes }*, ## Time between test packets, in seconds (for periodic tests) element packetGap { xsd:double, ParameterUnits, Range, ParameterAttributes }*, ## IP version element protocolID { token, ParameterAttributes }*, ## Type of service (IP precedence) element tos { xsd:short, ParameterAttributes }*, ## Differentiated services code point element dscp { xsd:byte, ParameterAttributes }*, ## IPv6 option for QoS element flowLabel { xsd:byte, ParameterAttributes }*, ## Threshold used to distinguish between a large finite delay and loss element lossThreshold { xsd:int, ParameterUnits, Range, ParameterAttributes }*, ## Amount of test traffic element numBytes { xsd:int, ParameterUnits, Range, ParameterAttributes }*, ## Are bytes moving memory to memory or disk to disk* element includesDisk { xsd:boolean, ParameterAttributes }*, ## Size of TCP buffers used element tcpBufferSize { xsd:int, ParameterUnits, Range, ParameterAttributes }*, ## Reno, Vegas, HSTCP, ScalableTCP, etc element tcpType { token, ParameterAttributes }*, ## Number of parallel streams element numStreams { xsd:unsignedShort, Range, ParameterAttributes }*, ## The port to contact element port { xsd:int, Range, ParameterAttributes }*, ## Additional user-defined parameters element other { Extensibility }? ## Attributes that apply to all (or nearly all) parameters ParameterAttributes = ## If true, this parameter is required, otherwise it is optional Required, ## If true, the value of this parameter should be reported in the response Report, ## One of source or destination, or omitted to indicate neither, either or both. ## attribute endpoint { token "source" | token "destination" }? Endpoint ParameterUnits = ## A series of unit names and powers indicating the units of the value attribute units { token } }