|
The file ServiceProvisioning.idl contains the following interface:
The ServiceProvisioning module encapsulates the interface ProvisionMgr and related data structures needed for a service request.
A FeatureData object encapsulates information on a service feature.
feature_namename of service feature.
operation_typethe operation to be performed for this service feature (for example ADD, DELETE). If empty string then the default operation type of service request is the operation type for this service feature. Refer to description of default_operation_type of ServiceRequest struct for details. This field is used to retrieve the associated template and template data for this service feature.
feature_parametersa list of name-value pairs which specifies any configuration parameters for this service feature.
network_elementslist of network elements that this service feature will be "performed" on (i.e. adding, deleting).
The FeatureDataSeq type defines the list of FeatureData objects.
An NEInfo object encapsulates information on a network element to be passed into a service request.
idfully distinguished name of the device.
tagany string that can be understood by specific application of SPM.
modelthe model of the device (for example 2421/3660/827).
typethe device type (for example CPE/ROUTER).
subtypethe device subtype (for example DSL).
config_parama name-value pair list that specifies any configuration parameters that are specific to this device.
The NEInfoSeq type defines the list of NEInfo objects.
The NVPairSeq type re-defines the NVPairSeq type defined in the module CommonDefinition for convenience.
The ResultInfo type re-defines the ResultInfo type defined in the module CommonDefinition for convenience.
The SecurityToken type re-defines the SecurityToken type defined in the module CommonDefinition for convenience.
The ServiceRequest data structure.
service_category_ididentifies the service profile to be used.
request_reference_ididentifier to reference a related request,for example, to reference a request ID of a previous "Add Service" request (for the "Delete Service" operation). This reference id need not be unique. This is for the purpose of easy identification of a service request from the user's perspective. The system just uses this for logging purpose only.
descriptiontext description of the request.
operator_idoperator ID, for logging purpose.
technology_typethe technolgy type of the solution network this request applies to, for example VoIP network, ContentSwitch network, MobileWireless network.
default_operation_typeThe default operation type is the operation type for a service feature unless the service feature (see FeatureData struct) explicitly defines its own operation type (for example ADD, MODIFY, DELETE service, or empty).
customer_idcustomer ID, identifies the customer for this provision request.
service_parametersglobal parameters associated with the service request.
@param service_feature_list--list of service features to be provisioned. If the same feature_name and operation_type is repeated in the sequence the parameters for the later combination overwrites the one from previous combination.
ServiceRequest: data related to provisioning a service in the network, including service category and its associated features to be provisioned, the applicable network domain (for example, Content Switch network, voice over IP network, mobile wireless), and global parameters for all the features defined in the service category
Interface ProvisionMgr provides the operation for service provisioning.
The process_service_request method is responsible for processing the service request.
security_tokenSecurity token for authentication and authorization purpose.
prov_requestService Request informations.
request_idService request id returned by the server
ResultInforeturns the result of the process request.
No exception is raised by this operation.
Upon successful, this method returns a ResultInfo object with major_code = 0 (SPM Module), minor_code = 0 (Success) and msg_text contains return data if any. If failure, the returned ResultInfo object has major_code and minor code and msg_text indicating the module from which the error was raised.
Posted: Wed May 21 08:17:49 PDT 2003
All contents are Copyright © 1992--2003 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.