######################################################################## An XML schema for requesting measurements ================================================================================ Abstract ================================================================================ General model information ================================================================================ Namespaces: -------------------------------------------------------------------------------- Unless otherwise indicated with a prefix such as "xsi:", all elements and types referenced in this document are in the blahblahblah namespace. Indication of types: -------------------------------------------------------------------------------- To indicate the type of an element, the {xsi:type} attribute may be used[XSD]. In the case of elements which must have a type derived from a type specified in this document, the type of that element MUST be specified with an {xsd:type} attribute. Model ================================================================================ This document describes the contents of an XML element used to represent a request for a network measurement, either in the past or in the furture. The element MUST be called {NetworkMeasurementRequest}[1] The element MUST contain the following named sub elements: * 1 {subject} element * 1 {time} element * 1 or more {characteristic} elements * 0 or 1{ methodology} elements * 0 or 1 {statistics} elements[2a] Element subject -------------------------------------------------------------------------------- The {subject} element describes the subject of the measurement, that is, the hosts and routers involved. The {subject} element MUST have a type that is derived from NetworkEntityType. The following derived types have been defined: NetworkPathType This describes the hosts that forms the endpoints of a path. It consists of two elements, {source} and {destination}, each of which MUST have a type that is derived from NetworkEntityType. NodeType This describes a single host that has an address of some sort, and optionally a name and a tool[3]. The element MUST contain an {address} element of type NetworkAddressType or a derived type, and MAY contain a {name} element of type xs:string. NamedNodeType This describes a single host that is identified by a name only. It MUST contain a single element called {name} of type xs:string that contains the name of the host. The following types derived from NetworkEntityType have been defined: IPAddressType This describes an IP address. It MUST contain an element called {IP} of type xs:string that contains the IP address of the node. It MAY contain a {port} element[3] indicating the port the tool should (have) connect(ed) to. The element MAY also have an attribute called {version} of type xs:token that indiciates the protocol version. If ommitted, the version is assumed to be IPv4[4] DNSAddressType This describes a DNS address. It MUST contain an element called {name} of type xs:string that contains the DNS address of the node. It MAY contain a {port} element[3] indicating the port should (have) connect(ed) to. Element {time} -------------------------------------------------------------------------------- The {time} element has type TimeInformationType. It describes the time of interest for this request. The time may either be a range of times or a single time and a tolerance. If the request is specifying a future measurement over a range of times, the it can also specify the interval between measurements. In the following section, the time represented by the string value "now" is assumed to be the current time at all times. A service may convert it to a real time for whatever reasons, but it should do so as late as possible. For example: a client sends a request for measurements between A and "now" at time B, where A