EVC Provisioning
This chapter describes the provisioning support for EVC (flexible user network interface/Ethernet Virtual Circuit) provided in Cisco Prime Provisioning.
The following EVC support is available:
-
Allows the “service designers” to plan the services that are specific to the services offered through the EVC Policy. This single policy is flexible enough to cater to different service offerings using the EVC architecture.
-
Allows service designers to utilize most of the EVC features in a flexible manner, closely matching the hardware/platform flexibilities.
-
Allows operators to deploy services as per the created EVC policies by creating service requests.
Note that CE devices are not supported.
To provision EVC using Prime Provisioning APIs, you need an EVC service definition and an EVC service request. The service definition specifies the core type, policy subtype, and common device properties. The service request defines the service definition to use, VPNs, attributes for each interface in the EVC link, and template information.
This chapter describes EVC service concepts and the steps required to provision EVC services using the Prime Provisioning API. The provisioning example (see End-to-End Provisioning Process) includes all steps from creating the inventory to auditing the service deployment.
For a detailed description of supported EVC features, policy attribute definitions, GUI implementation, and other information, see the
Cisco Prime Provisioning 7.0 User Guide
.
This chapter contains the following sections:
EVC Service Definitions
A EVC service definition specifies the core type, policy subtype, and the attributes common to all EVC attachment circuits.
This section lists the supported service definitions, service orders, and policies and includes corresponding examples.
To provision EVC using Prime Provisioning API, an EVC service policy and an EVC service request are required and only one subtype will be defined and of type EVC.
The EVC service policy/service definition specifies the attributes related to the end-to-end EVC links and non-EVC links. The service request defines the device interfaces for each EVC/non-EVC link connection and can optionally override policy attributes in each of the corresponding links.
When you deploy an EVC service request using a service order, the attributes specified in the service definition are applied to the devices and interfaces listed in the service request, along with the attributes for each of the EVC/non-EVC links.
Supported Service Definitions and Service Orders
Prime Provisioning supports the following EVC features:
– EVC Service Definition/Policy
– EVC Service Order/Request
– EVC Service Definition
– EVC Service Order/Request
– EVC Service Definition/Policy
– EVC Service Order/Request
– EVC Service Definition
– EVC Service Request
The above operations are supported for policies and service requests, which are created to provision a variety of network configurations.
Template-based support is available for EVC Policy and service requests.
Policy Types
For EVC, the following policy types are supported:
-
Ethernet—Ethernet to Ethernet services can be configured using this policy type.
-
ATM-Ethernet interworking—ATM to Ethernet services can be configured using this policy type. This new policy type is depicted in two of the policy XML examples.
MPLS Core Connectivity Types
There are three MPLS core connectivity types:
-
PSEUDOWIRE—Allows connectivity between two N-PEs across the MPLS core.
This option does not limit the service to point-to-point (E-Line). This is because even with the PSEUDOWIRE option selected, multiple CEs can still be connected to a bridge domain on one or both sides of the pseudowire.
-
VPLS—Allows connectivity between multiple N-PEs across the MPLS core.
There is no limit on the number of N-PEs across the MPLS core within a service request. However, many service requests can refer to the same customer-associated VPN.
-
LOCAL—For local connect cases in which no connectivity is required across the MPLS core.
In the following, policy examples are given for each of these connectivity types.
Policy Examples
The following constitute XML policy examples for the three connectivity types that are supported across the MPLS core:
Creating a Local Connect Policy
In this partial example, an EVC policy is created using local connect. The TransportType attribute is set to LOCAL as shown below.
See the full example in the API Programmer Reference.
Example: CreateEVCServiceDefn_LOCAL.xml
<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">SubType</name> <value xsi:type="xsd:string">Evc</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AccessType</name> <value xsi:type="xsd:string">ETHERNET</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">TransportType</name> <value xsi:type="xsd:string">LOCAL</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniShutdown</name> <value xsi:type="xsd:string">true</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value>
Creating a Pseudowire Policy
In this partial example, a EVC policy is created using pseudowire. Here, the TransportType attribute is set to Pseudowire, indicated with bold text below.
See the full example in the API Programmer Reference.
Example: CreateEVCServiceDefn_PW.xml
<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">SubType</name> <value xsi:type="xsd:string">Evc</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AccessType</name> <value xsi:type="xsd:string">ETHERNET</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">TransportType</name> <value xsi:type="xsd:string">PSEUDOWIRE</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">StdUniPort</name> <value xsi:type="xsd:string">true</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniShutdown</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value>
Creating a VPLS Policy
In this partial example, a EVC policy is created using the VPLS transport type.
See the full example in the API Programmer Reference.
Example: CreateVplsEVCPolicy.xml
<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">SubType</name> <value xsi:type="xsd:string">Evc</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AccessType</name> <value xsi:type="xsd:string">ETHERNET</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">TransportType</name> <value xsi:type="xsd:string">VPLS</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniShutdown</name> <value xsi:type="xsd:string">true</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value>
Creating a Local Connect Policy with ATM/Ethernet internetworking
In this example, a EVC policy is created using local connect with ATM/Ethernet internetworking.
The ATM_ETHERNET policy attribute is highlighted with bold in this example.
Example: ATM_ETHERNET_VC-Pol-LOCAL_Create-NBI-4.xml
<?xml version="1.0" encoding="UTF-8"?> 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" <ns0:message id="87855" timestamp="2002-12-13T14:55:38.885Z" sessiontoken="p36bttjwy1"/> <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">ATM_ETHERNET_Local_VC</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Type</name> <value xsi:type="xsd:string">Evc</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Organization</name> <value xsi:type="xsd:string">Customer1</value> <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">SubType</name> <value xsi:type="xsd:string">Evc</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">TransportType</name> <value xsi:type="xsd:string">LOCAL</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AccessType</name> <!-- Access Type ATM_ETHERNET newly added for interworking --> <value xsi:type="xsd:string">ATM_ETHERNET</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">TemplateEnabled</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <!--AtmEncapsulationType newly added which can have values AAL0,AAL5,ALL5SNAP --> <name xsi:type="xsd:string">AtmEncapsulationType</name> <value xsi:type="xsd:string">AAL0</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <!--ATmTransportMode newly Added which can have values VP or VC --> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AtmTransportMode</name> <value xsi:type="xsd:string">VC</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniShutdown</name> <value xsi:type="xsd:string">true</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PortSecurity</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniProtocolTunneling</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">StdUniPort</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniKeepAlive</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniSpeed</name> <value xsi:type="xsd:string">None</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniDuplex</name> <value xsi:type="xsd:string">None</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseExistingACLName</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DirectConnect</name> <value xsi:type="xsd:string">true</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickEsiId</name> <value xsi:type="xsd:string">true</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutopickVCId</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">EnablePWRedundancy</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PwTunnelSelection</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickBDVlanId</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <!-- Service Instance Name --> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickEsiName</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AllowBothTags</name> <value xsi:type="xsd:string">true</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">InnerVlanRanges</name> <value xsi:type="xsd:string">true</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PushOuter</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PushInner</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PopOuter</name> <value xsi:type="xsd:string">true</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PopInner</name> <value xsi:type="xsd:string">true</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">TranslateInner</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">TranslateOuter</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseEVC</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseBD</name> <value xsi:type="xsd:string">true</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">EncapsulationType</name> <value xsi:type="xsd:string">DOT1QTRUNK</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">PolicyTemplate</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">RoleType</name> <value xsi:type="xsd:string">N-PE</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DatafileName</name> <value xsi:type="xsd:string">SampleData0</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DatafilePath</name> <value xsi:type="xsd:string">Audit/Set-Audit-Rule</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">TemplateAction</name> <value xsi:type="xsd:string">APPEND</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">TemplateActive</name> <value xsi:type="xsd:string">true</value>
Creating a Pseudowire Policy with ATM/Ethernet Internetworking
In this example, a EVC policy is created using pseudowire with ATM/Ethernet internetworking.
The ATM_ETHERNET policy attribute is highlighted with bold in this example.
Example: ATM_ETHERNET_VC-Pol-PW_Create-NBI-4.xml
<?xml version="1.0" encoding="UTF-8"?> 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" <ns0:message id="87855" timestamp="2002-12-13T14:55:38.885Z" sessiontoken="p36bttjwy1"/> <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">ATM_ETHERNET_PW_VC</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Type</name> <value xsi:type="xsd:string">Evc</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Organization</name> <value xsi:type="xsd:string">Customer1</value> <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">SubType</name> <value xsi:type="xsd:string">Evc</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">TransportType</name> <value xsi:type="xsd:string">PSEUDOWIRE</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AccessType</name> <!-- Access Type ATM_ETHERNET newly added for interworking --> <value xsi:type="xsd:string">ATM_ETHERNET</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">TemplateEnabled</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <!--AtmEncapsulationType newly added which can have values AAL0,AAL5,ALL5SNAP --> <name xsi:type="xsd:string">AtmEncapsulationType</name> <value xsi:type="xsd:string">AAL0</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <!--ATmTransportMode newly Added which can have values VP or VC --> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AtmTransportMode</name> <value xsi:type="xsd:string">VC</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniShutdown</name> <value xsi:type="xsd:string">true</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PortSecurity</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniProtocolTunneling</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">StdUniPort</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniKeepAlive</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniSpeed</name> <value xsi:type="xsd:string">None</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniDuplex</name> <value xsi:type="xsd:string">None</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseExistingACLName</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DirectConnect</name> <value xsi:type="xsd:string">true</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickEsiId</name> <value xsi:type="xsd:string">true</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutopickVCId</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">EnablePWRedundancy</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PwTunnelSelection</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickBDVlanId</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <!-- Service Instance Name --> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickEsiName</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AllowBothTags</name> <value xsi:type="xsd:string">true</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">InnerVlanRanges</name> <value xsi:type="xsd:string">true</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PushOuter</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PushInner</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PopOuter</name> <value xsi:type="xsd:string">true</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PopInner</name> <value xsi:type="xsd:string">true</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">TranslateInner</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">TranslateOuter</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseEVC</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseBD</name> <value xsi:type="xsd:string">true</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">EncapsulationType</name> <value xsi:type="xsd:string">DOT1QTRUNK</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">PolicyTemplate</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">RoleType</name> <value xsi:type="xsd:string">N-PE</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DatafileName</name> <value xsi:type="xsd:string">SampleData0</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DatafilePath</name> <value xsi:type="xsd:string">Audit/Set-Audit-Rule</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">TemplateAction</name> <value xsi:type="xsd:string">APPEND</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">TemplateActive</name> <value xsi:type="xsd:string">true</value>
Creating a Pseudowire Policy Setting the MTU Size
In this example, an EVC policy is created in which an attribute is set for the MTU size for a pseudowire service. The MTU attribute in this example is set to 1560. Note that the attribute editable for the MTU size is set to true.
Example: CreateEvcPolicySetMTU.xml
<?xml version="1.0" encoding="UTF-8"?> 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" <ns0:message id="87855" timestamp="2002-12-13T14:55:38.885Z" sessiontoken="36B0E5AD24D73FD91C3E34023A3ED367"/> <!-- Create Evc-pw policy: d-evc-pw --> <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">d-nbi-1</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Type</name> <value xsi:type="xsd:string">Evc</value> <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">SubType</name> <value xsi:type="xsd:string">Evc</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AccessType</name> <value xsi:type="xsd:string">ETHERNET</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">TransportType</name> <value xsi:type="xsd:string">PSEUDOWIRE</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">StaticPw</name> <value xsi:type="xsd:string">true</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">StdUniPort</name> <value xsi:type="xsd:string">true</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniShutdown</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DirectConnect</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickEsiId</name> <value xsi:type="xsd:string">true</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutopickVCId</name> <value xsi:type="xsd:string">true</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickBDVlanId</name> <value xsi:type="xsd:string">true</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AllowBothTags</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">MTU</name> <value xsi:type="xsd:string">1560</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">OuterVlanRanges</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">EnablePWRedundancy</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PwTunnelSelection</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutopickVCId</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PushOuter</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PushInner</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PopOuter</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PopInner</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">TranslateInner</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">TranslateOuter</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseEVC</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseBD</name> <value xsi:type="xsd:string">true</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">EncapsulationType</name> <value xsi:type="xsd:string">DOT1QTRUNK</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <!-- <ns1:modifyInstance> <objectPath subAction="modifyInstance" xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceDefinition</className> <keyProperties 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">d-evc-nbi-innerrangesEdit</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Type</name> <value xsi:type="xsd:string">Evc</value> <objectPath subAction="modifyInstance" 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">AllowBothTags</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">OuterVlanRanges</name> <value xsi:type="xsd:string">true</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">InnerVlanRanges</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">false</value>
Creating a Pseudowire Head-End Policy for Access into L3VPN
In the following example, a pseudowire head-end policy is created for pseudowire access into L3VPN. The significant attribute is ConfigurePseudowireHE, which in the example is set to true.
Example: CreateEvcPolicy.xml
<?xml version="1.0" encoding="UTF-8"?> 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" <ns0:message id="87855" timestamp="2002-12-13T14:55:38.885Z" sessiontoken="8F872554E9298441A0CAC4630D37523F"/> <!-- Create Evc-pw policy: d-evc-pw --> <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">d-evc-nbi-pwhe</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Type</name> <value xsi:type="xsd:string">Evc</value> <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">SubType</name> <value xsi:type="xsd:string">Evc</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AccessType</name> <value xsi:type="xsd:string">ETHERNET</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">TransportType</name> <value xsi:type="xsd:string">PSEUDOWIRE</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">StaticPw</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">L2VpnGrpName</name> <value xsi:type="xsd:string">ISC</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ConfigurePseudowireHE</name> <value xsi:type="xsd:string">true</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">StdUniPort</name> <value xsi:type="xsd:string">true</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniShutdown</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DirectConnect</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickEsiId</name> <value xsi:type="xsd:string">true</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutopickVCId</name> <value xsi:type="xsd:string">true</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickBDVlanId</name> <value xsi:type="xsd:string">true</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AllowBothTags</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">OuterVlanRanges</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">EnablePWRedundancy</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PwTunnelSelection</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutopickVCId</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PushOuter</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PushInner</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PopOuter</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PopInner</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">TranslateInner</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">TranslateOuter</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseEVC</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseBD</name> <value xsi:type="xsd:string">true</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">EncapsulationType</name> <value xsi:type="xsd:string">DOT1QTRUNK</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <!-- <ns1:modifyInstance> <objectPath subAction="modifyInstance" xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceDefinition</className> <keyProperties 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">d-evc-nbi-innerrangesEdit</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Type</name> <value xsi:type="xsd:string">Evc</value> <objectPath subAction="modifyInstance" 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">AllowBothTags</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">OuterVlanRanges</name> <value xsi:type="xsd:string">true</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">InnerVlanRanges</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">false</value>
Creating a Pseudowire Policy With Reserved Bandwidth
This example shows how to set a reserved bandwidth for a pseudowire policy. The significant attribute is ConfigurePseudowireBW, which in the example is set to 242. The full XML example is found in the
Cisco Prime Provisioning API 6.8 Programmer Reference.
Example: CreateEvcPwPolicy_ResBw.xml
<item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ConfigurePseudowireBW</name> <value xsi:type="xsd:string">242</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value>
Configuring an SVI/EVC Hybrid Scenario
In the following example, a EVC policy is created with the EVC/SVI Hybrid scenario. The attribute relevant for the EVC/SVI Hybrid scenario is
XconnectOnSVI
(in
bold
below), which in the example is set to
true
.
Example: CreateEVCServiceDefn_PW_1.xml
<?xml version="1.0" encoding="UTF-8"?> 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" <ns0:message id="87855" timestamp="2002-12-13T14:55:38.885Z" sessiontoken="p36bttjwy1"/> <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">doc_pw</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Type</name> <value xsi:type="xsd:string">Evc</value> <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">SubType</name> <value xsi:type="xsd:string">Evc</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AccessType</name> <value xsi:type="xsd:string">ETHERNET</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">TransportType</name> <value xsi:type="xsd:string">PSEUDOWIRE</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">StdUniPort</name> <value xsi:type="xsd:string">true</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniShutdown</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DirectConnect</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickEsiId</name> <value xsi:type="xsd:string">true</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutopickVCId</name> <value xsi:type="xsd:string">true</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickBDVlanId</name> <value xsi:type="xsd:string">true</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">EnablePWRedundancy</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">XconnectOnSVI</name> <value xsi:type="xsd:string">true</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PwTunnelSelection</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutopickVCId</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AllowBothTags</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PushOuter</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PushInner</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PopOuter</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PopInner</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">TranslateInner</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">TranslateOuter</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseEVC</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseBD</name> <value xsi:type="xsd:string">true</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">EncapsulationType</name> <value xsi:type="xsd:string">DOT1QTRUNK</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value>
Creating a Policy for Specifying Service Instance Name
The following example shows how to create a policy that specifies a service instance name for EVC service requests. The attribute used to specify a service instance name in EVC service requests is
AutoPickEsiName
(in
bold
below), which in the example is set to
true
.
Example: CreateEVCServiceDefn_PW_2.xml
<?xml version="1.0" encoding="UTF-8"?> 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" <ns0:message id="87855" timestamp="2002-12-13T14:55:38.885Z" sessiontoken="p36bttjwy1"/> <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">doc_pw</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Type</name> <value xsi:type="xsd:string">Evc</value> <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">SubType</name> <value xsi:type="xsd:string">Evc</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AccessType</name> <value xsi:type="xsd:string">ETHERNET</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">TransportType</name> <value xsi:type="xsd:string">PSEUDOWIRE</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">StdUniPort</name> <value xsi:type="xsd:string">true</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniShutdown</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DirectConnect</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickEsiId</name> <value xsi:type="xsd:string">true</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutopickVCId</name> <value xsi:type="xsd:string">true</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickBDVlanId</name> <value xsi:type="xsd:string">true</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">EnablePWRedundancy</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickEsiName</name> <value xsi:type="xsd:string">true</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PwTunnelSelection</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutopickVCId</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AllowBothTags</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PushOuter</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PushInner</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PopOuter</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PopInner</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">TranslateInner</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">TranslateOuter</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseEVC</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseBD</name> <value xsi:type="xsd:string">true</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">EncapsulationType</name> <value xsi:type="xsd:string">DOT1QTRUNK</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value>
Creating a Multi-Segment Pseudowire Policy
The following example shows how to create a Multi-Segment PseudoWire (MSPW) policy.
Example: CreateEVC_MSPW.xml
<?xml version="1.0" encoding="utf-8"?> <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"> <!-- WaitTimeout has a default set in system properties.--> <ns0:message id="87855" timestamp="2002-12-13T14:55:38.885Z" Wait="true" WaitTimeout="90" sessiontoken="p36bttjwy1" /> <ns1:performBatchOperation> <actions xsi:type="ns1:CIMActionList" soapenc:arrayType="ns1:CIMAction[]"> <actionName xsi:type="xsd:string">createInstance</actionName> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceOrder</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceName</name> <value xsi:type="xsd:string">ServiceOrder257</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DesiredDueDate</name> <value xsi:type="xsd:dateTime">2008-12-13T14:55:38.885Z</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">NumberOfRequests</name> <value xsi:type="xsd:string">1</value> <actionName xsi:type="xsd:string">createInstance</actionName> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceRequest</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">RequestName</name> <value xsi:type="xsd:string">EvcSR-7</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Type</name> <value xsi:type="xsd:string">Evc</value> <objectPath subAction="createInstance" xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceRequestDetails</className> <properties soapenc:arrayType="ns1:CIMProperty[]" xsi:type="ns1:CIMPropertyList"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Description</name> <value xsi:type="xsd:string">EVC-PW-MS-default-checking-rob</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceDefinition</name> <value xsi:type="xsd:string">EVC-PW-MS-default</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">ServiceDefinitionType</name> <value xsi:type="xsd:string">Evc</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VCID</name> <value xsi:type="xsd:string">984</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseBackupVCID</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">BackupVCID</name> <value xsi:type="xsd:string">1234</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseSVI</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VPN</name> <value xsi:type="xsd:string">vpn-1</value> <objectPath subAction="createInstance" xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcLink</className> <properties soapenc:arrayType="ns1:CIMProperty[]" xsi:type="ns1:CIMPropertyList"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Npe</name> <value xsi:type="xsd:string">isc-cl-test-l2-7600-6</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniInftId</name> <value xsi:type="xsd:string">GigabitEthernet4/15</value> <objectPath subAction="createInstance" xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcETHLinkAttrs</className> <properties soapenc:arrayType="ns1:CIMProperty[]" xsi:type="ns1:CIMPropertyList"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickVlanId</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">EncapsulationType</name> <value xsi:type="xsd:string">DOT1Q</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VlanID</name> <value xsi:type="xsd:string">2451</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseServiceInst</name> <value xsi:type="xsd:string">true</value> <objectPath subAction="createInstance" xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcServiceInstanceAttrs</className> <properties soapenc:arrayType="ns1:CIMProperty[]" xsi:type="ns1:CIMPropertyList"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickServiceInstName</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickServiceInstId</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">OuterVlanRange</name> <value xsi:type="xsd:string">44</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">RewriteActionType</name> <value xsi:type="xsd:string">POP</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">BothTags</name> <value xsi:type="xsd:string">false</value> <objectPath subAction="createInstance" xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcLink</className> <properties soapenc:arrayType="ns1:CIMProperty[]" xsi:type="ns1:CIMPropertyList"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Npe</name> <value xsi:type="xsd:string">cl-test-l2-7600-3</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniInftId</name> <value xsi:type="xsd:string">GigabitEthernet2/0/14</value> <objectPath subAction="createInstance" xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcETHLinkAttrs</className> <properties soapenc:arrayType="ns1:CIMProperty[]" xsi:type="ns1:CIMPropertyList"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickVlanId</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">EncapsulationType</name> <value xsi:type="xsd:string">DOT1Q</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VlanID</name> <value xsi:type="xsd:string">1451</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseServiceInst</name> <value xsi:type="xsd:string">true</value> <objectPath subAction="createInstance" xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcServiceInstanceAttrs</className> <properties soapenc:arrayType="ns1:CIMProperty[]" xsi:type="ns1:CIMPropertyList"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickServiceInstName</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickServiceInstId</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">OuterVlanRange</name> <value xsi:type="xsd:string">44</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">RewriteActionType</name> <value xsi:type="xsd:string">POP</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">BothTags</name> <value xsi:type="xsd:string">false</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcPseudowireNeighborLinks</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PathXml</name> <value xsi:type="xsd:string"> <service serviceName="MSPW" serviceType="MSPW"> <section name="Review Routing" required="true" useFor="SR"> <group cloneable="true" id="pathOptionsGroup" position="pane01_group0"> <field disabled="false" id="reqExOptionpane01_group0widget0" name="reqExOption" position="pane01_group0widget0" required="false" title="" type="combo" value="Required NE/Link"> <value>Required NE/Link</value> <value>Excluded NE/Link</value> <field name="sourceDevice" value="isc-cl-test-l2-7600-6"/> <field name="destinationDevice" value="cl-test-l2-7600-3"/> <field name="groupPwSelection"> <pwfield name="pwSelection" segmentType ="dynamic"> <field name="sourceDevice" value="isc-cl-test-l2-7600-6" pwclass ="pw-class-1"/> <field name="destinationDevice" value="cl-test-l2-7600-5" pwclass ="pw-class-1"/> <pwfield name="pwSelection" segmentType ="dynamic"> <field name="sourceDevice" value="cl-test-l2-7600-5" pwclass ="pw-class-2"/> <field name="destinationDevice" value="cl-test-l2-7600-3" pwclass ="pw-class-2"/> <field id="reqExElementpane01_group0widget1" name="reqExElement" position="pane01_group0widget1" required="true" resource="devicesAndTpTunnels" title="" type="textpicker" value="isc-cl-test-l2-7600-6:Tunnel-tp7667(7667)<===>cl-test-l2-7600-5:Tunnel-tp7667(7667)"/> <field id="pathtypepane01_group0widget2" name="pathtype" position="pane01_group0widget2" required="false" title="" type="combo" value="Working Path" visibility="Hidden"> <value>Working Path</value> </ns1:performBatchOperation>
Creating an EVC VPLS Policy for E-TREE
In the following example, an EVC VPLS policy is created to identify root and leaf nodes in an ETREE. The key attributes are Etree and EtreeRole, to which the following applies:
-
For the Etree attribute, the value should be either true or false.
-
If Etree is set to true, set the EtreeRole attribute. If false, this is not required.
-
The EtreeRole attribute can be either “ROOT” (as in the example below) or “LEAF”.
Example: CreateEVCVplsPolicy_Etree.xml
<?xml version="1.0" encoding="UTF-8"?> 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" <ns0:message id="87855" timestamp="2002-12-13T14:55:38.885Z" sessiontoken="83A0FC53D02FFC8ED19EC1A4D4635D3E"/> <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">doc_vplsHEad4</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Type</name> <value xsi:type="xsd:string">Evc</value> <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">SubType</name> <value xsi:type="xsd:string">Evc</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AccessType</name> <value xsi:type="xsd:string">ETHERNET</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">TransportType</name> <value xsi:type="xsd:string">VPLS</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PortSecurity</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniProtocolTunneling</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">StdUniPort</name> <value xsi:type="xsd:string">true</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniKeepAlive</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniShutdown</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniSpeed</name> <value xsi:type="xsd:string">100</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniDuplex</name> <value xsi:type="xsd:string">Half</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseExistingACLName</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VlanTranslationType</name> <value xsi:type="xsd:string">NONE</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VlanTranslationNode</name> <value xsi:type="xsd:string">AUTO</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DirectConnect</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickEsiId</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutopickVCId</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickBDVlanId</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Etree</name> <value xsi:type="xsd:string">true</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">EtreeRole</name> <value xsi:type="xsd:string">ROOT</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ConfigurePseudowireHE</name> <value xsi:type="xsd:string">true</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutopickVCId</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AllowBothTags</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PushOuter</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PushInner</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PopOuter</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PopInner</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">TranslateInner</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">TranslateOuter</name> <value xsi:type="xsd:string">false</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseEVC</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseBD</name> <value xsi:type="xsd:string">true</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">EncapsulationType</name> <value xsi:type="xsd:string">DOT1QTRUNK</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">editable</name> <value xsi:type="xsd:string">true</value>
Policy Examples in the API Programmer Reference
The following policy API XMLs are included in the
Cisco Prime Provisioning API 6.8 Programmer Reference:
-
Create_ATM_ETHERNET_VC-Pol-LOCAL.xml
-
Create_ATM_ETHERNET_VC-Pol-PW.xml
-
CreateLocalEVCPolicy.xml
-
CreateVplsEVCPolicy.xml
-
Create_PW_EVCPolicy.xml
-
CreateEVCServiceDefn_LOCAL.xml
-
CreateEVCServiceDefn_PW.xml
-
CreateEVCServiceDefn_VPLS.xml
-
CreateMPLSServiceDefn_Bundle_PE_CE_IPV4_IPV6.xml
-
CreateMPLSServiceDefn_Bundle_PE_NO_CE_IPV4_IPV6.xml
-
CreateEVCPseudoPolicy_withTemplates.xml
-
CreateEVCVplsPolicy_wthTemplates.xml
-
DeleteEVCServiceDefn.xml
-
ViewEVCServiceDefn.xml
-
CreateEvcPolicySetMTU.xml
-
CreateEvcPolicy-pwHE.xml
EVC Service Requests
With a EVC service request, you can configure interfaces on an N-PE to support EVC infrastructure features.
Before creating a service request, a service policy has to be defined. Use a predefined policy template as is or with modifications to create a service request, and deploy the service. For information on EVC policies, see EVC Service Definitions.
Overview
A EVC service request defines the service definition and VPN to use, assigns interfaces and attributes for each attachment circuit (EvcLink), and applies template information.
Note The attachment circuit, or EvcLink, defines the layer 2 path from the U-PE to the NPE, including any intermediate devices.
When you deploy a EVC service request using a service order, the attributes specified in the service definition are applied to the devices and interfaces defined in the service request, along with the link attributes for each attachment circuit.
The service request link attributes include any parameters marked as editable in the service definition and link parameters specific to each attachment circuit.
The following XML example shows a partial list of the properties that can be specified for the attachment circuit EvcLink.
<objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcLink</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Npe</name> <value xsi:type="xsd:string">iscind-7609-1</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniInftId</name> <value xsi:type="xsd:string">GigabitEthernet7/0/3</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcETHLinkAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseServiceInst</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">SystemMTU</name> <value xsi:type="xsd:string">1563</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickVlanId</name> <value xsi:type="xsd:string">true</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcServiceInstanceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">OuterVlanRange</name> <value xsi:type="xsd:string">261</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickServiceInstId</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceInstID</name> <value xsi:type="xsd:string">7845</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">BothTags</name> <value xsi:type="xsd:string">false</value>
End-To-End Wires
An end-to-end wire is the link from one endpoint through the service provider cloud to another endpoint. In most cases, these links are from CE to CE. An attachment circuit is the link from the CE to the PE. If no is CE present, the attachment circuit link is from PE-CLE to PE-CLE.
The following network diagrams depict the three types of connectivity:
Note ATM/Ethernet internetworking only supports pseudowire and local connect.
Pseudowire Network Diagram
In the EVC network example shown in Figure 9-1, there are two EvcLinks:
-
ence132 to enswosr1
-
ence61 to enswosr2.
Figure 9-1 End to End Wire Network Example - Pseudowire
VPLS Network Diagram
In the EthernetEVCS network example shown in Figure 9-2, there are three EvcLinks:
-
ence132 to enswosr1
-
ence61 to enswosr2
-
ence51 to enpe5.
Figure 9-2 End to End Wire Network Example - VPLS
Local Connect Network Diagram
In the EthernetEVC network example shown in Figure 9-3, there are two EvcLinks:
-
ence132 to enswosr1
-
ence51 to enswosr1.
Figure 9-3 End to End Wire Network Example - Local Connect
Service Request Examples
The following XML examples illustrate how you work with service requests for EVC APIs. They also demonstrate the kinds of properties (attributes) that need to be specified for each request.
The first three are XML examples of service requests for the three supported connectivity types:
Creating a Local Connect Service Request
In this example, a EVC service request is created using local connect. The highlighted attribute ServiceDefinition is set to doc_local below.
Example: CreateEVCServiceOrder_LOCAL.xml
<?xml version="1.0" encoding="UTF-8"?> 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" <!-- WaitTimeout has a default set in system properties.--> <ns0:message id="87855" timestamp="2002-12-13T14:55:38.885Z" Wait="true" WaitTimeout="90" sessiontoken="p36bttjwy1"/> <ns1:performBatchOperation> <actions xsi:type="ns1:CIMActionList" soapenc:arrayType="ns1:CIMAction[]"> <actionName xsi:type="xsd:string">createInstance</actionName> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceOrder</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceName</name> <value xsi:type="xsd:string">ServiceOrder257</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DesiredDueDate</name> <value xsi:type="xsd:dateTime">2008-12-13T14:55:38.885Z</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">NumberOfRequests</name> <value xsi:type="xsd:string">1</value> <actionName xsi:type="xsd:string">createInstance</actionName> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceRequest</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">RequestName</name> <value xsi:type="xsd:string">EvcSR-7</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Type</name> <value xsi:type="xsd:string">Evc</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceRequestDetails</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceDefinition</name> <value xsi:type="xsd:string">doc_local</value> <qualifier xsi:type="xsd:string"> <name xsi:type="xsd:string">ServiceDefinitionType</name> <value xsi:type="xsd:string">Evc</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VPN</name> <value xsi:type="xsd:string">cust3_vpn2</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseSVI</name> <value xsi:type="xsd:string">true</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcLink</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Npe</name> <value xsi:type="xsd:string">iscind-7600-3</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniInftId</name> <value xsi:type="xsd:string">FastEthernet2/3</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcETHLinkAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">SystemMTU</name> <value xsi:type="xsd:string">1563</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickVlanId</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VlanID</name> <value xsi:type="xsd:string">18</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseServiceInst</name> <value xsi:type="xsd:string">true</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcServiceInstanceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickServiceInstId</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceInstID</name> <value xsi:type="xsd:string">1947</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">BothTags</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">OuterVlanRange</name> <value xsi:type="xsd:string">745</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">InnerVlanRange</name> <value xsi:type="xsd:string">746</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcUNIInterfaceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Shutdown</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PeIntfDesc</name> <value xsi:type="xsd:string">*** AC1 ***</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcLink</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Upe</name> <value xsi:type="xsd:string">iscind-3750-6</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniInftId</name> <value xsi:type="xsd:string">FastEthernet1/0/7</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">NPC</name> <value xsi:type="xsd:string">27</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcETHLinkAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutopickOuterVlanId</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">SystemMTU</name> <value xsi:type="xsd:string">1570</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickVlanId</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseServiceInst</name> <value xsi:type="xsd:string">false</value> <!-- <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcServiceInstanceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickServiceInstId</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceInstID</name> <value xsi:type="xsd:string">2458</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">BothTags</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">OuterVlanRange</name> <value xsi:type="xsd:string">547</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">InnerVlanRange</name> <value xsi:type="xsd:string">545</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcUNIProtocolTunnelAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ProtocolTunnelling</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">CdpEnable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VtpEnable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">StpEnable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VtpDropThreshold</name> <value xsi:type="xsd:string">10</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">CdpDropThreshold</name> <value xsi:type="xsd:string">20</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">StpDropThreshold</name> <value xsi:type="xsd:string">27</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">StpThreshold</name> <value xsi:type="xsd:string">27</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VtpThreshold</name> <value xsi:type="xsd:string">2007</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">CdpThreshold</name> <value xsi:type="xsd:string">2007</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">RecoveryInterval</name> <value xsi:type="xsd:string">4789</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcUNIInterfaceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PortSecurity</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">SpeedType</name> <value xsi:type="xsd:string">Auto</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DuplexType</name> <value xsi:type="xsd:string">Half</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Shutdown</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ViolationActionType</name> <value xsi:type="xsd:string">RESTRICT</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Aging</name> <value xsi:type="xsd:string">124</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">MacAddress</name> <value xsi:type="xsd:string">2458</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">BroadcastTraffic</name> <value xsi:type="xsd:string">24</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">MulticastTraffic</name> <value xsi:type="xsd:string">34</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UnicastTraffic</name> <value xsi:type="xsd:string">44</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">StdUniPort</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DisableCDP</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PeIntfDesc</name> <value xsi:type="xsd:string">Description</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PortSecurity</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Shutdown</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniKeepAlive</name> <value xsi:type="xsd:string">true</value> </ns1:performBatchOperation>
Creating a Pseudowire Service Request
In this example, a EVC service request is created using pseudowire.
Example: CreateEVCServiceOrder_PW.xml
<?xml version="1.0" encoding="UTF-8"?> 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" <!-- WaitTimeout has a default set in system properties.--> <ns0:message id="87855" timestamp="2002-12-13T14:55:38.885Z" Wait="true" WaitTimeout="90" sessiontoken="p36bttjwy1"/> <ns1:performBatchOperation> <actions xsi:type="ns1:CIMActionList" soapenc:arrayType="ns1:CIMAction[]"> <actionName xsi:type="xsd:string">createInstance</actionName> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceOrder</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceName</name> <value xsi:type="xsd:string">ServiceOrder257</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">CarrierId</name> <value xsi:type="xsd:string">322</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DesiredDueDate</name> <value xsi:type="xsd:dateTime">2008-12-13T14:55:38.885Z</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">NumberOfRequests</name> <value xsi:type="xsd:string">1</value> <actionName xsi:type="xsd:string">createInstance</actionName> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceRequest</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">RequestName</name> <value xsi:type="xsd:string">EvcSR-7</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Type</name> <value xsi:type="xsd:string">Evc</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceRequestDetails</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceDefinition</name> <value xsi:type="xsd:string">doc_pw</value> <qualifier xsi:type="xsd:string"> <name xsi:type="xsd:string">ServiceDefinitionType</name> <value xsi:type="xsd:string">Evc</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VPN</name> <value xsi:type="xsd:string">cust1_vpn1</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutopickVCID</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseBackupVCID</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseSVI</name> <value xsi:type="xsd:string">true</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcLink</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Npe</name> <value xsi:type="xsd:string">iscind-7609-1</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniInftId</name> <value xsi:type="xsd:string">GigabitEthernet7/0/3</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcETHLinkAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseServiceInst</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">SystemMTU</name> <value xsi:type="xsd:string">1563</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickVlanId</name> <value xsi:type="xsd:string">true</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcServiceInstanceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">OuterVlanRange</name> <value xsi:type="xsd:string">261</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickServiceInstId</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceInstID</name> <value xsi:type="xsd:string">7845</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">BothTags</name> <value xsi:type="xsd:string">false</value> <!-- SRAssociated Templates --> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcLink</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Upe</name> <value xsi:type="xsd:string">iscind-3750-1</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniInftId</name> <value xsi:type="xsd:string">FastEthernet1/0/8</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">NPC</name> <value xsi:type="xsd:string">31</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcETHLinkAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseServiceInst</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">SystemMTU</name> <value xsi:type="xsd:string">1563</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickVlanId</name> <value xsi:type="xsd:string">true</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcUNIProtocolTunnelAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ProtocolTunnelling</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VtpDropThreshold</name> <value xsi:type="xsd:string">10</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">CdpDropThreshold</name> <value xsi:type="xsd:string">20</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">StpDropThreshold</name> <value xsi:type="xsd:string">27</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">StpThreshold</name> <value xsi:type="xsd:string">27</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VtpThreshold</name> <value xsi:type="xsd:string">2007</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">CdpThreshold</name> <value xsi:type="xsd:string">2007</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">CdpEnable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VtpEnable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">StpEnable</name> <value xsi:type="xsd:string">true</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcUNIInterfaceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PortSecurity</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">SpeedType</name> <value xsi:type="xsd:string">100</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DuplexType</name> <value xsi:type="xsd:string">Half</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Shutdown</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">MacAddress</name> <value xsi:type="xsd:string">5</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Aging</name> <value xsi:type="xsd:string">201</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ViolationActionType</name> <value xsi:type="xsd:string">RESTRICT</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">BroadcastTraffic</name> <value xsi:type="xsd:string">25</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">MulticastTraffic</name> <value xsi:type="xsd:string">25</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UnicastTraffic</name> <value xsi:type="xsd:string">25</value> </ns1:performBatchOperation>
Creating a VPLS Service Request
In this example, a EVC service request is created using VPLS.
Example: CreateEVCServiceOrder_VPLS.xml
<?xml version="1.0" encoding="UTF-8"?> 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" <!-- WaitTimeout has a default set in system properties.--> <ns0:message id="87855" timestamp="2002-12-13T14:55:38.885Z" Wait="true" WaitTimeout="90" sessiontoken="p36bttjwy1"/> <ns1:performBatchOperation> <actions xsi:type="ns1:CIMActionList" soapenc:arrayType="ns1:CIMAction[]"> <actionName xsi:type="xsd:string">createInstance</actionName> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceOrder</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceName</name> <value xsi:type="xsd:string">ServiceOrder257</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DesiredDueDate</name> <value xsi:type="xsd:dateTime">2008-12-13T14:55:38.885Z</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">NumberOfRequests</name> <value xsi:type="xsd:string">1</value> <actionName xsi:type="xsd:string">createInstance</actionName> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceRequest</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">RequestName</name> <value xsi:type="xsd:string">EvcSR-7</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Type</name> <value xsi:type="xsd:string">Evc</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceRequestDetails</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceDefinition</name> <value xsi:type="xsd:string">doc_vpls</value> <qualifier xsi:type="xsd:string"> <name xsi:type="xsd:string">ServiceDefinitionType</name> <value xsi:type="xsd:string">Evc</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VPN</name> <value xsi:type="xsd:string">cust1_vpn2</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutopickVCID</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseSVI</name> <value xsi:type="xsd:string">true</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcLink</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Npe</name> <value xsi:type="xsd:string">iscind-7609-2</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniInftId</name> <value xsi:type="xsd:string">GigabitEthernet7/0/1</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcETHLinkAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">SystemMTU</name> <value xsi:type="xsd:string">1544</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickVlanId</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseServiceInst</name> <value xsi:type="xsd:string">true</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcServiceInstanceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">BothTags</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickServiceInstId</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">OuterVlanRange</name> <value xsi:type="xsd:string">243</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcUNIInterfaceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Shutdown</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PeIntfDesc</name> <value xsi:type="xsd:string">*** AC1 ***</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcLink</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Upe</name> <value xsi:type="xsd:string">iscind-3750-1</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniInftId</name> <value xsi:type="xsd:string">FastEthernet1/0/12</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">NPC</name> <value xsi:type="xsd:string">31</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcETHLinkAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseServiceInst</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">SystemMTU</name> <value xsi:type="xsd:string">1685</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickVlanId</name> <value xsi:type="xsd:string">true</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcUNIProtocolTunnelAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ProtocolTunnelling</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VtpDropThreshold</name> <value xsi:type="xsd:string">10</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">CdpDropThreshold</name> <value xsi:type="xsd:string">20</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">StpDropThreshold</name> <value xsi:type="xsd:string">27</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">StpThreshold</name> <value xsi:type="xsd:string">27</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VtpThreshold</name> <value xsi:type="xsd:string">2007</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">CdpThreshold</name> <value xsi:type="xsd:string">2007</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">CdpEnable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VtpEnable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">StpEnable</name> <value xsi:type="xsd:string">true</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcUNIInterfaceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PortSecurity</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">SpeedType</name> <value xsi:type="xsd:string">Auto</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DuplexType</name> <value xsi:type="xsd:string">Full</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Shutdown</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ViolationActionType</name> <value xsi:type="xsd:string">RESTRICT</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Aging</name> <value xsi:type="xsd:string">1244</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">MacAddress</name> <value xsi:type="xsd:string">2458</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">BroadcastTraffic</name> <value xsi:type="xsd:string">54</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">MulticastTraffic</name> <value xsi:type="xsd:string">55</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UnicastTraffic</name> <value xsi:type="xsd:string">15</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">StdUniPort</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DisableCDP</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PeIntfDesc</name> <value xsi:type="xsd:string">Description</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PortSecurity</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Shutdown</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniKeepAlive</name> <value xsi:type="xsd:string">true</value> </ns1:performBatchOperation>
Modifying a EVC Service Request
In this example, a EVC service request is modified.
Example: ModifyEVCServiceOrder.xml
<?xml version="1.0" encoding="UTF-8"?> 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" <!-- WaitTimeout has a default set in system properties.--> <ns0:message id="87855" timestamp="2008-04-15T14:55:38.885Z" Wait="true" WaitTimeout="90" sessiontoken="p36bttjwy1"/> <ns1:performBatchOperation> <actions xsi:type="ns1:CIMActionList" soapenc:arrayType="ns1:CIMAction[]"> <actionName xsi:type="xsd:string">createInstance</actionName> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceOrder</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceName</name> <value xsi:type="xsd:string">ServiceOrder257</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">CarrierId</name> <value xsi:type="xsd:string">322</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DesiredDueDate</name> <value xsi:type="xsd:dateTime">2009-04-15T14:55:38.885Z</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">NumberOfRequests</name> <value xsi:type="xsd:string">1</value> <actionName xsi:type="xsd:string">modifyInstance</actionName> <objectPath subAction="modifyInstance" xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceRequest</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">RequestName</name> <value xsi:type="xsd:string">MYSR-1-1</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Type</name> <value xsi:type="xsd:string">Evc</value> <objectPath subAction="modifyInstance" xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceRequestDetails</className> <keyProperties xsi:type="ns1:CIMKeyPropertyList" soapenc:arrayType="ns1:CIMKeyProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">LocatorId</name> <value xsi:type="xsd:string">485</value> <!-- delete instance -- > <objectPath subAction="deleteInstance" xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcLink</className> <keyProperties xsi:type="ns1:CIMKeyPropertyList" soapenc:arrayType="ns1:CIMKeyProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">LocatorId</name> <value xsi:type="xsd:string">524</value> <objectPath subAction="modifyInstance" xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcLink</className> <keyProperties xsi:type="ns1:CIMKeyPropertyList" soapenc:arrayType="ns1:CIMKeyProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">LocatorId</name> <value xsi:type="xsd:string">527</value> <objectPath subAction="modifyInstance" xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcETHLinkAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseServiceInst</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VlanTranslationNode</name> <value xsi:type="xsd:string">AUTO</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VlanTranslationType</name> <value xsi:type="xsd:string">2:1</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">OuterVlanID</name> <value xsi:type="xsd:string">188</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">CeVlanID</name> <value xsi:type="xsd:string">195</value> <objectPath subAction="modifyInstance" xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcServiceInstanceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickServiceInstId</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceInstID</name> <value xsi:type="xsd:string">5258</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">OuterVlanRange</name> <value xsi:type="xsd:string">1928</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">InnerVlanRange</name> <value xsi:type="xsd:string">2684</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">BothTags</name> <value xsi:type="xsd:string">true</value> <objectPath subAction="modifyInstance" xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcUNIProtocolTunnelAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ProtocolTunnelling</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VtpDropThreshold</name> <value xsi:type="xsd:string">11</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">CdpDropThreshold</name> <value xsi:type="xsd:string">22</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">StpDropThreshold</name> <value xsi:type="xsd:string">25</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">StpThreshold</name> <value xsi:type="xsd:string">281</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VtpThreshold</name> <value xsi:type="xsd:string">2017</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">CdpThreshold</name> <value xsi:type="xsd:string">2107</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">CdpEnable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VtpEnable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">StpEnable</name> <value xsi:type="xsd:string">true</value> <objectPath subAction="modifyInstance" xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcUNIInterfaceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PortSecurity</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Shutdown</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PeIntfDesc</name> <value xsi:type="xsd:string">******AC2*******</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">MacAddress</name> <value xsi:type="xsd:string">568</value> <!-- <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UserDefinedACLName</name> <value xsi:type="xsd:string">ACL</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">BroadcastTraffic</name> <value xsi:type="xsd:string">55</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Aging</name> <value xsi:type="xsd:string">1330</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniKeepAlive</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">StdUniPort</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ViolationActionType</name> <value xsi:type="xsd:string">PROTECT</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">FilterBPDU</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DuplexType</name> <value xsi:type="xsd:string">Half</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UnicastTraffic</name> <value xsi:type="xsd:string">54</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">MulticastTraffic</name> <value xsi:type="xsd:string">56</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">SpeedType</name> <value xsi:type="xsd:string">1000</value> <!-- <objectPath subAction="createInstance" xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcUNIMacACLAddresses</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">MacAddress</name> <value xsi:type="xsd:string">2222.3333.6666</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Permission</name> <value xsi:type="xsd:string">permit</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">MacAclRange</name> <value xsi:type="xsd:string">1111.2222.4444</value> <objectPath subAction="createInstance" xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcSecureMacAddress</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">MacAddress</name> <value xsi:type="xsd:string">cccc.cccc.dddd</value> <!-- <objectPath subAction="createInstance" xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcLink</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Npe</name> <value xsi:type="xsd:string">iscind-7609-1</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniInftId</name> <value xsi:type="xsd:string">GigabitEthernet7/0/9</value> <objectPath subAction="createInstance" xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcETHLinkAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseServiceInst</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickVlanId</name> <value xsi:type="xsd:string">true</value> <objectPath subAction="createInstance" xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcServiceInstanceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickServiceInstId</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">OuterVlanRange</name> <value xsi:type="xsd:string">1584</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">MatchInnerVlan</name> <value xsi:type="xsd:string">false</value> <objectPath subAction="createInstance" xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcUNIProtocolTunnelAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ProtocolTunnelling</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VtpDropThreshold</name> <value xsi:type="xsd:string">10</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">CdpDropThreshold</name> <value xsi:type="xsd:string">20</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">StpDropThreshold</name> <value xsi:type="xsd:string">27</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">StpThreshold</name> <value xsi:type="xsd:string">27</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VtpThreshold</name> <value xsi:type="xsd:string">2007</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">CdpThreshold</name> <value xsi:type="xsd:string">2007</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">CdpEnable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VtpEnable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">StpEnable</name> <value xsi:type="xsd:string">true</value> <objectPath subAction="createInstance" xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcUNIInterfaceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Shutdown</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PeIntfDesc</name> <value xsi:type="xsd:string">**Half**</value> </ns1:performBatchOperation>
Creating Access Ring with two NPEs
In the following three XMLs, a two calls for setting up an access ring are depicted. It is done using the following sequence:
1. Create Ring with Two NPE’s - CreateRing.xml
2. Create NPC - CreateNamedPhysicalCircuitRingExisting.xml
Both examples are depicted in the following.
Example: CreateRing.xml
<?xml version="1.0" encoding="UTF-8"?> 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" <ns0:message id="87855" timestamp="2002-12-13T14:55:38.885Z" sessiontoken="p36bttjwy1"/> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">Ring</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">PhysicalLink</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">SrcDevice</name> <value xsi:type="xsd:string">iscind-3750-4</value> </item> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DestDevice</name> <value xsi:type="xsd:string">iscind-7600-3</value> </item> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">SrcIfName</name> <value xsi:type="xsd:string">FastEthernet1/0/16</value> </item> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DestIfName</name> <value xsi:type="xsd:string">FastEthernet2/13</value> </item> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">PhysicalLink</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">SrcDevice</name> <value xsi:type="xsd:string">iscind-7600-3</value> </item> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DestDevice</name> <value xsi:type="xsd:string">iscind-7609-2</value> </item> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">SrcIfName</name> <value xsi:type="xsd:string">LoopBack1000</value> </item> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DestIfName</name> <value xsi:type="xsd:string">LoopBack100</value> </item> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">PhysicalLink</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">SrcDevice</name> <value xsi:type="xsd:string">iscind-7609-2</value> </item> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DestDevice</name> <value xsi:type="xsd:string">iscind-3750-4</value> </item> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">SrcIfName</name> <value xsi:type="xsd:string">GigabitEthernet1/0/4</value> </item> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DestIfName</name> <value xsi:type="xsd:string">FastEthernet1/0/18</value> </item>
Creating NPC
In this second step, an NPC (Named Physical Circuit) is configured before the access ring service request can be created.
Example: CreateNamedPhysicalCircuitRingExisting.xml
<?xml version="1.0" encoding="UTF-8"?> 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" <ns0:message id="87855" timestamp="2002-12-13T14:55:38.885Z" sessiontoken="p36bttjwy1"/> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">NamedPhysicalCircuit</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">NamedPhysicalCircuitRing</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">LocatorId</name> <value xsi:type="xsd:string">1</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">PhysicalLink</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">SrcDevice</name> <value xsi:type="xsd:string">iscind-3750-4</value> </item> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DestDevice</name> <value xsi:type="xsd:string">iscind-7600-2</value> </item> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">SrcIfName</name> <value xsi:type="xsd:string">FastEthernet1/1</value> </item> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DestIfName</name> <value xsi:type="xsd:string">FastEthernet3/1</value> </item>
Configuring an SVI/EVC Hybrid Scenario Service Request
The following is an example of how to configure a hybrid EVC/SVI scenario in a EVC service request.
If XConnectOnSVI is enabled, the forwarding commands will be configured under SVI for both flex and non-flex. If it is disabled, the forwarding commands will be configured under service instance if it is an EVC link. If the link is a non-flex link, these commands will be configured under a subinterface.
The attribute relevant for the EVC/SVI Hybrid scenario is
XconnectOnSVI
(in
bold
below), which in the example is set to
true
Example: CreateEVCServiceOrder_PW_1.xml
<?xml version="1.0" encoding="UTF-8"?> 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" <!-- WaitTimeout has a default set in system properties.--> <ns0:message id="87855" timestamp="2002-12-13T14:55:38.885Z" Wait="true" WaitTimeout="90" sessiontoken="p36bttjwy1"/> <ns1:performBatchOperation> <actions xsi:type="ns1:CIMActionList" soapenc:arrayType="ns1:CIMAction[]"> <actionName xsi:type="xsd:string">createInstance</actionName> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceOrder</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceName</name> <value xsi:type="xsd:string">ServiceOrder257</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">CarrierId</name> <value xsi:type="xsd:string">322</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DesiredDueDate</name> <value xsi:type="xsd:dateTime">2008-12-13T14:55:38.885Z</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">NumberOfRequests</name> <value xsi:type="xsd:string">1</value> <actionName xsi:type="xsd:string">createInstance</actionName> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceRequest</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">RequestName</name> <value xsi:type="xsd:string">EvcSR-7</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Type</name> <value xsi:type="xsd:string">Evc</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceRequestDetails</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceDefinition</name> <value xsi:type="xsd:string">L2_NBI_1</value> <qualifier xsi:type="xsd:string"> <name xsi:type="xsd:string">ServiceDefinitionType</name> <value xsi:type="xsd:string">Evc</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VPN</name> <value xsi:type="xsd:string">vpn</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutopickVCID</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseBackupVCID</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseSVI</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Description</name> <value xsi:type="xsd:string">BD=T,SVI = F Flex and SVI=T,Non-Flex created thru NBI</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcLink</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Npe</name> <value xsi:type="xsd:string">iscind-7609-2</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniInftId</name> <value xsi:type="xsd:string">GigabitEthernet7/0/8</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcETHLinkAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseServiceInst</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">SystemMTU</name> <value xsi:type="xsd:string">1563</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickVlanId</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">XconnectOnSVI</name> <value xsi:type="xsd:string">true</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcServiceInstanceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">OuterVlanRange</name> <value xsi:type="xsd:string">2611</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickServiceInstId</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">BothTags</name> <value xsi:type="xsd:string">false</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcLink</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Upe</name> <value xsi:type="xsd:string">iscind-3750-2</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniInftId</name> <value xsi:type="xsd:string">FastEthernet1/0/4</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">NPC</name> <value xsi:type="xsd:string">4</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcETHLinkAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseServiceInst</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">SystemMTU</name> <value xsi:type="xsd:string">1563</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickVlanId</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">XconnectOnSVI</name> <value xsi:type="xsd:string">true</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcUNIProtocolTunnelAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ProtocolTunnelling</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VtpDropThreshold</name> <value xsi:type="xsd:string">10</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">CdpDropThreshold</name> <value xsi:type="xsd:string">20</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">StpDropThreshold</name> <value xsi:type="xsd:string">27</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">StpThreshold</name> <value xsi:type="xsd:string">27</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VtpThreshold</name> <value xsi:type="xsd:string">2007</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">CdpThreshold</name> <value xsi:type="xsd:string">2007</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">CdpEnable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VtpEnable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">StpEnable</name> <value xsi:type="xsd:string">true</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcUNIInterfaceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PortSecurity</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">SpeedType</name> <value xsi:type="xsd:string">100</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DuplexType</name> <value xsi:type="xsd:string">Half</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Shutdown</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">MacAddress</name> <value xsi:type="xsd:string">5</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Aging</name> <value xsi:type="xsd:string">201</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ViolationActionType</name> <value xsi:type="xsd:string">RESTRICT</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">BroadcastTraffic</name> <value xsi:type="xsd:string">25</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">MulticastTraffic</name> <value xsi:type="xsd:string">25</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UnicastTraffic</name> <value xsi:type="xsd:string">25</value> </ns1:performBatchOperation>
Specifying Service Instance Name for EVC Service Requests
The following is an example of how to specify a service instance name for EVC service requests. The attributes relevant for the Service Instance Name are
ServiceInstName
and
AutoPickServiceInstName
(both in
bold
below), which in the example are set to
manualNameNBI4
and
false
respectively.
Example: CreateEVCServiceOrder_PW_2.xml
<?xml version="1.0" encoding="UTF-8"?> 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" <!-- WaitTimeout has a default set in system properties.--> <ns0:message id="87855" timestamp="2002-12-13T14:55:38.885Z" Wait="true" WaitTimeout="90" sessiontoken="p36bttjwy1"/> <ns1:performBatchOperation> <actions xsi:type="ns1:CIMActionList" soapenc:arrayType="ns1:CIMAction[]"> <actionName xsi:type="xsd:string">createInstance</actionName> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceOrder</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceName</name> <value xsi:type="xsd:string">ServiceOrder257</value> <!-- item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">CarrierId</name> <value xsi:type="xsd:string">322</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DesiredDueDate</name> <value xsi:type="xsd:dateTime">2008-12-13T14:55:38.885Z</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">NumberOfRequests</name> <value xsi:type="xsd:string">1</value> <actionName xsi:type="xsd:string">createInstance</actionName> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceRequest</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">RequestName</name> <value xsi:type="xsd:string">EvcSR-7</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Type</name> <value xsi:type="xsd:string">Evc</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceRequestDetails</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceDefinition</name> <value xsi:type="xsd:string">GUI_PW</value> <qualifier xsi:type="xsd:string"> <name xsi:type="xsd:string">ServiceDefinitionType</name> <value xsi:type="xsd:string">Evc</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VPN</name> <value xsi:type="xsd:string">vpn-core-PW</value> <!-- item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutopickVCID</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseSVI</name> <value xsi:type="xsd:string">true</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcLink</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Npe</name> <value xsi:type="xsd:string">iscind-7609-2</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniInftId</name> <value xsi:type="xsd:string">GigabitEthernet7/0/12</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcETHLinkAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseServiceInst</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickVlanId</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VlanID</name> <value xsi:type="xsd:string">100</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcServiceInstanceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceInstName</name> <value xsi:type="xsd:string">manualNameNBI4</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickServiceInstName</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickServiceInstId</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">OuterVlanRange</name> <value xsi:type="xsd:string">256</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcLink</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Npe</name> <value xsi:type="xsd:string">iscind-7609-2</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniInftId</name> <value xsi:type="xsd:string">GigabitEthernet7/0/13</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcETHLinkAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseServiceInst</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickVlanId</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VlanID</name> <value xsi:type="xsd:string">100</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcServiceInstanceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceInstName</name> <value xsi:type="xsd:string">manualNameNBI4</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickServiceInstName</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickServiceInstId</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">OuterVlanRange</name> <value xsi:type="xsd:string">256</value> </ns1:performBatchOperation>
Creating a Local Connect Service Request for IOS-XR using Bridge Domain
The following is an example of how to create a EVC bridge domain service request using local connect with IOS XR. The attributes relevant for the bridge domain feature are
BridgeGroupName, BridgeDomainName, UsePwClass, and PwClassId
(all in
bold
below).
Example: CreateEVCSR_IOSXR_Local_With_BridgeDomain.xml
<?xml version="1.0" encoding="UTF-8"?> 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" <!-- WaitTimeout has a default set in system properties.--> <ns0:message id="87855" timestamp="2002-12-13T14:55:38.885Z" Wait="true" WaitTimeout="90" sessiontoken="p36bttjwy1"/> <ns1:performBatchOperation> <actions xsi:type="ns1:CIMActionList" soapenc:arrayType="ns1:CIMAction[]"> <actionName xsi:type="xsd:string">createInstance</actionName> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceOrder</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceName</name> <value xsi:type="xsd:string">ServiceOrder257</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DesiredDueDate</name> <value xsi:type="xsd:dateTime">2008-12-13T14:55:38.885Z</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">NumberOfRequests</name> <value xsi:type="xsd:string">1</value> <actionName xsi:type="xsd:string">createInstance</actionName> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceRequest</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">RequestName</name> <value xsi:type="xsd:string">EvcSR-7</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Type</name> <value xsi:type="xsd:string">Evc</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceRequestDetails</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceDefinition</name> <value xsi:type="xsd:string">Policy1</value> <qualifier xsi:type="xsd:string"> <name xsi:type="xsd:string">ServiceDefinitionType</name> <value xsi:type="xsd:string">Evc</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VPN</name> <value xsi:type="xsd:string">vpn1</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseSVI</name> <value xsi:type="xsd:string">true</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcLink</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Npe</name> <value xsi:type="xsd:string">met1-asr9k-dist1</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniInftId</name> <value xsi:type="xsd:string">GigabitEthernet0/0/0/36</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcETHLinkAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">SystemMTU</name> <value xsi:type="xsd:string">1563</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickVlanId</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VlanID</name> <value xsi:type="xsd:string">19</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseServiceInst</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">XconnectOnSVI</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">BridgeGroupName</name> <value xsi:type="xsd:string">SampleBG1</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">BridgeDomainName</name> <value xsi:type="xsd:string">SampleBD1</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UsePwClass</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PwClassId</name> <value xsi:type="xsd:string">1</value> <!--<item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">L2VpnGrpName</name> <value xsi:type="xsd:string">VPNSC</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ElineName</name> <value xsi:type="xsd:string">thfda</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcServiceInstanceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <!-- <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickServiceInstId</name> <value xsi:type="xsd:string">false</value> <!-- <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceInstID</name> <value xsi:type="xsd:string">99</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">BothTags</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">OuterVlanRange</name> <value xsi:type="xsd:string">1845</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">InnerVlanRange</name> <value xsi:type="xsd:string">1376</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcUNIInterfaceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Shutdown</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PeIntfDesc</name> <value xsi:type="xsd:string">*** AC1 ***</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcLink</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Npe</name> <value xsi:type="xsd:string">met1-asr9k-dist1</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniInftId</name> <value xsi:type="xsd:string">GigabitEthernet0/0/0/34</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcETHLinkAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">SystemMTU</name> <value xsi:type="xsd:string">1563</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickVlanId</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VlanID</name> <value xsi:type="xsd:string">1009</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseServiceInst</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">XconnectOnSVI</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">BridgeGroupName</name> <value xsi:type="xsd:string">SampleBG1</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">BridgeDomainName</name> <value xsi:type="xsd:string">SampleBD1</value> <!-- <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">L2VpnGrpName</name> <value xsi:type="xsd:string">VPNSC</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ElineName</name> <value xsi:type="xsd:string">gfhghf</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcServiceInstanceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <!-- <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickServiceInstId</name> <value xsi:type="xsd:string">false</value> <!-- <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceInstID</name> <value xsi:type="xsd:string">999</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">BothTags</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">OuterVlanRange</name> <value xsi:type="xsd:string">1231</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">InnerVlanRange</name> <value xsi:type="xsd:string">1046</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcUNIInterfaceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Shutdown</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PeIntfDesc</name> <value xsi:type="xsd:string">*** AC1 ***</value> </ns1:performBatchOperation>
Creating a Pseudowire Service Request Setting the MTU Size
In this example, an EVC service request is created in which an attribute is set for the MTU size for a pseudowire service. The highlighted MTU attribute in this example is set to 1500.
Example: CreateEvcSR-SetMTU.xml
<?xml version="1.0" encoding="UTF-8"?> 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" <!-- WaitTimeout has a default set in system properties.--> <ns0:message id="87855" timestamp="2002-12-13T14:55:38.885Z" Wait="true" WaitTimeout="90" sessiontoken="971A089D9C0580746649BD5ABF06B8DD"/> <ns1:performBatchOperation> <actions xsi:type="ns1:CIMActionList" soapenc:arrayType="ns1:CIMAction[]"> <actionName xsi:type="xsd:string">createInstance</actionName> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceOrder</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceName</name> <value xsi:type="xsd:string">AnyName</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DesiredDueDate</name> <value xsi:type="xsd:dateTime">2008-12-13T14:55:38.885Z</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">NumberOfRequests</name> <value xsi:type="xsd:string">1</value> <actionName xsi:type="xsd:string">createInstance</actionName> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceRequest</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">RequestName</name> <value xsi:type="xsd:string">AnyName</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Type</name> <value xsi:type="xsd:string">Evc</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceRequestDetails</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceDefinition</name> <value xsi:type="xsd:string">d-evc-pw</value> <qualifier xsi:type="xsd:string"> <name xsi:type="xsd:string">ServiceDefinitionType</name> <value xsi:type="xsd:string">Evc</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VPN</name> <value xsi:type="xsd:string">d-vpn-pw</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VCID</name> <value xsi:type="xsd:string">45000</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseSVI</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">MTU</name> <value xsi:type="xsd:string">1500</value> <!-- Direct Link IOS 7609-1 --> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcLink</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Npe</name> <value xsi:type="xsd:string">isc-me3600x</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniInftId</name> <value xsi:type="xsd:string">GigabitEthernet0/18</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcETHLinkAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseServiceInst</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">SystemMTU</name> <value xsi:type="xsd:string">1563</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">EncapsulationType</name> <value xsi:type="xsd:string">UNTAGGED</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickVlanId</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseSplitHorizon</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VlanID</name> <value xsi:type="xsd:string">3800</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">XconnectOnSVI</name> <value xsi:type="xsd:string">true</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcServiceInstanceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickServiceInstId</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceInstID</name> <value xsi:type="xsd:string">7000</value> <!-- <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">BothTags</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">OuterVlanRange</name> <value xsi:type="xsd:string">3800</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">RewriteActionType</name> <value xsi:type="xsd:string">PUSH_BOTH</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">TranslateOuterVlanId</name> <value xsi:type="xsd:string">3400</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">TranslateInnerVlanId</name> <value xsi:type="xsd:string">3400</value> <!-- <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcLink</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Upe</name> <value xsi:type="xsd:string">isc-test-7600-80</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniInftId</name> <value xsi:type="xsd:string">GigabitEthernet5/15</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">NPC</name> <value xsi:type="xsd:string">2</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcETHLinkAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseServiceInst</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseUpeServiceInst</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">SystemMTU</name> <value xsi:type="xsd:string">1563</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickVlanId</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">XconnectOnSVI</name> <value xsi:type="xsd:string">true</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcUNIServiceInstanceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">OuterVlanRange</name> <value xsi:type="xsd:string">1500</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickServiceInstId</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceInstID</name> <value xsi:type="xsd:string">2321</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">RewriteActionType</name> <value xsi:type="xsd:string">PUSH</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">TranslateOuterVlanId</name> <value xsi:type="xsd:string">3600</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcServiceInstanceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">OuterVlanRange</name> <value xsi:type="xsd:string">2500</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickServiceInstId</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceInstID</name> <value xsi:type="xsd:string">3700</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">RewriteActionType</name> <value xsi:type="xsd:string">PUSH</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">TranslateInnerVlanId</name> <value xsi:type="xsd:string">3700</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">TranslateOuterVlanId</name> <value xsi:type="xsd:string">3800</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcUNIProtocolTunnelAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ProtocolTunnelling</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VtpDropThreshold</name> <value xsi:type="xsd:string">10</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">CdpDropThreshold</name> <value xsi:type="xsd:string">20</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">StpDropThreshold</name> <value xsi:type="xsd:string">27</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">StpThreshold</name> <value xsi:type="xsd:string">27</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VtpThreshold</name> <value xsi:type="xsd:string">2007</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">CdpThreshold</name> <value xsi:type="xsd:string">2007</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">CdpEnable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VtpEnable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">StpEnable</name> <value xsi:type="xsd:string">true</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcUNIInterfaceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PortSecurity</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">SpeedType</name> <value xsi:type="xsd:string">100</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DuplexType</name> <value xsi:type="xsd:string">Half</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Shutdown</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">MacAddress</name> <value xsi:type="xsd:string">5</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Aging</name> <value xsi:type="xsd:string">201</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ViolationActionType</name> <value xsi:type="xsd:string">RESTRICT</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">BroadcastTraffic</name> <value xsi:type="xsd:string">25</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">MulticastTraffic</name> <value xsi:type="xsd:string">25</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UnicastTraffic</name> <value xsi:type="xsd:string">25</value> </ns1:performBatchOperation>
Creating a Pseudowire Service Request with P2P E-line Name
In the following example, an EVC service request with pseudowire and p2p e-line name is created. The attributes relevant for the bridge domain feature are
L2VpnGrpName, ElineName, UsePwClass, and PwClassId
(all in
bold
below).
UsePwClass and PwClassId are supported only for IOS XR devices and serve to associate the PW class inventories created from the CreatePWclass.xml API.
Example: CreateEVCSR_IOSXR_PW_With_p2p_Elinename.xml
<?xml version="1.0" encoding="UTF-8"?> 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" <!-- WaitTimeout has a default set in system properties.--> <ns0:message id="87855" timestamp="2002-12-13T14:55:38.885Z" Wait="true" WaitTimeout="90" sessiontoken="p36bttjwy1"/> <ns1:performBatchOperation> <actions xsi:type="ns1:CIMActionList" soapenc:arrayType="ns1:CIMAction[]"> <actionName xsi:type="xsd:string">createInstance</actionName> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceOrder</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceName</name> <value xsi:type="xsd:string">ServiceOrder257</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DesiredDueDate</name> <value xsi:type="xsd:dateTime">2008-12-13T14:55:38.885Z</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">NumberOfRequests</name> <value xsi:type="xsd:string">1</value> <actionName xsi:type="xsd:string">createInstance</actionName> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceRequest</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">RequestName</name> <value xsi:type="xsd:string">EvcSR-7</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Type</name> <value xsi:type="xsd:string">Evc</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceRequestDetails</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceDefinition</name> <value xsi:type="xsd:string">Policy2</value> <qualifier xsi:type="xsd:string"> <name xsi:type="xsd:string">ServiceDefinitionType</name> <value xsi:type="xsd:string">Evc</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VPN</name> <value xsi:type="xsd:string">vpn1</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseSVI</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutopickVCID</name> <value xsi:type="xsd:string">true</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcLink</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Npe</name> <value xsi:type="xsd:string">met1-asr9k-dist1</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniInftId</name> <value xsi:type="xsd:string">GigabitEthernet0/0/0/36</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcETHLinkAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">SystemMTU</name> <value xsi:type="xsd:string">1563</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickVlanId</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VlanID</name> <value xsi:type="xsd:string">19</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseServiceInst</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">XconnectOnSVI</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UsePwClass</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PwClassId</name> <value xsi:type="xsd:string">1</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">L2VpnGrpName</name> <value xsi:type="xsd:string">VPNSC</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ElineName</name> <value xsi:type="xsd:string">abc</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcServiceInstanceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <!-- <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickServiceInstId</name> <value xsi:type="xsd:string">false</value> <!-- <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceInstID</name> <value xsi:type="xsd:string">99</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">BothTags</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">OuterVlanRange</name> <value xsi:type="xsd:string">1845</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">InnerVlanRange</name> <value xsi:type="xsd:string">1376</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcUNIInterfaceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Shutdown</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PeIntfDesc</name> <value xsi:type="xsd:string">*** AC1 ***</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcLink</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Npe</name> <value xsi:type="xsd:string">met1-asr9k-dist2</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniInftId</name> <value xsi:type="xsd:string">GigabitEthernet0/1/0/34</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcETHLinkAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">SystemMTU</name> <value xsi:type="xsd:string">1563</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickVlanId</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VlanID</name> <value xsi:type="xsd:string">1009</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseServiceInst</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">XconnectOnSVI</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">L2VpnGrpName</name> <value xsi:type="xsd:string">VPNSC</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ElineName</name> <value xsi:type="xsd:string">abc</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcServiceInstanceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <!-- <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickServiceInstId</name> <value xsi:type="xsd:string">false</value> <!-- <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceInstID</name> <value xsi:type="xsd:string">999</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">BothTags</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">OuterVlanRange</name> <value xsi:type="xsd:string">1845</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">InnerVlanRange</name> <value xsi:type="xsd:string">1046</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcUNIInterfaceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Shutdown</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PeIntfDesc</name> <value xsi:type="xsd:string">*** AC1 ***</value> </ns1:performBatchOperation>
Creating a Pseudowire Service Request with Range of Values for Outer VLAN/Inner VLAN
In the following example, an EVC service request with pseudowire is created. If ranges for Outer VLAN/Inner VLAN needs to be enabled, they should be set to editable at the policy level, and in the service request the attributes MatchOuterVlan and MatchInnerVlan should be set to TRUE/FALSE. These attributes are highlighted in bold below. This is applicable for both IOS and ASR9K devices.
Note These highlighted attributes are not mandatory attributes and would be required only when a range needs to be enabled.
The following XML example shows a partial list of the properties that can be specified for the attachment circuit EvcServiceInstanceAttrs.
Example: CreateEVC_PW_ServiceOrder_Ranges.xml
<objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcServiceInstanceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">MatchOuterVlan</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">OuterVlanRange</name> <value xsi:type="xsd:string">887</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">BothTags</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">MatchInnerVlan</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">InnerVlanRange</name> <value xsi:type="xsd:string">887-990</value>
Creating a Pseudowire Service Request with Encapsulation Type DEFAULT/UNTAGGED
In this example, an EVC pseudowire service request is created. In case of direct links, the encapsulation type can be set to DEFAULT or UNTAGGED. These attributes are highlighted in bold below. This is applicable for both IOS and ASR9K devices.
The table below shows the supported encapsulation types along with their respective API tag names:
|
Tag Name
|
DOT1Q
|
DOT1Q*
|
DEFAULT
|
DEFAULT
|
UNTAGGED
|
UNTAGGED
|
* DOT1Q is an existing encapsulation type.
The following XML example shows a partial list of the properties that can be specified for the attachment circuit EvcETHLinkAttrs for Encapsulation Type UNTAGGED.
Example: CreateEvc_ServiceOrder_PW_EncapDefaultUntag.xml
<objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcETHLinkAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseServiceInst</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">SystemMTU</name> <value xsi:type="xsd:string">1563</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">EncapsulationType</name> <value xsi:type="xsd:string">UNTAGGED</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">XconnectOnSVI</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VlanID</name> <value xsi:type="xsd:string">345</value>
The following XML example shows a partial list of the properties that can be specified for the attachment circuit EvcETHLinkAttrs for Encapsulation Type DEFAULT.
<objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcETHLinkAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseServiceInst</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">EncapsulationType</name> <value xsi:type="xsd:string">DEFAULT</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">XconnectOnSVI</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VlanID</name> <value xsi:type="xsd:string">345</value>
Creating a Pseudowire Service Request with ANY VLAN/Tagged with Untagged VLANs
In this example, an EVC pseudowire service request is created. To enable ANY VLAN or Tagged with Untagged VLANs for EVC direct connect, the attributes should be set to TRUE/FALSE. These attributes are highlighted in bold below. This is applicable for both IOS and ASR9K devices.
Note These highlighted attributes are not mandatory attributes and would be required only when ANY VLAN/Tagged with Untagged VLANs needs to be enabled.
The following XML example shows a partial list of the properties that can be specified for the attachment circuit EvcServiceInstanceAttrs.
Example: CreateEvc_ServiceOrder_PW_MatchTagUntag.xml
<objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcServiceInstanceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">BothTags</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickServiceInstId</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">MatchAnyOuterVlan</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">MatchAnyInnerVlan</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">MatchTaggedUntagged</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">OuterVlanRange</name> <value xsi:type="xsd:string">2524</value>
Creating an EVC Pseudowire Service Request with Reserved Bandwidth
In the following example, an EVC pseudowire service request with reserved bandwidth is created. To set the reserved bandwidth, use the attribute ReservedBandwidth, which in the example is set to 542.
Example: CreateEvcPwSr_ResBw.xml
<?xml version="1.0" encoding="UTF-8"?> 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" <!-- WaitTimeout has a default set in system properties.--> <ns0:message id="87855" timestamp="2002-12-13T14:55:38.885Z" Wait="true" WaitTimeout="90" sessiontoken="p36bttjwy1"/> <ns1:performBatchOperation> <actions xsi:type="ns1:CIMActionList" soapenc:arrayType="ns1:CIMAction[]"> <actionName xsi:type="xsd:string">createInstance</actionName> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceOrder</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceName</name> <value xsi:type="xsd:string">ServiceOrder257</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DesiredDueDate</name> <value xsi:type="xsd:dateTime">2008-12-13T14:55:38.885Z</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">NumberOfRequests</name> <value xsi:type="xsd:string">1</value> <actionName xsi:type="xsd:string">createInstance</actionName> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceRequest</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">RequestName</name> <value xsi:type="xsd:string">EvcSR-7</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Type</name> <value xsi:type="xsd:string">Evc</value> <objectPath subAction="createInstance" xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceRequestDetails</className> <properties soapenc:arrayType="ns1:CIMProperty[]" xsi:type="ns1:CIMPropertyList"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Description</name> <value xsi:type="xsd:string">EVC-PW-BW</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceDefinition</name> <value xsi:type="xsd:string">evc-pw</value> <qualifier xsi:type="ns1:CIMQualifier"> <name xsi:type="xsd:string">ServiceDefinitionType</name> <value xsi:type="xsd:string">Evc</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VCID</name> <value xsi:type="xsd:string">3849</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseBackupVCID</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">BackupVCID</name> <value xsi:type="xsd:string">1234</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ReservedBandwidth</name> <value xsi:type="xsd:string">542</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseSVI</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VPN</name> <value xsi:type="xsd:string">cust1_vpn1</value> <objectPath subAction="createInstance" xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcLink</className> <properties soapenc:arrayType="ns1:CIMProperty[]" xsi:type="ns1:CIMPropertyList"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Npe</name> <value xsi:type="xsd:string">isc-asr903</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniInftId</name> <value xsi:type="xsd:string">GigabitEthernet0/0/5</value> <objectPath subAction="createInstance" xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcETHLinkAttrs</className> <properties soapenc:arrayType="ns1:CIMProperty[]" xsi:type="ns1:CIMPropertyList"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickVlanId</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">EncapsulationType</name> <value xsi:type="xsd:string">DOT1Q</value> <!-- <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PWTunnelSel</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PWTunnelId</name> <value xsi:type="xsd:string">1000</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseServiceInst</name> <value xsi:type="xsd:string">true</value> <objectPath subAction="createInstance" xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcServiceInstanceAttrs</className> <properties soapenc:arrayType="ns1:CIMProperty[]" xsi:type="ns1:CIMPropertyList"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickServiceInstName</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickServiceInstId</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">OuterVlanRange</name> <value xsi:type="xsd:string">443</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">RewriteActionType</name> <value xsi:type="xsd:string">POP</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">BothTags</name> <value xsi:type="xsd:string">false</value> <!-- <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">EncapsulationType</name> <value xsi:type="xsd:string">DOT1Q</value> <objectPath subAction="createInstance" xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcLink</className> <properties soapenc:arrayType="ns1:CIMProperty[]" xsi:type="ns1:CIMPropertyList"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Npe</name> <value xsi:type="xsd:string">cl-test-l2-7600-5</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniInftId</name> <value xsi:type="xsd:string">GigabitEthernet2/3</value> <objectPath subAction="createInstance" xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcETHLinkAttrs</className> <properties soapenc:arrayType="ns1:CIMProperty[]" xsi:type="ns1:CIMPropertyList"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickVlanId</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">EncapsulationType</name> <value xsi:type="xsd:string">DOT1Q</value> <!-- <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PWTunnelSel</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PWTunnelId</name> <value xsi:type="xsd:string">1000</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseServiceInst</name> <value xsi:type="xsd:string">true</value> <objectPath subAction="createInstance" xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcServiceInstanceAttrs</className> <properties soapenc:arrayType="ns1:CIMProperty[]" xsi:type="ns1:CIMPropertyList"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickServiceInstName</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickServiceInstId</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">OuterVlanRange</name> <value xsi:type="xsd:string">447</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">RewriteActionType</name> <value xsi:type="xsd:string">POP</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">BothTags</name> <value xsi:type="xsd:string">false</value> <!-- <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">EncapsulationType</name> <value xsi:type="xsd:string">DOT1Q</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcPseudowireNeighborLinks</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PathXml</name> <value xsi:type="xsd:string"><![CDATA[ <service serviceName="MSPW" serviceType="MSPW"> <section name="Review Routing" required="true" useFor="SR"> <group cloneable="true" id="pathOptionsGroup" position="pane01_group0"> <field disabled="false" id="reqExOptionpane01_group0widget0" name="reqExOption" position="pane01_group0widget0" required="false" title="" type="combo" value="Required NE/Link"> <value>Required NE/Link</value> <value>Excluded NE/Link</value> <field name="sourceDevice" value="isc-asr903"/> <field name="destinationDevice" value="cl-test-l2-7600-5"/> <field name="groupPwSelection"> <pwfield name="pwSelection" segmentType ="dynamic"> <field name="sourceDevice" value="isc-asr903" pwclass = ""/> <field name="destinationDevice" value="cl-test-l2-7600-5" pwclass = ""/> <field id="reqExElementpane01_group0widget1" name="reqExElement" position="pane01_group0widget1" required="true" resource="devicesAndTpTunnels" title="" type="textpicker" value="cl-test-l2-7600-5:Tunnel-tp6(64)<===>isc-asr903:Tunnel-tp682(64)"/> <field id="pathtypepane01_group0widget2" name="pathtype" position="pane01_group0widget2" required="false" title="" type="combo" value="Working Path" visibility="Hidden"> <value>Working Path</value> </ns1:performBatchOperation>
Creating a Local Connect Service Request with ATM Ethernet
In the following example, a EVC service request with ATM Ethernet and local connect is created. The attributes relevant for the bridge domain feature are
AtmTransportMode, AtmVcd, VirtualConnId, and VirtualPvtId
(all in
bold
below).
Example: CreateATM_ETHERNET_LOCAL_WithBD.xml
<?xml version="1.0" encoding="UTF-8"?> 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" <!-- WaitTimeout has a default set in system properties.--> <ns0:message id="87855" timestamp="2002-12-13T14:55:38.885Z" Wait="true" WaitTimeout="90" sessiontoken="p36bttjwy1"/> <ns1:performBatchOperation> <actions xsi:type="ns1:CIMActionList" soapenc:arrayType="ns1:CIMAction[]"> <actionName xsi:type="xsd:string">createInstance</actionName> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceOrder</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceName</name> <value xsi:type="xsd:string">ServiceOrder257</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DesiredDueDate</name> <value xsi:type="xsd:dateTime">2008-12-13T14:55:38.885Z</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">NumberOfRequests</name> <value xsi:type="xsd:string">1</value> <actionName xsi:type="xsd:string">createInstance</actionName> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceRequest</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">RequestName</name> <value xsi:type="xsd:string">EvcSR-1</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Type</name> <value xsi:type="xsd:string">Evc</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceRequestDetails</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceDefinition</name> <value xsi:type="xsd:string">ATM_Local</value> <qualifier xsi:type="xsd:string"> <name xsi:type="xsd:string">ServiceDefinitionType</name> <value xsi:type="xsd:string">Evc</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VPN</name> <value xsi:type="xsd:string">vpn1</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseSVI</name> <value xsi:type="xsd:string">true</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcLink</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Npe</name> <value xsi:type="xsd:string">iscind-7609-1</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniInftId</name> <value xsi:type="xsd:string">ATM6/0/0</value> <!--EvcATMLinkAttrs class newly added to provide ATM Attributes values --> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcATMLinkAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AtmInterfaceEncapType</name> <value xsi:type="xsd:string">AAL5SNAP</value><!--AtmInterfaceEncapType to provide ATM Encapsulation Types AAL0,ALL5 or AAL5SNAP --> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AtmTransportMode</name> <value xsi:type="xsd:string">VC</value><!--Transport Mode VC or VP --> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniShutdown</name> <value xsi:type="xsd:string">True</value><!--UniShutDown --> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AtmVcd</name> <value xsi:type="xsd:string">2222</value><!--ATM VCD (1-2147483647) --> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VirtualConnId</name> <value xsi:type="xsd:string">111</value><!-- VPI (0-255) --> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VirtualPvtId</name> <value xsi:type="xsd:string">222</value><!-- VPI (0-255) --> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PwTunnelSelection</name> <value xsi:type="xsd:string">true</value><!--PW Tunnel Selction --> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">InterfaceTunnel</name> <value xsi:type="xsd:string">10</value><!--Tunnel ID (0-2147483647)--> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickVlanId</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VlanID</name> <value xsi:type="xsd:string">20</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">XconnectOnSVI</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UsePwClass</name> <value xsi:type="xsd:string">true</value><!--PW Tunnel Selction --> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PwClassName</name> <value xsi:type="xsd:string">pw-class</value><!--Tunnel ID --> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcLink</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Npe</name> <value xsi:type="xsd:string">iscind-7609-1</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniInftId</name> <value xsi:type="xsd:string">GigabitEthernet7/0/13</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcETHLinkAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">SystemMTU</name> <value xsi:type="xsd:string">1563</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VlanID</name> <value xsi:type="xsd:string">20</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseServiceInst</name> <value xsi:type="xsd:string">true</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcServiceInstanceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceInstID</name> <value xsi:type="xsd:string">1948</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">BothTags</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">OuterVlanRange</name> <value xsi:type="xsd:string">745</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">InnerVlanRange</name> <value xsi:type="xsd:string">746</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcUNIInterfaceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Shutdown</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PeIntfDesc</name> <value xsi:type="xsd:string">*** AC1 ***</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcLink</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Npe</name> <value xsi:type="xsd:string">iscind-7609-1</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniInftId</name> <value xsi:type="xsd:string">GigabitEthernet7/0/14</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcETHLinkAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">SystemMTU</name> <value xsi:type="xsd:string">1563</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VlanID</name> <value xsi:type="xsd:string">20</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseServiceInst</name> <value xsi:type="xsd:string">true</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcServiceInstanceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceInstID</name> <value xsi:type="xsd:string">1948</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">BothTags</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">OuterVlanRange</name> <value xsi:type="xsd:string">745</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">InnerVlanRange</name> <value xsi:type="xsd:string">746</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcUNIInterfaceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Shutdown</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PeIntfDesc</name> <value xsi:type="xsd:string">*** AC1 ***</value> </ns1:performBatchOperation>
Creating a Pseudowire Service Request with ATM Ethernet
In the following example, a EVC service request with ATM Ethernet and pseudowire is created. The attributes for specifying the pw-class are UseExistingPwClass and ExistingPwClassName higlighted in bold.
UseExistingPwClass and ExistingPwClassName are applicable only for ATM Ethernet interworking services. They are supported only for IOS devices and require you to provide the PW class name, which should already exist in the device.
The attributes relevant for the bridge domain feature are
AtmTransportMode, AtmVcd, VirtualConnId, and VirtualPvtId
(all in
bold
below).
Example: CreateATM_ETH_PW_WithBridgeDomain.xml
<?xml version="1.0" encoding="UTF-8"?> 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" <!-- WaitTimeout has a default set in system properties.--> <ns0:message id="87855" timestamp="2002-12-13T14:55:48.885Z" Wait="true" WaitTimeout="90" sessiontoken="p36bttjwy1"/> <ns1:performBatchOperation> <actions xsi:type="ns1:CIMActionList" soapenc:arrayType="ns1:CIMAction[]"> <actionName xsi:type="xsd:string">createInstance</actionName> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceOrder</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceName</name> <value xsi:type="xsd:string">ServiceOrder257</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DesiredDueDate</name> <value xsi:type="xsd:dateTime">2008-12-13T14:55:48.885Z</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">NumberOfRequests</name> <value xsi:type="xsd:string">1</value> <actionName xsi:type="xsd:string">createInstance</actionName> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceRequest</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">RequestName</name> <value xsi:type="xsd:string">EvcSR-7</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Type</name> <value xsi:type="xsd:string">Evc</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceRequestDetails</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceDefinition</name> <value xsi:type="xsd:string">ATM_ETHERNET_PW_VC</value><!-- Interworking policy --> <qualifier xsi:type="xsd:string"> <name xsi:type="xsd:string">ServiceDefinitionType</name> <value xsi:type="xsd:string">Evc</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutopickVCID</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VPN</name> <value xsi:type="xsd:string">vpn1</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseSVI</name> <value xsi:type="xsd:string">true</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcLink</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Npe</name> <value xsi:type="xsd:string">iscind-7609-1</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniInftId</name> <value xsi:type="xsd:string">ATM6/0/0</value> <!--EvcATMLinkAttrs class newly added to provide ATM Attributes values --> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcATMLinkAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AtmInterfaceEncapType</name> <value xsi:type="xsd:string">AAL5SNAP</value><!--AtmInterfaceEncapType to provide ATM Encapsulation Types AAL0,ALL5 or AAL5SNAP --> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AtmTransportMode</name> <value xsi:type="xsd:string">VC</value><!--Transport Mode VC or VP --> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniShutdown</name> <value xsi:type="xsd:string">True</value><!--UniShutDown --> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AtmVcd</name> <value xsi:type="xsd:string">2222</value><!--ATM VCD --> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VirtualConnId</name> <value xsi:type="xsd:string">111</value><!-- VCI values --> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VirtualPvtId</name> <value xsi:type="xsd:string">222</value><!-- VPI values --> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickVlanId</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VlanID</name> <value xsi:type="xsd:string">70</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">XconnectOnSVI</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseExistingPwClass</name> <value xsi:type="xsd:string">true</value><!--PW Tunnel Selction --> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ExistingPwClassName</name> <value xsi:type="xsd:string">pwclass1</value><!--Tunnel ID --> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcLink</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Npe</name> <value xsi:type="xsd:string">iscind-7609-2</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniInftId</name> <value xsi:type="xsd:string">GigabitEthernet7/0/16</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcETHLinkAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">SystemMTU</name> <value xsi:type="xsd:string">1563</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickVlanId</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VlanID</name> <value xsi:type="xsd:string">71</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseServiceInst</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">XconnectOnSVI</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseExistingPwClass</name> <value xsi:type="xsd:string">true</value><!--PW Tunnel Selction --> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ExistingPwClassName</name> <value xsi:type="xsd:string">pwclass2</value><!--Tunnel ID --> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcServiceInstanceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickServiceInstId</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceInstID</name> <value xsi:type="xsd:string">3222</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">BothTags</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">OuterVlanRange</name> <value xsi:type="xsd:string">745</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">InnerVlanRange</name> <value xsi:type="xsd:string">746</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcUNIInterfaceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Shutdown</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PeIntfDesc</name> <value xsi:type="xsd:string">*** AC1 ***</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcLink</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Npe</name> <value xsi:type="xsd:string">iscind-7609-2</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniInftId</name> <value xsi:type="xsd:string">GigabitEthernet7/0/15</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcETHLinkAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">SystemMTU</name> <value xsi:type="xsd:string">1563</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickVlanId</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VlanID</name> <value xsi:type="xsd:string">71</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseServiceInst</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">XconnectOnSVI</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseExistingPwClass</name> <value xsi:type="xsd:string">true</value><!--PW Tunnel Selction --> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ExistingPwClassName</name> <value xsi:type="xsd:string">pwclass2</value><!--Tunnel ID --> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcServiceInstanceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickServiceInstId</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceInstID</name> <value xsi:type="xsd:string">3222</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">BothTags</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">OuterVlanRange</name> <value xsi:type="xsd:string">745</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">InnerVlanRange</name> <value xsi:type="xsd:string">746</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcUNIInterfaceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Shutdown</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PeIntfDesc</name> <value xsi:type="xsd:string">*** AC1 ***</value> </ns1:performBatchOperation>
Creating a Pseudowire Service Request with Hybrid VPLS
In the following example, a EVC service request with Hybrid VPLS (H-VPLS) and pseudowire is created. In the example below, the EvcHvplsRole attribute i set to HUB. This service request can be used to provision (H-)VPLS with (static) single/multi-segment pseudowire over MPLS-TP, MPLS-TE and LDP.
Example: CreateEvcSR-MS-HVPLS.xml
<?xml version="1.0" encoding="UTF-8"?> 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" <!-- WaitTimeout has a default set in system properties.--> <ns0:message id="87855" timestamp="2002-12-13T14:55:38.885Z" Wait="true" WaitTimeout="90" sessiontoken="583F08B4B8B1E3B818E0CD20DFFFDFD2"/> <ns1:performBatchOperation> <actions xsi:type="ns1:CIMActionList" soapenc:arrayType="ns1:CIMAction[]"> <actionName xsi:type="xsd:string">createInstance</actionName> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceOrder</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceName</name> <value xsi:type="xsd:string">ServiceOrder257</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DesiredDueDate</name> <value xsi:type="xsd:dateTime">2008-12-13T14:55:38.885Z</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">NumberOfRequests</name> <value xsi:type="xsd:string">1</value> <actionName xsi:type="xsd:string">createInstance</actionName> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceRequest</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">RequestName</name> <value xsi:type="xsd:string">EvcSR-7</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Type</name> <value xsi:type="xsd:string">Evc</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceRequestDetails</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceDefinition</name> <value xsi:type="xsd:string">d-evc-msvpls</value> <qualifier xsi:type="xsd:string"> <name xsi:type="xsd:string">ServiceDefinitionType</name> <value xsi:type="xsd:string">Evc</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VPN</name> <value xsi:type="xsd:string">d-vpn-msvpls</value> <!--<item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutopickVCID</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutopickVfiName</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VCID</name> <value xsi:type="xsd:string">16543</value> <!--item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VfiName</name> <value xsi:type="xsd:string">FAHH</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseSVI</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DiscoveryMode</name> <value xsi:type="xsd:string">Manual</value> <!--item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseSplitHorizon</name> <value xsi:type="xsd:string">true</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcLink</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Npe</name> <value xsi:type="xsd:string">isc-asr903</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">EvcHvplsRole</name> <value xsi:type="xsd:string">HUB</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniInftId</name> <value xsi:type="xsd:string">GigabitEthernet0/0/5</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcETHLinkAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickVlanId</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VlanID</name> <value xsi:type="xsd:string">3922</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseServiceInst</name> <value xsi:type="xsd:string">true</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcServiceInstanceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">BothTags</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickServiceInstId</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">OuterVlanRange</name> <value xsi:type="xsd:string">3923</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcUNIInterfaceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Shutdown</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PeIntfDesc</name> <value xsi:type="xsd:string">*** AC1 ***</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcLink</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Npe</name> <value xsi:type="xsd:string">CPT</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">EvcHvplsRole</name> <value xsi:type="xsd:string">SPOKE_WITH_SPOKES</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">HubPe</name> <value xsi:type="xsd:string">isc-asr903</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniInftId</name> <value xsi:type="xsd:string">GigabitEthernet0/4</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcETHLinkAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickVlanId</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VlanID</name> <value xsi:type="xsd:string">3922</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseServiceInst</name> <value xsi:type="xsd:string">true</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcServiceInstanceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">BothTags</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickServiceInstId</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">OuterVlanRange</name> <value xsi:type="xsd:string">3923</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcUNIInterfaceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Shutdown</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PeIntfDesc</name> <value xsi:type="xsd:string">*** AC1 ***</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcPseudowireNeighborLinks</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PathXml</name> <value xsi:type="xsd:string"><![CDATA[ <service serviceName="MSPW" serviceType="MSPW"> <section name="Review Routing" required="true" useFor="SR"> <group cloneable="true" id="pathOptionsGroup" position="pane01_group0"> <field disabled="false" id="reqExOptionpane01_group0widget0" name="reqExOption" position="pane01_group0widget0" required="false" title="" type="combo" value="Required NE/Link"> <value>Required NE/Link</value> <value>Excluded NE/Link</value> <field name="sourceDevice" value="isc-asr903"/> <field name="destinationDevice" value="CPT"/> <field name="groupPwSelection"> <pwfield name="pwSelection" segmentType ="dynamic"> <field name="sourceDevice" value="isc-asr903" pwclass = ""/> <field name="destinationDevice" value="cl-test-l2-7600-5" pwclass = ""/> <pwfield name="pwSelection" segmentType ="dynamic"> <field name="sourceDevice" value="cl-test-l2-7600-5" pwclass = ""/> <field name="destinationDevice" value="isc-cl-test-l2-7600-6" pwclass = ""/> <pwfield name="pwSelection" segmentType ="dynamic"> <field name="sourceDevice" value="isc-cl-test-l2-7600-6" pwclass = ""/> <field name="destinationDevice" value="CPT" pwclass = ""/> <field id="reqExElementpane01_group0widget1" name="reqExElement" position="pane01_group0widget1" required="true" resource="devicesAndTpTunnels" title="" type="textpicker" value="isc-asr903:Tunnel-te6555(73)<===>cl-test-l2-7600-5:Tunnel-te1000(73)"/> <field id="pathtypepane01_group0widget2" name="pathtype" position="pane01_group0widget2" required="false" title="" type="combo" value="Working Path" visibility="Hidden"> <value>Working Path</value> <group cloneable="true" id="pathOptionsGroup" position="pane01_group0"> <field disabled="false" id="reqExOptionpane01_group0widget0" name="reqExOption" position="pane01_group0widget0" required="false" title="" type="combo" value="Required NE/Link"> <value>Required NE/Link</value> <value>Excluded NE/Link</value> <field id="reqExElementpane01_group0widget1" name="reqExElement" position="pane01_group0widget1" required="true" resource="devicesAndTpTunnels" title="" type="textpicker" value="cl-test-l2-7600-5:Tunnel-tp125(42) <===> isc-cl-test-l2-7600-6:Tunnel-tp9808(42)"/> <field id="pathtypepane01_group0widget2" name="pathtype" position="pane01_group0widget2" required="false" title="" type="combo" value="Working Path" visibility="Hidden"> <value>Working Path</value> </ns1:performBatchOperation>
Creating a Pseudowire Head-End Service Request for Access into L3VPN
In the following example, a pseudowire head-end service request is created for pseudowire access into L3VPN. The significant attribute is ConfigurePseudowireHE, which in the example is set to true. This makes it possible to configure Pw-Ether type interfaces at the service request level in addition to existing Ethernet services
Example: CreateEvcSR-pwHE-managed.xml
<?xml version="1.0" encoding="UTF-8"?> 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" <!-- WaitTimeout has a default set in system properties.--> <ns0:message id="87855" timestamp="2002-12-13T14:55:38.885Z" Wait="true" WaitTimeout="90" sessiontoken="568C3F922C7078A0A6FE2F9182C6A4AD"/> <ns1:performBatchOperation> <actions xsi:type="ns1:CIMActionList" soapenc:arrayType="ns1:CIMAction[]"> <actionName xsi:type="xsd:string">createInstance</actionName> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceOrder</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceName</name> <value xsi:type="xsd:string">AnyName</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DesiredDueDate</name> <value xsi:type="xsd:dateTime">2008-12-13T14:55:38.885Z</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">NumberOfRequests</name> <value xsi:type="xsd:string">1</value> <actionName xsi:type="xsd:string">createInstance</actionName> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceRequest</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">RequestName</name> <value xsi:type="xsd:string">AnyName</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Type</name> <value xsi:type="xsd:string">Evc</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceRequestDetails</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceDefinition</name> <value xsi:type="xsd:string">d-directEvc-pw</value> <qualifier xsi:type="xsd:string"> <name xsi:type="xsd:string">ServiceDefinitionType</name> <value xsi:type="xsd:string">Evc</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VPN</name> <value xsi:type="xsd:string">d-vpn-pw</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VCID</name> <value xsi:type="xsd:string">6312</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseSVI</name> <value xsi:type="xsd:string">true</value> <!-- Direct Link IOS 7609-1 --> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcLink</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Npe</name> <value xsi:type="xsd:string">iscind-7609-1</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniInftId</name> <value xsi:type="xsd:string">GigabitEthernet7/0/15</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcETHLinkAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseServiceInst</name> <value xsi:type="xsd:string">true</value> <!-- <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">SystemMTU</name> <value xsi:type="xsd:string">1563</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">EncapsulationType</name> <value xsi:type="xsd:string">DOT1Q</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickVlanId</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseSplitHorizon</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VlanID</name> <value xsi:type="xsd:string">3510</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">XconnectOnSVI</name> <value xsi:type="xsd:string">true</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcServiceInstanceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickServiceInstId</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceInstID</name> <value xsi:type="xsd:string">903</value> <!-- <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">BothTags</name> <value xsi:type="xsd:string">false</value> <!-- <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickOuterVlan</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">OuterVlanRange</name> <value xsi:type="xsd:string">300</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">InnerVlanRange</name> <value xsi:type="xsd:string">3900</value> <!--<item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">RewriteActionType</name> <value xsi:type="xsd:string">PUSH_BOTH</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">TranslateOuterVlanId</name> <value xsi:type="xsd:string">3402</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">TranslateInnerVlanId</name> <value xsi:type="xsd:string">3400</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcLink</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Npe</name> <value xsi:type="xsd:string">isc-tl-dev-asr9006-1</value> <!--<item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniInftId</name> <value xsi:type="xsd:string">GigabitEthernet0/1/0/5</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniInftId</name> <value xsi:type="xsd:string">PW-Ether550</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcETHLinkAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ElineName</name> <value xsi:type="xsd:string">d-pwhe-asr58-550</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseServiceInst</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickVlanId</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseSplitHorizon</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VlanID</name> <value xsi:type="xsd:string">252</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">XconnectOnSVI</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PwClassName</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UsePwClass</name> <value xsi:type="xsd:string">false</value> <!--<objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcServiceInstanceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickServiceInstId</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceInstID</name> <value xsi:type="xsd:string">142</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">EncapsulationType</name> <value xsi:type="xsd:string">DOT1Q</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">BothTags</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">OuterVlanRange</name> <value xsi:type="xsd:string">301</value> <!-- <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcLink</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Upe</name> <value xsi:type="xsd:string">isc-test-7600-80</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniInftId</name> <value xsi:type="xsd:string">GigabitEthernet5/15</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">NPC</name> <value xsi:type="xsd:string">2</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcETHLinkAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseServiceInst</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseUpeServiceInst</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">SystemMTU</name> <value xsi:type="xsd:string">1563</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickVlanId</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">XconnectOnSVI</name> <value xsi:type="xsd:string">true</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcUNIServiceInstanceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">OuterVlanRange</name> <value xsi:type="xsd:string">1500</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickServiceInstId</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceInstID</name> <value xsi:type="xsd:string">2321</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">RewriteActionType</name> <value xsi:type="xsd:string">PUSH</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">TranslateOuterVlanId</name> <value xsi:type="xsd:string">3600</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcServiceInstanceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">OuterVlanRange</name> <value xsi:type="xsd:string">2500</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickServiceInstId</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceInstID</name> <value xsi:type="xsd:string">3700</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">RewriteActionType</name> <value xsi:type="xsd:string">PUSH</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">TranslateInnerVlanId</name> <value xsi:type="xsd:string">3700</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">TranslateOuterVlanId</name> <value xsi:type="xsd:string">3800</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcUNIProtocolTunnelAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ProtocolTunnelling</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VtpDropThreshold</name> <value xsi:type="xsd:string">10</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">CdpDropThreshold</name> <value xsi:type="xsd:string">20</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">StpDropThreshold</name> <value xsi:type="xsd:string">27</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">StpThreshold</name> <value xsi:type="xsd:string">27</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VtpThreshold</name> <value xsi:type="xsd:string">2007</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">CdpThreshold</name> <value xsi:type="xsd:string">2007</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">CdpEnable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VtpEnable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">StpEnable</name> <value xsi:type="xsd:string">true</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcUNIInterfaceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PortSecurity</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">SpeedType</name> <value xsi:type="xsd:string">100</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DuplexType</name> <value xsi:type="xsd:string">Half</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Shutdown</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">MacAddress</name> <value xsi:type="xsd:string">5</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Aging</name> <value xsi:type="xsd:string">201</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ViolationActionType</name> <value xsi:type="xsd:string">RESTRICT</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">BroadcastTraffic</name> <value xsi:type="xsd:string">25</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">MulticastTraffic</name> <value xsi:type="xsd:string">25</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UnicastTraffic</name> <value xsi:type="xsd:string">25</value> </ns1:performBatchOperation>
Creating a VPLS Service Request with IOS XR
In the following example, a VPLS EVC service request is created. The attributes for specifying the vpls class are AutoPickBridgeGroupName, AutoPickBridgeDomainName, BridgeGroupName, and BridgeDomainName higlighted in bold.
Example: CreateEVCSR_IOSXR_VPLS.xml
<?xml version="1.0" encoding="UTF-8"?> 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" <!-- WaitTimeout has a default set in system properties.--> <ns0:message id="87855" timestamp="2002-12-13T14:55:38.885Z" Wait="true" WaitTimeout="90" sessiontoken="p36bttjwy1"/> <ns1:performBatchOperation> <actions xsi:type="ns1:CIMActionList" soapenc:arrayType="ns1:CIMAction[]"> <actionName xsi:type="xsd:string">createInstance</actionName> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceOrder</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceName</name> <value xsi:type="xsd:string">ServiceOrder257</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DesiredDueDate</name> <value xsi:type="xsd:dateTime">2008-12-13T14:55:38.885Z</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">NumberOfRequests</name> <value xsi:type="xsd:string">1</value> <actionName xsi:type="xsd:string">createInstance</actionName> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceRequest</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">RequestName</name> <value xsi:type="xsd:string">EvcSR-7</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Type</name> <value xsi:type="xsd:string">Evc</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceRequestDetails</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceDefinition</name> <value xsi:type="xsd:string">VplsPolicy</value> <qualifier xsi:type="xsd:string"> <name xsi:type="xsd:string">ServiceDefinitionType</name> <value xsi:type="xsd:string">Evc</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VPN</name> <value xsi:type="xsd:string">vpn2</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseSVI</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutopickVCID</name> <value xsi:type="xsd:string">true</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcLink</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Npe</name> <value xsi:type="xsd:string">met1-asr9k-dist2</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniInftId</name> <value xsi:type="xsd:string">GigabitEthernet0/1/0/11</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcETHLinkAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">SystemMTU</name> <value xsi:type="xsd:string">1563</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickVlanId</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VlanID</name> <value xsi:type="xsd:string">4005</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseServiceInst</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">XconnectOnSVI</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickBridgeGroupName</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickBridgeDomainName</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">BridgeGroupName</name> <value xsi:type="xsd:string">bg1</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">BridgeDomainName</name> <value xsi:type="xsd:string">bd1</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcUNIInterfaceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Shutdown</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PeIntfDesc</name> <value xsi:type="xsd:string">AC1</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcLink</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Npe</name> <value xsi:type="xsd:string">met1-asr9k-dist1</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniInftId</name> <value xsi:type="xsd:string">GigabitEthernet0/0/0/11</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcETHLinkAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">SystemMTU</name> <value xsi:type="xsd:string">1563</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickVlanId</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VlanID</name> <value xsi:type="xsd:string">4006</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseServiceInst</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">XconnectOnSVI</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickBridgeGroupName</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickBridgeDomainName</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">BridgeGroupName</name> <value xsi:type="xsd:string">bg2</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">BridgeDomainName</name> <value xsi:type="xsd:string">bd2</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcUNIInterfaceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Shutdown</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PeIntfDesc</name> <value xsi:type="xsd:string">AC1</value> </ns1:performBatchOperation>
Creating a VPLS Service Request for E-TREE
In the following example, an EVC VPLS service request is created to identify root and leaf nodes in an E-TREE. To do this, set the EtreeRole attribute to ROOT or LEAF. In the example, it is set to LEAF.
Example: CreateEvcVplsSr_Etree.xml
<?xml version="1.0" encoding="UTF-8"?> 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" <!-- WaitTimeout has a default set in system properties.--> <ns0:message id="87855" timestamp="2002-12-13T14:55:38.885Z" Wait="true" WaitTimeout="90" sessiontoken="A2CA3E07360764655638E548D94C888E"/> <ns1:performBatchOperation> <actions xsi:type="ns1:CIMActionList" soapenc:arrayType="ns1:CIMAction[]"> <actionName xsi:type="xsd:string">createInstance</actionName> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceOrder</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceName</name> <value xsi:type="xsd:string">ServiceOrder257</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DesiredDueDate</name> <value xsi:type="xsd:dateTime">2008-12-13T14:55:38.885Z</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">NumberOfRequests</name> <value xsi:type="xsd:string">1</value> <actionName xsi:type="xsd:string">createInstance</actionName> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceRequest</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">RequestName</name> <value xsi:type="xsd:string">EvcSR-7</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Type</name> <value xsi:type="xsd:string">Evc</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceRequestDetails</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceDefinition</name> <value xsi:type="xsd:string">doc_vpls2</value> <qualifier xsi:type="xsd:string"> <name xsi:type="xsd:string">ServiceDefinitionType</name> <value xsi:type="xsd:string">Evc</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VPN</name> <value xsi:type="xsd:string">vpn5</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VCID</name> <value xsi:type="xsd:string">100765</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VfiName</name> <value xsi:type="xsd:string">egtgee</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseSVI</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DiscoveryMode</name> <value xsi:type="xsd:string">Manual</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcLink</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Npe</name> <value xsi:type="xsd:string">iscind-7609-1</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniInftId</name> <value xsi:type="xsd:string">GigabitEthernet7/0/15</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcETHLinkAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">SystemMTU</name> <value xsi:type="xsd:string">1544</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickVlanId</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VlanID</name> <value xsi:type="xsd:string">1498</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseServiceInst</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">EtreeRole</name> <value xsi:type="xsd:string">LEAF</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcServiceInstanceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">BothTags</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickServiceInstId</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">OuterVlanRange</name> <value xsi:type="xsd:string">1248</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcUNIInterfaceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Shutdown</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PeIntfDesc</name> <value xsi:type="xsd:string">*** AC1 ***</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcLink</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Upe</name> <value xsi:type="xsd:string">iscind-3750-1</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniInftId</name> <value xsi:type="xsd:string">FastEthernet1/0/12</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">NPC</name> <value xsi:type="xsd:string">31</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcETHLinkAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseServiceInst</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">SystemMTU</name> <value xsi:type="xsd:string">1685</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickVlanId</name> <value xsi:type="xsd:string">true</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcUNIProtocolTunnelAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ProtocolTunnelling</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VtpDropThreshold</name> <value xsi:type="xsd:string">10</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">CdpDropThreshold</name> <value xsi:type="xsd:string">20</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">StpDropThreshold</name> <value xsi:type="xsd:string">27</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">StpThreshold</name> <value xsi:type="xsd:string">27</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VtpThreshold</name> <value xsi:type="xsd:string">2007</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">CdpThreshold</name> <value xsi:type="xsd:string">2007</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">CdpEnable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VtpEnable</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">StpEnable</name> <value xsi:type="xsd:string">true</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcUNIInterfaceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PortSecurity</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">SpeedType</name> <value xsi:type="xsd:string">Auto</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DuplexType</name> <value xsi:type="xsd:string">Full</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Shutdown</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ViolationActionType</name> <value xsi:type="xsd:string">RESTRICT</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Aging</name> <value xsi:type="xsd:string">1244</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">MacAddress</name> <value xsi:type="xsd:string">2458</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">BroadcastTraffic</name> <value xsi:type="xsd:string">54</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">MulticastTraffic</name> <value xsi:type="xsd:string">55</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UnicastTraffic</name> <value xsi:type="xsd:string">15</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">StdUniPort</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DisableCDP</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PeIntfDesc</name> <value xsi:type="xsd:string">Description</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PortSecurity</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Shutdown</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniKeepAlive</name> <value xsi:type="xsd:string">true</value> </ns1:performBatchOperation>
Creating a Pseudowire Service Request for an L2-Access Link With EVC-syntax
In the following example, an EVC pseudowire service request is created. In case of L2 access links, UseUpeServiceInst is enabled (which is similar to the EVC UNI checkbox in the GUI). After setting the value for the attribute UseUpeServiceInst to TRUE, use the object EvcUNIServiceInstanceAttrs to set the then corresponding values for the EVC UNI related attributes as highlighted below. This is applicable for L2 access links only.
Example: CreateEVC_ServiceOrder_PW_EVCUNI.xml
<?xml version="1.0" encoding="UTF-8"?> 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" <!-- WaitTimeout has a default set in system properties.--> <ns0:message id="87855" timestamp="2002-12-13T14:55:38.885Z" Wait="true" WaitTimeout="90" sessiontoken="F7C9020B82541A77DBFBF9A0FC6524E3"/> <ns1:performBatchOperation> <actions xsi:type="ns1:CIMActionList" soapenc:arrayType="ns1:CIMAction[]"> <actionName xsi:type="xsd:string">createInstance</actionName> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceRequest</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">RequestName</name> <value xsi:type="xsd:string">AnyName</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Type</name> <value xsi:type="xsd:string">Evc</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceRequestDetails</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceDefinition</name> <value xsi:type="xsd:string">d-evc-pw</value> <qualifier xsi:type="xsd:string"> <name xsi:type="xsd:string">ServiceDefinitionType</name> <value xsi:type="xsd:string">Evc</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VPN</name> <value xsi:type="xsd:string">d-vpn-pw</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">VCID</name> <value xsi:type="xsd:string">45000</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseSVI</name> <value xsi:type="xsd:string">false</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcLink</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Upe</name> <value xsi:type="xsd:string">isc-test-7600-80</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UniInftId</name> <value xsi:type="xsd:string">GigabitEthernet5/15</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">NPC</name> <value xsi:type="xsd:string">2</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcETHLinkAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseServiceInst</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">UseUpeServiceInst</name> <value xsi:type="xsd:string">true</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">SystemMTU</name> <value xsi:type="xsd:string">1563</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickVlanId</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">XconnectOnSVI</name> <value xsi:type="xsd:string">true</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcUNIServiceInstanceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickServiceInstId</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceInstID</name> <value xsi:type="xsd:string">2321</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">OuterVlanRange</name> <value xsi:type="xsd:string">1500</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">RewriteActionType</name> <value xsi:type="xsd:string">PUSH</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">TranslateOuterVlanId</name> <value xsi:type="xsd:string">3600</value> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcServiceInstanceAttrs</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">OuterVlanRange</name> <value xsi:type="xsd:string">2500</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">AutoPickServiceInstId</name> <value xsi:type="xsd:string">false</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">ServiceInstID</name> <value xsi:type="xsd:string">3700</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">RewriteActionType</name> <value xsi:type="xsd:string">PUSH</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">TranslateInnerVlanId</name> <value xsi:type="xsd:string">3700</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">TranslateOuterVlanId</name> <value xsi:type="xsd:string">3800</value> </ns1:performBatchOperation>
Modifying an EVC Multi-Segment Pseudowire Service Request
The following example shows how an EVC Multi Segment service request is modified. EvcPseudowireNeighborLinks is the XML tag used for the service request level attribute, which is highlighted below. It contains only one item PathXml, which has all the information about the source device, destination device, and stitching point.
Example: ModifyEVC_MSPW.xml
<?xml version="1.0" encoding="utf-8"?> <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"> <!-- WaitTimeout has a default set in system properties.--> <ns0:message id="87855" timestamp="2008-04-15T14:55:38.885Z" Wait="true" WaitTimeout="90" sessiontoken="87FF9779CE847E2E18C5630091C3A8EB" /> <ns1:performBatchOperation> <actions xsi:type="ns1:CIMActionList" soapenc:arrayType="ns1:CIMAction[]"> <actionName xsi:type="xsd:string">modifyInstance</actionName> <objectPath subAction="modifyInstance" xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceRequest</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">RequestName</name> <value xsi:type="xsd:string">evc-test</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Type</name> <value xsi:type="xsd:string">Evc</value> <objectPath subAction="modifyInstance" xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">ServiceRequestDetails</className> <keyProperties xsi:type="ns1:CIMKeyPropertyList" soapenc:arrayType="ns1:CIMKeyProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">LocatorId</name> <value xsi:type="xsd:string">3</value> <objectPath subAction="modifyInstance" xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcLink</className> <keyProperties xsi:type="ns1:CIMKeyPropertyList" soapenc:arrayType="ns1:CIMKeyProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">LocatorId</name> <value xsi:type="xsd:string">9</value> <objectPath subAction="modifyInstance" xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcLink</className> <keyProperties xsi:type="ns1:CIMKeyPropertyList" soapenc:arrayType="ns1:CIMKeyProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">LocatorId</name> <value xsi:type="xsd:string">10</value> <objectPath subAction="modifyInstance" xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">EvcPseudowireNeighborLinks</className> <keyProperties xsi:type="ns1:CIMKeyPropertyList" soapenc:arrayType="ns1:CIMKeyProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">LocatorId</name> <value xsi:type="xsd:string">3</value> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">PathXml</name> <value xsi:type="xsd:string"> <service serviceName="MSPW" serviceType="MSPW"> <section name="Review Routing" required="true" useFor="SR"> <group cloneable="true" id="pathOptionsGroup" position="pane01_group0"> <field disabled="false" id="reqExOptionpane01_group0widget0" name="reqExOption" position="pane01_group0widget0" required="false" title="" type="combo" value="Required NE/Link"> <value>Required NE/Link</value> <value>Excluded NE/Link</value> <field name="sourceDevice" value="isc-cl-test-l2-7600-6"/> <field name="destinationDevice" value="cl-test-l2-7600-3"/> <field name="groupPwSelection"> <pwfield name="pwSelection" segmentType ="dynamic"> <field name="sourceDevice" value="isc-cl-test-l2-7600-6" pwclass ="pw-class-1"/> <field name="destinationDevice" value="iscind-7609-2" pwclass ="pw-class-1"/> <pwfield name="pwSelection" segmentType ="dynamic"> <field name="sourceDevice" value="iscind-7609-2" pwclass ="pw-class-2"/> <field name="destinationDevice" value="cl-test-l2-7600-3" pwclass ="pw-class-2"/> <field id="reqExElementpane01_group0widget1" name="reqExElement" position="pane01_group0widget1" required="true" resource="devicesAndTpTunnels" title="" type="textpicker" value="isc-cl-test-l2-7600-6:Tunnel-tp7667(7667)<===>iscind-7609-2:Tunnel-tp7667(7667)"/> <field id="pathtypepane01_group0widget2" name="pathtype" position="pane01_group0widget2" required="false" title="" type="combo" value="Working Path" visibility="Hidden"> <value>Working Path</value> </ns1:performBatchOperation>
Service Request Examples in the API Programmer Reference
The following API XMLs are included in the
Cisco Prime Provisioning API 6.8 Programmer Reference:
-
Create1ATM_1ETH_PW_WithoutBD.xml
-
CreateATM_ATM_Local_VP_SR.xml
-
CreateATM_ETH_PW_WithBridgeDomain.xml
-
CreateATM_ETHERNET_LOCAL_WithBD.xml
-
CreateATM_ETHERNET_LOCAL_WithoutBD.xml
-
CreateEVC_PW_ServiceOrder_Ranges.xml
-
CreateEvc_ServiceOrder_PW_EncapDefaultUntag.xml
-
CreateEvc_ServiceOrder_PW_MatchTagUntag.xml
-
CreateEVCPseudowireOrder_withTemplates.xml
-
CreateEVCServiceOrder_LOCAL.xml
-
CreateEVCServiceOrder_PW.xml
-
CreateEVCServiceOrder_VPLS.xml
-
CreateEVCSR_IOSXR_Local_With_BridgeDomain.xml
-
CreateEVCSR_IOSXR_Local_With_p2p_Elinename.xml
-
CreateEVCSR_IOSXR_PW_With_BridgeDomain.xml
-
CreateEVCSR_IOSXR_PW_With_p2p_Elinename.xml
-
CreateEVCSR_IOSXR_VPLS.xml
-
ModifyEVCServiceOrder.xml
-
ViewEVCServiceRequest.xml
-
CreateEvcSR-MS-HVPLS.xml
-
CreateEvcSR-pwHE-managed.xml
-
CreateEvcSR-SetMTU.xml
End-to-End Provisioning Process
This section describes the process for using the API to provision EVC, and includes the required operation, object definition (className), and parameter definitions.
Process Summary
This EVC provisioning example uses the following processes:
1. Create device groups (optional).
2. Create devices.
3. Collect device configurations.
4. Create provider.
5. Create regions.
6. Declare devices as PEs.
7. Create access domains and assign PEs to them.
8. Create customer.
9. Create sites.
10. Create named physical circuits.
11. Create VLAN ID pool.
12. Create VC ID pool.
13. Create VPN.
14. Create EVC service definition (policy).
15. Create EVC service request.
Prerequisites
For security reasons, Prime Provisioning requires the virtual terminal protocol (VTP) to be configured in transparent mode on all switches before provisioning EVC service requests.
To set the VTP mode, enter the following Cisco IOS commands:
Enter the following Cisco IOS command to verify that the VTP has changed to transparent mode:
Detailed Process
To provision EVC using Prime Provisioning API, an EVC service policy and an EVC service request are required and only one subtype will be defined and of type Evc.
The EVC service policy/service definition specifies the attributes related to the EVC links and non-EVC links. The service request defines the device interfaces for each EVC/non-EVC link connection and can optionally override policy attributes in each of the corresponding links.
When you deploy an EVC service request using a service order, the attributes specified in the service definition are applied to the devices and interfaces listed in the service request, along with the attributes for each of the EVC/non-EVC links.
This section describes the process for provisioning EVC using XML examples.
The complete list of XML examples for EVC is available here:
Cisco Prime Provisioning API 6.8 Programmer Reference
Note For clarity, this provisioning process shows each step as a separate XML request. Many of these steps can be combined using performBatchOperations.
Step 1 Create device groups (optional).
Table 9-1 Create Device Group
|
|
|
createInstance
|
DeviceGroup
|
Name
|
XML Examples:
Tip If you plan to create device groups, create the empty device groups before you create the devices. As you create each device, add the associated device group name as a key property in the create device XML request.
In the following example, the device group (CustDev) is added as a key property when creating the device CiscoRouter:
<objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">CiscoRouter</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DeviceGroup</name> <value xsi:type="xsd:string">CustDev</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">CfgUpDnldMech</name> <value xsi:type="xsd:string">DEFAULT</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">TransportMechanism</name> <value xsi:type="xsd:string">DEFAULT</value> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">Password</name> <value xsi:type="xsd:string">vpnsc</value>
Step 2 Create devices.
Every network element that Prime Provisioning manages must be defined as a device in the system. An element is any device from which Prime Provisioning can collect configuration information.
Table 9-2 Create Devices
|
|
|
createInstance
|
|
One or more of the following:
-
ManagementIPAddress
-
HostName
-
DomainName
|
XML Examples:
-
CreateCiscoRouter.xml
-
CreateCat.xml
Step 3 Collect device configurations.
A device configuration collection is a task. This task uploads the current configuration from the device to the Prime Provisioning database. The collection task is executed through a service request, and the service request is scheduled through a service order.
Note The service request name must be unique for each NBI API.
Table 9-3 Collect Device Configurations
|
|
|
createInstance
|
ServiceOrder
|
-
ServiceName
-
NumberofRequests
-
ServiceRequest
|
|
ServiceRequest
|
-
RequestName
-
Type=Task
-
ServiceRequestDetails
|
|
ServiceRequestDetails
|
-
SubType=COLLECTION
-
Device (or DeviceGroup)
Note You must select at least one device or device group.
-
RetreiveVersion=true
-
RetreiveDeviceInterfaces=true
|
XML Examples:
-
CreateTaskServiceOrderCollection.xml
Step 4 Create a provider.
The provider is the administrative domain of an ISP, with one BGP autonomous system (AS) number. The network owned by the provider is called the backbone network. If an ISP has two AS numbers, you must define it as two provider administrative domains.
Table 9-4 Create a Provider
|
|
|
createInstance
|
Provider
|
|
XML Examples:
CreateProvider.xml
Step 5 Create regions.
Each provider can contain multiple regions.
Table 9-5 Create Regions
|
|
|
createInstance
|
Region
|
|
XML Examples:
CreateRegion.xml
Step 6 Declare devices as PEs.
The XML request that assigns a PE role to a device is also used to:
-
Assign PE devices to Regions/Provider
-
Specify interface information
Table 9-6 Create PE Devices
|
|
|
createInstance
|
PE
|
– PE_CLE
– PE_POP
|
XML Examples:
CreatePE.xml
Step 7 Create access domains.
Prime Provisioning assigns a VLAN ID to the attachment circuit from the VLAN ID pool. Select all PE-POP devices to be associated with this domain, and later in the process, when VLAN ID pools are created, the PE-POP is automatically assigned a VLAN ID.
Note If provisioning for an Ethernet provider core, all PE devices must be in the same access domain and a single VLAN ID is used for the entire VPLS VPN. If provisioning for an MPLS provider core, the PE devices can be in different access domains.
Table 9-7 Create Access Domains
|
|
|
createInstance
|
AccessDomain
|
-
Name
-
Provider
-
PE (Role must be PE_POP)
|
XML Examples:
Step 8 Create a customer.
A customer is a requestor of VPN services. Each customer can contain multiple customer sites. Each site belongs to only one customer and can contain multiple CPEs.
Table 9-8 Create Organization
|
|
|
createInstance
|
Organization
|
|
XML Examples:
Step 9 Create sites and assign customers (Organizations) to them.
Table 9-9 Create Sites
|
|
|
createInstance
|
Site
|
|
XML Examples:
Step 10 Create Named Physical Circuits (NPCs). This step is not required if you plan to manually configure the physical links in the VPLS service request (Step 16).
Create an NPC for each attachment circuit (CE/UNI to PE-POP link). If there are intermediate devices, those links must also be added to the NPC using PhysicalLink.
Note When creating an NPC, you must specify the CPE as the source device and the PE-POP as the destination device. If there are intermediate devices, such as PE-CLEs, the source and destination devices must follow the direction of the CPE to PE-POP link.
Table 9-10 Create Named Physical Circuits
|
|
|
createInstance
|
NamedPhysicalCircut
|
PhysicalLink
|
|
PhysicalLink
|
-
SrcDevice
-
DestDevice
-
SrcIfName
-
DestIfName
|
You can create one XML request for the NamedPhysicalCircuit and include multiple PhysicalLinks as shown in the following example:
<objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">NamedPhysicalCircuit</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">PhysicalLink</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">SrcDevice</name> <value xsi:type="xsd:string">Device1</value> </item> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DestDevice</name> <value xsi:type="xsd:string">Device2</value> </item> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">SrcIfName</name> <value xsi:type="xsd:string">Intf1/0</value> </item> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DestIfName</name> <value xsi:type="xsd:string">Intf2/1</value> </item> <objectPath xsi:type="ns1:CIMObjectPath"> <className xsi:type="xsd:string">PhysicalLink</className> <properties xsi:type="ns1:CIMPropertyList" soapenc:arrayType="ns1:CIMProperty[]"> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">SrcDevice</name> <value xsi:type="xsd:string">Device3</value> </item> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DestDevice</name> <value xsi:type="xsd:string">Device5</value> </item> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">SrcIfName</name> <value xsi:type="xsd:string">Intf3/0</value> </item> <item xsi:type="ns1:CIMProperty"> <name xsi:type="xsd:string">DestIfName</name> <value xsi:type="xsd:string">Intf5/1</value> </item>
XML Examples:
-
CreateNamedPhysicalCircuit.xml
-
CreateNamedPhysicalCircuitRing.xml—Use this example if there is a Ring topology configuration on the PE-CLEs.
-
CreateNamedPhysicalCircuitRingExisting.xml—Use this example to reference an NPC ring that has already been created.
Step 11 Create VLAN ID pool.
Create a VLAN ID pool, specify a range, and associate it to an access domain to manually enter the parameters for a VLAN ID pool. To have Prime Provisioning automatically assign VLANs to the attachment circuits, specify the Autopick_Vlan_ID keyword in the service definition (Step 15).
When provisioning for an Ethernet core, VPLS service requests use the VLAN ID to reference the attachment circuits.
Table 9-11 Create VLAN ID Pools
|
|
|
createInstance
|
VlanIdPool
|
-
Start
-
Size
-
AssocClassType
-
AssocClassId
|
XML Examples:
Step 12 Create VC ID pool.
For a VPLS VPN, all PE-POP routers use the same VC ID to establish the virtual circuit (VC) across the provider core. The VC ID is also the VPN ID and is assigned from the VC ID pool. Prime Provisioning ensures that VC IDs are unique among VPLS VPNs.
Note A VC ID pool is global (not associated with a provider or organization).
Table 9-12 Create VC ID Pool
|
|
|
createInstance
|
VcIdPool
|
|
XML Examples:
Step 13 Create a VPN.
When you create a VPN to use in VPLS provisioning, you must enable it to support VPLS (VplsVpn=true), and define the type of service (ERS or EWS).
Prime Provisioning assigns a VPN ID (from the VC ID pool) to each VPLS VPN.
Table 9-13 Create VPNs
|
|
|
createInstance
|
VPN
|
-
Name
-
Organization or Provider
-
VplsVpn=true
-
ServiceType=
– ERS
– EWS
|
XML Examples:
Step 14 Create EVC service definition (policy).
A EVC service definition specifies the core type, service subtype, device properties, and the attributes common to all attachment circuits.
Table 9-14 Create a EVC Service Definition
|
|
|
createInstance
|
ServiceDefinition
|
-
Name
-
Type=Evc
-
Provider or Organization
Note If you do not specify a Provider or Organization, the service policy is global
|
|
ServiceDefinitionDetails
|
– PseudoWire
– VPLS
– LOCAL
-
N_PE_Encap and U_PE_Encap=
– DOT1Q
– DOT1QTUNNEL
– ACCESS
– MacAddress (You can list multiple secure MAC addresses)
|
|
PW
|
– TRUE
– FALSE
– 1
– any other number
|
Note If AutoPickBDVlanId=true, be sure that an access domain is attached to the PE-POP, and a VLAN ID pool is assigned to the access domain (Step 7).
XML Examples:
-
CreateEVCServiceDefn_LOCAL.xml
-
CreateEVCServiceDefn_PW.xml
-
CreateEVCServiceDefn_VPLS.xml
-
Create_PW_EVCPolicy.xml
-
CreateLocalEVCPolicy.xml
-
CreateVplsEVCPolicy.xml
Step 15 Create EVC service request.
A EVC service request defines the service definition and VPN, assigns interfaces and attributes for each attachment circuit (EvcLink), and applies any template information.
Table 9-15 Create a EVC Service Request
|
|
|
createInstance
|
ServiceOrder
|
-
ServiceName
-
NumberOfRequests
-
Provider or Organization
Note If you do not specify a Provider or Organization, the service policy is global.
|
|
ServiceRequest
|
-
RequestName
-
Type=Evc
-
ServiceRequestDetails
|
|
ServiceRequestDetails
|
– ServiceDefinitionType=Evc
|
|
EvcLink
|
-
NPC
-
EvcUNIMacACLAddresses
-
SRAssociatedTemplate (optional)
Note See the “Templates in a Service Request” section.
|
Tip Record the LocatorId value from the XML response for the service request. The Locator ID is required for subsequent service request tasks.
XML Example:
-
CreateEVCServiceOrder_LOCAL.xml
-
CreateEVCServiceOrder_VPLS.xml
-
CreateEVCServiceOrder_PW.xml
Auditing Service Requests
A configuration audit occurs automatically each time you deploy a service request. During this configuration audit, Prime Provisioning verifies that all Cisco IOS commands are present and that they have the correct syntax. An audit also verifies that there were no errors during deployment by examining the commands configured by the service request on the target devices. If the device configuration does not match what is defined in the service request, the audit flags a warning and sets the service request to a Failed Audit or Lost state.
If you do not want the configuration audit to occur, change the value for the Audit parameter. The Audit parameter supports these values:
-
Audit—This is the default. A successfully deployed service request is automatically audited unless this flag is changed.
-
NoAudit—Do not perform a configuration audit when the service request is deployed.
-
ForceAudit—Perform a configuration audit even if the service request deployment is not successful.
You can use the Audit parameter with a Create, Modify, or Decommission service request or a Deployment task. See the “Service Decommission” section for more information. To perform a configuration audit as a separate task, see the “Configuration Audit” section.