<?xml version="1.0" encoding="UTF-8"?>
<!-- Note that integer type attributes can be 'unset' by setting
     the value to '-1'. -->
<soapenv:Envelope
  xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
  xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:ns0="http://www.cisco.com/cim-cx/2.0"
  xmlns:ns1="urn:CIM">
  <soapenv:Header>
    <ns0:message id="87855" timestamp="2002-12-13T14:55:38.885Z" 
                sessiontoken="D3424978C6D5298864C6022302C51142"/>
  </soapenv:Header>
  <soapenv:Body> 
    <ns1:createInstance>
      <objectPath xsi:type="ns1:CIMObjectPath"> 
        <className xsi:type="xsd:string">ServiceDefinition</className>
        <properties xsi:type="ns1:CIMPropertyList" 
                   soapenc:arrayType="ns1:CIMProperty[]">  
          <item xsi:type="ns1:CIMProperty">  
            <name xsi:type="xsd:string">Name</name>
            <value xsi:type="xsd:string">QOSPolicy-new8</value> 
          </item>
          <item xsi:type="ns1:CIMProperty">  
            <name xsi:type="xsd:string">Type</name>
            <value xsi:type="xsd:string">QoS</value> 
          </item>
          <item xsi:type="ns1:CIMProperty">
            <name xsi:type="xsd:string">Organization</name>
            <value xsi:type="xsd:string">NbiCustomer</value>
          </item>
          <!--<item xsi:type="ns1:CIMProperty">
            <name xsi:type="xsd:string">Provider</name>
            <value xsi:type="xsd:string">1</value>
          </item> -->
          <item xsi:type="ns1:CIMProperty">  
            <name xsi:type="xsd:string">Remarks</name>
            <value xsi:type="xsd:string">data remarks</value> 
          </item>
        </properties>
        <objectPath xsi:type="ns1:CIMObjectPath"> 
          <className xsi:type="xsd:string">ServiceDefinitionDetails</className>  
          <properties xsi:type="ns1:CIMPropertyList" 
                       soapenc:arrayType="ns1:CIMProperty[]"> 
            <item xsi:type="ns1:CIMProperty">   
              <name xsi:type="xsd:string">MplsSupport</name>
              <value xsi:type="xsd:string">TRUE</value>
            </item>
			<!-- give IPQOS for ipQosPolicy and METROQOS for EthernetQosPolicy -->
            <item xsi:type="ns1:CIMProperty">
              <name xsi:type="xsd:string">QoSType</name>
              <value xsi:type="xsd:string">IPQOS</value>
            </item>
            <item xsi:type="ns1:CIMProperty">   
              <name xsi:type="xsd:string">ProviderReRateLimitSupport</name>
              <value xsi:type="xsd:string">FALSE</value>
            </item>
          </properties>
          <objectPath xsi:type="ns1:CIMObjectPath">
            <className xsi:type="xsd:string">ServiceClass</className>
            <properties xsi:type="ns1:CIMPropertyList" 
                       soapenc:arrayType="ns1:CIMProperty[]"> 
              <item xsi:type="ns1:CIMProperty">   
                <name xsi:type="xsd:string">Name</name>
                <value xsi:type="xsd:string">Service1A</value>
              </item>
              <item xsi:type="ns1:CIMProperty">   
                <name xsi:type="xsd:string">Type</name>
                <value xsi:type="xsd:string">DATA</value>
              </item>
              <item xsi:type="ns1:CIMProperty">
                <name xsi:type="xsd:string">ConformAction</name>
                <value xsi:type="xsd:string">transmit</value>
                <qualifier xsi:type="ns1:CIMQualifier">
                  <name xsi:type="xsd:string">value</name>
                  <value xsi:type="xsd:string"></value>
                </qualifier>
              </item>
              <item xsi:type="ns1:CIMProperty">
                <name xsi:type="xsd:string">ExceedAction</name>
                <value xsi:type="xsd:string">drop</value>
                <qualifier xsi:type="ns1:CIMQualifier">
                  <name xsi:type="xsd:string">value</name>
                  <value xsi:type="xsd:string"></value>
                </qualifier>
              </item>
              <item xsi:type="ns1:CIMProperty">
                <name xsi:type="xsd:string">ViolateAction</name>
                <value xsi:type="xsd:string">set-prec-transmit</value>
                <qualifier xsi:type="ns1:CIMQualifier">
                  <name xsi:type="xsd:string">value</name>
                  <value xsi:type="xsd:string">3</value>
                </qualifier>
              </item>
			  <item xsi:type="ns1:CIMProperty">
                <name xsi:type="xsd:string">ConformAction2</name>
                <value xsi:type="xsd:string">set-mpls-exp-transmit</value>
                <qualifier xsi:type="ns1:CIMQualifier">
                  <name xsi:type="xsd:string">value</name>
                  <value xsi:type="xsd:string">1</value>
                </qualifier>
              </item>
              <item xsi:type="ns1:CIMProperty">
                <name xsi:type="xsd:string">ExceedAction2</name>
                <value xsi:type="xsd:string">set-mpls-exp-imposition-transmit</value>
                <qualifier xsi:type="ns1:CIMQualifier">
                  <name xsi:type="xsd:string">value</name>
                  <value xsi:type="xsd:string">2</value>
                </qualifier>
              </item>
              <item xsi:type="ns1:CIMProperty">
                <name xsi:type="xsd:string">ViolateAction2</name>
                <value xsi:type="xsd:string">set-mpls-exp-topmost-transmit</value>
                <qualifier xsi:type="ns1:CIMQualifier">
                  <name xsi:type="xsd:string">value</name>
                  <value xsi:type="xsd:string">4</value>
                </qualifier>
              </item>
              <item xsi:type="ns1:CIMProperty">   
                <name xsi:type="xsd:string">MarkingEnabled</name>
                <value xsi:type="xsd:string">TRUE</value>
              </item>
              <item xsi:type="ns1:CIMProperty">   
                <name xsi:type="xsd:string">DSCP</name>
                <value xsi:type="xsd:string">ef</value>
              </item>
              <item xsi:type="ns1:CIMProperty">   
                <name xsi:type="xsd:string">ShapingEnabled</name>
                <value xsi:type="xsd:string">TRUE</value>
              </item>
              <item xsi:type="ns1:CIMProperty">   
                <name xsi:type="xsd:string">AverageOrPeak</name>
                <value xsi:type="xsd:string">AVERAGE</value>
              </item>
              <item xsi:type="ns1:CIMProperty">   
                <name xsi:type="xsd:string">BpsShapingRate</name>
                <value xsi:type="xsd:string">100000000</value>
              </item>
              <item xsi:type="ns1:CIMProperty">   
                <name xsi:type="xsd:string">RateLimitingEnabled</name>
                <value xsi:type="xsd:string">TRUE</value>
              </item>
              <item xsi:type="ns1:CIMProperty">   
                <name xsi:type="xsd:string">BpsCommittedInfoRate</name>
                <value xsi:type="xsd:string">120000000</value>
              </item>
              <item xsi:type="ns1:CIMProperty">   
                <name xsi:type="xsd:string">BpsPeakInfoRate</name>
                <value xsi:type="xsd:string">200000000</value>
              </item>
              <item xsi:type="ns1:CIMProperty">   
                <name xsi:type="xsd:string">ConformBurstBytes</name>
                <value xsi:type="xsd:string">20000</value>
              </item>
              <item xsi:type="ns1:CIMProperty">   
                <name xsi:type="xsd:string">CongestionMgmtEnabled</name>
                <value xsi:type="xsd:string">TRUE</value>
              </item>
              <item xsi:type="ns1:CIMProperty">   
                <name xsi:type="xsd:string">BandwidthPercent</name>
                <value xsi:type="xsd:string">15</value>
              </item>
              <item xsi:type="ns1:CIMProperty">   
                <name xsi:type="xsd:string">QueueLimitPkts</name>
                <value xsi:type="xsd:string">500</value>
              </item>
              <item xsi:type="ns1:CIMProperty">   
                <name xsi:type="xsd:string">CongestionAvoidanceEnabled</name>
                <value xsi:type="xsd:string">TRUE</value>
              </item>
              <item xsi:type="ns1:CIMProperty">   
                <name xsi:type="xsd:string">AvoidanceBasedOn</name>
                <value xsi:type="xsd:string">IP_PRECEDENCE</value>
              </item>
              <item xsi:type="ns1:CIMProperty">   
                <name xsi:type="xsd:string">WredExpWeightConst</name>
                <value xsi:type="xsd:string">5</value>
              </item>
            </properties>
			<!-- Protocol name 'ip' should be given for IPPrecedence and DSCP, also
				 proper PortType should be given wherever required -->
			<!-- For IP All Trafic: create TC with ProtocolName as "ip_any"     and
				 for Mac All Traffic:  Create TC with ProtocolName as "mac_any"  -->
            <objectPath xsi:type="ns1:CIMObjectPath">
              <className xsi:type="xsd:string">TrafficClassification</className>
              <properties xsi:type="ns1:CIMPropertyList" 
                         soapenc:arrayType="ns1:CIMProperty[]"> 
                <item xsi:type="ns1:CIMProperty">   
                  <name xsi:type="xsd:string">ProtocolName</name>
                  <value xsi:type="xsd:string">rip</value>
                </item>
                <item xsi:type="ns1:CIMProperty">   
                  <name xsi:type="xsd:string">PortType</name>
                  <value xsi:type="xsd:string">N/A</value>
                </item>
                <item xsi:type="ns1:CIMProperty">   
                  <name xsi:type="xsd:string">PortNumber</name>
                  <value xsi:type="xsd:string">8080</value>
                </item>
                <item xsi:type="ns1:CIMProperty">   
                  <name xsi:type="xsd:string">PortBasedDstEnabled</name>
                  <value xsi:type="xsd:string">TRUE</value>
                </item>
              </properties>
            </objectPath>
            <objectPath xsi:type="ns1:CIMObjectPath">
              <className xsi:type="xsd:string">TrafficClassification</className>
              <properties xsi:type="ns1:CIMPropertyList" 
                   soapenc:arrayType="ns1:CIMProperty[]"> 
                <item xsi:type="ns1:CIMProperty">   
                  <name xsi:type="xsd:string">ProtocolName</name>
                  <value xsi:type="xsd:string">eigrp</value>
                </item>
                <item xsi:type="ns1:CIMProperty">   
                  <name xsi:type="xsd:string">PortNumber</name>
                  <value xsi:type="xsd:string">9080</value>
                </item>
                <item xsi:type="ns1:CIMProperty">   
                  <name xsi:type="xsd:string">PortType</name>
                  <value xsi:type="xsd:string">N/A</value>
                </item>
                <item xsi:type="ns1:CIMProperty">   
                  <name xsi:type="xsd:string">PortBasedDstEnabled</name>
                  <value xsi:type="xsd:string">FALSE</value>
                </item>
              </properties>
            </objectPath>
            <objectPath xsi:type="ns1:CIMObjectPath">
              <className xsi:type="xsd:string">Avoidance</className>
              <properties xsi:type="ns1:CIMPropertyList" 
                           soapenc:arrayType="ns1:CIMProperty[]"> 
                <item xsi:type="ns1:CIMProperty">   
                  <name xsi:type="xsd:string">IPPrecedence</name>
                  <value xsi:type="xsd:string">3</value>
                </item>
                <item xsi:type="ns1:CIMProperty">   
                  <name xsi:type="xsd:string">WredMinTh</name>
                  <value xsi:type="xsd:string">2000</value>
                </item>
                <item xsi:type="ns1:CIMProperty">   
                  <name xsi:type="xsd:string">WredMMaxTh</name>
                  <value xsi:type="xsd:string">3000</value>
                </item>
                <item xsi:type="ns1:CIMProperty">   
                  <name xsi:type="xsd:string">WredMarkProb</name>
                  <value xsi:type="xsd:string">60000</value>
                </item>
              </properties>
            </objectPath>
            <objectPath xsi:type="ns1:CIMObjectPath">
              <className xsi:type="xsd:string">Avoidance</className>
              <properties xsi:type="ns1:CIMPropertyList" 
                         soapenc:arrayType="ns1:CIMProperty[]"> 
                <item xsi:type="ns1:CIMProperty">   
                  <name xsi:type="xsd:string">IPPrecedence</name>
                  <value xsi:type="xsd:string">5</value>
                </item>
                <item xsi:type="ns1:CIMProperty">   
                  <name xsi:type="xsd:string">WredMinTh</name>
                  <value xsi:type="xsd:string">1000</value>
                </item>
                <item xsi:type="ns1:CIMProperty">   
                  <name xsi:type="xsd:string">WredMMaxTh</name>
                  <value xsi:type="xsd:string">2500</value>
                </item>
                <item xsi:type="ns1:CIMProperty">   
                  <name xsi:type="xsd:string">WredMarkProb</name>
                  <value xsi:type="xsd:string">50000</value>
                </item>
              </properties>
            </objectPath>
          </objectPath>
          <objectPath xsi:type="ns1:CIMObjectPath">
            <className xsi:type="xsd:string">ServiceClass</className>
            <properties xsi:type="ns1:CIMPropertyList" 
                           soapenc:arrayType="ns1:CIMProperty[]"> 
              <item xsi:type="ns1:CIMProperty">   
                <name xsi:type="xsd:string">Name</name>
                <value xsi:type="xsd:string">Service1B</value>
              </item>
              <item xsi:type="ns1:CIMProperty">   
                <name xsi:type="xsd:string">Type</name>
                <value xsi:type="xsd:string">MANAGEMENT</value>
              </item>
              <item xsi:type="ns1:CIMProperty">   
                <name xsi:type="xsd:string">MarkingEnabled</name>
                <value xsi:type="xsd:string">TRUE</value>
              </item>
              <item xsi:type="ns1:CIMProperty">   
                <name xsi:type="xsd:string">DSCP</name>
                <value xsi:type="xsd:string">af41</value>
              </item>
              <item xsi:type="ns1:CIMProperty">   
                <name xsi:type="xsd:string">ShapingEnabled</name>
                <value xsi:type="xsd:string">TRUE</value>
              </item>
              <item xsi:type="ns1:CIMProperty">   
                <name xsi:type="xsd:string">AverageOrPeak</name>
                <value xsi:type="xsd:string">PEAK</value>
              </item>
              <item xsi:type="ns1:CIMProperty">   
                <name xsi:type="xsd:string">BpsShapingRate</name>
                <value xsi:type="xsd:string">110000000</value>
              </item>
              <item xsi:type="ns1:CIMProperty">   
                <name xsi:type="xsd:string">RateLimitingEnabled</name>
                <value xsi:type="xsd:string">TRUE</value>
              </item>
              <item xsi:type="ns1:CIMProperty">   
                <name xsi:type="xsd:string">BpsCommittedInfoRate</name>
                <value xsi:type="xsd:string">130000000</value>
              </item>
              <item xsi:type="ns1:CIMProperty">   
                <name xsi:type="xsd:string">BpsPeakInfoRate</name>
                <value xsi:type="xsd:string">210000000</value>
              </item>
              <item xsi:type="ns1:CIMProperty">   
                <name xsi:type="xsd:string">ConformBurstBytes</name>
                <value xsi:type="xsd:string">21000</value>
              </item>
              <item xsi:type="ns1:CIMProperty">   
                <name xsi:type="xsd:string">CongestionMgmtEnabled</name>
                <value xsi:type="xsd:string">TRUE</value>
              </item>
              <item xsi:type="ns1:CIMProperty">   
                <name xsi:type="xsd:string">BandwidthPercent</name>
                <value xsi:type="xsd:string">16</value>
              </item>
              <item xsi:type="ns1:CIMProperty">   
                <name xsi:type="xsd:string">QueueLimitPkts</name>
                <value xsi:type="xsd:string">400</value>
              </item>
              <item xsi:type="ns1:CIMProperty">   
                <name xsi:type="xsd:string">CongestionAvoidanceEnabled</name>
                <value xsi:type="xsd:string">TRUE</value>
              </item>
              <item xsi:type="ns1:CIMProperty">   
                <name xsi:type="xsd:string">AvoidanceBasedOn</name>
                <value xsi:type="xsd:string">IP_PRECEDENCE</value>
              </item>
              <item xsi:type="ns1:CIMProperty">   
                <name xsi:type="xsd:string">WredExpWeightConst</name>
                <value xsi:type="xsd:string">6</value>
              </item>
            </properties>
			<!-- Protocol name 'ip' should be given for IPPrecedence and DSCP, also
				 proper PortType should be given wherever required -->
			<!-- For MANAGEMENT type Service Class the MgmtLanAddrMask should be given as '><' string
				 for DSCP and IPPrecedence as shown below -->
            <objectPath xsi:type="ns1:CIMObjectPath">
              <className xsi:type="xsd:string">TrafficClassification</className>
              <properties xsi:type="ns1:CIMPropertyList" 
                             soapenc:arrayType="ns1:CIMProperty[]"> 
                <item xsi:type="ns1:CIMProperty">   
                  <name xsi:type="xsd:string">DSCP</name>
                  <value xsi:type="xsd:string">af41</value>
                </item>
                <item xsi:type="ns1:CIMProperty">   
                  <name xsi:type="xsd:string">ProtocolName</name>
                  <value xsi:type="xsd:string">ip</value>
                </item>
                <item xsi:type="ns1:CIMProperty">   
                  <name xsi:type="xsd:string">MgmtLanAddrMask</name>
                  <value xsi:type="xsd:string"></value>
                </item>
              </properties>
            </objectPath>
            <objectPath xsi:type="ns1:CIMObjectPath">
              <className xsi:type="xsd:string">TrafficClassification</className>
              <properties xsi:type="ns1:CIMPropertyList" 
                           soapenc:arrayType="ns1:CIMProperty[]"> 
                <item xsi:type="ns1:CIMProperty">   
                  <name xsi:type="xsd:string">IPPrecedence</name>
                  <value xsi:type="xsd:string">6</value>
                </item>
                <item xsi:type="ns1:CIMProperty">   
                  <name xsi:type="xsd:string">ProtocolName</name>
                  <value xsi:type="xsd:string">ip</value>
                </item>
                <item xsi:type="ns1:CIMProperty">   
                  <name xsi:type="xsd:string">MgmtLanAddrMask</name>
                  <value xsi:type="xsd:string"></value>
                </item>
              </properties>
            </objectPath>
			<objectPath xsi:type="ns1:CIMObjectPath">
              <className xsi:type="xsd:string">TrafficClassification</className>
              <properties xsi:type="ns1:CIMPropertyList"
                           soapenc:arrayType="ns1:CIMProperty[]">
                <item xsi:type="ns1:CIMProperty">
                  <name xsi:type="xsd:string">MgmtLanAddrMask</name>
                  <value xsi:type="xsd:string">5.6.7.8/16</value>
                </item>
              </properties>
            </objectPath>
            <objectPath xsi:type="ns1:CIMObjectPath">
              <className xsi:type="xsd:string">Avoidance</className>
              <properties xsi:type="ns1:CIMPropertyList" 
                           soapenc:arrayType="ns1:CIMProperty[]"> 
                <item xsi:type="ns1:CIMProperty">   
                  <name xsi:type="xsd:string">IPPrecedence</name>
                  <value xsi:type="xsd:string">2</value>
                </item>
                <item xsi:type="ns1:CIMProperty">   
                  <name xsi:type="xsd:string">WredMinTh</name>
                  <value xsi:type="xsd:string">2100</value>
                </item>
                <item xsi:type="ns1:CIMProperty">   
                  <name xsi:type="xsd:string">WredMMaxTh</name>
                  <value xsi:type="xsd:string">3100</value>
                </item>
                <item xsi:type="ns1:CIMProperty">   
                  <name xsi:type="xsd:string">WredMarkProb</name>
                  <value xsi:type="xsd:string">61000</value>
                </item>
              </properties>
            </objectPath>
            <objectPath xsi:type="ns1:CIMObjectPath">
              <className xsi:type="xsd:string">Avoidance</className>
              <properties xsi:type="ns1:CIMPropertyList" 
                         soapenc:arrayType="ns1:CIMProperty[]"> 
                <item xsi:type="ns1:CIMProperty">   
                  <name xsi:type="xsd:string">IPPrecedence</name>
                  <value xsi:type="xsd:string">4</value>
                </item>
                <item xsi:type="ns1:CIMProperty">   
                  <name xsi:type="xsd:string">WredMinTh</name>
                  <value xsi:type="xsd:string">2000</value>
                </item>
                <item xsi:type="ns1:CIMProperty">   
                  <name xsi:type="xsd:string">WredMMaxTh</name>
                  <value xsi:type="xsd:string">2600</value>
                </item>
                <item xsi:type="ns1:CIMProperty">   
                  <name xsi:type="xsd:string">WredMarkProb</name>
                  <value xsi:type="xsd:string">56000</value>
                </item>
              </properties>
            </objectPath>
          </objectPath>
        </objectPath>
      </objectPath>
    </ns1:createInstance>
  </soapenv:Body>
</soapenv:Envelope>
