# Test parameters namespace local = "" default namespace tns = "http://www.ggf.org/namespaces/2004/01/gridNetworkMonitoring" grammar { ParameterSet = ## The duration of the test element duration { xsd:double, attribute units { token }, 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, attribute units { token }, ParameterAttributes }*, ## Number of packets sent on network element numPackets { xsd:int, attribute units { token }, ParameterAttributes }*, ## What algorithm is used to space packets element packetSpacing { ( token "poisson" | token "periodic" ), ParameterAttributes }*, ## Time between test packets, in seconds (for periodic tests) element packetGap { xsd:double, attribute units { token }, 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, attribute units { token }, ParameterAttributes }*, ## Amount of test traffic element numBytes { xsd:int, attribute units { token }, 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, attribute units { token }, ParameterAttributes }*, ## Reno, Vegas, HSTCP, ScalableTCP, etc element tcpType { token, ParameterAttributes }*, ## Number of parallel streams element numStreams { xsd:unsignedShort, ParameterAttributes }*, ## Additional user-defined parameters element other { Extensibility, ParameterAttributes } ## 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 attribute report { xsd:boolean}?, ## If "min", the parameter should be at least the given value; if "max", the parameter should be at most the given value; if "exact", the parameter should be exactly this value. # XXX: Unfortunately, enumerations break wsdl2py!! #attribute range { token "min" | token "max" | token "exact" }? attribute range { token }? }