Creating service with site, access interface, and SDP binding in one request
Overview
The following example shows an XML request to create a VPLS, site, access interface, and SDP binding in one request. This method can be used for other types of services.
Looking at the specific service object class in the XML API Reference, under the Children Hierarchy and the specific attribute, you can determine what child objects are configured for the service object. The following figure displays the children hierarchy of the vpls.Vpls object.
Figure 19-9: Children hierarchy of the vpls.Vpls object
The XML request to set the VPLS site inside the VPLS service must be enclosed in the <children-Set> tags. The XML request example does not include all of the properties required to create a working service.
See the XML API Reference for the service object class under the Children Hierarchy and the specific attribute, to determine the child objects that can be configured for this service object.
Service creation parameters
-
childConfigInfo - creates and configures the following service parameters:
-
<subscriberPointer> - assigns a subscriber. See the Parent Hierarchy of the class subscr.Subscriber for the FDN.
-
<children-Set> - tag to enclose children objects
• Site object - vpls.Site
• actionMask - specifies the create operation
• <siteId> - IP address of the NE
• <children-Set> - tag to enclose children objects
• SDP binding object- svt.MeshSdpBinding
• actionMask - specifies the create operation
• <tunnelSelectionTerminationSiteId> - assigns site ID of tunnel termination for the mesh SDP binding
• Access interface object- vpls.L2AccessInterface
• actionMask - specifies the create operation
• <portPointer>- assigns an access port
• <innerEncapValue>/<outerEncapValue> - assigns encapsulation values
Figure 19-10: Service creation request example including site, SAP, and SDP binding
<generic.GenericObject.configureChildInstance xmlns="xmlapi_1.0"> |
<deployer>immediate</deployer> |
<synchronousDeploy>true</synchronousDeploy> |
<distinguishedName>svc-mgr</distinguishedName> |
<childConfigInfo> |
<vpls.Vpls> |
<actionMask> |
<bit>create</bit> |
</actionMask> |
<serviceId/> |
<subscriberPointer/> |
<children-Set> |
<vpls.Site> |
<actionMask> |
<bit>create</bit> |
</actionMask> |
<siteId/> |
<children-Set> |
<svt.MeshSdpBinding> |
<actionMask> |
<bit>create</bit> |
</actionMask> |
<circuitType>mesh</circuitType> |
<tunnelSelectionTerminationSiteId/> |
</svt.MeshSdpBinding> |
<vpls.L2AccessInterface> |
<actionMask> |
<bit>create</bit> |
</actionMask> |
<portPointer/> |
<innerEncapValue/> |
<outerEncapValue/> |
</vpls.L2AccessInterface> |
</children-Set> |
</vpls.Site> |
</children-Set> |
</vpls.Vpls> |
</childConfigInfo> |
</generic.GenericObject.configureChildInstance> |
© 2024 Nokia. Nokia Confidential Information
Use subject to agreed restrictions on disclosure and use.