Baselining service tagging data from sub-services of a service to improve service assurance
By decomposing the service definition into a sub-service dependency graph and using service tags to mark telemetry information, the problem of service degradation caused by the difficulty in monitoring and identifying heterogeneous components in the network in the existing technology is solved, and efficient monitoring and automation of service performance is achieved. Failure recovery.
Patent Information
- Application Number
- CN202080084312.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-25
- Publication Date
- 2024-10-29
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing technologies are difficult to effectively monitor and identify service degradation problems caused by heterogeneous components in the network. Telemetry information lacks service context, resulting in complex troubleshooting, and cannot efficiently identify poor performance caused by low-level components.
By decomposing the service definition into sub-service dependency graphs, configuring sub-services to record and report sub-service metrics, using service tags to mark telemetry information, generating service-tagged sub-service metrics, and combining heuristic packages to calculate health status, we can achieve overall control over the service. Health status monitoring and automated closed-loop recovery.
It improves the efficiency of identifying and solving service performance problems, realizes intelligent monitoring and automated fault recovery of network equipment, and enhances the reliability and efficiency of service assurance.
Smart Images

Figure CN114766089B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to assurance of services enabled on a network. Background Art
[0002] A mandatory step for intent-based networking involves closing the loop with telemetry to provide service assurance. It is relatively easy to discover whether a service meets its service level agreement (SLA) when monitoring synthetic traffic that simulates a service. However, such top-level mechanisms only provide SLA compliance results that treat the service-enabled network as a "black box" without understanding the inner workings or low-level components of the service. As a result, the network operator responsible for monitoring the service has limited or no insight into which specific degraded or faulty network components / functions are responsible for the service degradation. This problem is particularly difficult when the network consists of heterogeneous network components. Telemetry currently exists to report operational information, but a problem arises that telemetry from network devices in the network does not provide service context information. Therefore, troubleshooting services based on telemetry is very complex, with service information on the one hand and network device-specific telemetry information on the other hand. In the event that a network operator discovers that a service is performing poorly, such as not meeting its SLA, it is almost impossible for the network operator to identify which low-level components of the service are responsible for such poor performance in an efficient manner. The inability to efficiently identify problematic low-level components hinders repairs at the component level to restore acceptable performance of the service.
[0003] As described above, conventional service monitoring of services involves monitoring various low-level operational network parameters associated with the service. The monitoring compares the low-level operational network parameters to static thresholds that are initially established when the service is instantiated, without correlating the results of the comparison (i.e., the comparison results) to actual high-level service performance. Therefore, the question arises as to whether the comparison results are meaningful or useful at the service level. Furthermore, because service operations are highly dynamic over the lifecycle of the service, static thresholds often cause comparison results to falsely imply acceptable or unacceptable service level performance over time. BRIEF DESCRIPTION OF THE DRAWINGS
[0004] Figure 1A is a block diagram of a network service assurance system or architecture (also referred to as a "service assurance system") according to an example embodiment.
[0005] Figure 1B is an illustration of a service configuration database in a network assurance system according to an example embodiment.
[0006] Figure 2A is a block diagram showing additional details of a guarantee coordinator, representative guarantee agents, and representative network devices of a service guarantee system according to an example embodiment.
[0007] Figure 2Bis a block diagram illustrating a distributed arrangement of guarantee agents and network devices of a service guarantee system according to an example embodiment.
[0008] Figure 3 is a diagram of service configuration information of a first network device and an interface on the first network device for a particular service according to an example embodiment.
[0009] Figure 4 is a diagram of service configuration information of a second network device and an interface for a particular service on the second network device according to an example embodiment.
[0010] Figure 5 is an illustration of service configuration information for a first cross-connect (xconnect) associated with a second network device for a particular service according to an example embodiment.
[0011] Figure 6 is an illustration of a sub-service dependency graph of a service in the example form of a sub-service dependency tree according to an example embodiment.
[0012] Figure 7 is an illustration of a generic heuristic package generated based on a sub-service dependency graph according to an example embodiment.
[0013] Figure 8 is an illustration of a heuristic package of network devices used by a service according to an example embodiment.
[0014] Fig. 9 is an illustration of a heuristic package for a network protocol implemented on a network device for a service according to an example embodiment.
[0015] Fig.10 is an illustration of a user interface (UI) for display by an assurance collector of a service assurance system generated based on analysis of service tag sub-service metrics belonging to a particular service according to an example embodiment.
[0016] Fig.11 is an illustration of a UI for display by an assurance collector generated based on analysis of service tag sub-service metrics for multiple services according to an example embodiment.
[0017] Fig.12 is an illustration of a monitoring object for a sub-service of a configuration service according to an example embodiment.
[0018] Fig.13 is an illustration of service tag sub-service metrics in the form of telemetry objects corresponding to a monitoring object according to an example embodiment.
[0019] Fig.14 is a flow chart of a method of performing assurance on services enabled on a network according to an example embodiment.
[0020] Fig.15 is a block diagram of a service assurance system suitable for performing closed-loop automation for intent-based networking according to an example embodiment.
[0021] Fig.16 According to an example embodiment, Fig.15 Flowchart of a closed-loop automation method for intent-based networking performed by a service assurance system.
[0022] Fig.17 An example embodiment of the invention is shown for use in Fig.16 The method to determine the overall health of the service.
[0023] Fig.18 An example embodiment of the invention is shown for use in Fig.16 The method to determine the overall health of the service.
[0024] Fig.19 is a method for performing a Fig.15 Illustration of a service assurance message requesting sub-service reconfiguration in closed-loop automation of intent-based networking implemented by a service assurance system.
[0025] Fig. 20 is a high-level flow chart of a method of assurance monitoring for multiple services that may be performed by a service assurance system according to an example embodiment.
[0026] Fig.21 is a flow chart of a method for using intelligent selection of vantage points for assurance monitoring of sub-services performed by a service assurance system according to an example embodiment.
[0027] Fig. 22 An example of an extended method for monitoring the health status of a sub-service according to an exemplary embodiment is shown. Fig.21 The method of operation of the operation.
[0028] Fig.23 is an illustration of assurance monitoring using intelligent selection of vantage points performed by a service assurance system on a set of service instances configured on a service provider network according to an example embodiment.
[0029] Fig.24 According to an example embodiment Fig.23 Illustration of the drill-down view for the vantage point shown in .
[0030] Fig.25 is a high-level flow chart of a method for performing assurance monitoring using intelligent selection of vantage points according to an example embodiment, the method comprising Figure 21-24 The operation of the associated method.
[0031] Fig.26 is a term similar to Figure 6 Illustration of a subservice dependency graph for .
[0032] Fig. 27 is a flow chart of a method of baseline-ing sub-services of a service and then performing assurance monitoring of the service based on the results of the baselining according to an example embodiment.
[0033] Fig.28 An example embodiment of the invention is shown in which an extension is used to determine whether the service level performance of a service is degraded. Fig. 27 The method of operation of the operation.
[0034] Fig.29 FIG. 1 shows an example of an extended method for determining an optimal rate for collecting / obtaining sub-service metrics from a sub-service according to an example embodiment. Fig. 27 The method of operation of the operation.
[0035] Fig.30 FIG. 1 shows an example of an extension for determining confidence intervals for sub-service metric values collected from sub-services according to an example embodiment. Fig. 27 The method of operation of the operation.
[0036] Fig.31 According to an example embodiment, Fig.30 A graphical representation of the statistics and confidence intervals generated for the values of a subservice metric by the method.
[0037] Fig.32 is a hardware block diagram of an example computer system of a network coordinator and an assurance entity representing one or more of an assurance coordinator, an assurance agent, and an assurance collector of a service assurance system according to an example embodiment.
[0038] Fig.33 is a block diagram of a network device on which sub-services may be implemented according to an example embodiment. DETAILED DESCRIPTION
[0039] Overview
[0040] Aspects of the invention are set out in the independent claims and preferred features are set out in the dependent claims. Features of one aspect may be applicable to any aspect alone or in combination with other aspects.
[0041] A method is performed at one or more entities that configure and provide assurance for services enabled on a network. The service is configured as a collection of subservices on a network device of the network. The definition of the service is decomposed into a subservice dependency graph, which indicates dependencies between the subservices and the subservices that implement the service. Based on the subservice dependency graph, the subservices in the subservice are configured to record and report subservice metrics as indicators of subservice performance. A rate is determined for obtaining values of the subservice metrics from the subservices. A confidence interval for the values of the subservice metrics is determined. The values of the subservice metrics are obtained from the subservices at the rate to generate values for monitoring the subservices. It is determined whether at least one of the values for monitoring the subservices is within a confidence interval.
[0042] Example Embodiments
[0043] Service Assurance for Intent-Based Networking (SAIN)
[0044] refer to Figure 1A , there is a block diagram of an example network service assurance system or architecture 100 (also referred to herein as a "service assurance system" 100). For example, the service assurance system 100 can provide service assurance for intent-based networking (SAIN). The service assurance system 100 leverages the programmability of network devices in an intent-based network (also referred to as a "service network" or simply "network"), and model / event-driven metrics in telemetry obtained from the network devices to deliver end-to-end service assurance for various services. The service assurance system 100 includes a network orchestrator (NO) 102 (also referred to as "service orchestrator 102"), a service operator 104 that provides instructions to the network orchestrator 102, an assurance orchestrator 106 that communicates with the network orchestrator 102, assurance agents 108(1)-108(M) (collectively referred to as "assurance agents" 108) that communicate with the assurance orchestrator 106, an assurance collector 110 that communicates with the assurance agent 108 and the service operator 104, and network devices 112(1)-112(N) (collectively referred to as "network devices" 112) that communicate with the network orchestrator 102 and the assurance collector 110. The network orchestrator 102 configures the network devices 112(1)-112(N) to implement an intent-based service network 113 that is enabled to provide various services to end users. The network devices 112 may include routers, switches, gateways, and other network devices (physical or virtual). The assurance coordinator 106, assurance agent 108, and assurance collector 110 are generally referred to as one or more "assurance entities" (or simply "entities"), configured to provide assurance for services on a network.
[0045] The network coordinator 102 may include applications and / or services hosted on one or more server devices (more simply referred to as servers), such as in a cloud-based data center. The assurance coordinator 106 may also include applications and / or services hosted on one or more server devices, which may be the same or different from the servers used by the network coordinator 102. Similarly, the assurance collector 110 may also include applications and / or services hosted on one or more servers, which may be the same or different from the servers used by the assurance coordinator 106. In an embodiment, the assurance collector 110 is an application integrated into the assurance coordinator 106. The assurance agents 108(1)-108(N) may each include applications and / or services hosted on one or more servers and may be geographically distributed near corresponding ones of the network devices 112(1)-112(N) that are enabled for the monitored services under the control of the assurance agents. Network coordinator 102, assurance coordinator 106, assurance agent 108, assurance collector 110, and network devices 112 may communicate with each other via one or more communication networks, including one or more wide area networks (WANs), such as the Internet, and one or more local area networks (LANs).
[0046] exist Figure 1A In the example of , the service assurance system 100 supports multiple services, including Service 1 and Service 2 (collectively referred to as "services"). To this end, the service operator 104 includes a Service 1 operator for Service 1 and a Service 2 operator for Service 2, and the assurance collector 110 includes a Service 1 collector for Service 1 and a Service 2 collector for Service 2. The service operator 104 (e.g., Service 1 operator and Service 2 operator) provides network and service intent-based instructions to the network coordinator 102 to set up / configure services (e.g., Service 1 and Service 2) for end users. The service operator 104 also receives assurance requests for services (e.g., "get assurance" requests) from the assurance collector 110 (e.g., Service 1 collector and Service 2 collector) and forwards the requests to the network coordinator 102.
[0047] Network Coordinator
[0048] In response to the above instructions and the request sent by the service operator 104, the network coordinator 102 derives the intent-based network device configuration information 114 and sends it to the network device 112 to configure the network device / service network 113 for the service (e.g., for service 1 and service 2). In addition, the network coordinator 102 derives the service configuration information 116 and sends it to the guarantee coordinator 106 for providing guarantees for the services enabled on the service network 113 (e.g., service 1 and service 2). For each service deployed or implemented on the service network 113, the service configuration information 116 includes a definition of the service, including a service type (e.g., a type of network connectivity), a service instance (e.g., an identifier or name of the service), and configuration information describing how the service is actually implemented in the service network 113. That is, the definition of the service configuration reflects how the service is instantiated as a collection of sub-services in the service network 113.
[0049] For network device configuration information 114, the network coordinator 102 may employ, for example, the Network Configuration Protocol (NETCONF) (or similarly, Representational State Transfer (REST) Configuration (RESTCONF)) in a NETCONF-compatible session to push intent-based network device configuration objects, such as Yet Another Next Generation (YANG) models or objects, to the network device 112. Similarly, for service configuration information 116, the network coordinator 102 may also push intent-based service configuration YANG objects to the assurance coordinator 106 using, for example, NETCONF. YANG is a data modeling language for defining data sent over a NETCONF-compatible network to configure resources. NETCONF is used to install, operate, and delete configurations of resources, while YANG is used to model configuration and state data of resources. YANG models / objects used to implement the embodiments presented herein may include, for example, YANG models / objects extended to include service-specific metadata annotations according to RFC 7952, or any other format that may be the subject of future standards. More generally, the network coordinator 102 may configure the network device 112 using a client-server session, in which case the network coordinator may operate as a client and the network device may operate as a server.
[0050] The network coordinator 102 configures a wide range of different sub-services on one or more network devices 112 to enable / support each service on the service network 113. To do so, the network coordinator (i) generates sub-service configuration information, including network device configuration commands / instructions and related configuration parameters for the sub-services to be configured, and (ii) pushes the sub-service configuration information to the network devices 112 in network device configuration information 114, as described above. The network coordinator 102 also provides the sub-service configuration information to the assurance coordinator 106 in service configuration information 116, as described above.
[0051] The network coordinator 102 stores the definition of each service configured by the network service coordinator on the service network 113 in a service configuration database (DB) 150. In an example, the service configuration database 150 may be hosted on the network coordinator 102. Figure 1B , shows an example of the service configuration database 150. Figure 1B In the example of Figure 1A Definitions 152(1) and 152(2) (also referred to as "service definitions") of service 1 and service 2. Each definition 152(i) may be similar or identical to the definitions of the services described above. Each definition 152(i) may include a service type 154(i) and a service instance 156(i) to which the service definition belongs, as well as configuration information 158(i) that describes how the service is actually implemented / configured on the service network 113. More specifically, for each subservice of a given service, the configuration information 158(i) of the given service includes a corresponding subservice identifier (ID) (e.g., subservice ID1-1, subservice ID1-2, etc.), and corresponding subservice configuration information (e.g., specific operations for configuring the subservice on a network device and / or intent-based network device configuration objects). The network coordinator 102 may use the service type, service instance, and subservice identifier of the subservice as indexes in the service configuration database 150 to search for and find the corresponding subservice configuration information of the subservice.
[0052] Non-limiting examples of sub-services that the network coordinator 102 can configure include Layer 1 (L1), Layer 2 (L2), and Layer 3 (L3) connections / interfaces, packet routing protocols, logical network overlays (e.g., equal-cost multi-path routing (ECMP)), and sub-services related to traffic shaping. A non-limiting example of operations taken by the network coordinator 102 to configure the above-described example sub-services on a network device in the network device 112 is provided below.
[0053] In order to configure the L1 connection / interface:
[0054] a. Enter L1 interface configuration mode.
[0055] b. Configure components and interface parameters on the network device, including hardware parameters, memory buffers, optical transmit power, and optical coding / modulation used by the optical interfaces on the network device.
[0056] c. Exit L1 interface configuration mode.
[0057] To configure the L2 connection / interface:
[0058] a. Select the interface type (ie, L2, Virtual LAN (VLAN), Port Channel).
[0059] b. Enter L2 interface configuration mode.
[0060] c. Assigning Media Access Control (MAC) addresses, Maximum Transmission Unit (MTU), and L2 Quality of Service (QoS) classification (referred to as "QoS" for short).
[0061] d. Enable L2 interface (no shutdown / enable L2 interface command).
[0062] e. Exit L2 interface configuration mode.
[0063] In order to configure the L3 connection / interface:
[0064] a. Select the interface type (ie, L3).
[0065] b. Enter L3 interface configuration mode.
[0066] c. Allocate Internet Protocol (IP) address, L3 MTU, and L3 QoS.
[0067] d. Enable L3 interface (no shutdown / enable L3 interface command).
[0068] e. Exit L3 interface configuration mode.
[0069] Configure a packet routing protocol (for example, Intermediate System to Intermediate System (IS-IS)):
[0070] a. Check the prerequisites of packet routing protocols:
[0071] i. An IP address is configured on at least one interface.
[0072] ii. Run the IP routing process for the address family (e.g., IPv4, IPv6).
[0073] b. Enter the interface configuration mode of the packet routing protocol.
[0074] c. Select a routing protocol (e.g., IS-IS) and start a routing protocol process on the network device (e.g., Router Information Protocol (RIP), Router Open Shortest Path First (OSPF)).
[0075] d. Assign interfaces to include route advertisements (select IP networks for the advertisements).
[0076] e. Allocate IP address, L3 MTU and L3 QoS.
[0077] f. Exit interface configuration mode.
[0078] To configure ECMP:
[0079] a. Identify the parallel links or parallel multipaths of ECMP and the associated network device interfaces.
[0080] b. Enter ECMP configuration mode.
[0081] c. Enter interface or routing configuration mode
[0082] i. Configure equal costs between the interfaces identified in step (a) (eg, configure the Routing Information Base (RIB), Forwarding Information Base (FIB) accordingly).
[0083] d. Exit ECMP configuration mode.
[0084] To configure traffic shaping as its own subservice or as a subcomponent of another subservice, such as an interface:
[0085] a. Identify the class of network traffic (e.g., policy map / class map).
[0086] b. Define shaping, specify peak / average and burst profiles for traffic.
[0087] c. Enter interface (or permanent virtual circuit (PVC)) configuration mode.
[0088] d. Apply the shaping defined above to the interface.
[0089] e. Exit interface configuration.
[0090] The sub-services and operations for configuring the sub-services listed above are provided as examples only and may be modified and / or expanded to include additional sub-services and operations, as would be understood by a person of ordinary skill in the relevant art having read this specification.
[0091] Guarantee Coordinator
[0092] return Figure 1A , the assurance coordinator 106 operates as a central controller for assuring services deployed on the service network 113. That is, the assurance coordinator 106 adopts "service awareness" to control the assurance of services deployed on the service network 113. In this role, the assurance coordinator 106 performs several main operations. First, the assurance coordinator 106 generates a unique service label for the service based on the service type and service instance in the definition of each service defined in the service configuration information 116. In an example, the service label for a given service can be a tuple that includes the service type and service instance from the given service definition. The service label can be used to distinguish the service to which it belongs from all other services.
[0093] Second, ensure that the coordinator 106 decomposes the definition of each service defined in the service configuration information 116 into a corresponding sub-service dependency graph of sub-services that jointly (actually) implement the service on the network and the dependencies / interdependencies between the sub-services. That is, ensure that the coordinator 106 divides each service into a corresponding sub-service dependency graph. The sub-service dependency graph includes links between (sub-service) nodes representing sub-services and nodes representing dependencies between sub-services. The sub-service dependency graph may include service types and service instances (e.g., service labels) of the services represented by the sub-service dependency graph. To assist in the above decomposition, ensure that the coordinator 106 can poll or query the various network devices identified in the definition to discover sub-services implemented on the network devices, such as packet routing protocols, which will be merged into the sub-service dependency graph.
[0094] In a non-limiting embodiment, the sub-service dependency graph includes a sub-service dependency tree having a root node representing a service, and nodes representing sub-services and having a parent-child relationship (i.e., dependency relationship) between nodes / sub-services pointing to the root node. Figure 6 An example of a sub-service dependency tree is described. Other types of graph constructs / data structures may be used to represent a sub-service dependency graph, as will be understood by those of ordinary skill in the art having read this specification.
[0095] Third, the assurance coordinator 106 derives a corresponding set of heuristic packages for the services described by the subservice dependency graph from each subservice dependency graph. The heuristic package (i) specifies / defines service-related metrics (i.e., subservice metrics) to be monitored / recorded and reported by the subservice, which metrics indicate the health status of the subservice, i.e., as an indicator of the health status of the subservice, (ii) includes rules for determining / calculating key performance indicators (KPIs) based on the recorded and reported subservice metrics, the KPIs including the health status of the subservice (also individually referred to as "subservice health status", collectively referred to as "subservice health status"), and (iii) which sensor paths (i.e., telemetry paths) are enabled to report telemetry, i.e., report the subservice metrics recorded by the subservice from the subservice. The heuristic package may also include or be associated with a service tag of the service to which the heuristic package corresponds. The assurance coordinator 106 employs the heuristic package to configure the assurance agent 108 to monitor the subservices of the service and calculate the health status of the subservice based on the monitoring, as described below.
[0096] Fourth, the assurance coordinator 106 provides the assurance agent 108 with assurance agent configuration information 118, including the interrelated heuristic packages and their corresponding service labels. The assurance coordinator 106 can use NETCONF to push the heuristic packages as YANG objects to the assurance agent 108. The assurance coordinator 106 can also provide the sub-service dependency graph to the assurance collector 110 in the assurance collector configuration information 119.
[0097] Guarantee Agent
[0098] The assurance agent 108 acts as an intermediate assurance device between the network device 112, the assurance collector 110, and the assurance coordinator 106. More specifically, the assurance agent 108 converts the assurance agent configuration information 118 (including the heuristic package) into telemetry configuration information 120, and provides the telemetry configuration information to the network device 112 to configure the network device 112 to record and report the above-mentioned sub-service metrics. For example, the assurance agent 108 generates a monitoring object that defines the sub-service metrics to be recorded and reported by the sub-service, and provides the monitoring object to the sub-service in the telemetry configuration information 120 to configure the sub-service to record and report the sub-service metrics. The assurance agent 108 can maintain the heuristic package, the monitoring object generated by the heuristic package, and the association / binding or mapping between the heuristic package and the service (e.g., service label) to which the monitoring object belongs. For example, the assurance agent 108 can adopt NETCONF (or RESTCONF), for example, to push the YANG modeled object for monitoring (also referred to as "YANG monitoring object") to the network device 112.
[0099] In response to receiving the monitoring object in the telemetry configuration information 120, the network device 112 records the sub-service metrics specified in the monitoring object and transmits the sub-service metrics (in Figure 1A The telemetry stream carries the sub-service metric 122 in the telemetry object corresponding to the monitored object, as shown below in conjunction with Figure 2B Then, the guarantee agent 108 tags the sub-service metrics 122 with service tags to indicate which sub-service metrics are associated with / belong to which services to generate service-tagged sub-service metrics 124 (in Figure 1A In other words, the assurance agent 108 applies the service tag to the sub-service metric of the service to which the service tag belongs. In the example where the sub-service metric 122 is carried in the telemetry object, the assurance agent 108 tags the telemetry object with the service tag to produce a service-tagged telemetry object. Thus, the service tag provides service context for the sub-service metric.
[0100] In one embodiment, the assurance agent 108 does not perform any specific analysis of the sub-service metrics, leaving such analysis to the assurance collector 110 and / or assurance coordinator 106. In another embodiment, the assurance agent 108 performs analysis on the sub-service metrics 122 as directed by the heuristics packet to produce a health status of the sub-service associated with the sub-service metrics (e.g., a KPI used as an indicator of the health status of the sub-service). The assurance agent 108 provides the assurance collector 110 with the service-tagged sub-service metrics 124, as well as the health status of the sub-service when calculated by the assurance agent. For example, the assurance agent 108 provides service-tagged sub-service metrics tagged with service tag 1 to indicate service 1 to the service 1 collector, and service-tagged sub-service metrics tagged with service tag 2 to indicate the flow of service 2 to the service 2 collector. The assurance agent 108 may also provide the service-tagged sub-service metrics 124 to the assurance coordinator 106.
[0101] Guaranteed Collector
[0102] The assurance collector 110 receives / collects service-tagged sub-service metrics 124 and, when available, health status of the sub-services from the assurance agent 108 for various services, as uniquely identified by the service tags that tagged the sub-service metrics. The assurance collector 110 associates the service-tagged sub-service metrics 124 with corresponding services in the various services based on the service tags. The assurance collector 110 determines a corresponding overall health status of each service based on the health status of the sub-services of the service, as indicated by the service-tagged sub-service metrics and their KPIs / health status. When the assurance agent 108 does not provide the health status of the sub-services along with the service-tagged sub-service metrics 124 to the assurance collector 110, the assurance collector 110 calculates the health status of the sub-services based on the service-tagged sub-service metrics 124, as indicated by corresponding ones of the heuristic packets (e.g., heuristic packets tagged with the same service tag as the sub-service metrics).
[0103] Ensure NETCONF / YANG (object-based) implementation in the system
[0104] refer to Figure 2A , there is a block diagram showing the Figure 1A 1. Additional details of assurance coordinator 106, assurance collector 110, representative assurance agents (e.g., assurance agent 108(1)), and representative network devices (e.g., network device 112(1)) are provided. Assurance collector 110 includes pipeline analysis 202 to analyze service-tagged sub-service metrics 124, including KPIs from assurance agent 108 (if any), to determine the health status of the sub-services, and then determine the service health status based on the health status of the sub-services.
[0105] Assurance agent 108(1) includes NETCONF agent 206, telemetry consumer 208, telemetry producer 210, and plug-in 211. Plug-in 211 provides various functional capabilities to assurance agent 108(1) to assist in tasks / operations performed by the assurance agent, including communicating with entities external to the assurance agent. Examples of plug-in 211 include, but are not limited to, one or more of the following: command line interface (CLI) plug-in PI; simple network management protocol (SNMP) plug-in P2; IP service level agreement (SLA) plug-in P3; NetFlow TM Protocol plug-ins for communicating with NetFlow-enabled network devices P4; field operations, administration, and maintenance (IOAM) plug-ins P5 for providing real-time telemetry of individual data packets and flows; application programming interface (API) P6; and layer-independent OAM management (LIME) in a multi-layer environment P7.
[0106] NETCONF agent 206 digests heuristics packet 204 sent by assurance coordinator 106. NETCONF agent 206 generates a monitoring object (in telemetry configuration information 120) as a network device configuration YANG object based on the heuristics packet, and pushes the monitoring object to network device 112(1) to configure the network device for model-driven telemetry (MDT) for reporting the recorded subservice metrics. NETCONF agent 206 may include in the monitoring object a corresponding identifier of the subservice to which the monitoring object belongs (e.g., an identifier of network device 112(1) because the network device is a subservice), and a service tag for the service to which the subservice belongs. Telemetry consumer 208 receives the subservice metrics 122 recorded in the (model-driven) telemetry object corresponding to the monitoring object from network device 112(1). The telemetry object includes the subservice metric, an identifier of the subservice to which the subservice metric belongs (e.g., an identifier of network device 112(1)), and may also include a service tag copied from the corresponding monitoring object. The telemetry consumer 208 passes the (received) telemetry object to the telemetry producer 210. As described above, the telemetry producer 210 tags the (received) telemetry object with a service tag and sends the resulting service-tagged telemetry object (representing the service-tagged sub-service metrics 124) to the assurance pipeline analytics 202 of the assurance collector 110, and optionally to the assurance coordinator 106. In embodiments where the assurance agent computes any KPIs / health status of the sub-services, the telemetry producer 210 may also copy that information computed by the assurance agent 108(1) into the service-tagged telemetry object.
[0107] The network device 112(1) includes a NETCONF agent 220 and an MDT producer 222. The NETCONF agent 220 receives the network device configuration information 114 from the network coordinator 102 and configures a sub-service on the network device 112(1) based on the network device configuration information. The NETCONF agent 220 also receives a monitoring object from the NETCONF agent 206 and configures the network device, including the MDT producer 222, based on the monitoring object. The MDT producer 222 records its local sub-service metrics and its sub-service identifier in a telemetry object as indicated by the monitoring object, and may optionally include a corresponding service tag in the telemetry object, and reports the telemetry object to the telemetry consumer 208.
[0108] Distributed Assurance System
[0109] refer to Figure 2B , there is a block diagram illustrating an example of a distributed arrangement of the guarantee agent 108 and the network devices 112 of the service guarantee system 100. Figure 2B In the example of FIG. 1 , assurance agent 108(1) is co-located with network devices 112(1)-112(3) at a first geographic location, and assurance agent 108(2) is co-located with network devices 112(4)-112(6) at a second geographic location separate from the first geographic location. Figure 1A ) may be implemented on network devices 112(1)-112(3), and service 2 may be implemented on network devices 112(4)-112(6). Geographically distributed assurance agents 108(1) and 108(2) report their service tag telemetry objects to a centralized assurance agent 108(3), which forwards the service-tagged sub-service metrics to an assurance collector 110.
[0110] Reference now Figure 3-Figure 5 An example of service configuration information 116 is described for a service instance "xyz" (e.g., for customer xyz) of service type L2 Virtual Private Network (VPN) L2VPN, where L2VPN is a peer-to-peer (p2p) connection type (i.e., L2VPN-p2p). Figure 3-5 In , the example service configuration information is represented as an Extensible Markup Language (XML) encoding of the YANG model.
[0111] Service configuration information / definition example
[0112] refer to Figure 3, shows a first example service configuration information 300 for a first network device and interface of a service instance xyz. More specifically, row 302 introduces a "GigabitEthernet" interface for a first provider edge (PE) network device "sain-pe-1" (e.g., a router) / on the network device for a service instance xyz of type "12vpn" indicated in row 304. As shown in row 302, the first network device sain-pe-1 is running Cisco's XR operating system. Row 306 provides an identifier "0 / 0 / 0 / 3" for the GigabitEthernet interface. Row 308 defines the maximum transmission unit (MTU) of the interface. The group of rows 310 and 312 defines the parameters for the IPv4 and IPv6 addresses configured on the interface.
[0113] refer to Figure 4 , a second example service configuration information 400 for a second network device of a service instance xyz is shown. More specifically, row 402 introduces a second PE network device "sain-pe-2" (e.g., a router) for the service instance xyz of type "12vpn" indicated in row 406. Row 408 defines a QoS classification for traffic processed by network device sain-pe-2 by default. Alternatively or additionally, the service configuration information 400 may define a Quality of Experience (QoE) classification. Row 410 defines a policy rate for network device sain-pe-2.
[0114] refer to Figure 5 , third example service configuration information 500 is shown for a first cross-connect ("xconnect") associated with a second network device sain-pe-2 of a service instance xyz. An "xconnect" is an L2 pseudowire (L2 PW) used to create an L2 VPN (L2VPN). An example of xconnect is provided by https: / / www.amazon.com / Layer-VPN-Architectures-Networking-Technology-ebook / dp / B0051TM5BM, author C.Pignataro. In the present context of service assurance, "xconnect" refers to the syntax of commands used to implement pseudowires in, for example, a Cisco Internet Operating System (IOS)-XR / IOS-XE operating system.
[0115] Line 502 associates the second network device sain-pe-2 with the service instance xyz. Line 504 defines the first xconnect, which is associated with the GigabitEthernet subinterface 0 / 0 / 0 / 2.600 in line 506 and the IPv4 address 192.0.2.17 in line 508.
[0116] Subservice dependency diagram example
[0117] refer to Figure 6 , shows an example sub-service dependency graph in the form of a sub-service dependency tree 600 for a service L2VPN-p2p, where L2VPN-p2p means an L2 VPN for peer-to-peer connections. The sub-service dependency tree 600 (or simply "tree") includes a service node A-1 at the highest level of the tree. The service node A-1 identifies / represents a service by a service label tuple including a service type and a service instance, e.g., a tuple <service type, service instance>. Figure 6 In the example, service node A1 represents service<L2VPN-p2p,xyz> The lower levels of tree 600 are populated with sub-service nodes (shown as boxes) that identify / represent services.<L2VPN-p2p,xyz> Each sub-service node includes an identifier of the sub-service represented by the sub-service node (e.g., a plain text identifier such as Figure 6 ). Figure 6 In the example of , the lower levels of tree 600 include:
[0118] a second level, including sub-service nodes B-1 and B-2, for xconnect sub-services implemented on network devices sain-pe-1 and sain-pe2;
[0119] b. The third level, including sub-service node C-1, is used for L3 network connection sub-service, with components on network devices sain-pe-1 and sain-pe2.
[0120] c. The fourth level, including sub-service nodes D-1 and D-2, is used for routing protocol sub-services (such as IS-IS) on network devices sain-pe-1 and sain-pe-2.
[0121] d. The fifth level includes sub-service nodes E-1 and E-2, which are used for sub-interface sub-services on network devices sain-pe-1 and sain-pe-2.
[0122] e. The sixth level, including sub-service node FlF-8, is used to interface sub-services on network device sain-pe-1 or sain-pe-2, as indicated.
[0123] f. The seventh level, including sub-service nodes Gl-G3, for network devices sain-pe-1 and sain-pe-2, as sub-services, as indicated.
[0124] In an example branch of the sub-service dependency tree 600, the service<L2VPN-p2p,xyz> A subservice depends on a subservice of subservice node Bl, which depends on a subservice of subservice node El, which depends on a subservice of subservice node F-2, and so on, down the levels of the tree. As indicated by the subservice links, a given subservice may depend on multiple other subservices. Traversing down the levels of tree 600 from the highest level of the tree to the lowest level, services<L2VPN-p2p,xyz> The sub-services include network xconnect on the network device (for example, on sain-pe-1 and sain-pe-2), L3 network connectivity on the network device (L2 network connectivity on the network device can also be a sub-service), routing protocols on the network device, interfaces of the network device, sub-interfaces of the network device, and the network device itself.
[0125] Typically, sub-services include: xconnect on network devices; L1 (e.g., fiber), L2, and L3 network connectivity on network devices; routing protocols on network devices; interfaces of network devices; sub-interfaces of network devices; communication behaviors of interfaces and sub-interfaces; network devices themselves and operations performed on / by network devices. Sub-services also include logical network functions and groupings of logical and physical elements, such as: ECMP / ECMP groups for network devices; network tunnels; link protection functions performed in the network; network device protection functions performed in the network; and logical overlays on the physical network.
[0126] For example, logical overlays may include: link aggregation for link aggregation groups (LAGs); virtual extensible (Vx) LANs (VxLANs); VxLAN-generic protocol extensions (GPEs); generic routing encapsulation (GRE); service function chaining (SFC) functionality, including network service header (NSH) implementation; and multiprotocol label switching (MPLS). Subservices may also include applications, such as application classification according to RFC 6759. Subservices may also include one or more multicast subnets on a network device.
[0127] Heuristic Package
[0128] Now combine Figure 7-9 Describes the example heuristic package.
[0129] refer to Figure 7, shows an example generic heuristics package 700 generated based on a sub-service dependency graph. The heuristics package 700 includes a header 702 that identifies the sub-service of the sub-service dependency graph for which the heuristics package is targeted, and the overall functionality for which the heuristics package is to be used. For example, the header 702 may identify any particular one of an xconnect, L3 connectivity, a routing protocol, a sub-interface, an interface, or a network device, and the header may specify that the heuristics package is to be used to determine the health status of the indicated sub-service.
[0130] Heuristic package 700 may include parameters 704 that indicate various conditions under which the heuristic package is to be used, such as the duration of time for which a subservice is to be monitored. Heuristic package 700 also includes expressions 706 that include measurements 708 and calculations 710. Measurements 708 specify subservice metrics for the subservice to be recorded. For example, for a network device subservice, the subservice metrics may include central processing unit (CPU) usage, free memory, temperature, power, etc. For an interface of a network device, the subservice metrics may include traffic rate, etc. Calculations 710 provide rules and / or instructions to calculate KPIs based on the subservice metrics, as well as instructions to determine the health status of the subservice, such as a threshold to which a calculated value will be compared to determine the health status.
[0131] Calculation 710 may include rules for calculating a binary health state, i.e., a health state indicating a passed health state when the subservice is functioning properly (e.g., meeting the expected performance level) or a failed health state (which is a degraded health state) when the subservice is not functioning properly (e.g., not meeting the expected performance level). Alternatively, the rules may calculate a graded health state, i.e., a health state indicating a health state within a range of possible health states from passed to failed, e.g., including a passed health state, a failed health state, and a degraded health state that is not a passed health state or a failed health state (in this case, degraded means between passed and failed). In an example, the health state may include the following calculated health state values: failed=0, 0<degraded<1, passed=1.
[0132] refer to Figure 8, an example heuristic package 800 for a network device sub-service is shown. The heuristic package 800 includes a header 802 and parameters 804. In general, the heuristic package 800 includes a calculation 806a to calculate health indicators (KPIs) for flash drives, flash memory, hard disks, and storage. For example, the calculation 806a includes a rule for setting a health state to indicate a degraded health state when the memory of the flash drive is full, and a further rule for evaluating the following Boolean operation: flash drive free / flash drive size>0.05, etc. The heuristic package 800 includes a measurement 808 that lists the power metrics to be measured (e.g., power demand), and a calculation 806b that calculates the health state based on the power metrics. The heuristic package 800 also includes a calculation 806c to calculate the overall health state (KPI) of the network device based on the values calculated in the previous calculations 806a and 806b. That is, the calculation 806c defines a regular expression to evaluate the overall health state of the sub-service based on the sub-service metric and the (intermediate) value calculated above.
[0133] refer to Fig. 9 , an example heuristic packet 900 for a network protocol (e.g., IS-IS) subservice implemented on a network device is shown. Heuristic packet 900 includes a header 902 and parameters 904. Heuristic packet 900 includes measurements 906 to measure metrics associated with IS-IS, including determining a list of valid IPv4 and IPv6 IS-IS routes on the network device (e.g., from a forwarding or routing table in the network device). Heuristic packet 900 includes calculations 908 to calculate KPIs based on metrics from measurements 906, including various counts and stability of IPv4 and IPv6 IS-IS routes, and to calculate an overall health 910 of IS-IS, which is also a KPI, based on previously calculated values / KPIs.
[0134] Ensuring collector operation and user interface
[0135] Now combine Fig.10 and 11 , and refer again to Figure 1A, describing further operations of the assurance collector 110. As described above, the assurance collector 110 receives / collects sub-service metrics 124 with service labels for various services, sub-service dependency graphs for various services, and heuristic packages for various services from the assurance agent 108. Each sub-service dependency graph includes a service label for the service to which the sub-service dependency graph belongs. Each heuristic package includes a service label for the service to which the heuristic package belongs. The assurance collector 110 associates all service-tagged sub-service metrics 124 (and the health status of the sub-services when available) tagged with a given service label with the sub-service dependency graph including the given service label and the heuristic package including the given service label. In other words, the assurance collector 110 associates all service-tagged sub-service metrics 124 (and the health status of the sub-services), the sub-service dependency graph, and the heuristic package with matching (i.e., the same) service labels with each other and with the service identified by the service label.
[0136] For each service, the guarantee collector 110 may populate the subservice dependency graph with the corresponding health status of the subservices of the subservice dependency graph represented by the service-tagged subservice metrics. For example, the guarantee collector 110 may populate the nodes of the subservice dependency tree of the service with the health status of the subservice represented by the node. In an embodiment where the guarantee agent 108 provides the guarantee collector 110 with the health status of the subservice and the service-tagged subservice metrics, the guarantee collector may populate the subservice dependency tree with the provided health status. Alternatively, the guarantee collector 110 calculates the health status of the subservice from the corresponding service-tagged subservice metrics 124 according to the corresponding heuristic package, and then populates the subservice dependency tree with the calculated health status.
[0137] The resulting sub-service dependency graph populated with the health states of the sub-services may be generated for display to an administrator in graphical form (e.g., a tree) or otherwise (e.g., as a list of the sub-services of the service). In addition, for each service, the assurance collector 110 may determine an overall health state of the service (also referred to simply as the "health state" of the service) based on the health states of the sub-services of the service. For example, if all sub-services have a health state indicating a passing health state, the assurance collector 110 may set the overall health state to indicate a passing overall health state. Alternatively, if the health state of one or more sub-services indicates a failing health state, the assurance collector 110 may set the overall health state to indicate a failing overall health state.
[0138] refer to Fig.10, shows an illustration of an example user interface (UI) 1000 generated for display by assurance collector 110 in response to collecting and analyzing subservice metrics for a service tag of service L2VPN-p2p, xyz. UI 1000 includes a subservice dependency tree 600 for the service, as described above, but with various subservices highlighted (e.g., shaded) to indicate a degraded health state (which may mean a failing health state, or, alternatively, a degraded health state between failing and passing). Specifically, UI 1000 includes shading for subservices identified by subservice nodes E-1, F-4, and G-2, indicating the degraded health states of those subservices, i.e., the degraded health states of those subservices as determined by assurance collector 110. Additionally, UI 1000 includes a shading for service L2VPN-p2p, xyz identified by service node A-1, indicating the degraded overall health state of the service, i.e., the degraded overall health state of the service as determined by assurance collector 110 based on the degraded health states of its subservices. In other examples, different colors may differentiate between a passing health state (eg, green) and a degraded health state (eg, orange).
[0139] The UI 1000 also includes an information window or panel 1005 that provides health status and diagnostic information for degraded sub-services and services.
[0140] refer to Fig.11 , shows an illustration of an example user interface (UI) 1100 generated for display by the assurance collector 110 in response to collecting and analyzing sub-service metrics for service tags of multiple services. The UI 1100 includes a panel 1102 that displays the health status of two L1VPN-p2p services, including service instances Customer A and Customer B, both of which are degraded. The UI 1100 includes a panel 1104 that displays the health status of the assurance agent 108. The UI 1100 also includes a panel 1106 that indicates the health status of the Customer C and Customer D tunnel services, a panel 1108 that indicates the health status of the Customer E IPv6 service, and a panel 1110 that indicates the health status of the customer services.
[0141] Telemetry objects for monitoring and service tags
[0142] refer to Fig.12, an example monitoring object 1200 is shown. The monitoring object 1200 includes a sub-service identifier (ID) 1202 and configuration information 1204. The configuration information 1204 may include, for example, YANG network device configuration information, and identify sub-service metrics to be recorded and reported based on the heuristic package. The configuration information 1204 may include one or more configuration code snippets to configure a sub-service, such as a network device, to perform logging / reporting of sub-service metrics. For example, in a network device running IOS-XR, a heuristic package with instructions for monitoring (memory) "free space" for MPLS may result in the following command line interface (CLI) code snippet in a monitoring object targeting the network device:
[0143]
[0144] Alternatively, the monitoring object may include a YANG object that performs the same function as the CLI code snippet.Alternatively, the monitoring object may include binary information such as a packet.
[0145] The monitoring object 1200 may also include a service tag of the service to which the subservice identified by the subservice ID belongs.
[0146] refer to Fig.13 , an example service-tagged telemetry object 1300 is shown. The service-tagged telemetry object 1300 includes a sub-service identifier 1302, a service tag 1304, and information 1306. The information 1306 includes sub-service metrics, calculated values, and KPIs (including the health status of the sub-service) recorded / reported according to the heuristic package from which the corresponding monitoring object was generated.
[0147] Service guarantee operation process
[0148] refer to Fig.14 , there is a flow chart of an example method 1400 for performing assurance on services enabled on a network. The method 1400 may be performed by a system including one or more entities to provide assurance for services on a network. The one or more entities may include one or more of an assurance coordinator 106, an assurance agent 108, and an assurance collector 110.
[0149] At 1402, a definition of a service configuration is received, for example, by the assurance coordinator 106. The definition includes a service type, a service instance, and configuration information for enabling or implementing the service in a network.
[0150] At 1404, a service label is generated from the service type and the service instance. For example, the guarantee coordinator 106 generates the service label. The service label identifies the specific instantiation of the service in the network and is unique so as to distinguish the service from other services. The service label can be a tuple including the service type and the service instance.
[0151] At 1406, based on the defined configuration information, the service is decomposed into sub-services and a graph of dependencies between the sub-services that together actually implement the service in the network. The service label is applied to the sub-service dependency graph. For example, the guarantee coordinator 106 decomposes the service into a sub-service dependency graph and can provide the sub-service dependency graph to the guarantee collector 110.
[0152] At 1408, the subservices are configured to record and report subservice metrics indicating health states of the subservices (e.g., respective health states of each subservice) based on the subservice dependency graph. The health states may indicate a passed health state or a failed health state, respectively. Alternatively, the health states may indicate health states within a range of health states, including a passed health state, a failed health state, and a degraded health state that is not a passed health state or a failed health state, respectively. Operation 1408 may include the following further operations:
[0153] a. Based on the subservice dependency graph, the guarantee coordinator 106 generates a heuristic package, usually one heuristic package for each subservice, which specifies the subservice metrics to be recorded and reported by the subservice and includes rules for calculating the health status of the subservice based on the subservice metrics. The guarantee coordinator 106 provides the heuristic package and the service label to the guarantee agent 108.
[0154] b. In response to the heuristic package, the assurance agent 108 generates monitoring objects from the heuristic package that define the subservice metrics to be recorded and reported by the subservice, and provides the monitoring objects to the subservice to configure the subservice to record and report the subservice metrics.
[0155] At 1410, subservice metrics are obtained from the subservice in response to the configuration of 1408. For example, in response to monitoring an object, the subservice records and then reports to the assurance agent 108 the subservice metrics in a telemetry object corresponding to the monitored object.
[0156] At 1412, the service tag is applied to the sub-service metric to generate a service-tagged sub-service metric. For example, the assurance agent 108 receives the telemetry object, inserts the service tag into the telemetry object, and then sends the (generated) service-tagged telemetry object to the assurance collector 110. Optionally, the assurance agent 108 also analyzes the sub-service metric to calculate a health status of the sub-service according to the rules in the heuristics package, and inserts the health status into the service-tagged telemetry object before sending the health status to the assurance collector 110, which receives the service-tagged telemetry object.
[0157] At 1414, the service-tagged subservice metrics are analyzed to determine a health state of the service. For example, the collector 110 is ensured to (i) associate the subservice metrics in the service-tagged telemetry object with the service based on the service-tagged telemetry object, (ii) analyze the subservice metrics based on the rules in the heuristic package to calculate individual health states of the subservices (unless the health state is included in the service-tagged telemetry object), for example, one health state per subservice, and (iii) determine an overall health state of the service based on the individual health states of the subservices that are associated with the service based on the service tag at (i). For example, if all health states of the subservices indicate a passed health state, the overall health state may be set to indicate a passed overall health state. Alternatively, if one or more health states of the subservices indicate a failed health state, the overall health state may be set to indicate a failed overall health state. Alternatively, if one or more health states of the subservices indicate a degraded (not failed or passed) health state, and there is no failed health state, the overall health state may be set to indicate a degraded (not failed or passed) overall health state.
[0158] In addition, the guarantee collector 110 populates the indications of the subservices in the subservice dependency graph with their respective health states, and generates a subservice dependency graph for displaying the populated to provide visual feedback. In various embodiments, the operations performed by the guarantee collector 110 as described above can be shared between the guarantee collector and the guarantee coordinator 106. In another embodiment in which the guarantee collector 110 is omitted, the guarantee agent 108 sends the subservice metrics (and health states) of the service tags directly to the guarantee coordinator 106, and the guarantee coordinator performs all operations performed by the guarantee collector as described above. That is, the guarantee coordinator 106 operates as a guarantee coordinator and a guarantee collector 110.
[0159] In an environment including multiple services, one or more entities perform method 1400 for each service to generate a unique service label, a sub-service dependency graph, a heuristic package, a monitoring object, a telemetry object, a tagged telemetry object, a health status of the sub-service, and an overall service health status for each service, respectively. The one or more entities use the unique service label to distinguish between the service and the above information generated for the service.
[0160] Intent-based, connected, closed-loop automation
[0161] Closed-loop automation for intent-based networking is now described. For example, closed-loop automation for intent-based networking uses the above-described techniques to discover the overall health of a service including a collection of sub-services based on the health of the sub-services. If the closed-loop automation discovers that the overall health of the service (also referred to as "service health") indicates a failed overall health that fails, the closed-loop automation reconfigures the sub-service so that the overall health indicates a passed overall health. In other words, the closed-loop automation provides feedback to "close the loop" in the service assurance system 100 to restore the overall health of the service to an acceptable, passing overall health.
[0162] refer to Fig.15 , showing a block diagram of a service assurance system 100 suitable for performing closed-loop automation. Fig.15 Similar to Figure 1A , the difference is Fig.15 Additional flows for closed-loop automation are shown. For closed-loop automation, assurance coordinator 106 determines the overall health status of each service implemented on service network 113 and then provides a service assurance message 1502 (also referred to as "flow 1502") to network coordinator 102. Service assurance message 1502 includes the overall health status of the services determined by assurance coordinator 106, and may also include the health status of sub-services of each service. Service assurance message 1502 may also include, for each service having an overall health status indicating a failing (or degraded) overall health status, a corresponding request to reconfigure the sub-services of the service to return the overall health status to a passing overall health status. The reconfiguration request may also be referred to as a "sub-service reconfiguration request."
[0163] In response to each request to reconfigure a sub-service of the service received in the service assurance message 1502, the network coordinator 102 reconfigures the sub-services of the service, as identified in the request. To reconfigure the sub-services, the network coordinator 102 provides sub-service reconfiguration information 1504 (also referred to as "flow 1504") to a network device of the network devices 112 that hosts / implements the sub-service to be reconfigured. The sub-service reconfiguration information 1504 can be formatted similarly to the network device configuration information 114 and can be provided to the network devices 112 in a manner similar to that in which the network device configuration information is provided to the network devices.
[0164] refer to Fig.16 , there are for example Fig.15 A flow chart of an example method 1600 for closed-loop automation of intent-based networking performed in the service assurance system 100 is shown. The method 1600 combines the various operations described above. The terms "health status of a sub-service" and "sub-service health status" are synonymous and interchangeable.
[0165] At 1602, the network coordinator 102 configures a service as a collection of sub-services on network devices of the network, stores a definition of the service in the service configuration database 150, and provides the definition to the assurance coordinator 106. As described above, the definition includes a service type, a service instance, and configuration information.
[0166] At 1604 , the assurance coordinator 106 generates a service label based on the definition of the service and decomposes the definition into a sub-service dependency graph indicating the sub-services and dependencies between the sub-services that together implement the service. Operation 1604 may include operations 1402 - 1406 of method 1400 .
[0167] At 1606 , based on the sub-service dependency graph, the assurance coordinator 106 and the assurance agent 108 jointly configure the sub-service to record and report sub-service metrics indicative of a health status of the sub-service. Operation 1606 may include operation 1408 of method 1400 .
[0168] At 1608 , the assurance agent 108 and the assurance coordinator 106 collectively obtain subservice metrics from the subservice, tag the subservice metrics with a service tag, and determine a health status of the subservice based on the subservice metrics. Operation 1608 may include operations 1410 , 1412 , 1414 of method 1400 .
[0169] At 1610, the assurance coordinator 106 determines the overall health status of the service based on the health status of the subservices. In an example, the assurance coordinator 106 populates the subservice nodes of the subservice dependency graph with data representing the respective health statuses of the subservices, and searches the subservice nodes for any health status of the subservices indicating a failed health status. The assurance coordinator 106 may generate a subservice dependency graph populated with data representing the health status of the subservices for display, e.g., as Fig.10 Operation 1610 may include operation 1414 of method 1400 .
[0170] At 1612, if the overall health status indicates a failing overall health status, the assurance coordinator 106 identifies one or more of the subservices as the subservice responsible for the failing overall health status based on the health status of the subservices. The assurance coordinator 106 generates one or more service assurance messages including (i) an identifier of the service (e.g., a service tag), (ii) an overall health status indicating a failing overall health status, (iii) an identifier and health status of at least one or more subservices responsible for the failing overall health status, and (iv) a request to reconfigure one or more of the subservices. The one or more service assurance messages may report the health status of all subservices, not just the health status of the one or more subservices responsible for the failing overall health status. Fig.15As shown in process 1502 , the guarantee coordinator 106 provides one or more service guarantee messages to the network coordinator 102 .
[0171] In response to the one or more service assurance messages, including a request to reconfigure the one or more sub-services, the network coordinator 102 reconfigures the one or more sub-services. To do so, the network coordinator 102 (i) uses an identifier of the service from the one or more service assurance messages and an identifier of the one or more sub-services as an index to access / retrieve sub-service configuration information of the one or more sub-services from a service definition stored in the service configuration database 150, (ii) generates sub-service reconfiguration information based on the sub-service configuration information retrieved from the service definition, and (iii) provides the sub-service reconfiguration information to a network device in the network device 112 that hosts / implements the one or more sub-services, such as the one or more sub-services. Fig.15 As shown in the process 1504. In response to the sub-service reconfiguration information, the network device 112 reconfigures one or more sub-services to implement the requested sub-service reconfiguration, thereby closing the loop of the closed-loop automation process. The entire closed-loop automation can be executed without human intervention.
[0172] The network coordinator 102 may reconfigure one or more sub-services in many different ways to improve the overall health of the service, for example, to change the overall health from not passing to passing. In one example, the network coordinator 102 may simply repeat the operations for configuring the one or more sub-services as performed at 1602, in which case the sub-service reconfiguration information may include the same intent-based network device configuration object used to initially configure the one or more sub-services at 1602. For example, the network coordinator 102 may repeat the above combined Figure 1B Operations are described to configure one or more of L1 connections / interfaces, L2 connections / interfaces, L3 connections / interfaces, packet routing protocols, ECMP, traffic shaping, etc., as identified in the reconfiguration request.
[0173] In another example, the network coordinator 102 may restart one or more sub-services. To restart the sub-services, the network coordinator 102 may first verify the permissions and user authorizations of the sub-services provided in the service definition, force the process implementing the sub-service to enter a privileged mode, and then restart the process or the operating system hosting the process. Alternatively, the network coordinator 102 may implement a process of performing a network device repair or a link repair on a critical network device and / or link associated with one or more sub-services.
[0174] In yet another example, the network coordinator 102 may not completely reconfigure one or more sub-services, but may adjust / modify selected operating parameters of one or more sub-services (from their initially configured values) to improve their operating performance. This constitutes only a partial or limited reconfiguration of one or more sub-services. For example, for one or more sub-services, the network coordinator 102 may:
[0175] a. Adjust routing metrics, such as cost routing.
[0176] b. Modify L2 QoS, MTU or adjust storm control policy (L2).
[0177] c. Change the optical transmit power or hard-coded interface speed (LI).
[0178] d. Adjust L3 QoS or MTU(L3).
[0179] e. Change the ECMP hash input (for example, use the destination IP instead of the source IP).
[0180] f. Perform traffic shaping by modifying QoS to ensure the required traffic throughput level.
[0181] g. Adjust interface traffic throughput (eg bandwidth).
[0182] In a further example, the service assurance system 100 may reprogram the level of detail and frequency of telemetry collection for each network device to more closely investigate why the overall health status of the service indicates a failing health status.
[0183] At 1614, if the overall health status indicates an overall health status of passing, the guarantee coordinator 106 generates one or more service guarantee messages that include (i) an identifier of the service, (ii) an overall health status indicating an overall health status of passing, and (iii) an identifier and health status of the sub-service. The one or more service guarantee messages do not include a request to reconfigure the sub-service. The guarantee coordinator 106 provides one or more service guarantee messages in flow 1502 that do not include a request to the network coordinator 102. In response to the one or more service guarantee messages that do not include a request, the network coordinator 102 does not reconfigure any sub-service.
[0184] refer to Fig.17 , illustrates example operations 1700 that extend operation 1610 in method 1600 for determining an overall health status of a service.
[0185] At 1702 , the guarantee coordinator 106 calculates each health status of the sub-services to indicate a passed health status or a failed health status of the corresponding one sub-service, respectively.
[0186] At 1704, the assurance coordinator 106 determines the overall health of the service as follows:
[0187] a. When one or more health statuses of a sub-service indicate a failed health status, setting the overall health status of the service to indicate a failed overall health status.
[0188] b. When all health states of the sub-services indicate a passed health state, the overall health state of the service is set to an overall health state indicating a passed health state.
[0189] refer to Fig.18 , illustrates example operations 1800 that extend operation 1610 in method 1600 for determining an overall health status of a service.
[0190] At 1802, each of the health states of the sub-services is calculated to respectively indicate a health state within a range of possible health states, including a passed health state, a failed health state, and a degraded health state that is not a passed health state or a failed health state.
[0191] At 1804, an overall health status of the service is determined to indicate that the overall health status is within a range of possible overall health statuses, including a passing overall health status, a failing overall health status, and a degraded overall health status that is not a passing overall health status.
[0192] refer to Fig.19 , shows an example service assurance message 1900 that may be included in the service assurance message (flow) 1502.
[0193] The service assurance message 1900 includes a service type 1902 and a service instance 1904 that together uniquely identify the service, an overall health status of the service 1906, a request to reconfigure one or more sub-services 1908, and identifiers and health statuses 1910 of one or more services.
[0194] Intelligent selection of vantage points for sub-service assurance monitoring
[0195] Now combine Figure 20-25 Embodiments involving intelligent selection of vantage points to ensure monitoring of sub-services of multiple services on a network are described.
[0196] Broadly speaking, most network and service monitoring occurs at all lower-level network elements and service elements. This results in a large amount of data that needs to be sifted through for analysis. When it comes to end-to-end user experience monitoring, you can either do a full mesh, which is expensive, or you can selectively sample, i.e., choose to monitor only specific segments or paths. The embodiments given below provide a smart way of sampling for monitoring purposes.
[0197] In practice, the service assurance system 100 can deploy and provide service assurance for a large number (e.g., hundreds or even thousands) of services on one or more networks. Services can include many different service types (e.g., L3VPN, etc.), as well as many instances of each different service type (e.g., L3VPN for customer 1, L3VPN for customer 2, and so on). Because each service contains many different sub-services, these services may collectively contain a large number (e.g., tens of thousands) of sub-services. Therefore, providing service assurance for such a large number of services and their sub-services presents a scaling challenge, which can be addressed by answering questions such as which sub-services should be monitored, which sub-services should be monitored more closely and more actively than others, and how to monitor the end-to-end user experience at scale to identify the sub-services most likely to affect a wide range of services. Service assurance monitoring using intelligent selection of vantage points answers the above questions, providing a focus for actively monitoring sub-services that are known to affect multiple services, thereby reducing monitoring resource requirements.
[0198] refer to Fig. 20 , there is a high-level flow chart of an example method 2000 of assurance monitoring of multiple services performed by the service assurance system 100. The goal of the method 2000 is to select a representative subset of service instances and / or sub-services that will provide the best view of the health status of a large number of service instances.
[0199] At 2002, the service assurance system 100 determines an initial "manageable set" or initial "sample" of service instances for which end-to-end user experience (UE) assurance monitoring can be performed for a given type of service where there are many service instances. The "manageable set" or "sample" represents a small fraction, such as 10%, of the total number of service instances. The fraction may vary based on the total number of service instances and the size of the service provider (SP) providing the service instances.
[0200] At 2004, the service assurance system 100 selects a specific service instance from among all service instances for the initial sample. The specific service instance may be selected using one or more of the following criteria / mechanisms:
[0201] a. Select the service instance of the customer that generates the most revenue as the specific service instance.
[0202] b. Select the service instance that uses the most common or shared subservices as the specific service instance.
[0203] c. Select a random sample of service instances as specific service instances.
[0204] At 2006, the service assurance system 100 monitors UEs associated with a particular service instance for expected UEs. The assurance system 100 may apply an initial rate to the monitoring, in which case the service assurance system 100 collects or polls data (including sub-service metrics, as described above) from the particular service instance at an initial rate (referred to as an initial "polling frequency") and then determines UEs at the initial rate based on the collected data.
[0205] When monitoring indicates that for one of the particular service instances the UE deviates significantly from the expected UE, it is assumed that the other service instances (for a given service type) are similarly affected, ie, experience significant deviations of their respective UEs from the expected UE.
[0206] At 2008, in response to the significant deviation indicated at 2006, the service assurance system 100 applies "next level" or "deeper" monitoring to the UEs, which may include selecting a new sample of service instances to monitor. The new sample may include a next layer of service instances, a random sample of service instances, etc. In addition, the service assurance system 100 may monitor the UEs of the service instances of the new sample using a higher rate (i.e., a higher polling frequency) to test whether the service instances of the new sample are affected similarly to the initial sample.
[0207] At 2010, operations 2004, 2006, and 2008 are repeated, and the samples are refined based on the most common deviations in the UEs.
[0208] The assurance system 100 may implement various operations in operations 2002-2008 in a manner that provides advantages over conventional approaches. Specifically, operation 2006 may use a sub-service dependency graph of a service instance to find out where the service instances intersect with each other. This enables intelligent selection of which network paths (or segments) to monitor for a UE, where the UE may be represented as the health of the service instance in the context of the sub-service dependency graph. For example, rather than performing true end-to-end monitoring from customer premises equipment (CPE) to CPE over a VPN, it may be equally beneficial and more efficient to monitor only a single segment in the VPN path, assuming that the segment is an intersection of the sub-service dependency graph that indicates severe fluctuations in performance occurring on a sub-service basis. Intelligent selection of only that path segment as a monitoring point, i.e., as a "vantage point," provides considerable visibility across the entire service type (and possibly other services, e.g., in the case of a particular leaf-to-spine interconnect), while limiting resource consumption for UE monitoring and limiting any negative impact on the practicality of UE monitoring.
[0209] With respect to operations 2006 and 2008, the sub-service dependency graph may also provide enhanced visibility to identify deviations in the UE, as the sub-service dependency graph provides the (overall) health status of the service instance represented by the sub-service dependency graph (which may be considered representative of the UE), as well as the sub-service health status. Thus, if UE monitoring determines that the performance of a service instance in a sample of service instances is outside of an acceptable range, e.g., the UE is degraded because an acceptable threshold is not met, the sub-service dependency graph for the service instance may be inspected / traversed to determine that other service instances may also be similarly impacted. For example, while each customer's CPE may fail at the same time (e.g., due to a software error on the CPE), it is likely that a shared sub-service is unhealthy and that the shared sub-service caused the degraded UE. The sub-service dependency graph may be used to reveal other service instances that share the sub-service to further identify the root cause of the degradation.
[0210] Additionally, because the subservice dependency graph (i.e., subservice nodes and links / edges connecting subservice nodes) can be traversed bidirectionally, from the top level (i.e., root) down to the bottom level, and vice versa, a top-down or bottom-up traversal of the subservice dependency graph can be used to find critical (i.e., shared) subservices and, therefore, critical service paths and service instances to monitor. For example, a top-down downward traversal may easily reveal that a core router is a critical shared subservice vantage point, but a bottom-up traversal that traverses the service from its lower-level subservice connection points through the network up to the root may identify less obvious shared subservices. Less obvious shared subservices may include individual network device interfaces, for example, which represent bottlenecks and, therefore, may be good candidates or vantage points for UE monitoring.
[0211] refer to Fig.21 , there is a flow chart of an example method for using vantage points for intelligent selection of sub-services for assurance monitoring performed by the service assurance system 100.
[0212] At 2102, the network coordinator 102 configures a plurality of services on the network devices 112 of the service network 113. Each service includes a collection of corresponding sub-services that implement the service. The network coordinator 102 stores the corresponding definition of each service in the service configuration database 150 and provides the definition to the guarantee coordinator 106, as described above.
[0213] At 2104, the assurance coordinator 106 generates corresponding service labels for the services based on the definitions of the services, as described above. The assurance coordinator 106 also decomposes the definitions of the services into respective sub-service dependency graphs (one for each service), each of which indicates dependencies between sub-services and sub-services that together implement the corresponding service. The assurance coordinator 106 applies the service labels to the sub-service dependency graphs to associate the sub-service dependency graphs with the corresponding services to which the sub-service dependency graphs belong.
[0214] At 2106, the network coordinator 106 traverses each sub-service dependency graph in turn, and while traversing each sub-service dependency graph, identifies and records:
[0215] a. Subservices at the intersection of a subservice dependency graph and other subservice dependency graphs. Each such subservice (referred to as a "shared subservice") is shared by or belongs to at least two services (i.e., at least two subservice dependency graphs). That is, each shared subservice has a link or edge to at least one other service. Depending on the number of intersections between the subservice dependency graph and other subservice dependency shared graphs, the traversal may identify zero, one, or more than one shared subservice. Shared subservices are marked as vantage points for guaranteed monitoring because each of them affects the health status of more than one service.
[0216] b. Non-shared sub-services in the sub-service dependency graph that are not shared by any other services (ie, other sub-service dependency graphs).
[0217] More specifically, the traversal includes traversing all sub-service nodes of the sub-service dependency graph, and the links between the sub-service nodes. During the traversal of other sub-service dependency graphs, the sub-service identifiers stored in the traversed sub-service nodes are recorded and compared with the previously recorded sub-service identifiers. Therefore, a match between the sub-service identifiers indicates that the sub-services identified by the matched sub-service identifiers belong to different services, that is, the sub-services are shared sub-services. Conversely, a sub-service identifier that still does not match after traversing all sub-service dependency graphs identifies a non-shared sub-service.
[0218] Other statistics may be recorded and / or determined at operation 2106. For example, the network coordinator 106 may determine, for each shared sub-service, a corresponding number of services that share the shared sub-service. The network coordinator 106 may then determine the most shared sub-services (i.e., the shared sub-services that are shared by the greatest number of services) based on these numbers. The network coordinator 106 may use such statistics to make subsequent warranted monitoring decisions, e.g., which sub-services should be most actively monitored, which sub-services may not need to be monitored, etc.
[0219] At 2108, assuming one or more shared sub-services, the service assurance system 100 monitors / determines the sub-service health status of at least one or more shared sub-services (ie, vantage points) while they are running. Fig. 22 Operations for implementing monitoring of subservices (i.e., extended operations 2108) are described. In one embodiment, the guarantee coordinator 106 monitors the subservice health of each of the one or more shared subservices, but does not monitor the subservice health of non-shared subservices. The embodiment can be further limited so that the guarantee coordinator 106 only monitors the subservice health of the most shared subservice and does not monitor other subservices. In another embodiment, the guarantee coordinator 106 monitors the health of the most shared subservice at a first rate, and monitors the health of the remaining subservices of the one or more shared subservices that are not the most shared at a second rate greater than the first rate. In yet another embodiment, the guarantee coordinator 106 monitors the subservice health of one or more shared subservices, and additionally monitors the subservice health of the non-shared subservices when the non-shared subservices are running.
[0220] The assurance system 100 may set one or more rates for monitoring the health of subservices. For example, the service assurance system 100 sets a first rate for monitoring the health of subservices of shared subservices (and then monitors the health of those subservices at the first rate), and a second rate for monitoring the health of subservices of non-shared subservices (and then monitors the health of those subservices at the second rate). In one embodiment, the first rate and the second rate are the same. In another embodiment, the first rate is greater than the second rate, such that the service assurance system 100 monitors the health of subservices of shared subservices more frequently than the service assurance system monitors the health of subservices of non-shared subservices. Shared Subservices
[0221] At 2110, the service assurance system determines the health of the service based on the subservice health monitored in operation 2108, e.g., based on the subservice health of shared subservices and optionally based on the subservice health of non-shared subservices. The assurance coordinator 106 determines the health at whatever rate the subservice health is monitored.
[0222] refer to Fig. 22 , shows an operation 2200 extending the operation 2108 of the method 2100 for monitoring the health status of a sub-service. Operation 2200 includes the above combined Fig.14 The various operations of method 1400 are described.
[0223] At 2202, based on the sub-service dependency graph, the assurance coordinator 106 and the assurance agent 108 jointly configure the shared sub-services of the service and optionally configure the non-shared sub-services to record and report sub-service metrics indicating the health status of the sub-services of the service at corresponding rates (e.g., a first rate and / or a second rate). Operation 2202 commands the sub-services to record and report their respective sub-service metrics at corresponding rates via the telemetry configuration information 120, for example, each monitoring object 1200 may include a rate field defining a rate as a multi-bit word at which the sub-service metrics are recorded and reported. The rate may be in a range of, for example, from 0.01 Hz to 1000 Hz, although lower and higher rates are possible. Operation 2202 may include operation 1408 of method 1400. As a result of operation 2202, the sub-services of the service record and report their respective sub-service metrics at respective rates.
[0224] At 2204, the assurance agent 108 and the assurance coordinator 106 jointly (i) obtain subservice metrics from the shared subservices and optionally the non-shared subservices at respective rates, (ii) tag the subservice metrics with a service tag corresponding to the service to which the subservice metrics belong, and (iii) determine the subservice health of the subservice based on the subservice metrics. Operation 2204 may include operations 1410, 1412, 1414 of method 1400. The obtaining operations, tagging operations, and determining subservice health operations may be performed at respective rates at which the subservices report service metrics, thereby determining the subservice health at these rates.
[0225] Now combine Fig.23 and 24 Describes an example application that guarantees monitoring of four service instances configured on a network. Fig.23 , shows an example of assurance monitoring using intelligent selection of vantage points performed by the service assurance system 100 on a set of service instances configured on a network. Fig.23 In the example, in the initial stage of assurance monitoring, the service assurance system 100 decomposes the service instance set into intersecting sub-service dependency graphs 2302(1), 2302(2), 2302(3) and 2302(4) (collectively referred to as sub-service dependency graph 2302), for four VPN tunnel instances of service type = L3VPN, for four customers, namely Customer 1, Customer 2, Customer 3 and Customer 4. Fig.23 The interconnected blocks shown are sub-service nodes representing individual sub-services, except for the root node blocks, which identify specific service instances. Figure 6As shown, each of the sub-service nodes of the sub-service dependency graph 2302 may include sub-service information similar to the sub-service information included in each sub-service node of the sub-service dependency graph 600, but such sub-service information is not shown in the sub-service nodes of the sub-service dependency graph 2302 to avoid confusion. Fig.23 The terms "subservice" and "subservice node" may be used synonymously and interchangeably when referring to any given subservice dependency graph.
[0226] In the initial stage of assurance monitoring, the service assurance system 100 traverses the sub-service dependency graph 2302 to (i) identify / reveal shared sub-services (sub-service nodes) 2306, 2308, and 2310, etc., and (ii) non-shared sub-services (sub-service nodes) 2312, 2314, 2316, and 2318, etc., at the intersections of the sub-service dependency graph. Many shared and non-shared sub-services are Fig.23 2302 , the sub-services are not marked to clarify and avoid confusion. In addition, the traversal determines that the shared sub-service 2306 shared by all four service instances represented by the sub-service dependency graph 2302 is the most shared sub-service among the shared sub-services.
[0227] The assurance system 100 performs an end-to-end assurance monitoring assessment that determines (i) the subservice health status of a majority of the subservices of the service instance represented by the subservice dependency graph 2302, and (ii) the health status of all service instances based on the subservice health status. Fig.23 In FIG. 1 , the shaded blocks represent the sub-service health status / service instance health status that has failed or degraded, while the non-shaded blocks represent the sub-service health status / service instance health status that has passed or not degraded. Accordingly, some sub-service health statuses and some service instance health statuses have failed or degraded.
[0228] Shared subservice 2306 represents and is selected as a vantage point for subsequent assurance monitoring because the subservice health of that one subservice may affect the overall health of all four service instances represented by subservice dependency graph 2302. Thus, after the initial (end-to-end) assurance monitoring, in subsequent phases of assurance monitoring, service assurance system 100 may monitor the subservice health of shared subservice 2306 more aggressively than before (i.e., more aggressively than in the initial phase), and more aggressively than any other subservice. For example, service assurance system 100 may drill down, particularly on shared subservice 2306, by requesting additional subservice metrics from the shared subservices and / or monitoring their subservice health more frequently than before.
[0229] refer to Fig.24 , showing Fig.23 An in-depth view of the vantage point represented by the shared sub-services 2306 in region R. Fig.24 As shown, shared subservice 2306 is an IS-IS subservice implemented on a leaf node ("leaf2") of a spine switch. Shared subservice 2306 is shown adjacent to additional subservices 2402-2412. Subsequent more aggressive assurance monitoring may increase the rate at which the subservice health status of the IS-IS subservice is monitored, and additional information may be collected from the IS-IS subservice to ensure proper functionality of the IS-IS subservice.
[0230] refer to Fig.25 , there is a high-level flow chart of an example method 2500 for performing assurance monitoring using intelligent selection of vantage points, including and combining the above Figure 21-24 Describes the various operations.
[0231] At 2502, the service assurance system 100 performs initial, end-to-end assurance monitoring (e.g., phase 1 assurance monitoring) on services configured on network devices of the network. The services may include multiple service instances of the same service instance, different service types, or both. The initial end-to-end assurance monitoring includes the following operations:
[0232] a. Generate a sub-service dependency graph representing the services.
[0233] b. Traverse the sub-service dependency graph to identify one or more shared sub-services at intersections of the sub-service dependency graph, and identify non-shared sub-services. Method 2500 assumes that there is at least one shared sub-service.
[0234] c. Using the sub-service dependency graph, monitor the sub-service health status of one or more shared sub-services and non-shared sub-services at a first rate and a second rate, respectively. The first rate and the second rate may be the same, or the first rate may be greater than a halved rate.
[0235] d. Determine the health status of the service based on the health status of the sub-services.
[0236] At 2504, the service assurance system 100 determines whether any health status of the service has failed or degraded, e.g., as described above in conjunction with Fig.16 as described.
[0237] At 2506, when / if it is determined that any health status of the service has failed or has degraded, the service assurance system 100 performs subsequent assurance monitoring (e.g., phase 2 assurance monitoring) of one or more shared subservices more aggressively than during the initial, end-to-end, assurance monitoring, and more aggressively than non-shared subservices. For example, the service assurance system 100 monitors the subservice health status of one or more shared subservices at a first rate such that the first rate is greater than a second rate, and collects additional information / subservice metrics from the one or more shared subservices. In another example, the assurance system 100 may increase the first rate to an even higher rate and monitor the one or more shared services at the increased rate. In one embodiment, the service assurance system 100 continues to monitor the subservice health status of non-shared subservices of the service at the second rate. In another embodiment, the subsequent assurance monitoring stops monitoring the subservice health status of non-shared subservices. Therefore, the subsequent assurance monitoring is more aggressive and focused than the initial end-to-end assurance monitoring.
[0238] If the health status of no service fails or degrades, the service assurance system 100 does not perform subsequent, more aggressive, more focused assurance monitoring.
[0239] Apply baselining to service tag data from subservices
[0240] In the above embodiment, the SAIN agent 108 collects subservice metrics from the subservices of the service based on decomposing the service into subservices via the subservice dependency graph, and tags the subservice metrics with a unique service tag that identifies the service (i.e., adds to the subservice metrics). The SAIN coordinator 106 associates the tagged subservice metrics with the service based on the tag, determines the subservice performance (i.e., health) of the subservice and the service performance (i.e., health) of the service based on the tagged metrics, and presents the subservice health and service health on the subservice dependency graph, reflecting the subservice health and service health through annotations. Therefore, the annotated subservice dependency graph represents a construct by which subservice health and service health can be visualized. Specifically, the subservice dependency graph highlights whether a subservice is healthy or unhealthy (i.e., degraded), and whether a service is healthy or unhealthy.
[0241] As the service operates over an extended period of time, the SAIN agent 108 repeatedly collects and tags subservice metrics, and the SAIN coordinator 106 repeatedly derives and presents subservice health and service health based on the subservice metrics. The resulting subservice health and / or service health, as visualized, may fluctuate between healthy and unhealthy / degraded. Thus, a service administrator or operator presented with such fluctuations is faced with determining whether the fluctuations represent (i) normal operation of the subservice and / or service, in which case no corrective action should be taken at the subservice level or service level, or (ii) abnormal (i.e., degraded) operation of the subservice and / or service, in a manner that negatively impacts the user experience of the service, in which case corrective action should be taken at the service level and / or subservice level to restore the user experience to normal. In other words, in the context of service assurance monitoring, the service administrator is faced with determining whether the fluctuations represent background noise for which no corrective action should be taken, or a subservice / service problem that has a negative impact on the user experience and should be compensated for by corrective action.
[0242] Reference now Figure 6 and Fig.10 The subservice dependency diagram depicted in and also references Fig.26 1 to illustrate a visual example of service / sub-service health fluctuations that may occur during service assurance monitoring in the assurance system 100. Fig.26 In addition to the differences described below Figure 6 600 is similar to the sub-service dependency graph 2600. For the purpose of visual example, Figure 6 , 10 The subservice dependency diagrams of and 26 respectively represent the decomposition of the same service into subservices, and depict subservice health and service health at consecutive times over a period of time. On each subservice dependency diagram, non-shaded blocks indicate healthy subservices / services, and shaded blocks indicate unhealthy subservices / services. For the visual example, assume that the service is running and the assurance system 100 is active. That is, while the service is running, the assurance system 100 repeatedly: collects and labels subservice metrics from the subservices; updates subservice health and service health based on the labeled subservice metrics; and presents a subservice dependency diagram for the service, annotated with health updates, i.e., presents a time-ordered subservice dependency diagram with subservice and service health updates.
[0243] At a first time, based on a first set of sub-service metrics collected at or near the first time, the sub-service dependency graph 600 indicates that all sub-services are healthy and the service is healthy. At a second time after the first time, for example, a few seconds later, based on a second set of sub-service metrics collected at or near the second time, Fig.10The updated subservice dependency graph depicted in FIG. 2600 indicates that only subservices E1, F4, and G2 are unhealthy and the service is unhealthy. At a third time after the second time, such as a few seconds or a minute later, based on a third set of subservice metrics collected at or near the third time, the updated subservice dependency graph 2600 indicates that only subservices E1 and G2 are unhealthy and the service is unhealthy. Figure 6 , Fig.10 and Fig.26 In the time-ordered subservice dependency graph, subservice F-4 fluctuates from healthy to unhealthy and back to healthy for the first, second, and third time, while the service (designated Al) transitions from healthy to unhealthy. At some later time, the service may transition back to healthy, causing another fluctuation in the service level.
[0244] Typically, fluctuations may be caused by many changing conditions of a service, such as changes in the distribution of user traffic (i.e., packets) carried by the service, changes in the throughput of the user traffic, changes in the routing of the user traffic, etc. Certain conditions of the service, and fluctuations associated with the conditions, may be critical to the operation of the users of the service. Other conditions and their fluctuations may be useful to service administrators in troubleshooting the service. On the other hand, certain conditions and their fluctuations may simply represent "noise" that occurs during the typical ebbs and flows associated with network operations. From a service assurance perspective, the different possibilities for causing fluctuations make it difficult to determine which fluctuations have a measurable negative impact on the service and / or users of the service and should therefore be reduced or eliminated, and which fluctuations do not have a measurable negative impact on the service.
[0245] Thus, the embodiments presented below provide techniques to (i) "baseline" the operation of a sub-service of a service, and once a baseline is established, (ii) use the baseline to identify which oscillations in the sub-service metrics from the sub-service are causing problematic impacts on the service and / or the user experience of the service. In other words, the embodiments include a baseline process to establish a baseline for the sub-service (i.e., "baselining") and a monitoring process for or based on the baseline to monitor the sub-service after the baseline process (i.e., "monitoring").
[0246] Before the baselining process can begin, the service should be in a "stable state." This means there are no known service-impacting or user-impacting issues or problems. The terms "user impact" and "service impact" refer to negative (i.e., undesirable) effects on the service and negative impacts on the user experience. Whether a service is in a stable state can be determined programmatically using the service's standard issue / ticket tracking mechanisms; if there are no open tickets that impact operations, and assuming usage of the service is normal (e.g., from a time of year / day perspective), the baselining process can begin. Once the baselining process begins, new tickets indicating service-impacting issues reset the baselining process during the baselining process.
[0247] The baselining process can include the following actions:
[0248] a. Use heuristic expressions from the heuristics package and various sub-service metrics (e.g., from KPIs derived from the sub-service metrics) to learn "normal" parameters for sub-service health.
[0249] b. Discover the network topology of the service related to the network devices that directly affect the service. Map the control and data plane topology views to each other and to the sub-services of the service.
[0250] c. Observe and record (obtain) the healthy normal values of each sub-service (for example, available memory, CPU utilization, network device temperature, performance management indicators, etc.).
[0251] d. Identify interfaces and user traffic parameters.
[0252] e. Repeat (a)-(d) for the sub-service health of all sub-services associated with the service.
[0253] The baselining process repeats various operations (a)-(d) to determine (i) a corresponding optimal rate or frequency at which the subservice metrics are obtained / collected from each subservice, and (ii) a corresponding confidence interval for each subservice metric. To determine the optimal rate, the baselining process monitors the subservice metrics to identify typical fluctuations in the subservice flow (e.g., moving between nighttime / daytime weekdays / weekends) and the subservice health associated with the optimal rate (e.g., moving between healthy and unhealthy (i.e., degraded)). To identify fluctuations, the baselining process repeatedly changes (e.g., reduces) the rate at which the subservice metrics are collected while searching for fluctuation patterns in the collected subservice metrics. The optimal rate is the rate at which the fluctuation pattern just begins to emerge. The emergence of a fluctuation pattern indicates that the maximum granularity of information conveyed by the subservice metrics has been reached, and therefore further reductions in the rate will not provide further insight into the health of the subservice and may even distort the view of the subservice / service operation.
[0254] To determine the confidence intervals, the baseline process collects subservice metrics, generates statistics from the metrics, including probability distributions of subservice metric values, and then determines confidence intervals from the statistics. The confidence interval for each subservice metric represents what is considered "normal" for the subservice metric. That is, subservice metric values that fall within the confidence interval are considered "normal," while subservice metric values that do not fall within the subservice metric, i.e., outside the confidence interval, are considered abnormal or abnormal.
[0255] Once the baselining process has baselined each subservice, i.e., established a respective optimal rate and a respective confidence interval for the subservice metric from each subservice, the monitoring process (also referred to as "deviation monitoring mode") begins. In other words, the system 100 is guaranteed to switch from the baselining process to the monitoring process. The monitoring process collects the respective subservice metric from each subservice at the respective optimal rate and compares the subservice metric to the respective confidence interval, in particular looking for deviations of the subservice metric outside the confidence interval.
[0256] Initially, the monitoring process considers deviations of sub-service metrics outside of the confidence interval (i.e., outside of the range considered "normal" during the baselining process); however, because not all such deviations may affect the service, the monitoring process does not assume that the deviation affects the service. Instead, the monitoring process performs user experience testing (e.g., IP SLA operations) at the service level to determine whether the deviation actually affects the service. User experience testing can inject user traffic through the service, or simulate user traffic in the network and test the service level performance associated with the user traffic.
[0257] If the results of the user experience testing indicate that the deviation did not result in a service-impacting issue, i.e., the deviation did not impact the service, then the monitoring process takes one or more actions to "learn" that the deviation, while outside of the confidence interval, is in fact normal. For example, the monitoring process might widen the confidence interval to accommodate the deviation so that similar deviations resulting from subsequently collected sub-service metrics are no longer outside of the confidence interval. Additionally, the monitoring process might log the deviation to help identify compounding issues in order to isolate the root cause of the problem. The actions of the monitoring process described above are repeated until a threshold of unacceptable user experience is reached; this threshold can be used to determine service health.
[0258] On the other hand, if the results of the user experience testing indicate a deviation that impacts the service, one or more actions can be taken at the sub-service level and / or service level to remediate the issue that caused the deviation, thereby avoiding subsequent service-impacting deviations; however, the confidence interval is not adjusted because it accurately reflects actual normal performance.
[0259] refer to Fig. 27 , there is a flow chart of an example method 2700 for baselineing a sub-service of a service and then monitoring the service based on the results of the baseline. The operations of the method 2700 are performed by one or more components of the assurance system 100, including the assurance agent 108 and the assurance coordinator 106, as indicated below by way of example only.
[0260] At 2702, the network coordinator 102 configures a service as a collection of sub-services on network devices of the network and provides a definition to the assurance coordinator 106. As described above, the definition includes a service type, a service instance, and configuration information.
[0261] The following operations 2704-2710 collectively represent operations for baselining the sub-services, and are repeated for each sub-service to establish a baseline for all sub-services.
[0262] At 2704 , the assurance coordinator 106 generates a service label based on the definition of the service and decomposes the definition into a sub-service dependency graph indicating the sub-services and dependencies between the sub-services that together implement the service. Operation 2704 may include operations 1402 - 1406 of method 1400 .
[0263] At 2706 , based on the sub-service dependency graph, the assurance coordinator 106 and the assurance agent 108 jointly configure the sub-service to record and report sub-service metrics indicating a health status of the sub-service. Operation 2706 may include operation 1408 of method 1400 , and operation 2202 of method 2200 .
[0264] At 2708, the guarantee agent 108 and / or the guarantee coordinator 106 determines a rate at which the subservice metric values are obtained. This is the "optimal rate" discussed above. Example operations for determining the rate are described below in conjunction with Fig.29 .
[0265] At 2710, the guarantee agent 108 and / or the guarantee coordinator 106 determines a confidence interval for the sub-service metric value. The confidence interval is configured such that a sub-service metric value that is within or not within the confidence interval is assumed to indicate normal sub-service performance or unhealthy / degraded sub-service performance, respectively. Example operations for determining the confidence interval are described below in conjunction with Fig.30 and 31 Give a description.
[0266] After operation 2710, method 2700 moves to the next operations 2712-2720, which collectively represent operations for using the results from the baselining operation, ie, monitoring sub-services and services using the baselining results.
[0267] At 2712, the assurance agent 108 obtains / collects values of sub-service metrics from the sub-services at the rate determined at 2710 to generate values for monitoring the sub-services, tags the values of the sub-service metrics with service tags, and determines KPIs based on the sub-service metrics and any heuristic packages derived from the sub-service dependency graph, if any. Operation 2712 may include features of operations 1410, 1412, and 1414 of method 1400 and operations 2202 and 2204 of method 2200.
[0268] At 2714, the assurance agent 108 / assurance collector 106 determines whether at least one of the values for the monitored subservice is within the confidence interval. If at least one of the values (e.g., two consecutive values) is not within the confidence interval, thus representing a deviation outside the confidence interval, the process proceeds to 2716. Otherwise, if each value is within the confidence interval (i.e., all values are within the confidence interval), the process returns to 2712.
[0269] At 2716, the guarantee collector 106 performs a service level test (i.e., not a sub-service-only test) indicative of the user experience, and based on the results of the service level test, determines whether the service level performance is degraded due to a deviation of at least one value outside the confidence interval. Fig.28 Describes example operations for performing service level testing and determining whether service level performance is degraded.
[0270] At 2718, if the results of the service level test indicate that the service level performance is not degraded, action is taken to indicate that the at least one value represents normal sub-service performance, rather than degraded sub-service performance, even if the at least one value is outside the confidence interval. In one example, the action may include sufficiently expanding / increasing the confidence interval to include the at least one value to produce an expanded confidence interval. Thus, subsequent values of the sub-service metric collected from the sub-service that are equal to the at least one value will be within the expanded confidence interval. In addition, the at least one value may be recorded and marked as being outside the initial (unadjusted) confidence interval for subsequent service problem analysis.
[0271] An example of when a sub-service metric may include values outside of a confidence interval that do not indicate degraded service level performance is when the sub-service metric measures traffic throughput on a network device interface and is compared to a confidence interval established when the traffic throughput was relatively low. Later when the interface experiences a large increase in traffic throughput that does not actually saturate the interface, the large increase may deviate outside of the confidence interval; however, the deviation does not indicate that service level performance is actually degraded because the interface is not saturated.
[0272] At 2720, if the service level performance is degraded, no action is taken with respect to the confidence intervals because the confidence intervals correctly capture abnormal sub-service behavior, i.e., deviations in the sub-service metrics outside of the confidence intervals impact the service as indicated by the service level testing.
[0273] Method 2700 repeats operations 2706-2720 for each subservice of the subservices to (i) generate corresponding rates for collecting corresponding subservice metrics from the subservices and corresponding confidence intervals for the subservice metrics collected from the subservices, (ii) monitor the subservice metrics collected from the subservices with respect to their respective confidence intervals, and (iii) take action with respect to the respective confidence intervals, as described above.
[0274] refer to Fig.28 , illustrates example operations 2800 extending operation 2716 for performing a service level test and determining whether service level performance is degraded when at least one value is not within a confidence range (ie, represents a deviation outside of the confidence interval).
[0275] At 2802, a service level test is performed. The service level test may indicate a user's experience of a service and may therefore be considered a test or assessment of the user experience. In an example, the service level test is associated with user traffic (e.g., data packets) transmitted by the service over service network 113 that represents users of the service. Examples of user traffic that may be monitored may include actual user traffic, test user traffic injected into service network 113, and simulated user traffic used in a model of the service and / or service network 113.
[0276] At 2804, it is determined whether the service meets one or more service level performance criteria with respect to user traffic transmitted by the service. For example, the service level performance criteria may be defined in an SLA for the service. Examples of service level performance criteria include requirements that the end-to-end data packet round trip delay of the service is less than a round trip delay threshold, that the data packet jitter experienced by data packets transmitted by the service is less than a data packet jitter threshold, that the data packet drop rate experienced by data packets transmitted by the service is less than a data packet drop rate threshold, that the packet error rate is less than a packet error rate threshold, and so on. Thus, operation 2804 may test the end-to-end round trip delay, data packet jitter, data packet drop rate, and so on according to respective thresholds.
[0277] At 2806, if the user traffic carried by the service does not meet each of the one or more service level performance criteria, service degradation is declared, and thus a deviation of at least one value outside of the confidence interval is considered service-impacting. Deviations outside of the confidence interval accurately represent abnormal behavior of the service level.
[0278] At 2808, if the user traffic carried by the service meets each of the one or more service level performance criteria, then service degradation is not declared. The service is declared healthy. Therefore, a deviation of at least one value outside the confidence interval is considered not to affect the service. Deviations outside the confidence interval cannot accurately represent abnormal behavior of the service level.
[0279] refer to Fig.29 , illustrates example operations 2900 that extend operation 2708 for determining an (optimal) rate for collecting sub-service metrics from sub-services.
[0280] At 2902, a baseline rate for obtaining values of sub-service metrics from sub-services (ie, for collecting values) is set to a relatively low initial rate, for example, on the order of a few Hz.
[0281] At 2904, values of the subservice metric are collected from the subservice at a baseline rate to generate values for the baselined subservice. The values for the baselined subservice form a value amplitude versus time waveform. Operation 2904 may configure a rate on the subservice and collect values at the rate, as described above in conjunction with operations 2202 and 2204 of method 2200.
[0282] At 2906, the values for the baselined sub-service are searched for a (amplitude versus time) fluctuation pattern. The fluctuation pattern may approximate, for example, a sine wave or a sawtooth wave. The fluctuation pattern may be detected at operation 2906 using any known or later developed technique for detecting fluctuation patterns in samples of an amplitude versus time waveform. Another method of finding the fluctuation pattern may involve converting the values to a frequency spectrum using a Fast Fourier Transform (FFT), and searching the frequency spectrum for discernible peak amplitudes indicating the presence of the fluctuation pattern in the frequency domain, with the frequencies corresponding to the amplitude peaks indicating the frequencies of the fluctuation pattern.
[0283] At 2908, if / when a fluctuation pattern is not found, the baseline rate is adjusted, such as decreased, to an adjusted baseline rate, and operations 2904-2908 are repeated at the adjusted baseline rate until a fluctuation pattern is found.
[0284] At 2910, if / when a fluctuation pattern is found, the rate is set equal to the adjusted baseline rate (or a rate slightly less than the adjusted baseline rate) that caused the fluctuation pattern to be detected.
[0285] refer to Fig.30 , example operations 3000 are shown for extending operation 2710 for determining a confidence interval for a sub-service metric value from a sub-service.
[0286] At 3002, values of subservice metrics are collected from the subservices to generate values for the baselined subservices (i.e., second values of the subservice metrics). These values may be collected at the (optimal) rate previously established at operation 2708. Operation 3002 may use features of operations 2202 and 2204 of method 2200.
[0287] At 3004, statistics are generated from the values collected at 3002. In one example, the operation of generating statistics may include the following operations:
[0288] a. Plot a normal distribution of values. Other types of distributions can be plotted in other examples.
[0289] b. Calculate variance parameters from the normal distribution. For example, the variance parameters may include the mean and standard deviation.
[0290] A confidence interval is calculated based on the variance parameter at 3006. For example, the confidence interval may be set equal to + / - 2 standard deviations from the mean.
[0291] refer to Fig.31 , shows example statistics and confidence intervals that may be generated / calculated by operation 3000. Example statistics include a normal distribution 3102 plotted at operation 3004 based on the values collected at operation 3002. A mean 3103 and a standard deviation 3104 are calculated from the normal distribution 3102. A confidence interval 3106 is set equal to 2 times the standard deviation. Other confidence intervals may be derived or calculated from the normal distribution 3102.
[0292] Computer systems used to ensure physical
[0293] refer to Fig.32 , a hardware block diagram of an example computer system 3205 and a service assurance entity (e.g., one or more of the assurance coordinator 106, the assurance agent 108, and the assurance collector 110) of the network coordinator 102 is shown. The computer system 3205, such as a server, includes one or more processors 3210, a network interface unit (NIU) 3212 (or multiple such NIUs), and a memory 3214. The memory 3214 stores control software 3216 (referred to as "control logic") that, when executed by the processor 3210, causes the computer system to perform various operations described herein for the service assurance entity and the network coordinator 102.
[0294] Processor 3210 may be a microprocessor or microcontroller (or multiple instances of such components). NIU 3212 enables computer system 3205 to communicate with a network, either through a wired connection or wirelessly. NIU 3212 may include, for example, an Ethernet card or other interface device with a connection port, enabling computer system 3205 to communicate on a network via the connection port. In a wireless embodiment, NIU 3212 includes a wireless transceiver and antenna to send and receive wireless communication signals to and from the network.
[0295] The memory 3214 may include a read-only memory (ROM), a random access memory (RAM), a disk storage media device, an optical storage media device, a flash memory device, an electrical, optical, or other physically tangible (i.e., non-transitory) memory storage device. Thus, in general, the memory 3214 may include one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software or firmware including computer-executable instructions. For example, the control software 3216 includes logic to implement operations performed by one or more (or all) of the assurance coordinator 106, the assurance agent 108, the assurance collector 110, and the network coordinator 102. Thus, the control software 3216 implements the various methods / operations described above. The control software 3216 also includes logic to implement / generate a graphical user interface (GUI) or more generally a UI, in conjunction with the methods / operations described above, as necessary.
[0296] The memory 3214 also stores data 3218 generated and used by the control software 3216, including network configuration information and service labels, service definitions, sub-service dependency graphs, identifiers of shared and non-shared sub-services and their related statistics, heuristic packages, monitoring and telemetry objects, sub-service metrics and service-tagged sub-service metrics, health status and other KPIs, mappings between the above parameters stored in the memory, the optimal rate for collecting sub-service metrics, statistical information of sub-service metric values, confidence intervals, etc.
[0297] A user, such as a network administrator, can interact with the computer system 3205 to receive reports, change algorithms, etc. through a GUI via a user device 3220 (also referred to as a "network management device") connected to the computer system 3205 via a network. The user device 3220 can be a personal computer (laptop, desktop), tablet, smartphone, etc., with user input and output devices such as a display, keyboard, mouse, etc. Alternatively, the functionality and display associated with the user device 3220 can be provided locally on the computer system 3205 or integrated with the computer system 3205.
[0298] In other embodiments, the assurance entity may be implemented as one or more virtual machines (VMs) and / or containers.
[0299] refer to Fig.33, there is a block diagram of an example network device 3300 representing each network device 112. The network device 3300 includes a network interface unit with multiple network input / output (I / O) ports 3342(1)-3342(P) for sending traffic to and receiving traffic from one or more networks, a packet forwarding / processing unit 3343, a network processor 3344 (also simply referred to as "processor"), a management port 3345 for exchanging control messages with other network devices and management functions, and a memory 3346. The packet forwarding / processing unit 3343 is, for example, one or more application-specific integrated circuits (ASICs), including packet buffers, packet queues, and other control logic for performing packet forwarding operations. The processor 3344 may include multiple processors, which may be implemented as software or hardware processors. For example, the processor 3344 may include a microcontroller or a microprocessor configured to perform higher-level control of the network device 3300. To this end, the memory 3346 stores software instructions that, when executed by the processor 3344, cause the processor 3344 to perform various operations, including the operations described herein. For example, the memory 3346 stores instructions for a control logic 3350 to perform the operations described herein for recording and reporting sub-service metrics and for configuring the network device 3300 in response to network device configuration information 114. The control logic 3350 may also include logic components in the packet forwarding unit 3343. The memory 3346 also stores data 3360 used and generated by the logic 3350. For example, as described above, such data may include sub-service metrics and device configuration information.
[0300] In summary, in the embodiments presented herein, service assurance for service-based intent networking (SAIN) uses, for example, service tags of sub-service metrics recorded and reported for sub-services of a service to help the assurance coordinator / collector "find a needle in a haystack" regarding identifying sub-service issues affecting the service. This tagging helps the assurance coordinator / collector evaluate all services that may be affected by specific telemetry data / sensors. The tagging helps with specific exports for data reduction and filtering. The assurance coordinator / collector can deterministically tag services, including their sub-services, that require user attention or for which repair feedback can be provided. Example high-level operations include:
[0301] a. Obtain a service configuration from the assurance coordinator. The service configuration includes the service type and service instance.
[0302] b. Create a specific service tag from the service configuration, for example, a <service type / service instance (e.g., identifier> tuple.
[0303] c. Using the service configuration, the assurance platform (eg, assurance orchestrator) utilizes heuristic packaging rules to decompose the service into a series of sub-services of that specific service type / instance.
[0304] d. Label the sub-service metrics with service tags.
[0305] e. To monitor a specific customer service instance, request all tagged sub-service metrics using a specific service tag.
[0306] f. When determining service performance based on key performance indicators (KPIs), in case of service degradation / failure, identify the specific component / sub-service that failed based on the service tag. Reconfigure the service (or the network that enables the service) to avoid the failed component.
[0307] Another embodiment involves applying baselines to service tagged data / sub-service metrics to determine what is normal in the service tagged data, and using this "normal" baseline to determine deviations. Deviations are further tested to determine if they impact customers / services. If so, the baseline is adjusted to more quickly and proactively discover deviations that impact customers / services. If not, the data is logged to provide troubleshooting and forensic data to investigate other customer impacting issues.
[0308] In one form, a method is provided, comprising: configuring a service as a collection of sub-services on a network device of a network; decomposing a definition of the service into a sub-service dependency graph, the sub-service dependency graph indicating dependencies between the sub-services and the sub-services that implement the service; configuring sub-services in the sub-services to record and report sub-service metrics as indicators of sub-service performance based on the sub-service dependency graph; determining a rate at which values of the sub-service metrics are obtained from the sub-services; determining a confidence interval for the values of the sub-service metrics; obtaining values of the sub-service metrics from the sub-services at the rate to generate values for monitoring the sub-services; and determining whether at least one of the values for monitoring the sub-services is within the confidence interval.
[0309] In another form, a system or apparatus is provided, comprising: one or more network interface units; and one or more processors coupled to the one or more network interface units and configured to perform: configuring a service as a collection of sub-services on a network device of a network; decomposing a definition of a service into a sub-service dependency graph, the sub-service dependency graph indicating dependencies between the sub-services and the sub-services that implement the service; configuring sub-services in the sub-services to record and report sub-service metrics as indicators of sub-service performance based on the sub-service dependency graph; determining a rate at which values of the sub-service metrics are obtained from the sub-services; determining a confidence interval for the values of the sub-service metrics; obtaining values of the sub-service metrics from the sub-services at the rate to generate values for monitoring the sub-services; and determining whether at least one of the values for monitoring the sub-services is within the confidence interval.
[0310] In yet another form, a non-transitory computer-readable medium is provided. The computer-readable medium stores instructions that, when executed by one or more processors coupled to one or more network interface units, cause the one or more processors to: configure a service as a collection of sub-services on a network device of a network; decompose a definition of a service into a sub-service dependency graph, the sub-service dependency graph indicating dependencies between the sub-services and the sub-services that implement the service; based on the sub-service dependency graph, configure a sub-service in the sub-service to record and report a sub-service metric as an indicator of sub-service performance; determine a rate at which values of the sub-service metric are obtained from the sub-service; determine a confidence interval for the value of the sub-service metric; obtain the value of the sub-service metric from the sub-service at the rate to generate a value for monitoring the sub-service; and determine whether at least one of the values for monitoring the sub-service is within the confidence interval.
[0311] In one embodiment, a method includes configuring a service as a collection of sub-services on a network device of a network, and decomposing a definition of the service into a sub-service dependency graph, the sub-service dependency graph indicating dependencies between the sub-services and the sub-services that implement the service. The method also includes, based on the sub-service dependency graph, configuring the sub-services in the sub-service to record and report sub-service metrics as indicators of sub-service performance. The method also includes determining a rate at which sub-service metric values are obtained from the sub-services, determining a confidence interval for the sub-service metric values, and obtaining sub-service metric values from the sub-services at the rate to generate values for monitoring the sub-services. The method also includes determining whether at least one of the values for monitoring the sub-services is within a confidence interval.
[0312] While the techniques are illustrated and described herein as embodied in one or more specific examples, it is not intended to be limited to the details shown, since various modifications and structural changes may be made within the scope and range of equivalents of the claims.
Claims
1. A monitoring method, comprising: Configure a service as a collection of sub-services on a network device of the network; Decomposing a definition of the service into a sub-service dependency graph, the sub-service dependency graph indicating dependencies between the sub-services and the sub-services that implement the service; configuring subservices in the subservices based on the subservice dependency graph to generate configured subservices to record and report subservice metrics as indicators of subservice performance; determining a rate at which values of the subservice metrics are obtained from the configured subservices; determining a confidence interval for a value of the sub-service metric, such that a value of the sub-service metric within the confidence interval or not within the confidence interval indicates normal sub-service performance or degraded sub-service performance, respectively; obtaining a value of the subservice metric from the configured subservice at the rate to generate a value for monitoring the configured subservice; and When it is determined that at least one of the values for monitoring the configured sub-services is not within the confidence interval and service level performance is not degraded, the confidence interval is expanded to an expanded confidence interval that includes the at least one of the values for monitoring the configured sub-services, so that subsequent values equal to the at least one of the values for monitoring the configured sub-services will be within the expanded confidence interval.
2. The method of claim 1, wherein said expanding said confidence interval is performed to indicate that said at least one of the values used to monitor said configured sub-service indicates normal sub-service performance, rather than degraded sub-service performance.
3. The method according to claim 2, wherein: The method further comprises: When each of the values for monitoring the configured sub-services is within the confidence interval, it is determined whether the service level performance is degraded.
4. The method according to any one of claims 2 to 3, wherein: Determining the service level performance degradation includes: It is determined that user traffic conveyed by the service in the network does not meet one or more service level performance criteria.
5. The method according to claim 4, wherein: The one or more service level performance criteria include data packet round trip delay, data packet jitter, and data packet drop rate.
6. The method according to claim 1, wherein: Determining the rate includes: setting a baseline rate to an initial rate at which values of the subservice metric are obtained from the configured subservice; obtaining a value of the subservice metric from the configured subservice at the baseline rate to produce a value for baselined the configured subservice; searching values of subservices used to baseline the configuration for oscillation patterns; If the oscillation pattern is not found, adjusting the baseline rate to an adjusted baseline rate, and repeating the obtaining and the searching at the adjusted baseline rate; and If the oscillation pattern is found, the rate is set equal to the adjusted baseline rate.
7. The method according to claim 1, wherein: Determining the confidence interval includes: obtaining a value of the sub-service metric from the configured sub-service to generate a value for baselining the configured sub-service; generating statistics based on the values of the sub-services used to baseline the configuration; and The confidence interval is calculated based on the statistical information.
8. The method according to claim 7, wherein: Generating the statistical information includes: plotting a normal distribution of values for baselining the configured sub-services; and calculating variance parameters from the normal distribution, the variance parameters comprising a mean and a standard deviation, Wherein, calculating the confidence interval includes calculating the confidence interval based on the variance parameter.
9. The method according to claim 1, further comprising: Baselining the configured subservices, wherein the baselining comprises: obtaining values of the sub-service metrics from the configured sub-services to produce values for baselining the configured sub-services; and determining the rate and determining the confidence interval are performed using values for baselining the configured subservice; and After the baselining, transitioning to monitoring the configured subservice, wherein monitoring the configured subservice comprises obtaining values for monitoring the configured subservice, and determining whether at least one of the values for monitoring the configured subservice is within the confidence interval.
10. The method of claim 1, wherein: Configuration includes generating a monitoring object, and providing the monitoring object to the configured subservice to configure the configured subservice to record and report the subservice metrics, wherein the monitoring object defines the subservice metrics to be recorded and reported by the configured subservice; and Obtaining a value of a sub-service metric for monitoring the configured sub-service is based on providing the monitoring object to the configured sub-service.
11. The method according to claim 10, wherein: Generating the monitoring object includes: generating a heuristic package that (i) specifies sub-service metrics to be recorded and reported by the configured sub-service, and (ii) includes rules for calculating performance indicators for the configured sub-service based on the sub-service metrics; and The monitoring object is generated based on the heuristic package.
12. The method according to claim 1, wherein: The configured sub-services include one or more of the following: operations performed by network devices in said network; The communication behavior of the interface of the network device; a layer 1 (L1) network connection configured on the network device, a layer 2 (L2) network connection on the network device, or a layer 3 (L3) network connection on the network device; A packet routing protocol on the network device; and Logical network functions.
13. The method according to claim 1, further comprising, for each of the sub-services: performing configuring, determining the rate, and determining the confidence interval to generate a corresponding rate and a corresponding confidence interval for each of the sub-services; and Obtaining values of the sub-service metrics from the sub-services is performed at respective rates, and determining that the at least one of the values for monitoring the configured sub-services is within respective confidence intervals.
14. A monitoring system comprising: one or more network interface units; and One or more processors, coupled to the one or more network interface units and configured to execute: Configure a service as a collection of sub-services on a network device of the network; Decomposing a definition of the service into a sub-service dependency graph, the sub-service dependency graph indicating dependencies between the sub-services and the sub-services that implement the service; configuring subservices in the subservices based on the subservice dependency graph to generate configured subservices to record and report subservice metrics as indicators of subservice performance; determining a rate at which values of the subservice metrics are obtained from the configured subservices; determining a confidence interval for a value of the sub-service metric, such that a value of the sub-service metric within the confidence interval or not within the confidence interval indicates normal sub-service performance or degraded sub-service performance, respectively; obtaining a value of the subservice metric from the configured subservice at the rate to generate a value for monitoring the configured subservice; and When it is determined that at least one of the values for monitoring the configured sub-services is not within the confidence interval and service level performance is not degraded, the confidence interval is expanded to an expanded confidence interval that includes the at least one of the values for monitoring the configured sub-services, so that subsequent values equal to the at least one of the values for monitoring the configured sub-services will be within the expanded confidence interval.
15. The system of claim 14, wherein said expanding said confidence interval is performed to indicate that at least one of the values used to monitor said configured sub-service indicates normal sub-service performance, rather than degraded sub-service performance.
16. The system of claim 15, wherein: The one or more processors are further configured to: When each of the values for monitoring the configured sub-services is within the confidence interval, it is determined whether the service level performance is degraded.
17. A non-transitory computer readable medium encoded with instructions that, when executed by one or more processors coupled to one or more network interface units, cause the one or more processors to: Configure a service as a collection of sub-services on a network device of the network; Decomposing a definition of the service into a sub-service dependency graph, the sub-service dependency graph indicating dependencies between the sub-services and the sub-services that implement the service; configuring subservices in the subservices based on the subservice dependency graph to generate configured subservices to record and report subservice metrics as indicators of subservice performance; determining a rate at which values of the subservice metrics are obtained from the configured subservices; determining a confidence interval for a value of the sub-service metric, such that a value of the sub-service metric within the confidence interval or not within the confidence interval indicates normal sub-service performance or degraded sub-service performance, respectively; obtaining a value of the subservice metric from the configured subservice at the rate to generate a value for monitoring the configured subservice; and When it is determined that at least one of the values for monitoring the configured sub-services is not within the confidence interval and service level performance is not degraded, the confidence interval is expanded to an expanded confidence interval that includes the at least one of the values for monitoring the configured sub-services, so that subsequent values equal to the at least one of the values for monitoring the configured sub-services will be within the expanded confidence interval.
18. The non-transitory computer-readable medium of claim 17, wherein the expanding the confidence interval is performed to indicate that the at least one of the values used to monitor the configured sub-service indicates normal sub-service performance rather than degraded sub-service performance.
19. The non-transitory computer readable medium of claim 18, further comprising instructions for causing the one or more processors to: When each of the values for monitoring the configured sub-services is within the confidence interval, it is determined whether the service level performance is degraded.
20. A monitoring device, comprising: means for configuring the service as a collection of sub-services on a network device of the network; means for decomposing a definition of the service into a sub-service dependency graph indicating dependencies between the sub-services and the sub-services that implement the service; Means for performing the following operations: configuring subservices in the subservices based on the subservice dependency graph to produce configured subservices to record and report subservice metrics as indicators of subservice performance; means for determining a rate at which values of said subservice metrics are obtained from said configured subservices; means for: determining a confidence interval for a value of the sub-service metric, such that a value of the sub-service metric within the confidence interval or not within the confidence interval indicates normal sub-service performance or degraded sub-service performance, respectively; means for obtaining a value of the subservice metric from the configured subservice at the rate to produce a value for monitoring the configured subservice; and A device for performing the following operations: when it is determined that at least one of the values used to monitor the configured sub-services is not within the confidence interval and the service level performance is not degraded, expanding the confidence interval to an expanded confidence interval that includes the at least one of the values used to monitor the configured sub-services, so that subsequent values equal to the at least one of the values used to monitor the configured sub-services will be within the expanded confidence interval.
21. The apparatus of claim 20, further comprising means for carrying out the method of any one of claims 2 to 13.
22. A computer program product or computer readable medium comprising instructions which, when executed by a computer, cause the computer to perform the steps of the method according to any one of claims 1 to 13.
Citation Information
Patent Citations
Method and apparatus for automated service level agreements
EP1206085A2
Model driven process for automated deployment of domain 2.0 virtualized services and applications on cloud infrastructure
US20170289060A1
