WO2007096591A2 - Configuring devices in a telecommunications network to provide a service - Google Patents

Configuring devices in a telecommunications network to provide a service Download PDF

Info

Publication number
WO2007096591A2
WO2007096591A2 PCT/GB2007/000565 GB2007000565W WO2007096591A2 WO 2007096591 A2 WO2007096591 A2 WO 2007096591A2 GB 2007000565 W GB2007000565 W GB 2007000565W WO 2007096591 A2 WO2007096591 A2 WO 2007096591A2
Authority
WO
WIPO (PCT)
Prior art keywords
configuration
service
script
devices
instructions
Prior art date
Application number
PCT/GB2007/000565
Other languages
French (fr)
Other versions
WO2007096591A3 (en
Inventor
Luca De Matteis
Mark Robert Gisbon
Adan K. Pope
Original Assignee
Cramer Systems Limited
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from GB0603360A external-priority patent/GB2435362B/en
Application filed by Cramer Systems Limited filed Critical Cramer Systems Limited
Publication of WO2007096591A2 publication Critical patent/WO2007096591A2/en
Publication of WO2007096591A3 publication Critical patent/WO2007096591A3/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q3/00Selecting arrangements
    • H04Q3/0016Arrangements providing connection between exchanges
    • H04Q3/0062Provisions for network management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/13109Initializing, personal profile
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/13349Network management

Definitions

  • the present invention relates to methods of configuring network devices in telecommunications networks to provide services.
  • telecommunications networks grow in complexity and the range of telecommunications services expands, the process of provisioning services - configuring the network to provide new services - is also becoming ever more complex.
  • Existing approaches to service provisioning can be inflexible and inefficient, which can have a negative impact on a service operator's ability to provide a wide range of services, and to quickly implement new services.
  • the definition of provisioning processes for new network services can be cumbersome and often requires detailed knowledge of network structures and device configuration. Service provisioning itself can, for complex services, involve many network configuration steps, which often results in slow turnaround of provisioning requests.
  • a method of configuring a telecommunications system to provide a service involving a plurality of devices comprising: receiving a configuration script specifying a sequence of configuration instructions for configuring at least two of the plurality of devices to provide the service; and concurrently executing an instance of the configuration script for each of the at least two devices to configure the at least two devices to provide the service.
  • the telecommunications system typically includes one or more telecommunications networks.
  • the term 'telecommunications network' or 'telecommunications system' preferably refers to a network or system of interconnected devices (and possibly associated software) which provides telecommunications services.
  • other types of services may additionally be provided by or using the telecommunications network or system, for example data processing, storage, and retrieval services (e.g. application services). Examples of such services include a mailbox, web space, an interactive travel booking system, a multimedia content delivery system or an online game.
  • the invention may also be applied to any other suitable type of communications system (for example a local area network) or information processing system comprising distributed interconnected devices which can be configured to provide communication functionality or other services.
  • configuration script preferably refers to a collection of configuration instructions.
  • a script may define one or more sequences of configuration instructions. Sequences of configuration instructions may specify configuration operations in the order in which they are to be performed; however, control structures may also be provided to vary the execution order and execution options. Alternatively, instruction sequences may be executed in some other order, for example determined by efficiency considerations.
  • a script may be in human-readable form, for example using a scripting language using defined terms and/or keywords, or using a mark-up language such as XML. Alternatively, a script may be in a form which is not easily human- readable, for example in the form of byte code or some other machine- readable encoding.
  • concurrative execution preferably includes both true parallel processing (for example on a multi-threaded or multi-core processor, multiprocessor computer, or on multiple connected computers) and virtual parallel processing or multitasking, as performed, for example, by many multitasking operating systems, for example using time-sliced (interleaved) execution and context switching. Combinations of the two approaches may also be used to achieve concurrent execution.
  • the term "service” preferably refers to a telecommunications function or combination of telecommunications functions which may be provided or made available to a user (for example, an Internet access service, a video telephony service or a Virtual Private Network service).
  • the script specifies one or more synchronization points for synchronizing execution of multiple instances of the script, the method comprising synchronizing the concurrent instances of the script at the synchronization point or points. In this way, multiple devices can be configured concurrently while still maintaining sequential control, so enabling a good balance between speed and reliability to be achieved.
  • the script preferably specifies a synchronization point dividing the instruction sequence into a first instruction block and a second instruction block, each instruction block comprising zero or more instructions, the method comprising: executing, in a first executing instance of the script, the first instruction block; and executing, in the first executing instance of the script, the second instruction block only after a second executing instance of the script has executed the first instruction block, to thereby synchronize execution of the first and second script instances at the synchronization point.
  • This can allow configuration operations on different devices to be performed in a desired sequence where necessary.
  • the method preferably comprises executing, in the first executing instance of the script, the second instruction block only after all other executing instances of the script have executed the first instruction block, to thereby synchronize execution of all executing script instances at the synchronization point.
  • a simple synchronization mechanism can be provided which does not limit all instructions to be strictly sequenced but can allow concurrent processing where possible and sequencing only where necessary. This can be achieved without the need for the script author to code complex synchronisation procedures manually.
  • the script may specify multiple synchronization points, in which case the method preferably comprises synchronizing execution of the script instances at each synchronization point.
  • the instruction sequence may comprise one or more synchronization instructions specifying one or more synchronisation points at which multiple concurrent script instances are to be synchronised.
  • the synchronization points may be specified in any other suitable way, for example using an index, pointer, instruction reference, marker or keyword.
  • the at least two devices may each be associated with a device type, in which case the script may specify a first sequence of configuration instructions associated with a first device type and a second sequence of configuration instructions associated with a second device type. Executing an instance of the script for a given device may then comprise selecting one of the first and second instruction sequences in dependence on the device type of the given device, and executing the selected instruction sequence.
  • Devices may be associated with types in dependence on the roles which they perform within a service.
  • executing an instance of the script for a given device may comprise selecting one of the first and second instruction sequences in dependence on a role associated with the given device.
  • Other type classifications may alternatively or additionally be used, for example classifications by device manufacturer, device class, software version, hardware version or model. Different type classifications may also be combined. In certain embodiments described in more detail below, a role-based approach is used.
  • Each of the first and second instruction sequences may comprise one or more corresponding synchronization points, the method comprising synchronizing a first instance of the script for which the first instruction sequence is being executed with a second instance of the script for which the second instruction sequence is being executed using the specified corresponding synchronization point or points.
  • a first instruction sequence may comprise one or more synchronisation points
  • a second instruction sequence may comprise one or more synchronisation points each corresponding to one of the one or more synchronisation points of the first instruction sequence.
  • Synchronization points in different instruction sequences may be identified as corresponding by way of matching synchronisation point identifiers (such as numbers or labels), or simply by the order of synchronisation points (e.g., the third specified synchronisation point in one instruction sequence may be considered to correspond to the third specified synchronisation point in another instruction sequence).
  • the method may further comprise, for a sequence of configuration instructions or corresponding sequences of configuration instructions not having associated synchronisation points or corresponding synchronisation points, executing the instruction sequence or corresponding instruction sequences in multiple concurrent instances of the configuration script independently of each other.
  • independent execution preferably means asynchronous execution, i.e. execution of instances without synchronisation (in time).
  • each instance preferably executes at its own speed.
  • the method further comprises storing a plurality of configuration scripts, each defining configuration operations for a respective service type, receiving a configuration request specifying a service to be provided, selecting one of the plurality of stored configuration scripts in dependence on the specified service, and executing the selected configuration script to configure the network to provide the specified service.
  • This can enable efficient provisioning of services.
  • the configuration request may specify one or more devices to be used to provide the service, and the method may comprise executing an instance of the selected configuration script for each device specified in the configuration request to configure the device.
  • the script is preferably defined independently of the actual devices used to provision a given service (though the script may be specific to a class of devices and/or a service type or class), so that the same script can be re-used, preferably without requiring modification, to provision multiple services of the same service type (and using devices of the same or similar type).
  • This can greatly simplify provisioning of new services, and can allow the provisioning process to be largely automated.
  • a configuration script acts as a device- independent template for specifying a configuration control process which includes the configuration operations needed to provision services of a given service type.
  • configuration scripts are therefore also referred to as Control Templates.
  • the configuration request preferably specifies a device type associated with a device, the method comprising selecting one of a plurality of instruction sequences specified by the configuration script in dependence on the specified device type, and executing the selected instruction sequence in the script instance for the device.
  • the device type may be inferred or otherwise derived.
  • the method preferably comprises creating a separate processing context for each executing script instance, and executing each script instance within the respective processing context. This can enable efficient and reliable concurrent execution. Multiple concurrent script instances may be executed as multiple concurrent threads, tasks or processes in a multi-threading, multitasking or multi-processing system, and/or may be executed by a virtual machine.
  • the method preferably comprises signalling completion of the configuration script upon completion of all executing script instances.
  • the method set out above can allow for efficient provisioning of new services using configuration scripts. Alternatively or additionally, the method may be applied to the removal of existing services from the network.
  • the method may accordingly further comprise: receiving a configuration request specifying a service and an action indicator specifying whether a service is to be added or removed; retrieving a configuration script in dependence on the service type of the specified service, the configuration script specifying a first set of configuration instructions for configuring the network to provide a new service of the service type and a second set of configuration instructions for configuring the network to no longer provide a service of the specified type which is currently being provided; selecting one of the first and second sets of instructions in dependence on the action indicator; and executing the selected set of instructions to either add a new service or remove an existing service of the specified type.
  • This can allow configuration operations for adding a service and operations for removing a service to be specified in the same script. This can improve user convenience and efficiency.
  • the different sets of configuration instructions may each comprise synchronisation points and/or multiple instruction sequences for different devices/device types as set out above.
  • the method may alternatively or additionally comprise: receiving a configuration request specifying a service and an action indicator specifying a configuration action relating to the service; retrieving a configuration script in dependence on the service type of the specified service, the configuration script specifying at least a first set of configuration instructions for performing a first configuration action and a second set of configuration instructions for performing a second configuration action for a service of that type; selecting one of the first and second sets of instructions in dependence on the action indicator; and executing the selected set of instructions to perform the specified configuration action.
  • a method of configuring services in a telecommunications system comprising: receiving a configuration request specifying a service and an action indicator specifying a configuration action relating to the service; retrieving a configuration script in dependence on the service type of the specified service, the configuration script specifying at least a first set of configuration instructions for performing a first configuration action and a second set of configuration instructions for performing a second configuration action for a service of that type; selecting one of the first and second sets of instructions in dependence on the action indicator; and executing the selected set of instructions to perform the specified configuration action.
  • a more flexible configuration method can be provided.
  • the first, second and specified configuration actions are preferably selected from a group comprising: addition of a service, modification of an existing service, and removal of an existing service.
  • the method of any of the above aspects comprises storing information defining a plurality of configuration operations, the configuration script comprising one or more configuration instructions each for invoking one of the stored configuration operations.
  • Configuration operations may, for example, define basic configuration actions, each relating to a given type of device or networking equipment.
  • the configuration script can then specify a configuration process in terms of the stored configuration operations. In this way, the configuration script can be expressed independently of low-level device details.
  • the stored operations can then be modified in view of the change in equipment (for example, if the new equipment uses a different command set to achieve the required configuration actions), without requiring every configuration script referencing those operations to be changed.
  • the stored information may define: at least two device-specific implementations of the configuration operation, each implementing the configuration operation for a different device type or model; and a device-independent interface usable for invoking each of the device-specific implementations of the configuration operation. This can allow configuration scripts to be expressed in a more device-independent manner.
  • the interface may, for example, specify one or more configuration parameters required by the device-specific implementations of the configuration operation and/or a name or label for the configuration operation.
  • the invention provides a method of configuring devices in a telecommunications network for a service, comprising storing information defining a plurality of configuration operations, the information defining for at least one of the configuration operations: at least two device-specific implementations of the configuration operation, each implementing the configuration operation for a different device type or model; and a device- independent interface usable for invoking each of the device-specific implementations of the configuration operation; the method further comprising executing a configuration script comprising one or more configuration instructions for invoking one or more of the stored configuration operations by way of the defined device-independent interfaces.
  • the configuration script may comprise one or more references to configuration operations; and executing the configuration script for a given device may comprise: identifying a reference to a configuration operation; selecting a device-specific implementation of the configuration operation in dependence on the given device; and executing the selected device-specific implementation of the configuration operation.
  • a configuration script can be coded without knowledge of the devices ultimately used.
  • the appropriate device-specific implementations of operations can be selected at the time of execution, allowing changes to be made to devices and to the device-specific implementations of operations without affecting configuration scripts already in use.
  • the configuration script may reference one or more configuration parameters, the method comprising receiving parameter values for the configuration parameters, and executing the configuration script using the received parameter values.
  • the method may comprise: receiving, for a parameter referenced in the configuration script, first and second parameter values; executing a first instance of the configuration script for a first device using the first parameter value; and executing a second instance of the configuration script for a second device using the second parameter value.
  • a method of provisioning a service in a telecommunications network comprising: receiving a configuration script comprising configuration instructions for configuring devices of the network to provide the service, the script including a first sequence of configuration instructions associated with a first device type and a second sequence of configuration instructions associated with a second device type; receiving information specifying a device to be used in providing the service, the device being associated with a device type; and selecting one of the first and second instruction sequences in dependence on the device type of the device, and executing the selected instruction sequence to configure the device.
  • the information may specify a plurality of devices to be used in providing the service, the method comprising performing the selecting and executing steps for at least two and preferably each of the specified devices.
  • This method may further comprise any of the features or steps of the previously described method.
  • a method of performing a configuration action in a telecommunications system for a service involving a plurality of devices comprising: receiving a configuration script specifying a sequence of configuration instructions for performing the configuration action for at least two of the plurality of devices; and concurrently executing an instance of the configuration script for each of the at least two devices to configure the at least two devices in accordance with the configuration action.
  • the configuration action may be one of: addition of a service, modification of an existing service, and removal of an existing service.
  • the configuration script may specify multiple sequences of configuration instructions for performing multiple different configuration actions.
  • the invention provides a computer program or computer program product for configuring a telecommunications system to provide a service involving a plurality of devices, comprising software code adapted, when executed on a data processing apparatus, to perform the steps of: receiving a configuration script specifying a sequence of configuration instructions for configuring at least two of the plurality of devices to provide the service; and concurrently executing an instance of the configuration script for each of the at least two devices to configure the at least two devices to provide the service.
  • the software code is preferably further adapted to perform a method as set out above.
  • the invention provides a network management system or service provisioning system for configuring a telecommunications network to provide a service involving a plurality of devices, comprising: means for receiving a configuration script specifying a sequence of configuration instructions for configuring at least two of the plurality of devices to provide the service; and means for concurrently executing an instance of the configuration script for each of the at least two devices to configure the at least two devices to provide the service.
  • the system preferably further comprises means for performing a method as set out above.
  • a configuration script for configuring a telecommunications network for a service the script specifying: a sequence of configuration instructions for configuring devices of the telecommunications network for the service; and one or more synchronisation points for synchronising multiple concurrent instances of the script.
  • the script may specify two or more sequences of configuration instructions, each instruction sequence being associated with a device type and comprising configuration instructions for configuring a device of that type for the service. At least two sequences of configuration instructions may each specify one or more corresponding synchronisation points for synchronising multiple concurrent instances of the script for which different ones of the at least two sequences of configuration instructions are being executed.
  • a synchronisation point may be specified by way of a synchronisation instruction.
  • an instruction sequence may be divided into two or more sub-sequences, the boundary or boundaries between sub-sequences forming one or more synchronisation points at which multiple concurrent instances of the script are to be synchronised. In this way, a sequence of configuration instructions can be divided into separate configuration steps, and multiple concurrent instances of the script can be synchronised on a step-by-step basis.
  • the configuration script may comprise multiple sections, each section comprising configuration instructions for performing a different configuration action, the configuration action preferably being one of: addition of a service, modification of an existing service, and removal of an existing service.
  • the configuration script may be encoded as an XML document, and may include one or more script portions expressed in a scripting language, preferably JavaScript.
  • the invention also provides an XML schema or XML document type definition (DTD) specifying an XML document format for a configuration script as described herein or for a configuration operation as described herein.
  • DTD XML document type definition
  • the invention provides a configuration controller (also referred to as an activation controller) for configuring network devices in a telecommunications network for services; the configuration controller being adapted to execute respective instruction sequences for each of a plurality of devices involved in a service; and wherein the configuration controller is adapted to provide a synchronised operating mode in which respective instruction sequences for at least two devices are executed in a synchronous manner.
  • the respective instruction sequences may be respective separate executing instances of the same set of instructions or may be executing instances of different sets of instructions. Thus, either the same or different sets of instructions may be executed for the at least two devices.
  • Execution in a synchronous manner preferably involves synchronising the executing instruction sequences at least at one point, so that a first of the instruction sequences continues execution past the synchronisation point only after the second instruction sequence has reached the same or a corresponding synchronisation point.
  • the controller is preferably adapted to synchronise execution of the respective instruction sequences for the at least two devices at one or more defined synchronisation points.
  • the instruction sequences may be divided into two or more defined steps, the controller being adapted to synchronise execution according to the defined steps.
  • the controller further provides an asynchronous operating mode in which instructions in the respective instruction sequences are executed asynchronously.
  • the controller is adapted to perform respective instructions for the at least two devices asynchronously between the defined (corresponding) synchronisation points or within the defined steps.
  • the configuration controller is preferably adapted to provide a symmetrical operating mode in which the same instructions are performed for the at least two devices.
  • the controller may provide an asymmetrical operating mode in which different instructions are performed for the at least two devices. This can provide greater flexibility in implementing complex configuration processes.
  • the synchronous/asynchronous modes may be combined with the symmetrical/asymmetrical modes to provide greater flexibility.
  • the configuration controller is preferably adapted to operate in one or more of, and preferably in each of: an asynchronous symmetrical operating mode, a synchronous symmetrical operating mode, an asynchronous asymmetrical operating mode, and a synchronous asymmetrical operating mode.
  • the configuration controller may be adapted to perform a method as set out above, and/or to process or execute configuration scripts as set out above.
  • the invention also provides a network management system comprising: a configuration controller as set out above; means for receiving a configuration request relating to a service; and means for invoking the configuration controller to configure a service in accordance with the request.
  • the configuration controller may be implemented as a software application, for example as a Java application executing on a Java virtual machine, and/or may comprise or be in the form of a programmed computer.
  • the invention also provides a computer program and a computer program product for carrying out any of the methods described herein and/or for embodying any of the apparatus features described herein, and a computer readable medium having stored thereon a program for carrying out any of the methods described herein and/or for embodying any of the apparatus features described herein.
  • the invention also provides a signal embodying a computer program for carrying out any of the methods described herein and/or for embodying any of the apparatus features described herein, a method of transmitting such a signal, and a computer product having an operating system which supports a computer program for carrying out any of the methods described herein and/or for embodying any of the apparatus features described herein.
  • Figure 1 shows a service management system for a telecommunications network in overview
  • Figure 2 illustrates a Control Template thread control structure
  • Figure 3 illustrates asynchronous Control Template operation
  • FIG. 4 illustrates lock-stepped Control Template operation
  • Figure 5 illustrates basic asymmetric operation
  • Figure 6 illustrates asymmetric lock-stepped operation
  • FIG. 7 illustrates a symmetric service example (VRF)
  • Figure 1 illustrates a service management system for a telecommunications network in overview.
  • the system comprises a service inventory 12 storing information on services provided to users of network 20. Additionally, the inventory 12 preferably stores information on network resources of the network 20 in the form of a network model. Alternatively, the network model may be stored in a separate resource inventory.
  • the inventory or inventories are typically stored in a database.
  • a service management application 10 interacts with the service inventory 12 and allows network services to be added and removed (for example, under control of an operator).
  • an operator may use the service management application 10 to set up a new service for a user of the network (such as a new Internet access service).
  • network resources are identified in the inventory 12 for use in providing the new service, and the inventory is updated to reflect the new service.
  • an activation request is generated, specifying the identified network resources (in particular network devices involved in providing the new service) and any set-up parameters.
  • the activation request is passed to an activation controller 14, which is responsible for implementing the changes in the network, in particular by configuring the devices specified in the activation request to provide the new service.
  • the activation controller maintains a queue of activation requests and may process these in order of receipt or in some other order, for example based on efficiency considerations.
  • Each activation request may specify the addition, modification or removal of a service from the network, or the cancellation of a previously queued (but not yet implemented) activation request.
  • the activation controller 14 carries out the configuration operations necessary to configure the specified devices to provide the new service.
  • Agent Templates define the basic configuration operations available for configuring devices. Typically, a given Agent Template is associated with a particular device type and performs a specific configuration operation on a device of that type.
  • Control Templates are configuration scripts defining sequences of steps needed to configure complex services using the basic configuration operations defined in the Agent Templates.
  • Control Template is defined for each service type that is to be provisioned in the network.
  • Control Templates comprise sequences of configuration instructions. These most commonly take the form of Agent Template invocations, but other types of commands (including control structures such as "if/then/else") may also be used.
  • the activation request specifies the service to be provisioned and the devices to be used in provisioning the service.
  • the activation controller 14 identifies the Control Template associated with the given service and executes, for each device involved in the service, the configuration instructions specified by the template, in particular by invoking the Agent Templates specified in the Control Template.
  • the configuration instructions for the devices are generally executed in parallel.
  • the activation controller 14 concurrently executes a separate instance of the Control Template for each device being configured, creating separate processing contexts for each instance of the control template, and hence for each device.
  • These instances of the Control Template (CT) are referred to herein as CT Device Instances.
  • Processing contexts may, for example, be in the form of processes, tasks or threads in a parallel processing, multi-tasking or multi-threaded operating system.
  • the activation controller may provide a virtual machine (or similar control arrangement) and control execution of the templates within the virtual machine.
  • Agent Templates results in specific configuration instructions being transmitted to the relevant devices in the network 20, thereby configuring the devices to provide the service.
  • Configuring a device to provide a service is also referred to as activating the device for the service.
  • the activation controller preferably maintains a log of the configuration operations performed, and any error information generated. Preferably, a separate log is provided for each Control Template and/or for each activation request.
  • the controller 14 itself may, for example, be a standalone computer or a process executing on a network management server. Activation Request
  • the activation request transmitted to the activation controller 14 may specify the following information:
  • control template(s) may also be selected automatically based on the service type
  • Service parameters for example specifying service level or quality of service (QoS), service quantity e.g. bandwidth, or content selection (where e.g. a content delivery service is being provided) • Any other configuration parameters to be used in configuring devices (e.g. port settings).
  • QoS quality of service
  • content selection where e.g. a content delivery service is being provided
  • DII design invariant information
  • DVI design variant information
  • the activation controller executes the multiple CT Device Instances of the Control Template for the relevant devices using the parameter values associated with each device.
  • an Activation Request may also be used to modify or remove an existing service.
  • the Activation Request thus typically also specifies the activation action to be performed (e.g. add service, modify service, remove service).
  • the Activation Request is preferably encoded as an XML document.
  • Control Templates provide the logical control flow that governs the network configuration process.
  • a Control Template specifies a sequence of Agent Templates (AT) which, when invoked, configure the network in a sequential manner.
  • AT Agent Templates
  • the Agent Templates are invoked in the sequence specified by the Control Template.
  • the Control Templates use a scripting language that supports logical and control flow constructs to provide a sophisticated scripted control flow mechanism as described throughout this section.
  • Control Template may also invoke other Control Templates.
  • Control Templates can be modularised, and more powerful and flexible control structures can be used (such as recursion).
  • Control Template itself may pass these parameters to the Agent Templates being invoked as appropriate.
  • the Control Template may also use the device identifiers that are received in the Activation Request to query the inventory 12 for further information that may not be passed with the Activation Request, such as information on device software versions.
  • This section introduces the support infrastructure that the activation controller 14 provides for the processing of a Control Template. This infrastructure is used from the point that the controller begins processing an Activation Request to the point that it is completed. This process is outlined in
  • CT Control Template
  • Activation Request A new processing context is created on the controller within which all the processing of the Activation Request takes place. This processing context is referred to as the Activation Request
  • the Activation Request Instance is in effect the container for the processing of the Control Template invoked by the Activation Request and represents a single instance of the invocation of the Control Template.
  • Activation Requests may also be processed in parallel, in which case an Activation Request Instance is created for each Activation
  • each Activation Request Instance is distinguished using the Activation ID of the Activation Request that caused it to be created.
  • each Activation Request Instance a separate processing context is also created for each device that is being configured. This is illustrated in step (2).
  • This processing context for a device is referred to as a Control Template (CT) Device Instance.
  • CT Control Template
  • Each CT Device Instance controls the invocation of the Agent Templates specified in the Control Template on the device that the CT Device Instance is responsible for.
  • the Activation Request Instance is responsible for coordinating the separate CT Device Instances.
  • Each CT Device Instance in operation in the system is identified by the Activation ID of its parent Activation Request Instance and the Device ID of the device that it is activating. This pair is used by the system in each log entry for the operations that are performed within a CT Device Instance.
  • Controller may respond that the Activation Request has been processed; step
  • Every Activation Request Instance will have an entry in the inventory and will also have a specific log file. Where multiple Activation Requests are executed in parallel, conflict could occur between the corresponding Control Templates if these attempt to access the same device in the network, potentially resulting in incorrect configuration of devices, invalid configuration states or race conditions.
  • the Activation Controller therefore preferably only allows one CT Device Instance to execute for any given device at any time. Thus, if a CT Device Instance is created for a given device which is already associated with an executing CT Device Instance (typically in a separate Activation Request Instance), then the Activation Controller suspends execution of the new CT Device Instance until the earlier one has terminated. Control Template operational requirements
  • An Activation Request Instance is responsible for controlling the overall flow of activation for all the network elements (devices) included in the Activation Request that triggers its invocation. This process of control is not the same in all cases. For certain services and connections, the same basic operations will need to be performed at the same time. For others, there may need to be a certain order in which the operations are performed on the devices in the service.
  • Asynchronous operation permits each CT Device Instance to complete at its own speed - the CT Device Instance can invoke the next Agent
  • the Activation Request Instance simply waits for each CT Device Instance to complete before sending a success response for the Activation Request.
  • Asynchronous mode is used in cases where the same operations need to be performed on each device (though possibly with different configuration parameters).
  • the operation of an Activation Request Instance and associated CT Device Instances in asynchronous mode is illustrated in Figure 3.
  • CT_Service specifies three Agent Templates, "AT_1", “AT_2” and "AT_3”; a device being configured by executing the Agent Templates in the specified order for that device.
  • CT Device Instance For the defined devices.
  • One CT Device Instance is created for each of devices "device 1", “device 2" and “device 3", identified by the Device ID of the respective device.
  • Each CT Device Instance then executes the sequence of Agent Templates specified in the Control Template in parallel, independently of the other CT Device Instances. The sequence is the same for each CT Device Instance, but the instances are not synchronized, executing and completing at their own pace.
  • Lock-stepped operation provides for synchronization between CT Device Instances and can, for example, be used when a service is being created that requires certain configuration steps to be completed on all devices before the next configuration steps can be performed. It also permits services that require configuration to be carried out step-wise at either end of a connection to be created in strict order.
  • the Control Template may provide the configuration instructions for setting up both the MPLS tunnel and, subsequently, the IP service. However, before configuring the IP service on the router devices, the Control Template may specify that there must be a CHECK operation performed on the router to ensure that the tunnel has been correctly installed. There may be other control-related reasons why synchronised operation is desirable.
  • the configuration instructions (typically invoking Agent Templates) in a Control Template are grouped into instruction blocks referred to as "steps". Each step defines a sub-sequence of configuration instructions, which should be completed across all CT Device Instances before the next instruction block or step can be processed.
  • FIG 4. The right-hand side of Figure 4 again shows an XML fragment defining the devices for a service, and the Control Template itself.
  • the Control Template is divided into a number of steps using a "#STEP" control command with a numerical step identifier.
  • Each step has to be completed for all CT Device Instances in the Activation Request Instance (i.e. for all devices in the service) before the next step can be started, as shown in the main diagram of Figure 4.
  • each step specifies only a single AT. However, a step may also specify more than one AT (or other instructions) or may be empty (i.e. specifying no ATs/instructions).
  • the "#STEP" commands in the Control Template thus serve to define synchronization points in the control template. Multiple concurrent CT Device Instances of the Control Template are synchronized at the specified synchronization points so that each only executes instructions after the synchronization point once all others have completed executing instructions before that synchronization point.
  • the same instructions are performed for each device (either asynchronously or synchronously).
  • not all device activations require the same operations to be performed on all the devices that are being activated. Instead, in some cases, different device types may require their own activation sequences. This type of activation is referred to as asymmetric activation.
  • An example of a service which may require asymmetric activation is a service for providing user access to an authenticated server. The user end of the connection to the server will typically need some basic configuration to be applied to provide connectivity to the server. At the server end, similar configuration will typically be needed; however, additional configuration may be required to add the user's details to the authentication configuration of the server.
  • Control Template that is invoked to implement this service then selects and performs the appropriate actions on each device.
  • the Control Template specifies different instruction sequences for each Role (i.e different sequences of Agent Templates to be invoked). Within each Role, instruction sequences may be divided into synchronized blocks as described above (e.g. using the STEP control structure).
  • FIG. 5 again shows an XML fragment defining devices involved in a service.
  • each device is assigned a "Role” value (in this example, "customer edge” and “provider edge” respectively).
  • the main diagram of Figure 5 illustrates execution of the Control Template using the specified devices.
  • the correct activation sequence is selected and executed by matching the Role defined for the device to the Roles specified in the control template.
  • the first sequence defined in the Control Template (“AT_1 , AT_2, AT_3") is executed.
  • the second sequence is executed ("ATJ”, "AT_2”, “AT_4",”AT_5", “AT_6”).
  • Asymmetric activation may be combined with lock-stepped operation (synchronized operation) as described above to allow complex activation processes to be defined in which different devices require different activation sequences (i.e. activation is asymmetric), but some form of synchronization is nevertheless required between those different activation sequences.
  • An example is shown in Figure 6.
  • the Activation Request is implemented in a different manner by two or more devices providing the service.
  • This example makes use of both the Role and the Step concept that were introduced in the previous examples, roles being used to distinguish between different device types and specify different activation sequences for each device type, and steps being used to specify synchronization points for synchronizing execution of the CT device instances for the devices.
  • synchronization can be achieved even between the different activation sequences defined for different device roles or types.
  • a step may not specify any activation commands at all (i.e. an empty step can be specified) - this can be used, for example, where activation of one device needs to wait until other devices have reached a certain activation state.
  • corresponding synchronisation points should preferably be defined in each of the different instruction sequences.
  • the corresponding synchronisation points may, for example, be identified by way of a step identifier, or simply by way of the order in which the steps are specified.
  • VPN Virtual Private Network
  • the ADD Activation Request may include the router ID of the CE and PE device, the IP addresses and netmasks for the creation of IP interfaces on each device, the parameters for a rate-limit service on the CE device and the
  • VRF Virtual Routing and Forwarding table
  • the CE device requires the following AT calls:
  • CT_Make_Vpn_Leg ADD Role PE #STEP 1 //make interface on CE for mgmt VPN
  • the CE and the PE devices need different configuration. This is provided for using the Role construct.
  • both devices receive the correct set of AT invocations for their role in the network.
  • the same Control Template has been used.
  • a management VPN is created before the customer service VPN. What this means is that two MPLS VPN VRFs are created on the PE.
  • the management VPN is used to maintain reachability to the CE device once it has been put in the customer service VPN.
  • the management VPN should typically be installed first. Then the customer VPN can be created without the CE being unreachable to the Agent that controls it.
  • each Control Template should preferably have at least one Role section specified though there is no upper limit.
  • the Control Template may have a DEFAULT Role specified that describes what operation to take if no match for a Role section in the CT can be found to the Role of a device specified in the Activation Request.
  • the Agent Templates are invoked using a "CREATE
  • ATJMame represents the name of the Agent Template to be invoked.
  • Control Templates may contain as many STEPs as are deemed necessary.
  • all the ATs (and nested CTs) in a STEP must complete before the Controller can begin processing the next STEP, under the control of the Activation Request Instance.
  • IP interface on the CE device should be added before the VPN is created on the PE, so there is CE interface configuration performed in each odd STEP, before the corresponding VRF is created in each even STEP.
  • the CT designer need only include a single STEP, followed by the list of Agent Templates to call.
  • the CT designer may specify as many STEPs as there are Agent Template calls, so that each STEP contains a single Agent Template invocation.
  • STEPs extend across all Roles in the
  • each Role section in the Control template should preferably contain the same number of STEPs. In this way, asymmetric lock-stepped operation can be achieved.
  • the CT mini-example on the right side of Figure 6 illustrates this point. If a different number of
  • a STEP it is permissible for a STEP to contain no ATs or nested CTs (or other instructions). If an empty STEP is specified for a device role, configuration of the device simply pauses until the step has been completed across all devices. This can be useful where devices need to be in a certain state before configuration of other devices can continue. On the other hand, where configuration actions on two devices can safely proceed independently of each other, these actions can be specified in the same STEP. Invocation command sections
  • the Controller interface permits a Control Template to be invoked with an ADD, DELETE or CANCEL command in an Activation Request.
  • An ADD command is used to configure devices to create a new service.
  • a DELETE command is used to configure devices to remove an existing service.
  • the CANCEL command removes an unprocessed Activation Request from the Controller message queue.
  • a MODIFY command may also be provided to allow an existing service to be reconfigured.
  • Control Templates can preferably include separate ADD, DELETE and
  • the ADD section is used each time the Control Template is invoked with the ADD command.
  • Each Agent Template listed in this section will be paired with the appropriate Agent Template invocation command for the case where the service is being created (i.e. "CREATE AT_Name").
  • the DELETE section is used each time the Control Template is invoked with the DELETE command.
  • Each Agent Template listed in this section will be invoked by the appropriate Agent Template invocation command for the case where the service is being deleted (i.e. "DELETE AT_Name").
  • the MODIFY section is used if the Control Template is invoked with the MODIFY command, and Agent Templates may accordingly also be invoked with a suitable MODIFY command.
  • a modify section could perform DELETE and ADD actions to reconfigure the service as required. Modification of a service may involve changes to service parameters, such as a change in service quality, quantity or content, or may involve rearranging the service, for example by changing a termination location (e.g. in response to a service user relocating to new premises).
  • the Control Template may allow different types of modification to be specified, for example as multiple MODIFY sections or using a wider range of modification commands. Alternatively, different types of service modification may be specified in separate Control Templates.
  • Agent Templates may themselves specify different configuration operations to be performed depending on whether an Agent Template is invoked with a CREATE, MODIFY or DELETE command.
  • Agent Template invocations return a value indicating success or failure, and may also return more detailed information using appropriate response codes (for example error codes).
  • response codes for example error codes.
  • a Control Template provides a recipe of the ATs that need to be invoked to create a service (though as already mentioned, other commands may also be provided in addition to AT invocation). Simple activation operations can be performed by a simple ordered list of ATs. However, more complex services may require the Controller to make choices about which AT to use in a particular case. To allow more complex activation sequences to be encoded, Control Templates therefore preferably provide control structures such as "if/then/else", "switch” or loop constructs. For example, a Control
  • Template may specify a conditional choice of which AT to invoke next based on DVI/DII passed to the Control Template in the Activation Request.
  • the Control Template examines the type of card that is specified in the DVI of the device being configured. If it is an Ethernet port, then an AT that implements traffic shaping is invoked; if it is an ATM port, then an AT that implements CAR (Committed Access Rate) is used. If neither of these match, then an error code is returned. The error code may, for example, be written to the CT Device Instance log. In the following pseudo-code example, a "switch" statement is used to choose the AT call to make to set the Layer 2 encapsulation on a router. If the card is an ATM1 Port Interface Card (PIC), then the card-level encapsulation setting AT is called. If the card is an ATM2 PIC, then the port- level encapsulation setting AT is called. If the card is any other type, then the wrong type of card has been included in the DVI and an error is logged and the Control Template exits.
  • PIC Port Interface Card
  • control structures such as loops, may also be provided.
  • Agent Templates represent basic configuration operations, usually performed on a single device.
  • Control Templates represent more complex configuration actions or processes, typically consisting of a number of basic configuration operations, and often involving multiple devices.
  • the same configuration operation may be performed on different device types or models in a different way - for example, different device models may use different command sets and syntax, or require a different sequence of configuration steps to achieve essentially the same result.
  • the system may therefore store a different implementation of a configuration operation for each type or model of device for which the operation is used.
  • SATs device-specific Agent Templates
  • the system preferably allows configuration operations to be referred to in a device-independent manner. This is achieved by way of device-independent "placeholders", referred to as generic Agent Templates (GATs).
  • GATs generic Agent Templates
  • Generic ATs provide an interface definition for a configuration operation. This can include a name or other label for the operation and/or any configuration parameters required for performing the configuration operation.
  • one or more device-specific implementations of the AT are stored in the template library. These device-specific ATs conform to the interface definition provided by the generic AT, and specify the actual configuration commands required to perform the given configuration operation on a device of a certain type or model.
  • the interface definition provided by the generic ATs allows Control Templates to include references to ATs without specifying a particular device-specific implementation. The correct device-specific AT can then be selected during execution depending on the actual device being used.
  • a Control Template may invoke an Agent Template using a reference to a generic AT "GAT_configure_router (P1 , P2)" for performing a certain configuration task on a device of class "router", where P1 and P2 are configuration parameters.
  • the network may use various different models of router, possibly made by different manufacturers and using different command sets for configuration. Different device-specific ATs corresponding to the generic AT may then be provided for each router model, for example “SAT_configure_router_model_A (P1 , P2)” and “SAT_configure_router_ model_B (P1 , P2)", with the correct SAT being selected during execution of the Control Template.
  • Device-specific ATs may also define parameter conversion tables or rules for converting device-independent parameter values for given configuration parameters into device-specific parameter values suitable for a given device, and/or for formatting parameter values for the target device (for example by converting parameter values from a device-independent format into a device-specific format).
  • a GAT may have just a single SAT associated with it, typically where only a single device model is available in the network for performing a given role or function.
  • a single device-specific AT may perform different actions depending on circumstances (e.g depending on the target device model). This may, for example, be appropriate where the differences in configuration coding required are small (for example for different device models of the same device class from the same manufacturer).
  • the activation controller 14 replaces the generic AT references in the Control Template with calls to the correct device- specific ATs when creating a new CT Device Instance for a given device, based on the device information supplied in the activation request or on information obtained from the resource inventory using the device information supplied. In alternative implementations, the activation controller could determine the correct device-specific AT during execution of the CT Device Instance, at the point of invocation of the generic AT.
  • the activation controller 14 preferably stores a library of the device- specific ATs, along with generic AT definitions linked to associated device- specific ATs, to allow the matching of device-specific ATs to generic ATs at run-time as well as offline checking of Control Templates.
  • This example GAT defines the common parameters for a given configuration operation (in the example the configuration of a Martini pseudo- wire connection across an MPLS network).
  • the example is encoded in XML.
  • Command_l "interface %s%N/%N.%N", ⁇ Port_Type>, ⁇ Slot>, ⁇ port>, ⁇ subinterface>
  • Command_2 "encapsulation %S", ⁇ encapsulation>
  • Command_3 "mpls 12transport route %s %S", ⁇ peer-loopback>,
  • Command 1 "no interface %s%N/%N.%N", ⁇ i_2 Port ⁇ ype>, ⁇ Slot>,
  • Devi ce_Prompt Devi ce_Prompt_ ⁇ abl e (Devi ce ID)
  • the example includes both a CREATE section and a DELETE section for performing different steps depending on whether a service is being added or removed.
  • the SAT includes code to construct configuration commands in the format required by a given device and to transmit these commands to the device.
  • the activation controller 14 is implemented as a Java application executing on a Java Virtual Machine and uses the multitasking capabilities of the Java Virtual Machine to provide the necessary concurrency for executing multiple CT Device Instances in parallel. This is preferably achieved with a relatively small number of long-lived threads in the activation controller configured to spawn off activity in the Agent Templates and, having initiated an Agent Template, to move on to other tasks rather than wait for a response.
  • the solution is preferably event-driven, so that Agent Templates respond autonomously when complete. These events can initiate further activity in the activation controller.
  • a background 'clean-up' activity can also be provided that identifies Agent Templates, or whole Activation Requests, which have failed to respond (based on criteria such as a time-out), and which then initiates an appropriate recovery or rollback procedure.
  • Agent Templates can also make use of parallelism. For example, if a number of devices can use one device-specific
  • AT (if, for example, they are different instances of the same device type) then only one AT instance may be invoked and the AT instance then drives the multiple devices in parallel.
  • control templates and agent templates are encoded and stored in the template library 16 as XML documents. Additionally, for each distinct device type, an XML document is preferably stored specifying how to communicate with devices of that type. This information is then used to transmit the configuration commands defined in the device-specific ATs to the devices.
  • Templates are preferably designed for reuse, and different sets of templates can be defined for different environments.
  • the templates used in a given deployment of the system can be modified and new templates can be added to reflect changes in deployed network resources and equipment.
  • the system preferably provides XML schemas defining the document formats for the various types of template stored in the template library (e.g. Control
  • ServiceDelivery_schema used to describe the device-specific Agent Templates including translation tables used, for example, to translate generic parameters to device-specific ones
  • DTDs Document Type Definitions
  • Tools can be provided to support the management of the template library including, for example, the following functions:
  • Compiler for compiling JavaScript into object code (which provides syntactic validation) and converting or formatting data from XML documents into a data format suitable for loading into the inventory and/or activation controller;

Abstract

A method of configuring a telecommunications system to provide a service involving multiple devices is disclosed. The method includes receiving a configuration script specifying a sequence of configuration instructions for configuring at least two of the devices to provide the service, and concurrently executing an instance of the configuration script for each of the at least two devices to configure the at least two devices to provide the service. The method can be used as part of a network management system or service provisioning system.

Description

Method of configuring devices in a telecommunications network
The present invention relates to methods of configuring network devices in telecommunications networks to provide services. As telecommunications networks grow in complexity and the range of telecommunications services expands, the process of provisioning services - configuring the network to provide new services - is also becoming ever more complex. Existing approaches to service provisioning can be inflexible and inefficient, which can have a negative impact on a service operator's ability to provide a wide range of services, and to quickly implement new services. The definition of provisioning processes for new network services can be cumbersome and often requires detailed knowledge of network structures and device configuration. Service provisioning itself can, for complex services, involve many network configuration steps, which often results in slow turnaround of provisioning requests.
The present invention seeks to alleviate some of these problems. Accordingly, in a first aspect of the invention, there is provided a method of configuring a telecommunications system to provide a service involving a plurality of devices, comprising: receiving a configuration script specifying a sequence of configuration instructions for configuring at least two of the plurality of devices to provide the service; and concurrently executing an instance of the configuration script for each of the at least two devices to configure the at least two devices to provide the service.
In this way, definition of the steps needed to configure the network for a service can be simplified, whilst at the same time enabling the necessary configuration steps to be performed more efficiently.
The telecommunications system typically includes one or more telecommunications networks. The term 'telecommunications network' or 'telecommunications system' preferably refers to a network or system of interconnected devices (and possibly associated software) which provides telecommunications services. Optionally, other types of services may additionally be provided by or using the telecommunications network or system, for example data processing, storage, and retrieval services (e.g. application services). Examples of such services include a mailbox, web space, an interactive travel booking system, a multimedia content delivery system or an online game. Instead of a telecommunications network, the invention may also be applied to any other suitable type of communications system (for example a local area network) or information processing system comprising distributed interconnected devices which can be configured to provide communication functionality or other services.
The term "configuration script" preferably refers to a collection of configuration instructions. A script may define one or more sequences of configuration instructions. Sequences of configuration instructions may specify configuration operations in the order in which they are to be performed; however, control structures may also be provided to vary the execution order and execution options. Alternatively, instruction sequences may be executed in some other order, for example determined by efficiency considerations. A script may be in human-readable form, for example using a scripting language using defined terms and/or keywords, or using a mark-up language such as XML. Alternatively, a script may be in a form which is not easily human- readable, for example in the form of byte code or some other machine- readable encoding.
The term "concurrent execution" preferably includes both true parallel processing (for example on a multi-threaded or multi-core processor, multiprocessor computer, or on multiple connected computers) and virtual parallel processing or multitasking, as performed, for example, by many multitasking operating systems, for example using time-sliced (interleaved) execution and context switching. Combinations of the two approaches may also be used to achieve concurrent execution.
The term "service" preferably refers to a telecommunications function or combination of telecommunications functions which may be provided or made available to a user (for example, an Internet access service, a video telephony service or a Virtual Private Network service). Preferably, the script specifies one or more synchronization points for synchronizing execution of multiple instances of the script, the method comprising synchronizing the concurrent instances of the script at the synchronization point or points. In this way, multiple devices can be configured concurrently while still maintaining sequential control, so enabling a good balance between speed and reliability to be achieved.
The script preferably specifies a synchronization point dividing the instruction sequence into a first instruction block and a second instruction block, each instruction block comprising zero or more instructions, the method comprising: executing, in a first executing instance of the script, the first instruction block; and executing, in the first executing instance of the script, the second instruction block only after a second executing instance of the script has executed the first instruction block, to thereby synchronize execution of the first and second script instances at the synchronization point. This can allow configuration operations on different devices to be performed in a desired sequence where necessary.
The method preferably comprises executing, in the first executing instance of the script, the second instruction block only after all other executing instances of the script have executed the first instruction block, to thereby synchronize execution of all executing script instances at the synchronization point. In this way, a simple synchronization mechanism can be provided which does not limit all instructions to be strictly sequenced but can allow concurrent processing where possible and sequencing only where necessary. This can be achieved without the need for the script author to code complex synchronisation procedures manually.
The script may specify multiple synchronization points, in which case the method preferably comprises synchronizing execution of the script instances at each synchronization point. The instruction sequence may comprise one or more synchronization instructions specifying one or more synchronisation points at which multiple concurrent script instances are to be synchronised. Alternatively, the synchronization points may be specified in any other suitable way, for example using an index, pointer, instruction reference, marker or keyword. The at least two devices may each be associated with a device type, in which case the script may specify a first sequence of configuration instructions associated with a first device type and a second sequence of configuration instructions associated with a second device type. Executing an instance of the script for a given device may then comprise selecting one of the first and second instruction sequences in dependence on the device type of the given device, and executing the selected instruction sequence.
In this way, more complex configuration processes can be specified, thus providing greater flexibility. Devices may be associated with types in dependence on the roles which they perform within a service. Thus, executing an instance of the script for a given device may comprise selecting one of the first and second instruction sequences in dependence on a role associated with the given device. Other type classifications may alternatively or additionally be used, for example classifications by device manufacturer, device class, software version, hardware version or model. Different type classifications may also be combined. In certain embodiments described in more detail below, a role-based approach is used.
Each of the first and second instruction sequences may comprise one or more corresponding synchronization points, the method comprising synchronizing a first instance of the script for which the first instruction sequence is being executed with a second instance of the script for which the second instruction sequence is being executed using the specified corresponding synchronization point or points.
Thus, a first instruction sequence may comprise one or more synchronisation points, and a second instruction sequence may comprise one or more synchronisation points each corresponding to one of the one or more synchronisation points of the first instruction sequence. This can provide even greater flexibility in defining complex configuration processes. Synchronization points in different instruction sequences may be identified as corresponding by way of matching synchronisation point identifiers (such as numbers or labels), or simply by the order of synchronisation points (e.g., the third specified synchronisation point in one instruction sequence may be considered to correspond to the third specified synchronisation point in another instruction sequence). The method may further comprise, for a sequence of configuration instructions or corresponding sequences of configuration instructions not having associated synchronisation points or corresponding synchronisation points, executing the instruction sequence or corresponding instruction sequences in multiple concurrent instances of the configuration script independently of each other. This can provide greater efficiency. In this context, "independent execution" preferably means asynchronous execution, i.e. execution of instances without synchronisation (in time). Thus, except where specified otherwise by synchronisation points, each instance preferably executes at its own speed.
Preferably, the method further comprises storing a plurality of configuration scripts, each defining configuration operations for a respective service type, receiving a configuration request specifying a service to be provided, selecting one of the plurality of stored configuration scripts in dependence on the specified service, and executing the selected configuration script to configure the network to provide the specified service. This can enable efficient provisioning of services.
The configuration request may specify one or more devices to be used to provide the service, and the method may comprise executing an instance of the selected configuration script for each device specified in the configuration request to configure the device. Thus, the script is preferably defined independently of the actual devices used to provision a given service (though the script may be specific to a class of devices and/or a service type or class), so that the same script can be re-used, preferably without requiring modification, to provision multiple services of the same service type (and using devices of the same or similar type). This can greatly simplify provisioning of new services, and can allow the provisioning process to be largely automated. In this sense, a configuration script acts as a device- independent template for specifying a configuration control process which includes the configuration operations needed to provision services of a given service type. In the detailed description of certain embodiments given below, configuration scripts are therefore also referred to as Control Templates.
The configuration request preferably specifies a device type associated with a device, the method comprising selecting one of a plurality of instruction sequences specified by the configuration script in dependence on the specified device type, and executing the selected instruction sequence in the script instance for the device. Alternatively, the device type may be inferred or otherwise derived. The method preferably comprises creating a separate processing context for each executing script instance, and executing each script instance within the respective processing context. This can enable efficient and reliable concurrent execution. Multiple concurrent script instances may be executed as multiple concurrent threads, tasks or processes in a multi-threading, multitasking or multi-processing system, and/or may be executed by a virtual machine. The method preferably comprises signalling completion of the configuration script upon completion of all executing script instances.
The method set out above can allow for efficient provisioning of new services using configuration scripts. Alternatively or additionally, the method may be applied to the removal of existing services from the network.
The method may accordingly further comprise: receiving a configuration request specifying a service and an action indicator specifying whether a service is to be added or removed; retrieving a configuration script in dependence on the service type of the specified service, the configuration script specifying a first set of configuration instructions for configuring the network to provide a new service of the service type and a second set of configuration instructions for configuring the network to no longer provide a service of the specified type which is currently being provided; selecting one of the first and second sets of instructions in dependence on the action indicator; and executing the selected set of instructions to either add a new service or remove an existing service of the specified type. This can allow configuration operations for adding a service and operations for removing a service to be specified in the same script. This can improve user convenience and efficiency. The different sets of configuration instructions may each comprise synchronisation points and/or multiple instruction sequences for different devices/device types as set out above.
The method may alternatively or additionally comprise: receiving a configuration request specifying a service and an action indicator specifying a configuration action relating to the service; retrieving a configuration script in dependence on the service type of the specified service, the configuration script specifying at least a first set of configuration instructions for performing a first configuration action and a second set of configuration instructions for performing a second configuration action for a service of that type; selecting one of the first and second sets of instructions in dependence on the action indicator; and executing the selected set of instructions to perform the specified configuration action.
This feature may also be provided independently. Accordingly, in a further aspect of the invention, there is provided a method of configuring services in a telecommunications system, comprising: receiving a configuration request specifying a service and an action indicator specifying a configuration action relating to the service; retrieving a configuration script in dependence on the service type of the specified service, the configuration script specifying at least a first set of configuration instructions for performing a first configuration action and a second set of configuration instructions for performing a second configuration action for a service of that type; selecting one of the first and second sets of instructions in dependence on the action indicator; and executing the selected set of instructions to perform the specified configuration action. In this way, a more flexible configuration method can be provided.
The first, second and specified configuration actions are preferably selected from a group comprising: addition of a service, modification of an existing service, and removal of an existing service. Preferably, the method of any of the above aspects comprises storing information defining a plurality of configuration operations, the configuration script comprising one or more configuration instructions each for invoking one of the stored configuration operations. Configuration operations may, for example, define basic configuration actions, each relating to a given type of device or networking equipment. The configuration script can then specify a configuration process in terms of the stored configuration operations. In this way, the configuration script can be expressed independently of low-level device details.
This can be useful, for example, where networking equipment is replaced or upgraded. The stored operations can then be modified in view of the change in equipment (for example, if the new equipment uses a different command set to achieve the required configuration actions), without requiring every configuration script referencing those operations to be changed. For a given configuration operation, the stored information may define: at least two device-specific implementations of the configuration operation, each implementing the configuration operation for a different device type or model; and a device-independent interface usable for invoking each of the device-specific implementations of the configuration operation. This can allow configuration scripts to be expressed in a more device-independent manner. The interface may, for example, specify one or more configuration parameters required by the device-specific implementations of the configuration operation and/or a name or label for the configuration operation. This feature is also provided independently. Accordingly, in a further aspect, the invention provides a method of configuring devices in a telecommunications network for a service, comprising storing information defining a plurality of configuration operations, the information defining for at least one of the configuration operations: at least two device-specific implementations of the configuration operation, each implementing the configuration operation for a different device type or model; and a device- independent interface usable for invoking each of the device-specific implementations of the configuration operation; the method further comprising executing a configuration script comprising one or more configuration instructions for invoking one or more of the stored configuration operations by way of the defined device-independent interfaces.
The configuration script may comprise one or more references to configuration operations; and executing the configuration script for a given device may comprise: identifying a reference to a configuration operation; selecting a device-specific implementation of the configuration operation in dependence on the given device; and executing the selected device-specific implementation of the configuration operation. Thus, a configuration script can be coded without knowledge of the devices ultimately used. The appropriate device-specific implementations of operations can be selected at the time of execution, allowing changes to be made to devices and to the device-specific implementations of operations without affecting configuration scripts already in use.
To provide additional flexibility, the configuration script may reference one or more configuration parameters, the method comprising receiving parameter values for the configuration parameters, and executing the configuration script using the received parameter values.
The method may comprise: receiving, for a parameter referenced in the configuration script, first and second parameter values; executing a first instance of the configuration script for a first device using the first parameter value; and executing a second instance of the configuration script for a second device using the second parameter value. In this way, different devices requiring different configuration parameters may be configured efficiently using the same script, further enhancing flexibility. In a further aspect of the invention, there is provided a method of provisioning a service in a telecommunications network, comprising: receiving a configuration script comprising configuration instructions for configuring devices of the network to provide the service, the script including a first sequence of configuration instructions associated with a first device type and a second sequence of configuration instructions associated with a second device type; receiving information specifying a device to be used in providing the service, the device being associated with a device type; and selecting one of the first and second instruction sequences in dependence on the device type of the device, and executing the selected instruction sequence to configure the device. The information may specify a plurality of devices to be used in providing the service, the method comprising performing the selecting and executing steps for at least two and preferably each of the specified devices. This method may further comprise any of the features or steps of the previously described method. In a further aspect of the invention, there is provided a method of performing a configuration action in a telecommunications system for a service involving a plurality of devices, comprising: receiving a configuration script specifying a sequence of configuration instructions for performing the configuration action for at least two of the plurality of devices; and concurrently executing an instance of the configuration script for each of the at least two devices to configure the at least two devices in accordance with the configuration action. The configuration action may be one of: addition of a service, modification of an existing service, and removal of an existing service. The configuration script may specify multiple sequences of configuration instructions for performing multiple different configuration actions.
In a further aspect, the invention provides a computer program or computer program product for configuring a telecommunications system to provide a service involving a plurality of devices, comprising software code adapted, when executed on a data processing apparatus, to perform the steps of: receiving a configuration script specifying a sequence of configuration instructions for configuring at least two of the plurality of devices to provide the service; and concurrently executing an instance of the configuration script for each of the at least two devices to configure the at least two devices to provide the service. The software code is preferably further adapted to perform a method as set out above.
In a further aspect, the invention provides a network management system or service provisioning system for configuring a telecommunications network to provide a service involving a plurality of devices, comprising: means for receiving a configuration script specifying a sequence of configuration instructions for configuring at least two of the plurality of devices to provide the service; and means for concurrently executing an instance of the configuration script for each of the at least two devices to configure the at least two devices to provide the service. The system preferably further comprises means for performing a method as set out above.
In a further aspect of the invention, there is provided a configuration script for configuring a telecommunications network for a service, the script specifying: a sequence of configuration instructions for configuring devices of the telecommunications network for the service; and one or more synchronisation points for synchronising multiple concurrent instances of the script.
The script may specify two or more sequences of configuration instructions, each instruction sequence being associated with a device type and comprising configuration instructions for configuring a device of that type for the service. At least two sequences of configuration instructions may each specify one or more corresponding synchronisation points for synchronising multiple concurrent instances of the script for which different ones of the at least two sequences of configuration instructions are being executed. A synchronisation point may be specified by way of a synchronisation instruction. Alternatively or additionally, an instruction sequence may be divided into two or more sub-sequences, the boundary or boundaries between sub-sequences forming one or more synchronisation points at which multiple concurrent instances of the script are to be synchronised. In this way, a sequence of configuration instructions can be divided into separate configuration steps, and multiple concurrent instances of the script can be synchronised on a step-by-step basis.
The configuration script may comprise multiple sections, each section comprising configuration instructions for performing a different configuration action, the configuration action preferably being one of: addition of a service, modification of an existing service, and removal of an existing service. The configuration script may be encoded as an XML document, and may include one or more script portions expressed in a scripting language, preferably JavaScript.
The invention also provides an XML schema or XML document type definition (DTD) specifying an XML document format for a configuration script as described herein or for a configuration operation as described herein.
In a further aspect, the invention provides a configuration controller (also referred to as an activation controller) for configuring network devices in a telecommunications network for services; the configuration controller being adapted to execute respective instruction sequences for each of a plurality of devices involved in a service; and wherein the configuration controller is adapted to provide a synchronised operating mode in which respective instruction sequences for at least two devices are executed in a synchronous manner. The respective instruction sequences may be respective separate executing instances of the same set of instructions or may be executing instances of different sets of instructions. Thus, either the same or different sets of instructions may be executed for the at least two devices. Execution in a synchronous manner preferably involves synchronising the executing instruction sequences at least at one point, so that a first of the instruction sequences continues execution past the synchronisation point only after the second instruction sequence has reached the same or a corresponding synchronisation point. By providing a synchronous operating mode, complex configuration processes can be implemented more easily and efficiently.
The controller is preferably adapted to synchronise execution of the respective instruction sequences for the at least two devices at one or more defined synchronisation points. The instruction sequences may be divided into two or more defined steps, the controller being adapted to synchronise execution according to the defined steps.
Preferably, the controller further provides an asynchronous operating mode in which instructions in the respective instruction sequences are executed asynchronously. Preferably, the controller is adapted to perform respective instructions for the at least two devices asynchronously between the defined (corresponding) synchronisation points or within the defined steps.
The configuration controller is preferably adapted to provide a symmetrical operating mode in which the same instructions are performed for the at least two devices. Alternatively or additionally, the controller may provide an asymmetrical operating mode in which different instructions are performed for the at least two devices. This can provide greater flexibility in implementing complex configuration processes.
Preferably, the synchronous/asynchronous modes may be combined with the symmetrical/asymmetrical modes to provide greater flexibility. Thus, the configuration controller is preferably adapted to operate in one or more of, and preferably in each of: an asynchronous symmetrical operating mode, a synchronous symmetrical operating mode, an asynchronous asymmetrical operating mode, and a synchronous asymmetrical operating mode. The configuration controller may be adapted to perform a method as set out above, and/or to process or execute configuration scripts as set out above.
The invention also provides a network management system comprising: a configuration controller as set out above; means for receiving a configuration request relating to a service; and means for invoking the configuration controller to configure a service in accordance with the request.
The configuration controller may be implemented as a software application, for example as a Java application executing on a Java virtual machine, and/or may comprise or be in the form of a programmed computer. The invention also provides a computer program and a computer program product for carrying out any of the methods described herein and/or for embodying any of the apparatus features described herein, and a computer readable medium having stored thereon a program for carrying out any of the methods described herein and/or for embodying any of the apparatus features described herein.
The invention also provides a signal embodying a computer program for carrying out any of the methods described herein and/or for embodying any of the apparatus features described herein, a method of transmitting such a signal, and a computer product having an operating system which supports a computer program for carrying out any of the methods described herein and/or for embodying any of the apparatus features described herein.
The invention extends to methods and/or apparatus substantially as herein described with reference to the accompanying drawings. Any feature in one aspect of the invention may be applied to other aspects of the invention, in any appropriate combination. In particular, method aspects may be applied to apparatus aspects, and vice versa.
Furthermore, features implemented in hardware may generally be implemented in software, and vice versa. Any reference to software and hardware features herein should be construed accordingly.
Preferred features of the present invention will now be described, purely by way of example, with reference to the accompanying drawings, in which :-
Figure 1 shows a service management system for a telecommunications network in overview;
Figure 2 illustrates a Control Template thread control structure
Figure 3 illustrates asynchronous Control Template operation
Figure 4 illustrates lock-stepped Control Template operation
Figure 5 illustrates basic asymmetric operation Figure 6 illustrates asymmetric lock-stepped operation
Figure 7 illustrates a symmetric service example (VRF)
Overview
Figure 1 illustrates a service management system for a telecommunications network in overview. The system comprises a service inventory 12 storing information on services provided to users of network 20. Additionally, the inventory 12 preferably stores information on network resources of the network 20 in the form of a network model. Alternatively, the network model may be stored in a separate resource inventory. The inventory or inventories are typically stored in a database.
A service management application 10 interacts with the service inventory 12 and allows network services to be added and removed (for example, under control of an operator). In a typical example, an operator may use the service management application 10 to set up a new service for a user of the network (such as a new Internet access service). Under control of the service management application 10, network resources are identified in the inventory 12 for use in providing the new service, and the inventory is updated to reflect the new service. To translate the changes in the inventory into actual changes in the network, an activation request is generated, specifying the identified network resources (in particular network devices involved in providing the new service) and any set-up parameters.
The activation request is passed to an activation controller 14, which is responsible for implementing the changes in the network, in particular by configuring the devices specified in the activation request to provide the new service.
The activation controller maintains a queue of activation requests and may process these in order of receipt or in some other order, for example based on efficiency considerations. Each activation request may specify the addition, modification or removal of a service from the network, or the cancellation of a previously queued (but not yet implemented) activation request.
In the present example, where a new service is being added, the activation controller 14 carries out the configuration operations necessary to configure the specified devices to provide the new service.
The configuration operations are defined in configuration templates stored in a template library 16. Two types of templates are provided: Agent Templates and Control Templates. Agent Templates define the basic configuration operations available for configuring devices. Typically, a given Agent Template is associated with a particular device type and performs a specific configuration operation on a device of that type. Control Templates are configuration scripts defining sequences of steps needed to configure complex services using the basic configuration operations defined in the Agent Templates.
A Control Template is defined for each service type that is to be provisioned in the network. Control Templates comprise sequences of configuration instructions. These most commonly take the form of Agent Template invocations, but other types of commands (including control structures such as "if/then/else") may also be used.
The activation request specifies the service to be provisioned and the devices to be used in provisioning the service. The activation controller 14 identifies the Control Template associated with the given service and executes, for each device involved in the service, the configuration instructions specified by the template, in particular by invoking the Agent Templates specified in the Control Template.
The configuration instructions for the devices are generally executed in parallel. To achieve this, the activation controller 14 concurrently executes a separate instance of the Control Template for each device being configured, creating separate processing contexts for each instance of the control template, and hence for each device. These instances of the Control Template (CT) are referred to herein as CT Device Instances. Processing contexts may, for example, be in the form of processes, tasks or threads in a parallel processing, multi-tasking or multi-threaded operating system. Alternatively, the activation controller may provide a virtual machine (or similar control arrangement) and control execution of the templates within the virtual machine.
Invocation of Agent Templates results in specific configuration instructions being transmitted to the relevant devices in the network 20, thereby configuring the devices to provide the service. Configuring a device to provide a service is also referred to as activating the device for the service.
The activation controller preferably maintains a log of the configuration operations performed, and any error information generated. Preferably, a separate log is provided for each Control Template and/or for each activation request.
The controller 14 itself may, for example, be a standalone computer or a process executing on a network management server. Activation Request
The activation request transmitted to the activation controller 14 may specify the following information:
• An Activation ID uniquely identifying the Activation Request
• The class and type of service being provisioned • The control template(s) to be invoked to provision the service
(the control template(s) may also be selected automatically based on the service type)
• Information on the devices to be used in provisioning the service (e.g. number of devices, device identifiers (Device ID) and device types)
• Service parameters, for example specifying service level or quality of service (QoS), service quantity e.g. bandwidth, or content selection (where e.g. a content delivery service is being provided) • Any other configuration parameters to be used in configuring devices (e.g. port settings).
The activation information falls into two categories: design invariant information (DII) and design variant information (DVI). DII refers to information that is applicable to, and the same for, all devices involved in a service (such as service class or type, QoS or bandwidth requirements), and tends to describe the service as a whole. DVI refers to information which can vary across the service, for example:
• parameters that apply to some devices, but not others (for example VRF, VRF routing and Rate Limit parameters in the example of Figure 7)
• parameters that can have different values for two or more devices. An example is the position of a service in the multiplex hierarchy of the underlying bearer, such as the VC (Virtual Circuit) number within a VP (Virtual Path) in ATM. Where, as in the latter example, the activation request specifies multiple values for a parameter for different devices, the activation controller executes the multiple CT Device Instances of the Control Template for the relevant devices using the parameter values associated with each device.
As described in more detail later, an Activation Request may also be used to modify or remove an existing service. In addition to service information, device information and service/configuration parameters, the Activation Request thus typically also specifies the activation action to be performed (e.g. add service, modify service, remove service).
The Activation Request is preferably encoded as an XML document. Control Templates
Control Templates provide the logical control flow that governs the network configuration process. In a simple form, a Control Template specifies a sequence of Agent Templates (AT) which, when invoked, configure the network in a sequential manner. Thus, the Agent Templates are invoked in the sequence specified by the Control Template. However, in preferred examples, the Control Templates use a scripting language that supports logical and control flow constructs to provide a sophisticated scripted control flow mechanism as described throughout this section.
Preferably, in addition to invoking Agent Templates, a Control Template may also invoke other Control Templates. By allowing for nested invocation of Control Templates, Control Templates can be modularised, and more powerful and flexible control structures can be used (such as recursion).
Service and configuration parameters specified in the Activation Request are passed as parameters to the Control Template. The Control template itself may pass these parameters to the Agent Templates being invoked as appropriate. The Control Template may also use the device identifiers that are received in the Activation Request to query the inventory 12 for further information that may not be passed with the Activation Request, such as information on device software versions. Activation Request Instances
This section introduces the support infrastructure that the activation controller 14 provides for the processing of a Control Template. This infrastructure is used from the point that the controller begins processing an Activation Request to the point that it is completed. This process is outlined in
Figure 2.
When the controller receives an Activation Request (AR), the Control
Template (CT) to use to process the inbound Activation Request is determined from the Control Template selection parameters that match the DII in the Activation Request. A new processing context is created on the controller within which all the processing of the Activation Request takes place. This processing context is referred to as the Activation Request
Instance. The Activation Request Instance is in effect the container for the processing of the Control Template invoked by the Activation Request and represents a single instance of the invocation of the Control Template.
Multiple Activation Requests may also be processed in parallel, in which case an Activation Request Instance is created for each Activation
Request, executing the appropriate Control Template for that Activation
Request. These are usually executed in parallel and independently of each other.
The creation of an Activation Request Instance is illustrated at step (1) in Figure 2. Note that each Activation Request Instance is distinguished using the Activation ID of the Activation Request that caused it to be created.
Within each Activation Request Instance, a separate processing context is also created for each device that is being configured. This is illustrated in step (2). This processing context for a device is referred to as a Control Template (CT) Device Instance.
Each CT Device Instance controls the invocation of the Agent Templates specified in the Control Template on the device that the CT Device Instance is responsible for. The Activation Request Instance is responsible for coordinating the separate CT Device Instances.
Each CT Device Instance in operation in the system is identified by the Activation ID of its parent Activation Request Instance and the Device ID of the device that it is activating. This pair is used by the system in each log entry for the operations that are performed within a CT Device Instance.
When each CT Device Instance completes, it notifies the Activation
Request Instance. When all CT Device Instances have completed execution, the execution of the Activation Request Instance is complete and the
Controller may respond that the Activation Request has been processed; step
(3) in Figure 2. The Activation Request Instance can then be shut down.
Every Activation Request Instance will have an entry in the inventory and will also have a specific log file. Where multiple Activation Requests are executed in parallel, conflict could occur between the corresponding Control Templates if these attempt to access the same device in the network, potentially resulting in incorrect configuration of devices, invalid configuration states or race conditions. To prevent this, the Activation Controller therefore preferably only allows one CT Device Instance to execute for any given device at any time. Thus, if a CT Device Instance is created for a given device which is already associated with an executing CT Device Instance (typically in a separate Activation Request Instance), then the Activation Controller suspends execution of the new CT Device Instance until the earlier one has terminated. Control Template operational requirements
An Activation Request Instance is responsible for controlling the overall flow of activation for all the network elements (devices) included in the Activation Request that triggers its invocation. This process of control is not the same in all cases. For certain services and connections, the same basic operations will need to be performed at the same time. For others, there may need to be a certain order in which the operations are performed on the devices in the service.
This section describes the four operational behaviours provided by the controller to allow complex control of the activation process: • Asynchronous operation
• Lock-stepped (synchronous) operation
• Asymmetric operation
• Asymmetric lock-stepped (synchronous) operation. The following sections outline what each of these behaviours (or operating modes) requires the Controller to do. Asynchronous operation
Asynchronous operation permits each CT Device Instance to complete at its own speed - the CT Device Instance can invoke the next Agent
Template in the Control Template as soon as the last one has completed.
The Activation Request Instance simply waits for each CT Device Instance to complete before sending a success response for the Activation Request.
Asynchronous mode is used in cases where the same operations need to be performed on each device (though possibly with different configuration parameters). The operation of an Activation Request Instance and associated CT Device Instances in asynchronous mode is illustrated in Figure 3.
The right-hand portion of Figure 3 shows part of an Activation
Request, in the form of an XML fragment defining devices for use in a service (here "device 1", "device 2" and "device 3"). Also shown (in pseudo-code) is the Control Template for the service, defining the steps needed to configure devices to provide the service. Specifically, the Control Template "ADD
CT_Service" specifies three Agent Templates, "AT_1", "AT_2" and "AT_3"; a device being configured by executing the Agent Templates in the specified order for that device.
The left-hand portion of Figure 3 illustrates execution of the Control
Template for the defined devices. One CT Device Instance is created for each of devices "device 1", "device 2" and "device 3", identified by the Device ID of the respective device. Each CT Device Instance then executes the sequence of Agent Templates specified in the Control Template in parallel, independently of the other CT Device Instances. The sequence is the same for each CT Device Instance, but the instances are not synchronized, executing and completing at their own pace. Once the last CT Device
Instance has finished executing (here "device 2"), the Control Template terminates.
Lock-stepped (synchronous) mode
Lock-stepped operation provides for synchronization between CT Device Instances and can, for example, be used when a service is being created that requires certain configuration steps to be completed on all devices before the next configuration steps can be performed. It also permits services that require configuration to be carried out step-wise at either end of a connection to be created in strict order.
An example of this is where an IP service is to be created on top of an MPLS tunnel. The Control Template may provide the configuration instructions for setting up both the MPLS tunnel and, subsequently, the IP service. However, before configuring the IP service on the router devices, the Control Template may specify that there must be a CHECK operation performed on the router to ensure that the tunnel has been correctly installed. There may be other control-related reasons why synchronised operation is desirable. When creating a service in the network, it may be desirable for both or all endpoint devices to start up at once in a controlled manner, rather than being activated in a piecemeal manner.
In lock-stepped mode, the configuration instructions (typically invoking Agent Templates) in a Control Template are grouped into instruction blocks referred to as "steps". Each step defines a sub-sequence of configuration instructions, which should be completed across all CT Device Instances before the next instruction block or step can be processed. This is illustrated in Figure 4. The right-hand side of Figure 4 again shows an XML fragment defining the devices for a service, and the Control Template itself. In this example, the Control Template is divided into a number of steps using a "#STEP" control command with a numerical step identifier. Each step has to be completed for all CT Device Instances in the Activation Request Instance (i.e. for all devices in the service) before the next step can be started, as shown in the main diagram of Figure 4.
Here, each step specifies only a single AT. However, a step may also specify more than one AT (or other instructions) or may be empty (i.e. specifying no ATs/instructions). The "#STEP" commands in the Control Template thus serve to define synchronization points in the control template. Multiple concurrent CT Device Instances of the Control Template are synchronized at the specified synchronization points so that each only executes instructions after the synchronization point once all others have completed executing instructions before that synchronization point.
Asymmetric operation
In the above examples, the same instructions are performed for each device (either asynchronously or synchronously). However, not all device activations require the same operations to be performed on all the devices that are being activated. Instead, in some cases, different device types may require their own activation sequences. This type of activation is referred to as asymmetric activation. An example of a service which may require asymmetric activation is a service for providing user access to an authenticated server. The user end of the connection to the server will typically need some basic configuration to be applied to provide connectivity to the server. At the server end, similar configuration will typically be needed; however, additional configuration may be required to add the user's details to the authentication configuration of the server.
In asymmetric activation, different operations can be specified for two or more devices that are included in a service design. The Control Template that is invoked to implement this service then selects and performs the appropriate actions on each device.
Asymmetric mode is illustrated in Figure 5.
Here, devices are classified into types based on their function within the service. The types are referred to as "Roles". The Control Template specifies different instruction sequences for each Role (i.e different sequences of Agent Templates to be invoked). Within each Role, instruction sequences may be divided into synchronized blocks as described above (e.g. using the STEP control structure).
Figure 5 again shows an XML fragment defining devices involved in a service. Here, however, each device is assigned a "Role" value (in this example, "customer edge" and "provider edge" respectively). The Control
Template itself specifies different activation sequences for each Role used in the service.
The main diagram of Figure 5 illustrates execution of the Control Template using the specified devices. For each CT Device Instance, the correct activation sequence is selected and executed by matching the Role defined for the device to the Roles specified in the control template. Thus, in this example, for CT Device Instance "Device 1", which has the "customer edge" Role, the first sequence defined in the Control Template ("AT_1 , AT_2, AT_3") is executed. For "Device 2", having the "provider edge" Role, the second sequence is executed ("ATJ", "AT_2", "AT_4","AT_5", "AT_6").
Within the Control Template, activation sequences for each role are identified using an appropriate syntax, here "Role = " followed by a Role identifier. Asymmetric lock-stepped
Asymmetric activation may be combined with lock-stepped operation (synchronized operation) as described above to allow complex activation processes to be defined in which different devices require different activation sequences (i.e. activation is asymmetric), but some form of synchronization is nevertheless required between those different activation sequences. An example is shown in Figure 6.
In this scenario, different devices need to be activated using a different set of commands to implement a single service. Further, there is a strict order in which this should happen. In the example in Figure 6, Device 1 must have ATJ called on it before device 2 has AT_9 called on it. Once these steps have completed, then both devices must have AT_2 called on them.
Thus, the Activation Request is implemented in a different manner by two or more devices providing the service.
This example makes use of both the Role and the Step concept that were introduced in the previous examples, roles being used to distinguish between different device types and specify different activation sequences for each device type, and steps being used to specify synchronization points for synchronizing execution of the CT device instances for the devices. Thus, synchronization can be achieved even between the different activation sequences defined for different device roles or types. A step may not specify any activation commands at all (i.e. an empty step can be specified) - this can be used, for example, where activation of one device needs to wait until other devices have reached a certain activation state. To achieve synchronisation across the different instruction sequences specified in the Control Template for different device roles/types, corresponding synchronisation points (steps) should preferably be defined in each of the different instruction sequences. The corresponding synchronisation points may, for example, be identified by way of a step identifier, or simply by way of the order in which the steps are specified.
Detailed example
The "Roles" and "Steps" constructs will now be described in more detail in the context of a specific example of an asymmetric service activation. In this example, the service being activated is an MPLS (Multi-Protocol
Label Switching) VPN (Virtual Private Network) service. The service involves two devices (CE = customer edge and PE = provider edge), each performing a different role in the service.
The ADD Activation Request may include the router ID of the CE and PE device, the IP addresses and netmasks for the creation of IP interfaces on each device, the parameters for a rate-limit service on the CE device and the
VRF (Virtual Routing and Forwarding table) configuration parameters on the
PE device.
The group of AT calls and the parameters needed for each call are represented in the diagram in Figure 7. The CE device requires the following AT calls:
• IP Address
• Rate Limit
• Peer Routing The PE devices in contrast requires the following to implement its end of the VPN service:
• VRF Creation
• VRF Routing
• IP interface • Peer routing
The service outlined in Figure 7 is augmented by the addition of a Management VPN and can be encoded into a Control Template as outlined in the pseudo-code example below: <AR>
<Device = CE>
<Role = CE/> <DVI ... /> </Devi ce> <Device = PE> <Role = PE/>
<DVI ... /> </Devi ce> </AR>
CT_Make_Vpn_Leg ADD Role = PE #STEP 1 //make interface on CE for mgmt VPN
#STEP 2
// create management VPN first CREATE At_Vrf
CREATE At_vrf_Routing CREATE At_lp_interface CREATE At_Peer_Routing
#STEP 3 //make interface on CE for cust VPN
#STEP 4 //now do customer VPN
CREATE At_Vrf CREATE At_Vrf_Routing CREATE At_lp_lnterface
CREATE At_Peer_Routing Role = CE #STEP 1
//make interface on CE for mgmt VPN CREATE At_lp_lnterface
CREATE At_Rate_Limit CREATE At_Peer_Routing #STEP 2 //now make mgmt VPN on PE
#STEP 3 //now make interface on CE for cust VPN
CREATE At_lp_lnterface CREATE At_Rate_Limit
CREATE At_Peer_Routing #STEP 4
//now make cust VPN on PE end
In this example, the CE and the PE devices need different configuration. This is provided for using the Role construct. The CE device is configured by the list of Agent Templates under the "Role = CE" section of the
Control Template. The PE is configured by the "Role = PE" section of the same Control Template.
Thus, both devices receive the correct set of AT invocations for their role in the network. However in both cases, the same Control Template has been used.
In this example, a management VPN is created before the customer service VPN. What this means is that two MPLS VPN VRFs are created on the PE. The management VPN is used to maintain reachability to the CE device once it has been put in the customer service VPN. Hence, the management VPN should typically be installed first. Then the customer VPN can be created without the CE being unreachable to the Agent that controls it. Where roles are used, each Control Template should preferably have at least one Role section specified though there is no upper limit.
The Control Template may have a DEFAULT Role specified that describes what operation to take if no match for a Role section in the CT can be found to the Role of a device specified in the Activation Request. In this example, the Agent Templates are invoked using a "CREATE
[ATJMame]" command, in which ATJMame represents the name of the Agent Template to be invoked.
Steps are used in the Control Template to synchronize Agent Template invocations. Generally speaking, Control Templates may contain as many STEPs as are deemed necessary. In preferred implementations, all the ATs (and nested CTs) in a STEP must complete before the Controller can begin processing the next STEP, under the control of the Activation Request Instance. Each CT Device
Instance reports back to the Activation Request Instance when it has completed each STEP.
In the above detailed example, this means that STEPs 1 and 2 containing the management VPN AT invocations must complete before STEPs 3 and 4 containing the customer VPN AT invocations can be started.
Note also that the IP interface on the CE device should be added before the VPN is created on the PE, so there is CE interface configuration performed in each odd STEP, before the corresponding VRF is created in each even STEP.
To achieve fully asynchronous operation, the CT designer need only include a single STEP, followed by the list of Agent Templates to call. To achieve fully lock-stepped (synchronous) operation, the CT designer may specify as many STEPs as there are Agent Template calls, so that each STEP contains a single Agent Template invocation.
In preferred implementations, STEPs extend across all Roles in the
Control Template. As a consequence, each Role section in the Control template should preferably contain the same number of STEPs. In this way, asymmetric lock-stepped operation can be achieved. The CT mini-example on the right side of Figure 6 illustrates this point. If a different number of
STEPs is permitted, one device Role in a CT might complete while other
Roles still have STEPs to complete - this would make controlling the ordered delivery of ATs more difficult (though a suitable control behaviour could be defined to accommodate this scenario).
As the example shows, it is permissible for a STEP to contain no ATs or nested CTs (or other instructions). If an empty STEP is specified for a device role, configuration of the device simply pauses until the step has been completed across all devices. This can be useful where devices need to be in a certain state before configuration of other devices can continue. On the other hand, where configuration actions on two devices can safely proceed independently of each other, these actions can be specified in the same STEP. Invocation command sections
In a preferred implementation, the Controller interface permits a Control Template to be invoked with an ADD, DELETE or CANCEL command in an Activation Request. An ADD command is used to configure devices to create a new service. A DELETE command is used to configure devices to remove an existing service. The CANCEL command removes an unprocessed Activation Request from the Controller message queue. Optionally, a MODIFY command may also be provided to allow an existing service to be reconfigured. Control Templates can preferably include separate ADD, DELETE and
MODIFY sections, defining the configuration steps needed to add, delete or modify a service respectively, since these commands will typically require different operations to be performed on the devices referred to in the Activation Request. The CANCEL command typically need not be further specified in the Control Template since it typically does not require any service-specific actions.
The ADD section is used each time the Control Template is invoked with the ADD command. Each Agent Template listed in this section will be paired with the appropriate Agent Template invocation command for the case where the service is being created (i.e. "CREATE AT_Name").
The DELETE section is used each time the Control Template is invoked with the DELETE command. Each Agent Template listed in this section will be invoked by the appropriate Agent Template invocation command for the case where the service is being deleted (i.e. "DELETE AT_Name").
The MODIFY section is used if the Control Template is invoked with the MODIFY command, and Agent Templates may accordingly also be invoked with a suitable MODIFY command. Alternatively, a modify section could perform DELETE and ADD actions to reconfigure the service as required. Modification of a service may involve changes to service parameters, such as a change in service quality, quantity or content, or may involve rearranging the service, for example by changing a termination location (e.g. in response to a service user relocating to new premises). In preferred embodiments, the Control Template may allow different types of modification to be specified, for example as multiple MODIFY sections or using a wider range of modification commands. Alternatively, different types of service modification may be specified in separate Control Templates.
Agent Templates may themselves specify different configuration operations to be performed depending on whether an Agent Template is invoked with a CREATE, MODIFY or DELETE command.
In preferred implementations, Agent Template invocations return a value indicating success or failure, and may also return more detailed information using appropriate response codes (for example error codes). Conditional Agent Template selection
A Control Template provides a recipe of the ATs that need to be invoked to create a service (though as already mentioned, other commands may also be provided in addition to AT invocation). Simple activation operations can be performed by a simple ordered list of ATs. However, more complex services may require the Controller to make choices about which AT to use in a particular case. To allow more complex activation sequences to be encoded, Control Templates therefore preferably provide control structures such as "if/then/else", "switch" or loop constructs. For example, a Control
Template may specify a conditional choice of which AT to invoke next based on DVI/DII passed to the Control Template in the Activation Request.
The following pseudo-code gives an example of how an "if/then" construct might be used in a Control Template:
i f (port_type [n] = Ethernet) then
CREATE At_Port_τraffi c_Shape el se i f (port_type [n] = ATM) then
CREATE At_Po rt_Rate_ι_i mi t_CAR el se
FAiL(wrong port type) Endi f
In this example, the Control Template examines the type of card that is specified in the DVI of the device being configured. If it is an Ethernet port, then an AT that implements traffic shaping is invoked; if it is an ATM port, then an AT that implements CAR (Committed Access Rate) is used. If neither of these match, then an error code is returned. The error code may, for example, be written to the CT Device Instance log. In the following pseudo-code example, a "switch" statement is used to choose the AT call to make to set the Layer 2 encapsulation on a router. If the card is an ATM1 Port Interface Card (PIC), then the card-level encapsulation setting AT is called. If the card is an ATM2 PIC, then the port- level encapsulation setting AT is called. If the card is any other type, then the wrong type of card has been included in the DVI and an error is logged and the Control Template exits.
Swi tch (atmCardType) case "atm 1 PlC" CREATE At_l_2_Encapsul ati on_card_l_evel case "atm2 PIC"
CREATE At_L2_Encapsul ati on_Port_Level Case "defaul t"
ERROR End ;
Other control structures, such as loops, may also be provided.
Agent Templates
As previously mentioned, configuration instructions in the Control Template usually take the form of Agent Template invocations. Agent Templates represent basic configuration operations, usually performed on a single device. Control Templates, by way of contrast, represent more complex configuration actions or processes, typically consisting of a number of basic configuration operations, and often involving multiple devices. Typically, the same configuration operation may be performed on different device types or models in a different way - for example, different device models may use different command sets and syntax, or require a different sequence of configuration steps to achieve essentially the same result. The system may therefore store a different implementation of a configuration operation for each type or model of device for which the operation is used. These device-specific implementations of an operation are referred to as device-specific Agent Templates (SATs). To nevertheless allow Control Templates to remain relatively device- independent, the system preferably allows configuration operations to be referred to in a device-independent manner. This is achieved by way of device-independent "placeholders", referred to as generic Agent Templates (GATs). Generic ATs provide an interface definition for a configuration operation. This can include a name or other label for the operation and/or any configuration parameters required for performing the configuration operation.
For each generic AT, one or more device-specific implementations of the AT are stored in the template library. These device-specific ATs conform to the interface definition provided by the generic AT, and specify the actual configuration commands required to perform the given configuration operation on a device of a certain type or model.
The interface definition provided by the generic ATs allows Control Templates to include references to ATs without specifying a particular device- specific implementation. The correct device-specific AT can then be selected during execution depending on the actual device being used.
For example, a Control Template may invoke an Agent Template using a reference to a generic AT "GAT_configure_router (P1 , P2)" for performing a certain configuration task on a device of class "router", where P1 and P2 are configuration parameters. However, the network may use various different models of router, possibly made by different manufacturers and using different command sets for configuration. Different device-specific ATs corresponding to the generic AT may then be provided for each router model, for example "SAT_configure_router_model_A (P1 , P2)" and "SAT_configure_router_ model_B (P1 , P2)", with the correct SAT being selected during execution of the Control Template.
Device-specific ATs may also define parameter conversion tables or rules for converting device-independent parameter values for given configuration parameters into device-specific parameter values suitable for a given device, and/or for formatting parameter values for the target device (for example by converting parameter values from a device-independent format into a device-specific format).
In some cases, a GAT may have just a single SAT associated with it, typically where only a single device model is available in the network for performing a given role or function.
Also, as an alternative to providing different device-specific ATs for different device types or models, in some cases a single device-specific AT may perform different actions depending on circumstances (e.g depending on the target device model). This may, for example, be appropriate where the differences in configuration coding required are small (for example for different device models of the same device class from the same manufacturer).
In preferred implementations, the activation controller 14 replaces the generic AT references in the Control Template with calls to the correct device- specific ATs when creating a new CT Device Instance for a given device, based on the device information supplied in the activation request or on information obtained from the resource inventory using the device information supplied. In alternative implementations, the activation controller could determine the correct device-specific AT during execution of the CT Device Instance, at the point of invocation of the generic AT.
Thus, generic ATs can provide a greater degree of device independence, resulting in greater reusability of Control Templates.
The activation controller 14 preferably stores a library of the device- specific ATs, along with generic AT definitions linked to associated device- specific ATs, to allow the matching of device-specific ATs to generic ATs at run-time as well as offline checking of Control Templates. Generic / Specific AT Example
This example GAT defines the common parameters for a given configuration operation (in the example the configuration of a Martini pseudo- wire connection across an MPLS network). The example is encoded in XML.
<NETWORK ELEMENT VaI ue=" . . . "> //DNS name of the devi ce <PARAM Name="Vendor" , Type="stri ng" , val ue=" . . . "/> <PARAM Name="Devi ce Model " , τype="stri ng" , VaI ue=" . . . "/> <PARAM Name="L2 Port Type" , Type="text" , VaI ue=" . . . "/> <PARAM Name="L2 VC-ID", Type="number", VaI ue="..."/> <PARAM Nanie="control-word", τype="B00LEAN", Value="..."/> <PARAM Name="iP_Address", τype="number", value="..."/> <PARAM Name="card Type", Type="string", VaI ue="..."/> <PARAM Name="slot", τype="number", value="..."/> <PARAM Name="port", τype="number", value="..."/> <PARAM Name="sub-interface", τype="number", VaI ue="..."/> <PARAM Name="encapsulation", τype="text", VaI ue="... "/> <PARAM Name="Peer-loopback", τype="number", VaI ue="..."/> </NETWORK ELEMENT>
An example of a corresponding device-specific AT is given below (in pseudocode), and includes references to the configuration parameters specified by the GAT:
CREATE_SECTI0N
if i_2 Port Type = Ethernet then Port_τype = eth else if L2 Port Type = Gigabit Ethernet then
Port_τype = ge else call Error_Response: "Invalid port type"
//form the commands for the Martini service.
Command_l = "interface %s%N/%N.%N", <Port_Type>, <Slot>, <port>, <subinterface>
Command_2 = "encapsulation %S", <encapsulation>
Command_3 = "mpls 12transport route %s %S", <peer-loopback>,
<L2 vc-id> Command_4 = "exit"
Call Send_function (lP_Address, Command_l, Command_2, Command_3, command_4)
Devi ce_Prompt = Device_Prompt_τable(Device ID)
***** IF TELNET ECHO TURNED ON ON AGENT ******
if (Get_Output(command_l, Command_2, command_3, command_4,
Device_Prompt) = TRUE) then Cal l SucceecLResponse el se
Cal l Error_Response endi f
DELETE-SECTION
if L2 Port Type = Ethernet then
Port_τype = eth else if L2 Port Type = Gigabit Ethernet then
Port_Type = ge else
Call Error_Response: "Invalid port type"
Command 1 = "no interface %s%N/%N.%N", <i_2 Port τype>, <Slot>,
<port>, <subinterface>
Cal l send_f uncti on (command_l)
Devi ce_Prompt = Devi ce_Prompt_τabl e (Devi ce ID)
if (Get_output(command_l, Devi ce_Prompt) = TRUE) then
Cal l succeed_Response el se cal l Error_Response Endi f
The example includes both a CREATE section and a DELETE section for performing different steps depending on whether a service is being added or removed. The SAT includes code to construct configuration commands in the format required by a given device and to transmit these commands to the device.
Implementation of the Activation Controller
In preferred embodiments, the activation controller 14 is implemented as a Java application executing on a Java Virtual Machine and uses the multitasking capabilities of the Java Virtual Machine to provide the necessary concurrency for executing multiple CT Device Instances in parallel. This is preferably achieved with a relatively small number of long-lived threads in the activation controller configured to spawn off activity in the Agent Templates and, having initiated an Agent Template, to move on to other tasks rather than wait for a response. The solution is preferably event-driven, so that Agent Templates respond autonomously when complete. These events can initiate further activity in the activation controller. A background 'clean-up' activity can also be provided that identifies Agent Templates, or whole Activation Requests, which have failed to respond (based on criteria such as a time-out), and which then initiates an appropriate recovery or rollback procedure.
In preferred implementations, Agent Templates can also make use of parallelism. For example, if a number of devices can use one device-specific
AT (if, for example, they are different instances of the same device type) then only one AT instance may be invoked and the AT instance then drives the multiple devices in parallel.
Template Library
In preferred implementations, control templates and agent templates (both generic and device-specific) are encoded and stored in the template library 16 as XML documents. Additionally, for each distinct device type, an XML document is preferably stored specifying how to communicate with devices of that type. This information is then used to transmit the configuration commands defined in the device-specific ATs to the devices.
Within the XML documents representing Control Templates and Agent Templates, JavaScript is used to provide for scripting and program control. Templates are preferably designed for reuse, and different sets of templates can be defined for different environments. The templates used in a given deployment of the system can be modified and new templates can be added to reflect changes in deployed network resources and equipment.
To support the definition and use of the templates using XML, the system preferably provides XML schemas defining the document formats for the various types of template stored in the template library (e.g. Control
Templates and Agent Templates), and optionally also for other types of information used by the system. In one example, the following schemas may be provided:
• Device_schema - used to describe communications processes for accessing devices
• ServiceDelivery_schema - used to describe the device-specific Agent Templates including translation tables used, for example, to translate generic parameters to device-specific ones
• Service_schema - used to describe Control Templates and the generic Agent Templates
Instead of schemas, DTDs (Document Type Definitions) could also be used.
Tools can be provided to support the management of the template library including, for example, the following functions:
• XML/JavaScript editor for defining and modifying control templates and agent templates; • XML validator for validating XML documents against the appropriate schemas;
• Compiler for compiling JavaScript into object code (which provides syntactic validation) and converting or formatting data from XML documents into a data format suitable for loading into the inventory and/or activation controller;
• Packaging of compiled script, converted/formatted data and original XML content into JAR files to enable configuration management and reuse of the templates;
• Deployment into activation controller. It will be understood that the present invention has been described above purely by way of example, and modification of detail can be made within the scope of the invention.

Claims

1. A method of configuring a telecommunications system to provide a service involving a plurality of devices, comprising: receiving a configuration script specifying a sequence of configuration instructions for configuring at least two of the plurality of devices to provide the service; and concurrently executing an instance of the configuration script for each of the at least two devices to configure the at least two devices to provide the service.
2. A method according to Claim 1 , wherein the script specifies one or more synchronization points for synchronizing execution of multiple instances of the script, the method comprising synchronizing the concurrent instances of the script at the synchronization point or points.
3. A method according to Claim 1 or 2, wherein the script specifies a synchronization point dividing the instruction sequence into a first instruction block and a second instruction block, each instruction block comprising zero or more instructions, the method comprising: executing, in a first executing instance of the script, the first instruction block; and executing, in the first executing instance of the script, the second instruction block only after a second executing instance of the script has executed the first instruction block, to thereby synchronize execution of the first and second script instances at the synchronization point.
4. A method according to Claim 3, comprising executing, in the first executing instance of the script, the second instruction block only after all other executing instances of the script have executed the first instruction block, to thereby synchronize execution of all executing script instances at the synchronization point.
5. A method according to any of Claims 2 to 4, wherein the script specifies multiple synchronization points, the method comprising synchronizing execution of the script instances at each synchronization point.
6. A method according to any of the preceding claims, wherein the instruction sequence comprises one or more synchronization instructions specifying one or more synchronisation points at which multiple concurrent script instances are to be synchronised.
7. A method according to any of the preceding claims, wherein the at least two devices are each associated with a device type, and wherein the script specifies a first sequence of configuration instructions associated with a first device type and a second sequence of configuration instructions associated with a second device type, and wherein executing an instance of the script for a given device comprises selecting one of the first and second instruction sequences in dependence on the device type of the given device, and executing the selected instruction sequence.
8. A method according to Claim 7, wherein each of the first and second instruction sequences comprise one or more corresponding synchronization points, the method comprising synchronizing a first instance of the script for which the first instruction sequence is being executed with a second instance of the script for which the second instruction sequence is being executed using the specified corresponding synchronization point or points.
9. A method according to any of the preceding claims, comprising, for a sequence of configuration instructions or corresponding sequences of configuration instructions not having associated synchronisation points or corresponding synchronisation points, executing the instruction sequence or corresponding instruction sequences in multiple concurrent instances of the configuration script independently of each other.
10. A method according to any of the preceding claims, comprising storing a plurality of configuration scripts, each defining configuration operations for a respective service type, receiving a configuration request specifying a service to be provided, selecting one of the plurality of stored configuration scripts in dependence on the specified service, and executing the selected configuration script to configure the network to provide the specified service.
11. A method according to Claim 10, wherein the configuration request specifies one or more devices to be used to provide the service, the method comprising executing an instance of the selected configuration script for each device specified in the configuration request to configure the device.
12. A method according to Claim 11 , wherein the configuration request specifies a device type associated with a device, the method comprising selecting one of a plurality of instruction sequences specified by the configuration script in dependence on the specified device type, and executing the selected instruction sequence in the script instance for the device.
13. A method according to any of the preceding claims, comprising creating a separate processing context for each executing script instance, and executing each script instance within the respective processing context.
14. A method according to any of the preceding claims, wherein multiple concurrent script instances are executed as multiple concurrent threads, tasks or processes in a multi-threading, multi-tasking or multi-processing system.
15. A method according to any of the preceding claims, wherein multiple concurrent script instances are executed by a virtual machine.
16. A method according to any of the preceding claims, comprising signalling completion of the configuration script upon completion of all executing script instances.
17. A method according to any of the preceding claims, comprising: receiving a configuration request specifying a service and an action indicator specifying whether a service is to be added or removed; retrieving a configuration script in dependence on the service type of the specified service, the configuration script specifying a first set of configuration instructions for configuring the network to provide a new service of the service type and a second set of configuration instructions for configuring the network to no longer provide a service of the specified type which is currently being provided; selecting one of the first and second sets of instructions in dependence on the action indicator; and executing the selected set of instructions to either add a new service or remove an existing service of the specified type.
18. A method according to any of the preceding claims, comprising: receiving a configuration request specifying a service and an action indicator specifying a configuration action relating to the service; retrieving a configuration script in dependence on the service type of the specified service, the configuration script specifying at least a first set of configuration instructions for performing a first configuration action and a second set of configuration instructions for performing a second configuration action for a service of that type; selecting one of the first and second sets of instructions in dependence on the action indicator; and executing the selected set of instructions to perform the specified configuration action.
19. A method of configuring services in a telecommunications system, comprising: receiving a configuration request specifying a service and an action indicator specifying a configuration action relating to the service; retrieving a configuration script in dependence on the service type of the specified service, the configuration script specifying at least a first set of configuration instructions for performing a first configuration action and a second set of configuration instructions for performing a second configuration action for a service of that type; selecting one of the first and second sets of instructions in dependence on the action indicator; and executing the selected set of instructions to perform the specified configuration action.
20. A method according to Claim 18 or 19, wherein the first, second and specified configuration actions are selected from a group comprising: addition of a service, modification of an existing service, and removal of an existing service.
21. A method according to any of the preceding claims, comprising storing information defining a plurality of configuration operations, the configuration script comprising one or more configuration instructions for invoking one or more of the stored configuration operations.
22. A method according to Claim 21 , wherein, for a given configuration operation, the stored information defines: at least two device-specific implementations of the configuration operation, each implementing the configuration operation for a different device type or model; and a device-independent interface usable for invoking each of the device- specific implementations of the configuration operation.
23. A method of configuring devices in a telecommunications network for a service, comprising storing information defining a plurality of configuration operations, the information defining for at least one of the configuration operations: at least two device-specific implementations of the configuration operation, each implementing the configuration operation for a different device type or model; and a device-independent interface usable for invoking each of the device- specific implementations of the configuration operation; the method further comprising executing a configuration script comprising one or more configuration instructions for invoking one or more of the stored configuration operations by way of the defined device-independent interfaces.
24. A method according to Claim 22 or 23, wherein the configuration script comprises one or more references to configuration operations; and wherein executing the configuration script for a given device comprises: identifying a reference to a configuration operation; selecting a device-specific implementation of the configuration operation in dependence on the given device; and executing the selected device-specific implementation of the configuration operation.
25. A method according to any of the preceding claims, wherein the configuration script references one or more configuration parameters, the method comprising receiving parameter values for the configuration parameters, and executing the configuration script using the received parameter values.
26. A method according to Claim 25, further comprising: receiving, for a parameter referenced in the configuration script, first and second parameter values; executing a first instance of the configuration script for a first device using the first parameter value; and executing a second instance of the configuration script for a second device using the second parameter value.
27. A method of provisioning a service in a telecommunications network, comprising: receiving a configuration script comprising configuration instructions for configuring devices of the network to provide the service, the script including a first sequence of configuration instructions associated with a first device type and a second sequence of configuration instructions associated with a second device type; receiving information specifying a device to be used in providing the service, the device being associated with a device type; and selecting one of the first and second instruction sequences in dependence on the device type of the device, and executing the selected instruction sequence to configure the device.
28. A method according to Claim 27, wherein the information specifies a plurality of devices to be used in providing the service, the method comprising performing the selecting and executing steps for at least two and preferably each of the specified devices.
29. A method of performing a configuration action in a telecommunications system for a service involving a plurality of devices, comprising: receiving a configuration script specifying a sequence of configuration instructions for performing the configuration action for at least two of the plurality of devices; and concurrently executing an instance of the configuration script for each of the at least two devices to configure the at least two devices in accordance with the configuration action.
30. A method according to Claim 29, wherein the configuration action is one of: addition of a service, modification of an existing service, and removal of an existing service.
31. A computer program or computer program product for configuring a telecommunications system to provide a service involving a plurality of devices, comprising software code adapted, when executed on a data processing apparatus, to perform the steps of: receiving a configuration script specifying a sequence of configuration instructions for configuring at least two of the plurality of devices to provide the service; and concurrently executing an instance of the configuration script for each of the at least two devices to configure the at least two devices to provide the service.
32. A computer program or computer program product according to Claim 31 , wherein the software code is further adapted to perform a method as claimed in any of Claims 2 to 30.
33. A network management system for configuring a telecommunications network to provide a service involving a plurality of devices, comprising: means for receiving a configuration script specifying a sequence of configuration instructions for configuring at least two of the plurality of devices to provide the service; and means for concurrently executing an instance of the configuration script for each of the at least two devices to configure the at least two devices to provide the service.
34. A system according to Claim 33, further comprising means for performing a method as claimed in any of Claims 2 to 30.
35. A configuration script for configuring a telecommunications network for a service, the script specifying: a sequence of configuration instructions for configuring devices of the telecommunications network for the service; and one or more synchronisation points for synchronising multiple concurrent instances of the script.
36. A configuration script according to Claim 35, wherein the script specifies two or more sequences of configuration instructions, each instruction sequence being associated with a device type and comprising configuration instructions for configuring a device of that type for the service.
37. A configuration script according to Claim 36, wherein at least two sequences of configuration instructions each specify one or more corresponding synchronisation points for synchronising multiple concurrent instances of the script for which different ones of the at least two sequences of configuration instructions are being executed.
38. A configuration script according to any of Claims 35 to 37, wherein a synchronisation point is specified by way of a synchronisation instruction.
39. A configuration script according to any of Claims 35 to 38, wherein an instruction sequence is divided into two or more sub-sequences, the boundary or boundaries between sub-sequences forming one or more synchronisation points at which multiple concurrent instances of the script are to be synchronised.
40. A configuration script for configuring a telecommunications network for a service, preferably as claimed in any of Claims 35 to 39, comprising multiple sections, each section comprising configuration instructions for performing a different configuration action, the configuration action preferably being one of: addition of a service, modification of an existing service, and removal of an existing service.
41. A configuration script according to any of Claims 35 to 40, encoded as an XML document.
42. An XML schema or XML document type definition (DTD) specifying an XML document format for a configuration script according to any of Claims 35 to 41.
43. A configuration controller for configuring network devices in a telecommunications network for services; the configuration controller being adapted to execute respective instruction sequences for each of a plurality of devices involved in a service; and wherein the configuration controller is adapted to provide a synchronised operating mode in which respective instruction sequences for at least two devices are executed in a synchronous manner.
44. A configuration controller according to Claim 43, wherein the controller is adapted to synchronise execution of the respective instruction sequences for the at least two devices at one or more defined synchronisation points.
45. A configuration controller according to Claim 43 or 44, wherein the instruction sequences are divided into two or more defined steps, the controller being adapted to synchronise execution according to the defined steps.
46. A configuration controller according to any of Claims 43 to 45, further adapted to provide an asynchronous operating mode in which instructions in the respective instruction sequences are executed asynchronously.
47. A configuration controller according to Claim 46 when dependent on Claim 44 or 45, further adapted to perform respective instructions for the at least two devices asynchronously between the defined synchronisation points or within the defined steps.
48. A configuration controller according to any of Claims 43 to 47, adapted to provide a symmetrical operating mode in which the same instructions are performed for the at least two devices.
49. A configuration controller according to any of Claims 43 to 48, adapted to provide an asymmetrical operating mode in which different instructions are performed for the at least two devices.
50. A configuration controller according to any of Claims 43 to 49, adapted to operate in one or more of, and preferably in each of: an asynchronous symmetrical operating mode, a synchronous symmetrical operating mode, an asynchronous asymmetrical operating mode, and a synchronous asymmetrical operating mode.
51. A configuration controller according to any of Claims 43 to 50, adapted to perform a method according to any of Claims 1 to 30.
52. A configuration controller according to any of Claims 43 to 51 , adapted to execute a configuration script as claimed in any of Claims 35 to 41.
53. A network management system comprising: a configuration controller according to any of Claims 43 to 52; means for receiving a configuration request relating to a service; and means for invoking the configuration controller to configure a service in accordance with the request.
PCT/GB2007/000565 2006-02-20 2007-02-20 Configuring devices in a telecommunications network to provide a service WO2007096591A2 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
GB0603360A GB2435362B (en) 2006-02-20 2006-02-20 Method of configuring devices in a telecommunications network
GB0603360.9 2006-02-20
US11/473,003 US8380833B2 (en) 2006-02-20 2006-06-22 Method of configuring devices in a telecommunications network
US11/473,003 2006-06-22

Publications (2)

Publication Number Publication Date
WO2007096591A2 true WO2007096591A2 (en) 2007-08-30
WO2007096591A3 WO2007096591A3 (en) 2007-11-08

Family

ID=38027143

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/GB2007/000565 WO2007096591A2 (en) 2006-02-20 2007-02-20 Configuring devices in a telecommunications network to provide a service

Country Status (1)

Country Link
WO (1) WO2007096591A2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111988323A (en) * 2020-08-24 2020-11-24 北京天融信网络安全技术有限公司 IPSec tunnel establishment method, IPSec tunnel establishment device, network system and electronic equipment
WO2022143572A1 (en) * 2020-12-29 2022-07-07 华为技术有限公司 Message processing method and related device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1997040449A1 (en) * 1996-04-22 1997-10-30 Motorola Inc. Method and apparatus for synchronizing implementation of configuration information in a communication system
US20020035404A1 (en) * 2000-09-14 2002-03-21 Michael Ficco Device control via digitally stored program content
WO2002091209A2 (en) * 2001-05-08 2002-11-14 Narad Networks, Inc. System and method for network service provisioning

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1997040449A1 (en) * 1996-04-22 1997-10-30 Motorola Inc. Method and apparatus for synchronizing implementation of configuration information in a communication system
US20020035404A1 (en) * 2000-09-14 2002-03-21 Michael Ficco Device control via digitally stored program content
WO2002091209A2 (en) * 2001-05-08 2002-11-14 Narad Networks, Inc. System and method for network service provisioning

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111988323A (en) * 2020-08-24 2020-11-24 北京天融信网络安全技术有限公司 IPSec tunnel establishment method, IPSec tunnel establishment device, network system and electronic equipment
CN111988323B (en) * 2020-08-24 2022-09-23 北京天融信网络安全技术有限公司 IPSec tunnel establishment method, IPSec tunnel establishment device, network system and electronic equipment
WO2022143572A1 (en) * 2020-12-29 2022-07-07 华为技术有限公司 Message processing method and related device

Also Published As

Publication number Publication date
WO2007096591A3 (en) 2007-11-08

Similar Documents

Publication Publication Date Title
US8380833B2 (en) Method of configuring devices in a telecommunications network
KR100453824B1 (en) XML based network management system and method for configuration management of heterogeneous network devices
US7177924B2 (en) Command line interface processor with dynamic update of attribute dependencies
JP3439337B2 (en) Network management system
US20190324793A1 (en) Transaction control arrangement for device management system
EP2541868B1 (en) Method and device for terminal management based on right control
EP2302864B1 (en) Method for processing tlv format of communication data
AU2004216794A1 (en) Universal deployment tool
WO2003098462A1 (en) System and method for transforming configuration commands
JPH08314825A (en) Execution control method of command script
JP2006065811A (en) Resource management method, device and program
US6976263B2 (en) Mechanism for encoding and decoding upgradeable RPC/XDR structures
EP1612994B1 (en) Methods and devices for generating XML expressed management transactions that include an XPath expression
WO2007096591A2 (en) Configuring devices in a telecommunications network to provide a service
US20080021751A1 (en) Method and system for transforming orders for executing them in standard workflow engines
WO2012069077A1 (en) Network element configuration management
EP0464352A2 (en) Sub-entry point interface architecture for change management in a computer network
CN114640569A (en) Dynamic message management apparatus, device, system, method, and storage medium
Cisco Updating the Mainframe Application Software
Fleischmann et al. Specification and implementation of an ISO session layer
US20030212919A1 (en) Updateable event forwarding discriminator incorporating a runtime modifiable filter
CN109921940A (en) System and method based on the offline layout processing of SDWAN Scene realization network service
EP1392019A1 (en) Command line interface processor with dynamic update of attribute dependencies.
CN114816675A (en) Application deployment system and method based on low-code platform
KR20230165646A (en) Electornic device and method for updgrading virtualised network function in network function virtualization enviroment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application
NENP Non-entry into the national phase in:

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 07712742

Country of ref document: EP

Kind code of ref document: A2