Cisco Unified SIP Proxy -- XML Schema Information

From DocWiki

(Difference between revisions)
Jump to: navigation, search
(New page: {{Template:Required Metadata}} '''Return to the main Cisco Unified SIP Proxy DocWiki page:''' Cisco Unified SIP Proxy This page contains the XML schema information used with Cisco Un...)
Line 2: Line 2:
'''Return to the main Cisco Unified SIP Proxy DocWiki page:'''  [[Cisco Unified SIP Proxy]]
'''Return to the main Cisco Unified SIP Proxy DocWiki page:'''  [[Cisco Unified SIP Proxy]]
-
This page contains the XML schema information used with Cisco Unified SIP Proxy Release 8.5 only.
+
 
 +
'''NOTE:  This page contains the XML schema information used with Cisco Unified SIP Proxy Release 8.5 only.'''
 +
 
 +
 
 +
 
 +
The XSD file is text based and therefore be opened by any text editor.  CUSP Route Table file XML Schema (xsd) information.  One thing that we changed starting with the 8.5 release is the file format of route table files that can be imported into CUSP. 
 +
 
 +
 
 +
<xs:schema targetNamespace="http://www.cisco.com/cusp/RouteTable"
 +
          xmlns:xs="http://www.w3.org/2001/XMLSchema"
 +
          xmlns="http://www.cisco.com/cusp/RouteTable"
 +
          elementFormDefault="qualified"
 +
          xml:lang="en">
 +
 
 +
    <xs:element name="routes">
 +
        <xs:complexType>
 +
            <xs:sequence>
 +
                <xs:element name="route" type="RouteType"
 +
                            minOccurs="1" maxOccurs="unbounded"/>
 +
            </xs:sequence>
 +
        </xs:complexType>
 +
    </xs:element>
 +
 
 +
    <xs:complexType name="RouteType">
 +
        <xs:sequence>
 +
            <xs:element name="key" type="KeyType"/>
 +
            <xs:choice>
 +
                <xs:sequence>
 +
                    <xs:choice>
 +
                        <xs:sequence>
 +
                            <xs:element name="target-destination" type="TargetDestinationType"/>
 +
                            <xs:element name="route-uri" type="RouteUriType" minOccurs="0" maxOccurs="1"/>
 +
                        </xs:sequence>
 +
                        <xs:sequence>
 +
                            <xs:element name="route-uri" type="RouteUriType"/>
 +
                        </xs:sequence>
 +
                    </xs:choice>
 +
                    <xs:element name="network" type="NetworkType"/>
 +
                </xs:sequence>
 +
                <xs:element name="route-group" type="RouteGroupType"/>
 +
                <xs:element name="response" type="ResponseType"/>
 +
                <xs:element name="policy" type="PolicyType"/>
 +
                <xs:sequence>
 +
                    <xs:element name="default" type="xs:boolean"/>
 +
                    <xs:element name="network" type="NetworkType"/>
 +
                </xs:sequence>
 +
            </xs:choice>
 +
        </xs:sequence>
 +
    </xs:complexType>
 +
 
 +
    <xs:simpleType name="KeyType">
 +
        <xs:restriction base="xs:string">
 +
            <xs:pattern value=".+"/>
 +
        </xs:restriction>
 +
    </xs:simpleType>
 +
 
 +
    <xs:complexType name="TargetDestinationType">
 +
        <xs:sequence>
 +
            <xs:element name="host" type="HostType"/>
 +
            <xs:element name="port" type="PortType" minOccurs="0" maxOccurs="1"/>
 +
            <xs:element name="transport" type="TransportType" minOccurs="0" maxOccurs="1"/>
 +
        </xs:sequence>
 +
    </xs:complexType>
 +
 
 +
    <xs:simpleType name="RouteUriType">
 +
        <xs:restriction base="xs:string">
 +
            <xs:pattern value=".+"/>
 +
        </xs:restriction>
 +
    </xs:simpleType>
 +
 
 +
    <xs:simpleType name="NetworkType">
 +
        <xs:restriction base="xs:string">
 +
            <xs:pattern value=".+"/>
 +
        </xs:restriction>
 +
    </xs:simpleType>
 +
 
 +
    <xs:simpleType name="RouteGroupType">
 +
        <xs:restriction base="xs:string">
 +
            <xs:pattern value="[\-a-zA-Z0-9_\.]+"/>
 +
        </xs:restriction>
 +
    </xs:simpleType>
 +
 
 +
    <xs:simpleType name="ResponseType">
 +
        <xs:restriction base="xs:positiveInteger">
 +
            <xs:minInclusive value="400"/>
 +
            <xs:maxInclusive value="599"/>
 +
        </xs:restriction>
 +
    </xs:simpleType>
 +
 
 +
    <xs:simpleType name="PolicyType">
 +
        <xs:restriction base="xs:string">
 +
            <xs:pattern value="[\-a-zA-Z0-9_\.]+"/>
 +
        </xs:restriction>
 +
    </xs:simpleType>
 +
 
 +
    <xs:simpleType name="HostType">
 +
        <xs:restriction base="xs:string">
 +
            <xs:pattern value="[A-Za-z0-9_\.\-\+]+"/>
 +
        </xs:restriction>
 +
    </xs:simpleType>
 +
 
 +
    <xs:simpleType name="PortType">
 +
        <xs:restriction base="xs:positiveInteger">
 +
            <xs:minInclusive value="1024"/>
 +
            <xs:maxInclusive value="65535"/>
 +
        </xs:restriction>
 +
    </xs:simpleType>
 +
 
 +
    <xs:simpleType name="TransportType">
 +
        <xs:restriction base="xs:string">
 +
            <xs:enumeration value="udp"/>
 +
            <xs:enumeration value="tcp"/>
 +
            <xs:enumeration value="tls"/>
 +
        </xs:restriction>
 +
    </xs:simpleType>
 +
 
 +
