A router is a device that receives data packets from one or more ports connected to one or more networks, such as local area networks (LANs) and wide area networks (WANs), and forwards the data packets through output ports selected according to each packet's destination. Based on routing tables and routing protocols, routers read the network address from each received frame and decide how to send the frame, possibly assisted by information, such as traffic load, line costs, speed, line integrity, etc., to select a most expedient route.
Core routers are the “heart” of any network. Only internal, or “core” protocols are run through these machines. No access (client) or transit lines should directly connect to these routers. Examples of core routing protocols are BGP and EGP.
Edge routers are on the perimeter of the core routers. They are responsible for properly receiving and sending traffic to and from customers, peers and transit pipes. Typical routing protocols within the edge routers are, for example, OSPF, IGRP, RIP, IS—IS and others.
Switches are network devices that filter and forward packets between network segments. Switches operate at the data link layer (layer 2) of the OSI Reference Model and therefore support any packet protocol. Networks that use switches to join segments are called “switched Networks” or, in the case of Ethernet networks, “switched Ethernet LANs.”
The Internet Protocol (IP), specified in Internet Engineering Task Force (IETF) Request For Comments (RFC) 791, forms the single packet protocol which currently defines all Internet traffic and content. Destination and source addresses for all IP packets are 32-bit quantities, whose leading bytes can be used to hierarchically determine where on the Internet these addresses reside. Routers organize their own hierarchy, roughly, into a layer of routers within an Internet Service Provider (ISP) and its connected subscribers, and a layer which connects discrete ISPs. Routers on the first level of hierarchy exchange address and network reachability information amongst themselves using a class of routing protocols called Interior Gateway Protocols (IGPs).
Routers on the second level of hierarchy, connecting discrete top-level ISPs, use a different group of protocols called Exterior Gateway Protocols (EGPs).
IETF RFC 1058 defines the RIP and RIPv.2 protocols, which are IGPs, specifying a format and means for exchanging interior routing data. With RIP, routers periodically exchange entire tables. Because this is insufficient, RIP is gradually being replaced by a newer protocol called “Open Shortest Path First” (OSPF).
Border Gateway Protocol v4, or BGPv4, is an EGP that exchanges network reachability information with other BGP systems. This network reachability information includes information on the list of Autonomous Systems (ASs) that reachability information traverses. On connection start, BGP peers exchange complete copies of their routing tables, which can be quite large. However, only changes (deltas) are then exchanged, which makes long running BGP sessions more efficient than shorter ones.
There are currently thousands of network devices such as routers, switches, firewalls, servers, hubs and other network traffic processing devices on the Internet, each of which must be properly configured to deliver the desired service. Configuring a network device typically encompasses creating a “configuration file” formatted according to the manufacturer's specification. Configuration files typically have a syntax wherein some property or attribute is named, followed by values which control the behavior of the property. After a configuration file is created, it is downloaded or “pushed” to the device, which implements the configuration. Once a device is configured, however, a user can log on to the device to change one or more of the properties. Historically, these devices have been configured one at a time by operations personnel. Yet, service providers often roll out new services that are too complex and difficult to be configured manually.
The goal of network configuration management is to generate, deploy and track configurations and configuration changes for a potentially very large number of network software and hardware elements.
With traditional manual-configuration practices, the sheer volume of configuration work requires the participation of many different ISP operations personnel. Often these people use different methods and “recipes,” resulting in inconsistent device configurations across the network. This in turn can lead to poor service quality and even service outages.
The present invention solves this problem by providing an automated solution for configuring and managing the configuration of the Internet infrastructure. Operations personnel can quickly execute system-wide changes that would take weeks or months using manual-configuration practices. The present invention can also detect device configuration changes under program control.
Accordingly, a network configuration management system includes a policy engine which generates configlets based on a selected target level feature set to be configured and a selected device to be configured. The configlets can be vendor-neutral, vendor-specific, or both. The selected device can be named explicitly or can be a member of a named group. A translator translates and combines the configlets to form vendor-dependent configuration files. Devices include, but are not limited to, routers, switches, firewalls, hubs, bridges, interfaces, web hosting servers, domain name system (DNS) servers and virtual interfaces.
The policy engine generates the elements of this representation, called “configlets,” using policies associated with the selected target level and its sub-target levels, as defined within a configuration systems by a target level hierarchy. Target levels are, roughly, constructs for the containment of policies.
A policy includes at least a condition, and an action which the policy engine performs if the condition evaluates to a true outcome at the time of policy evaluation. In performing the action, the policy engine typically writes to at least a partial configlet. A policy may further include a verification clause, which is used to verify a running configuration.
In one embodiment, a reverse-translator produces configlets from a vendor-specific configuration file, which may have been loaded from a running network device. The verification clause then verifies the configuration.
The policy may also include documentation, such as a reason for the policy and a description of what the policy does.
Policy dependencies may also be defined such that where a second policy is dependent on a first policy, the second policy must be evaluated after the first policy. This is necessary where, for example, the first policy generates and stores a value to be used by the second policy.
In one embodiment, policies, or the policy conditions, actions, verifications, etc., are small programs written in a programming language, such as Perl, possibly with extensions to the language.
To model configlet-based configuration data, a configlet hierarchy is defined, such that a child configlet inherits from its parent properties which it does not itself define.
To enable the system to execute the policy engine relative to databases of different formats, a mapping function maps infrastructure data in a first format to a second format, such that the second format is recognizable by the policy engine. The mapping function provides the ability to read the inventory/asset database of any service provider or customers and map it to the requirements of the policy engine.
A loader loads a configuration file to its intended device. The loading can be scheduled, and batches of configurations can be scheduled together.
Another facility of the configuration management system provides a configuration archive in which both generated configurations and configurations uploaded from devices on the network can be archived.
In yet another embodiment, upon replacing a first device using a first configuration format with a second device using a second configuration format, the first device's configuration is read in or uploaded and reverse-translated into configlets. The vendor-neutral configlets are then combined and, if necessary, translated into a configuration formatted for the second device.
Furthermore, the configuration management system can act as a single secure gateway between system users and the network devices they wish to access. The configuration management system retains login names and passwords, in encrypted format, for the system itself and for the network devices. A user desiring to connect to a device must log in to the system instead. The system in turn logs in or connects to the device and passes information back and forth between the user and the device, as if the user were logged directly into the device. Thus, the password information for a protected device is not revealed to the users, but is stored by the configuration manager.
The policy-based configuration generation capabilities of the present invention enable ISPs to eliminate configuration problems when rolling out new services. Operations personnel can establish configuration policies, i.e., rules about how devices should be configured, and device configurations are automatically generated based on these policies. The present invention also allows Operations personnel to modify parts of a configuration, i.e., partial configurations, in the event that a small change is necessary.
These configurations, or partial configurations, are then deployed across the selected devices, ensuring consistent policy enforcement and, as a result, maximum service quality. An embodiment of the present invention also performs verification and reporting to validate that the configurations of deployed devices conform to the desired policies.
Operations departments often need to make routine updates to many devices at one time. This manual procedure is time-consuming, tedious and error prone. With the present invention, an operator can perform routine updates to thousands of devices with a single command. These capabilities enable service providers to roll out and maintain services quickly and efficiently, improving customer satisfaction, customer retention and ultimately, improving revenue streams.
To ensure that the desired configurations are maintained over the long term, network operators need strong auditing capabilities so they can track all of the changes made to each device. The present invention provides comprehensive auditing that automatically logs all sessions and provides information such as who has accessed the device, what changes were made, when it happened and why. The present invention keeps an archive of all configurations, enabling operations personnel to restore configurations if a new configuration becomes undesirable.
The present invention eases the administration of access control to devices and reduces security risks by providing a centralized point for device password control. This is important because many operations people need to access routers and other devices, which can make controlling access problematic. The present invention also eliminates the need to distribute device passwords to operators, which reduces potential security breaches in an age of high employee turnover.
The present invention is built on a highly scalable architecture that can accommodate the continued explosive growth of the Internet. It scales to support networks with thousands of devices, automated operations and large number of users. It automates routine operations and supports multiple vendors, devices and image versions. This enables Internet Service Providers (ISPs) to lower operational costs by automating device configuration changes across large multi-vendor networks, removing the need to set up device-specific operations.
Current manual-device configuration practices are reaching the end of their useful life. Without an automated configuration solution, ISPs will face increasing delays and obstacles in the deployment of new services. In a worse case scenario, manual-configuration practices can make service on the Internet so unpredictable that its value to society will decline.
By enabling the smooth rollout of new devices and services, the present invention plays a critical role in the Internet's continued evolution. The configuration roadblock is removed, thus clearing the way for service providers to roll out new, enhanced services that will enable the Internet to deliver on its promise as a world-changing information infrastructure.
The foregoing and other objects, features and advantages of the invention will be apparent from the following more particular description of preferred embodiments of the invention, as illustrated in the accompanying drawings in which like reference characters refer to the same parts throughout the different views. The drawings are not necessarily to scale, emphasis instead being placed upon illustrating the principles of the invention.
The information paths between the routers are called routes, and as is apparent from
Note that routers 13 and 23 communicate directly over path 16 and that routers 14 and 24 communicate directly over path 18. Paths 16 and 18 are called peering points. Peering points are the connections between various core networks. The Internet comprises hundreds or thousands of interconnected core networks.
Also shown in
Various protocols are used at different points within the Internet. For example, OSPF and RIP are used between routers within an autonomous system (AS), i.e., a network system such as a core network controlled by a single entity. BGP4 is used between routers of different ASs.
As
The policy engine 60 assembles one or more partial configurations called “configlets,” based on a set of policies 50, a target level schema 52 and a configlet schema 54, each of which is discussed in more detail below. The policies 50 are applied to a selected device or device group, a description of which resides in an infrastructure database (ISDB) 56. The data within the ISDB may be legacy data, or for other reasons may be in some particular format. Rather than forcing the conversion of this data, the present invention provides a mapping function 58 which maps the ISDB data to a format which the policy engine 60 can use.
The infrastructure database 56 stores information such as different models of equipment, e.g., Cisco 2500, cards that go into the equipment, and specific equipment instances.
Configlets 62 may be vendor-neutral, vendor-specific or both. A translator 64 translates the vendor-neutral portions of the configlets 62 to vendor-specific formats, and a combiner 65 combines the configlets to generate, for the selected network device or device group, vendor-specific configurations 66, i.e., configurations which can be loaded onto and understood by the devices. These configurations can be stored in a configuration archive 68, from which they can be immediately loaded into the devices 71 or scheduled for later downloading by a loader/scheduler 70.
Some activity can be automated by creating batch jobs that are scheduled to run at a later time or on a regular basis. In addition, existing jobs can be viewed and deleted. In one embodiment, the job scheduler 70 polls every ten minutes by default for jobs to run. The frequency at which the job scheduler polls for jobs can be changed.
As
Of course, one skilled in the art would recognize that the particular order of steps shown is not the only order possible. For example, policies could be created before defining the target level hierarchy.
The process of summarizing the rules used to generate configurations includes defining the things for which a configuration is to be generated, such as devices, device parameters, and services; and defining the commonalities among these. This process leads to a determination of policies and target instances that are needed.
A device configuration file 66 (
The maintenance and growth of a network requires moves, changes and additions of devices and services. Each of these requires changing device configurations, and the process of changing configurations requires management.
One way to manage configurations is through policy-based configuration management. Policy-based configuration management allows the articulation of rules to generate configurations independent of which specific devices are covered by the criteria for the rule's application. A rule is first determined such as, “all BGP routing devices on your network in the Northeast region use the same Autonomous System.” This rule is then implemented in a policy.
Policy-based configuration management ensures that these rules are applied to generate configurations for the devices that meet the defined criteria, regardless of the equipment manufacturer.
As the flowchart of
Targets
“Target levels” are created as a means of organizing a device's related configurable elements into groups such as BGP, interfaces, security, etc., according to the specific ISP configuration discipline. Target levels also allow the grouping of policies that configure these elements. As target levels are defined, they are placed into the target level hierarchy 52 (
An embodiment of the present invention uses target levels to determine the relevant policies required to generate a configuration, and the target level schema to determine the order for executing these policies. Based on the target level selected by the user, either a complete or partial configuration is generated for the device or device group. This provides the flexibility to generate only the specific portions of a configuration that are needed.
Target instances represent the things for which configurations are generated. Target instances include devices, device parameters and services. The target level schema, like a directory structure, specifies a hierarchy amongst related target instances.
To generate or verify a configuration, some network device or group of devices is selected. A target level is then selected, from the target level hierarchy, that specifies the part of the configuration to be generated and/or verified. The target level hierarchy indicates to the policy engine which other target levels must also be included, if any, based on the selected target level. In one embodiment, to begin configuration generation, the user issues a request to the network configuration manager, naming the selected device or device group, and the selected target level.
Note also that the “Security” and “Customer” sub-target levels each have two sub-target levels: “Access List” and “SNMP Community String” under the “Security” target level; and “Customer Static Routes” and “CustomerPVCs” under the “Customer” target level.
When a target level is selected, the policy engine knows, from the target level schema, that the configuration also needs to include the selected target level's sub-target levels.
Thus, target levels enable the generation of both complete and partial configurations. The amount of configuration that the policy engine generates depends upon the target level's position in the target level schema hierarchy. If a target level at the top of the hierarchy is selected, then the policy engine generates a configuration for all of the sub-target levels beneath it. If a target level in the middle of the hierarchy is selected, the policy engine describes configuration just for that target level, and for that target level's sub-target levels, if any.
Although the example of
The target level tree or schema is represented at 202. Next to each target level is an “Add Sub Target” button 204 which can be used to add sub-target levels to the respective target level. Similarly, “Subtract Target” buttons 206 are available for every target level in the schema, except for the root target level (!), which cannot be deleted. Finally, each target level except for the root target level has a “List Policies” button 208 with which a user can view, add, edit or delete policies associated with the respective target level.
In addition to having a parent, each target level can be associated with an “instance group” and an “instance rule.” A target level's instance group acts as a filter, defining a specific group of devices that the particular target level is permitted to configure. Devices which are not part of a target level's instance group, or interfaces on devices which are not part of a target level's instance group, will not be configured by the target level's policies. A target level's instance rule is a directive that configurations are to be generated only for those configuration elements, e.g., devices, cards, interfaces, lines or POPs, specified by the instance rule. That is, only these specified elements are conveyed to policies for configuration generation.
Policies
A policy is a rule or set of rules used to determine certain configuration parameter values to be pushed to network elements. For example, a basic policy might be: “All routers in the network are to have Interface Serial1 active.” A slightly more complex policy might be: “All routers in the network are to have Interface Serial1 active except for 140.239.245.50, which will have Interface Serial0 active.”
Policies are used to manage configurations. Policies specify, in a device-independent and/or device-dependent fashion, configuration content. Within each policy, rules are specified for creating some portion of a configuration. Policies can be used both to generate device configurations and to verify running configurations by comparing them to configurations generated from policies and archived configurations.
A policy of the present invention includes conditions, actions and verification criteria. When generating a configuration for a device or device group, the policy engine 60 determines which policies to use to generate the configuration, based upon the target level selected by the user, by selecting policies which have been associated with the selected target level and its sub-target levels.
For any given configuration that a policy generates, specific values may need to be included. A policy gets the data it needs from the target instance for which it is generating a configuration.
Each policy contains one or more query statements for obtaining information from the infrastructure database 56 (
When a target level and device or devices are selected, the target level obtains from the ISDB 56, all of the data for the specified device or devices. The policies in turn access the data they need to specify instructions for the configuration from the target level.
In an embodiment of the present invention, policies are discrete routines that generate formatted descriptions of the instructions needed to configure a device, its behavior, or a business service to be provided over a network.
Multiple policies may be used to generate a configlet, which in turn may encompass multiple attributes. For example, several policies may be used to describe various attributes of an interface and to ultimately describe the complete set of instructions required to configure interfaces. The policy author determines the granularity of the configuration any given policy generates.
As
The description 102 provides a detailed description of what the policy 100 does. The reason 104 is a brief description explaining why the policy 100 is necessary. Thus the description 102 and reason 104 together serve as documentation for the policy 100.
The condition statement 106 allows the policy engine to determine whether it needs to evaluate this particular policy to generate a configuration. The condition 106 is a statement that is either true or false. If true, the policy engine evaluates this policy 100. If false, the policy engine does not evaluate this policy.
The action 108 contains commands that create configlets. These commands are executed when the condition 106 is true.
The verify element 110 serves two purposes. First, it is used by the policy engine during a “verify configuration” operation to determine whether discrepancies exist between a configuration and this policy. Second, it is used by the policy engine to resolve the situation where two policies try to set the same property to different values.
The policy author can specify whether a discrepancy discovered during the verify process is serious enough for the policy engine to generate an alert, and if so, the severity level of the alert that the policy engine generates.
To pass data between policies, a temporary shared storage space called a “whiteboard” is used. This is useful, for example, if an address must be calculated for several related policies. By using the whiteboard, the address need only be calculated once. The result can be made visible for access by the other policies.
Generating Configurations
As shown in
Each configlet describes the attributes and properties for some aspect of the selected device or service. The policy engine 60 may add the results of one or more policies to a single configlet to complete the attributes that a single configlet describes.
The policy engine then passes the configlets 62 to the translator/combiner 64/65. The translator/combiner 64/65 converts and combines the configlets 62 into a configuration 66 with the appropriate vendor-specific format for the device.
Policies are written as small programs in a scripted programming language such as Perl,. In one embodiment, the policy engine uses an embedded version of a Perl interpreter to evaluate policy rules. This embedded version of Perl contains both basic Perl functions and Perl extensions created explicitly for writing policy rules.
Similarly, policy dependencies can be added, removed or viewed via the “Add Dependency” button 222, the “Remove Dependency” button 224 or the “Show Dependencies” button 226 respectively.
With dependencies, a user can specify that one policy is dependent on another policy. Such a dependency indicates to the policy engine that it must evaluate one policy before evaluating another one. Dependencies are essential in some cases, such as where one policy sets up a context that another policy requires or references, using, for example, the whiteboard.
Configlets
As described above, the policy engine evaluates the policies and puts the results into data structures called “configlets.” Configlets are in an intermediary format that the policy engine uses to organize the pieces of a configuration prior to translation into a vendor-specific format. A configlet can be thought of as a container of related name/value pairs and vendor-specific content (referred to as “verbatims”).
An embodiment of the present invention defines a hierarchical relationship, or “configlet schema,” among configlets.
Each type of configlet represents some protocol or service and contains the configlet properties generated by policy-rules for the protocol or service that each type of configlet represents.
The configlet schema defines the organization by which the various types of configlets are linked to each other through parent-child relationships.
In some cases a parent and child configlet may be of the same type. For example, a Logical Interface configlet can be a child of another Logical Interface configlet. In the case of a parent and child configlet being of the same type, the parent is considered an enclosing default configlet. This means that if any of the parent's same configlet type children does not have a certain property that the parent (enclosing default) does, then the child inherits the property as if it had that property itself. If both the child and the parent have the same property, the child keeps its own value for that property and does not inherit the property from its parent.
Configlet properties represent the supported attributes that you can specify for a protocol or service in a configuration. Attributes that are not supported can be set for auto-generation using “verbatim” extensions in the policy-rule. With verbatim extensions, the exact syntax of the desired attribute is specified and the policy engine includes that syntax in the generated configuration. Verbatim extensions specify raw configuration data, and thus, use vendor-specific data.
Passthrough
In an embodiment of the present invention, device passwords must be added, exactly as configured on the devices, to the ISDB. The device passwords are stored in encrypted format, and used to authenticate users to the devices when users telnet to the devices through the present invention's telnet passthrough.
Because the device logins and passwords are encrypted and presumably unknown to users, users must communicate with the devices 405 through the telnet passthrough facility 59. This enables the application engine 53 (
Example Policy
The following is a policy written in accordance with an embodiment of the present invention, for illustrative purposes. This policy creates interface configlets and sets the IP address.
Note that the condition always returns the value 1, i.e., true, so that the corresponding action is always performed.
At step 1 of the action, the Perl extension Formulator::CreateConfiglet( ) creates an “Interface”-type configlet named “ether0” for the target instance passed in with the arguments. The second call to Formulator::CreateConfiglet( ) creates a child configlet of type “LogicalInterface” with the first configlet as the parent.
At step 2, the IP address and mask are extracted from the infrastructure database for the given target instance.
In step 3, if the IP address and mask are not blank, they are used to set certain properties of the LogicalInterface configlet.
In step 302, configuration requirements are modeled or decomposed into a segmented hierarchy. The present invention allows the decomposition of a configuration with respect to areas that are likely to need higher frequency “partial” regeneration and refresh to a device, as well as areas that are likely to require iterations over sub-target levels.
In step 304, as a result of the analysis of step 302, a target level schema is created for the user's network. The target level schema at this point is simply a hierarchical containment structure for network policy. No configuration policies actually exist yet.
In step 306, policies are created which, when executed, will create or write to vendor-independent configlets.
In step 310, policies are attached to, or associated with, target levels.
At step 312, policy creation is complete. That is, the editing, organizing, and creating of policy is complete.
Step 314, the policy deployment point, is an “idle” state with respect to the deployment of the policy content. There are two paths from which such deployment can be initiated, depending on what the user wishes to do. Each path returns to step 314 after completion.
In step 316, configurations are generated for one or more devices via a complete evaluation of the policy content, relative to the target level schema. Such evaluation is done via hierarchical traversal with respect to the target level schema. Note that the output of step 316 comprises the vendor-specific configurations for the devices for which policy evaluation was successful. The actual devices are not configured in this step.
In step 318, the generated configurations are propagated to the intended devices.
On the other major path, in step 320, a configuration verification report is generated for the selected devices.
As step 501 illustrates, the process is repeated for each device d in group G for which verification has been requested.
First, in step 503, a running configuration Cr(d) for device d is retrieved. In step 505, the retrieved configuration Cr(d) is reverse-translated to its configlet-based representations, the set of which is notated as {Cg(d,c)}.
Next, in step 507, a configuration generation is initiated for device d. This configuration generation proceeds only until the creation of the configlet-based representation for the configuration, that is, until the set of configlets {Cg(d,c)} has been produced. In step 509, corresponding configlets from the two sets {Cg(d,c)} and {Cr(d,c)} are compared.
In step 511, the results of mismatches from this comparison (step 509) can be processed or ignored by verify clauses in each policy invoked in the “forward” creation of {Cg(d,c)} and the “reverse” creation of {Cr(d,c)}. Finally, a report is generated detailing variations between {Cg(d,c)} and {Cr(d,c)} (step 513).
Referring again to
One of the reasons for generating a verification report is to allow a user or administrator to determine the existence and degree of deviation between the business logic which the policies express, and the configurations which are present on the devices themselves.
In response to the reported deviations, a user may take various actions, such as, for example, generating a new configuration to address a configuration inconsistency on one or more devices, or modifying policies.
In a further embodiment of the present invention, if a network device made by a first vendor is replaced with a network device made by a second vendor, before replacing the first router, its configuration can be read in and reverse translated into configlets. Upon installing the second network device, a new configuration file can be generated based on these configlets. Thus, with very little user intervention, the present invention can place a configuration on the new network device which is equivalent to the configuration that was on the first network device.
First, at 800, the user supplies the configuration manager with a target level and some criteria. At step 802, the instance rule for the selected target level is executed. The instance rule returns a list of target instances. Target instances are typically the network devices themselves, but can be anything for which a configuration is to be generated.
At step 804, if there are any target instances to process, control proceeds to step 806, which determines whether there is an instance group for the target level. If there is, then at step 808 it is determined whether the target instance is in the instance group of the selected target level. If the target instance is not in the instance group, it is ignored, and the next target instance from the list is examined at step 804.
If, on the other hand, either there is no instance group for the selected target level (step 806), or the target instance is in the target level's instance group (step 808), the target instance is put into a list of valid target instances (step 810).
If, at step 812, it is determined that the target level for the target instance does not have any child or sub-target levels, the process is repeated from step 804 for any additional instances to process. Otherwise, from step 814, the process starting at step 802 is repeated for each child target level, using the target instance as the criteria.
When finally there are no more instances to process at step 804, the policies to be executed are determined and executed, as detailed in
In step 820, a determination is made as to which policies are needed for execution, based on the selected target level and its subtarget levels. In step 822, the policies are reordered according to their dependencies, if any.
Steps 824 through 832 are performed for each policy.
At step 826, the target instances with the same target level as the policy are referenced. Beginning at step 828, for each target instance, the condition of the policy selected in step 824 is executed with the target instance as an argument (step 830). If the condition returns “false,” the next target instance is examined in step 828. On the other hand, if the condition returns “true,” then the policy's action is executed with the target instance as an argument (step 832).
When all policies have been executed (step 834), a set of configlets has been generated.
Example of Configuration Generation
First, basic router functionality can be configured, corresponding to the “Router” target level 602. Second, the routing procotols can be configured as to where to send packets, corresponding to the “BGP” and “RIP” subtarget levels 604, 606 respectively. Third, the interfaces on the router can be configured so that the router can communicate, corresponding to the “Interface” subtarget level 608. Finally, the router can be configured to support the customers served by the router, corresponding to the “Customer” subtarget level 610.
The “Customer” subtarget level 610 is broken down further into two subtarget levels. The first of these subtarget levels is a “Customer Routing” subtarget level 612 for configuring a customer's routing information. This could include, for example, setting up static routes, and deciding what routing information is to be advertised to the customer. The second of these subtarget levels is a “Customer Connectivity” subtarget level 614 for which a customer's connectivity information is configured. This can include, for example, setting up permanent virtual circuits (PVCs) to the customer.
For this example, assume that there is a single policy in the “Customer Routing” subtarget level 612. This policy, called “Customer Static Route,” will create a static route for each of the customer's networks.
Assume for this example that the ISP updates its routers' static routes once a day. With the present invention, this is a simple task. Assume that operations personnel want to generate just a partial configuration using the “Customer Routing” subtarget level 612, to insure that only the “Customer Static Route” policy 622 is executed. This will result in a partial configuration that contains only the static routes.
One benefit of being able to generate partial configuration is that the likelihood of propagating an unintended change is reduced. In addition, some routers, or interfaces on routers, will reset themselves if certain parameters are set. For example, setting the IP address on an interface, even if it is identical to the current IP address on the interface, might cause the interface to reset, causing the interface to be unreachable for some length of time. This can be avoided by propagating just a partial configuration, as can be generated by the present invention, to the router.
To continue with the example, assume that the operations personnel, or user, decides to update the static routes on router ‘A’. To ensure that the minimal configuration for static routes is generated, the user instructs the policy engine 60 (
The policy engine first determines the proper context for the operation, by “walking” the target level schema 600, and executing the target instance rules as appropriate. In this example, when the policy engine executes the customer target instance rule (not shown) for router ‘A’, three customers 620, i.e., target instances of type customer, are found that are served by router ‘A’: CompA, CompB and CompC.
The object is to execute only the policies associated with (or contained in) the Customer Routing subtarget level 612. Thus, each customer target instance 620 is passed to the Customer Static Route policy 622. The policy 622 evaluates its condition 624 for each target instance. If the condition 624 returns true, then the policy's action 626 is executed.
In this example, the condition 624 return “true” for the customers “CompA” and “CompC” because the account type of each is “blue.” The policy 622 creates a static route for each network that the customer has, where a static route is basically providing information that states: “To get to the network defined by <network address> and <mask>, send the packet to the gateway <customer uplink IP address>.” The policy 622 also assigns an administrative weight to this information. For example, a router might know of multiple ways to reach a particular network. Weights are used to give preference to some routes.
In the example, CompA has three networks that require a static route, while CompB has a single network that needs to be set up. After the policy has been executed for these customer target instances, four configlets 628 of type static route will have been created.
The configlets 628 here are vendor-neutral, although other policies could create vendor-specific configlets or configlets having both vendor-neutral and vendor-specific properties. In order to effect a configuration change, a translator 64/combiner 65 translates the configlets 628 into the specific vendor syntax and combines them into a partial, vendor-specific configuration 630.
In this example, the configuration manager has determined that router ‘A’ is a product of, say, Vendor Q. The translator converts the configlets into a Vendor Q-configuration 630, which in this case is a partial configuration. At this point, the configuration 630 could be pushed up to a device and update the static routes.
While this invention has been particularly shown and described with references to preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the scope of the invention encompassed by the appended claims.
This application claims the benefit of U.S. Provisional Application No. 60/277,669, filed on Mar. 21, 2001. The entire teachings of the above application are incorporated herein by reference.
Number | Name | Date | Kind |
---|---|---|---|
4991089 | Shorter | Feb 1991 | A |
5109486 | Seymour | Apr 1992 | A |
5159685 | Kung | Oct 1992 | A |
5442791 | Wrabetz et al. | Aug 1995 | A |
5475819 | Miller et al. | Dec 1995 | A |
5491820 | Belove et al. | Feb 1996 | A |
5519704 | Farinacci et al. | May 1996 | A |
5557748 | Noris | Sep 1996 | A |
5581764 | Fitzgerald et al. | Dec 1996 | A |
5724509 | Starkweather et al. | Mar 1998 | A |
5726883 | Levine et al. | Mar 1998 | A |
5751967 | Raab et al. | May 1998 | A |
5764955 | Doolan | Jun 1998 | A |
5784702 | Greenstein et al. | Jul 1998 | A |
5787246 | Lichtman et al. | Jul 1998 | A |
5796732 | Mazzola et al. | Aug 1998 | A |
5819028 | Manghirmalani et al. | Oct 1998 | A |
5832503 | Malik et al. | Nov 1998 | A |
5838918 | Prager et al. | Nov 1998 | A |
5842040 | Hughes et al. | Nov 1998 | A |
5852740 | Estes | Dec 1998 | A |
5872928 | Lewis et al. | Feb 1999 | A |
5884028 | Kindell et al. | Mar 1999 | A |
5889953 | Thebaut et al. | Mar 1999 | A |
5920701 | Miller et al. | Jul 1999 | A |
5944782 | Noble et al. | Aug 1999 | A |
5948065 | Eilert et al. | Sep 1999 | A |
5956341 | Galand et al. | Sep 1999 | A |
5961594 | Bouvier et al. | Oct 1999 | A |
5968122 | Schlosser et al. | Oct 1999 | A |
5968176 | Nessett et al. | Oct 1999 | A |
5974236 | Sherman | Oct 1999 | A |
5980078 | Krivoshein et al. | Nov 1999 | A |
5999948 | Nelson et al. | Dec 1999 | A |
6006035 | Nabahi | Dec 1999 | A |
6016306 | Le Boudec et al. | Jan 2000 | A |
6023586 | Gaisford et al. | Feb 2000 | A |
6028846 | Cain | Feb 2000 | A |
6041347 | Harsham et al. | Mar 2000 | A |
6049828 | Dev et al. | Apr 2000 | A |
6055568 | Adams | Apr 2000 | A |
6097697 | Yao et al. | Aug 2000 | A |
6098094 | Barnhouse et al. | Aug 2000 | A |
6098101 | Sears | Aug 2000 | A |
6098108 | Sridhar et al. | Aug 2000 | A |
6101508 | Wolff | Aug 2000 | A |
6104700 | Haddock et al. | Aug 2000 | A |
6105069 | Franklin et al. | Aug 2000 | A |
6108699 | Moiin | Aug 2000 | A |
6108703 | Leighton et al. | Aug 2000 | A |
6122664 | Boukobza et al. | Sep 2000 | A |
6128729 | Kimball et al. | Oct 2000 | A |
6131118 | Stupek, Jr. et al. | Oct 2000 | A |
6131119 | Fukui | Oct 2000 | A |
6154776 | Martin | Nov 2000 | A |
6167445 | Gai et al. | Dec 2000 | A |
6170009 | Mandal et al. | Jan 2001 | B1 |
6170011 | Macleod Beck et al. | Jan 2001 | B1 |
6182094 | Humpleman et al. | Jan 2001 | B1 |
6198479 | Humpleman et al. | Mar 2001 | B1 |
6202090 | Simone | Mar 2001 | B1 |
6243747 | Lewis et al. | Jun 2001 | B1 |
6260072 | Rodriguez-Moral | Jul 2001 | B1 |
6269398 | Leong et al. | Jul 2001 | B1 |
6292889 | Fitzgerald et al. | Sep 2001 | B1 |
6349306 | Malik et al. | Feb 2002 | B1 |
6356955 | Hollberg et al. | Mar 2002 | B1 |
6363411 | Dugan et al. | Mar 2002 | B1 |
6370119 | Basso et al. | Apr 2002 | B1 |
6381631 | Van Hoff | Apr 2002 | B1 |
6393425 | Kelly | May 2002 | B1 |
6418468 | Ahlstrom et al. | Jul 2002 | B1 |
6438594 | Bowman-Amuah | Aug 2002 | B1 |
6442608 | Knight et al. | Aug 2002 | B1 |
6449638 | Wecker et al. | Sep 2002 | B1 |
6463583 | Hammond | Oct 2002 | B1 |
6496843 | Getchius et al. | Dec 2002 | B1 |
6539425 | Stevens et al. | Mar 2003 | B1 |
6550060 | Hammond | Apr 2003 | B1 |
6567406 | Skemer | May 2003 | B1 |
6609108 | Pulliam et al. | Aug 2003 | B1 |
6615166 | Guheen et al. | Sep 2003 | B1 |
6625590 | Chen et al. | Sep 2003 | B1 |
6636877 | Doleac et al. | Oct 2003 | B1 |
6643640 | Getchius et al. | Nov 2003 | B1 |
6654799 | Tanaka | Nov 2003 | B1 |
6658526 | Nguyen et al. | Dec 2003 | B1 |
6678827 | Rothermel et al. | Jan 2004 | B1 |
6684244 | Goldman et al. | Jan 2004 | B1 |
6697967 | Robertson | Feb 2004 | B1 |
6725233 | Froyd et al. | Apr 2004 | B1 |
6769116 | Sexton | Jul 2004 | B1 |
6775698 | Simone | Aug 2004 | B1 |
6826597 | Lonnroth et al. | Nov 2004 | B1 |
20020032769 | Barkai et al. | Mar 2002 | A1 |
20020038320 | Brook | Mar 2002 | A1 |
20020051080 | Tanaka | May 2002 | A1 |
20020171762 | Maxson et al. | Nov 2002 | A1 |
20020174091 | Froyd et al. | Nov 2002 | A1 |
20020191619 | Shafer | Dec 2002 | A1 |
20020198974 | Shafer | Dec 2002 | A1 |
20030033589 | Reyna et al. | Feb 2003 | A1 |
20030037040 | Beadles et al. | Feb 2003 | A1 |
20030048287 | Little et al. | Mar 2003 | A1 |
20030135508 | Chorafakis et al. | Jul 2003 | A1 |
20040078695 | Bowers et al. | Apr 2004 | A1 |
20040225865 | Cox et al. | Nov 2004 | A1 |
Number | Date | Country |
---|---|---|
0 384 339 | Aug 1990 | EP |
0 810 755 | Dec 1997 | EP |
0 762 281 | Mar 1999 | EP |
0 973 296 | Jan 2000 | EP |
1 011 230 | Jun 2000 | EP |
1 012 726 | Jun 2000 | EP |
1 026 867 | Aug 2000 | EP |
1 047 226 | Oct 2000 | EP |
1 090 492 | Apr 2001 | EP |
1 091 526 | Apr 2001 | EP |
2 368 692 | May 2002 | GB |
WO 9508794 | Mar 1995 | WO |
WO 9524802 | Sep 1995 | WO |
WO 9749214 | Dec 1997 | WO |
WO 9818235 | Apr 1998 | WO |
WO 9824208 | Jun 1998 | WO |
WO 9901968 | Jan 1999 | WO |
WO 9911003 | Mar 1999 | WO |
WO 9967931 | Dec 1999 | WO |
WO 0004665 | Jan 2000 | WO |
WO 0041091 | Jul 2000 | WO |
WO 0101293 | Jan 2001 | WO |
WO 0119031 | Mar 2001 | WO |
WO 0147185 | Jun 2001 | WO |
WO 0147186 | Jun 2001 | WO |
WO 0247332 | Jun 2002 | WO |
Number | Date | Country | |
---|---|---|---|
20020178380 A1 | Nov 2002 | US |
Number | Date | Country | |
---|---|---|---|
60277669 | Mar 2001 | US |