|
<?xml version="1.0"?>
|
|
|
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
targetNamespace="http://www.named-data.net" xmlns:nfd="http://www.named-data.net"
|
|
elementFormDefault="qualified">
|
|
|
|
<xs:simpleType name="nInterestsType">
|
|
<xs:restriction base="xs:nonNegativeInteger"/>
|
|
</xs:simpleType>
|
|
|
|
<xs:simpleType name="nDatasType">
|
|
<xs:restriction base="xs:nonNegativeInteger"/>
|
|
</xs:simpleType>
|
|
|
|
<xs:complexType name="incomingPacketsType" >
|
|
<xs:sequence>
|
|
<xs:element name="nInterests" type="nfd:nInterestsType"/>
|
|
<xs:element name="nDatas" type="nfd:nDatasType"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="outgoingPacketsType">
|
|
<xs:sequence>
|
|
<xs:element name="nInterests" type="nfd:nInterestsType"/>
|
|
<xs:element name="nDatas" type="nfd:nDatasType"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="packetCountersType">
|
|
<xs:sequence>
|
|
<xs:element name="incomingPackets" type="nfd:incomingPacketsType"/>
|
|
<xs:element name="outgoingPackets" type="nfd:outgoingPacketsType"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="generalStatusType">
|
|
<xs:sequence>
|
|
<xs:element type="xs:string" name="version"/>
|
|
<xs:element type="xs:dateTime" name="startTime"/>
|
|
<xs:element type="xs:dateTime" name="currentTime"/>
|
|
<xs:element type="xs:duration" name="uptime"/>
|
|
<xs:element type="xs:nonNegativeInteger" name="nNameTreeEntries"/>
|
|
<xs:element type="xs:nonNegativeInteger" name="nFibEntries"/>
|
|
<xs:element type="xs:nonNegativeInteger" name="nPitEntries"/>
|
|
<xs:element type="xs:nonNegativeInteger" name="nMeasurementsEntries"/>
|
|
<xs:element type="xs:nonNegativeInteger" name="nCsEntries"/>
|
|
<xs:element type="nfd:packetCountersType" name="packetCounters"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="facesType">
|
|
<xs:sequence>
|
|
<xs:element name="face" maxOccurs="unbounded">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element type="xs:nonNegativeInteger" name="faceId"/>
|
|
<xs:element type="xs:anyURI" name="remoteUri"/>
|
|
<xs:element type="xs:anyURI" name="localUri"/>
|
|
<xs:element type="nfd:packetCountersType" name="packetCounters"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="nextHopType">
|
|
<xs:sequence>
|
|
<xs:element type="xs:nonNegativeInteger" name="faceId"/>
|
|
<xs:element type="xs:nonNegativeInteger" name="hopCost"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="fibEntryType">
|
|
<xs:sequence>
|
|
<xs:element type="xs:string" name="prefix"/>
|
|
<xs:element name="nextHops">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="nexthop" maxOccurs="unbounded"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="fibType">
|
|
<xs:sequence>
|
|
<xs:element name="fibEntry" maxOccurs="unbounded"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
<xs:element name="nfdStatus">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element type="nfd:generalStatusType" name="generalStatus"/>
|
|
<xs:element type="nfd:facesType" name="faces"/>
|
|
<xs:element type="nfd:fibType" name="fib"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
|
|
</xs:schema>
|