</xs:schema>

Revision as of 22:49, 16 November 2010

Return to the main Cisco Unified SIP Proxy DocWiki page: Cisco Unified SIP Proxy


NOTE: This page contains the XML schema information used with Cisco Unified SIP Proxy Release 8.5 only.


The XSD file is text based and therefore be opened by any text editor. CUSP Route Table file XML Schema (xsd) information. One thing that we changed starting with the 8.5 release is the file format of route table files that can be imported into CUSP.


<xs:schema targetNamespace="http://www.cisco.com/cusp/RouteTable"

          xmlns:xs="http://www.w3.org/2001/XMLSchema"
          xmlns="http://www.cisco.com/cusp/RouteTable"
          elementFormDefault="qualified"
          xml:lang="en">
   <xs:element name="routes">
       <xs:complexType>
           <xs:sequence>
               <xs:element name="route" type="RouteType"
                           minOccurs="1" maxOccurs="unbounded"/>
           </xs:sequence>
       </xs:complexType>
   </xs:element>
   <xs:complexType name="RouteType">
       <xs:sequence>
           <xs:element name="key" type="KeyType"/>
           <xs:choice>
               <xs:sequence>
                   <xs:choice>
                       <xs:sequence>
                           <xs:element name="target-destination" type="TargetDestinationType"/>
                           <xs:element name="route-uri" type="RouteUriType" minOccurs="0" maxOccurs="1"/>
                       </xs:sequence>
                       <xs:sequence>
                           <xs:element name="route-uri" type="RouteUriType"/>
                       </xs:sequence>
                   </xs:choice>
                   <xs:element name="network" type="NetworkType"/>
               </xs:sequence>
               <xs:element name="route-group" type="RouteGroupType"/>
               <xs:element name="response" type="ResponseType"/>
               <xs:element name="policy" type="PolicyType"/>
               <xs:sequence>
                   <xs:element name="default" type="xs:boolean"/>
                   <xs:element name="network" type="NetworkType"/>
               </xs:sequence>
           </xs:choice>
       </xs:sequence>
   </xs:complexType>
   <xs:simpleType name="KeyType">
       <xs:restriction base="xs:string">
           <xs:pattern value=".+"/>
       </xs:restriction>
   </xs:simpleType>
   <xs:complexType name="TargetDestinationType">
       <xs:sequence>
           <xs:element name="host" type="HostType"/>
           <xs:element name="port" type="PortType" minOccurs="0" maxOccurs="1"/>
           <xs:element name="transport" type="TransportType" minOccurs="0" maxOccurs="1"/>
       </xs:sequence>
   </xs:complexType>
   <xs:simpleType name="RouteUriType">
       <xs:restriction base="xs:string">
           <xs:pattern value=".+"/>
       </xs:restriction>
   </xs:simpleType>
   <xs:simpleType name="NetworkType">
       <xs:restriction base="xs:string">
           <xs:pattern value=".+"/>
       </xs:restriction>
   </xs:simpleType>
   <xs:simpleType name="RouteGroupType">
       <xs:restriction base="xs:string">
           <xs:pattern value="[\-a-zA-Z0-9_\.]+"/>
       </xs:restriction>
   </xs:simpleType>
   <xs:simpleType name="ResponseType">
       <xs:restriction base="xs:positiveInteger">
           <xs:minInclusive value="400"/>
           <xs:maxInclusive value="599"/>
       </xs:restriction>
   </xs:simpleType>
   <xs:simpleType name="PolicyType">
       <xs:restriction base="xs:string">
           <xs:pattern value="[\-a-zA-Z0-9_\.]+"/>
       </xs:restriction>
   </xs:simpleType>
   <xs:simpleType name="HostType">
       <xs:restriction base="xs:string">
           <xs:pattern value="[A-Za-z0-9_\.\-\+]+"/>
       </xs:restriction>
   </xs:simpleType>
   <xs:simpleType name="PortType">
       <xs:restriction base="xs:positiveInteger">
           <xs:minInclusive value="1024"/>
           <xs:maxInclusive value="65535"/>
       </xs:restriction>
   </xs:simpleType>
   <xs:simpleType name="TransportType">
       <xs:restriction base="xs:string">
           <xs:enumeration value="udp"/>
           <xs:enumeration value="tcp"/>
           <xs:enumeration value="tls"/>
       </xs:restriction>
   </xs:simpleType>

</xs:schema>

Rating: 0.0/5 (0 votes cast)

Personal tools