Network throughput assurance, anomaly detection and mitigation in service chaining

Monitor data transfer in the virtual service chain through the inline statistics agent, identify and solve throughput anomalies in the virtualized network function, solve the problem of difficult to achieve throughput guarantee in the virtualized network service chain, and improve the management efficiency of the service chain and throughput stability.

CN114902623BActive Publication Date: 2024-09-03CISCO TECHNOLOGY INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202080086348.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-12-13
Filing Date
2020-11-30
Publication Date
2024-09-03
Estimated Expiration
2040-11-30

AI Technical Summary

Technical Problem

In a virtualized network service chain, it is difficult for service providers to diagnose and resolve throughput issues, especially due to poor visibility of the virtual network, which makes it difficult to identify which link or virtual network function (VNF) in the service chain is behaving abnormally and affecting throughput. Quantity guaranteed.

Method used

Monitor data delivery within the virtual service chain through an inline statistics agent running on multiple virtual nodes, generate inline statistics, compare ingress and egress throughput of each virtualized network function, compare to expected throughput, identify anomalies Virtualize network functions and provide end-to-end throughput guarantees.

Benefits of technology

It achieves throughput guarantee for the virtual service chain, detects and mitigates anomalies in a timely manner, improves the visibility and management efficiency of the service chain, and ensures the expected throughput of the service chain.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114902623B_ABST
    Figure CN114902623B_ABST
Patent Text Reader

Abstract

Systems, methods, and computer-readable media for providing throughput guarantees in a virtual service chain. A virtual service chain formed by multiple spliced ​​virtualized network functions running on multiple virtual nodes can be monitored. An inline statistics agent can generate inline statistics for the operation of the virtual service chain. In addition, the actual throughput of the virtual service chain can be identified from the inline statistics. Next, a throughput guarantee can be provided for the virtual service chain by comparing the actual throughput of the virtual service chain with the expected throughput of the virtual service chain.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims the benefit of and priority to U.S. non-provisional patent application No. 16 / 713,569, filed on December 13, 2019, entitled “NETWORK THROUGHPUT ASSURANCE, ANOMALY DETECTION AND MITIGATION IN SERVICE CHAIN,” the entire disclosure of which is expressly incorporated herein by reference. Technical Field

[0003] The present technology relates generally to network virtualization, and more particularly to providing throughput guarantees for service chaining of virtualized network functions. Background Art

[0004] Network virtualization abstracts network connections and services that are traditionally delivered via hardware into logical virtual networks that run on top of the physical network in the hypervisor. Network virtualization can be achieved through virtualized network functions (VNFs) running on virtual machines (VMs). These VNFs can handle or otherwise perform specific network functions (e.g., firewall functions or load balancing functions). In network virtualization, multiple VNFs on one or more hypervisor platforms can be stitched together to create virtualized service chains in a network environment. For example, service chains can be used to implement various network functions that connect consumers to one or more cloud service providers (e.g., Amazon Web Services, Amazon Web Services, and others). Microsoft A typical service chain may include a router, load balancer, and firewall in virtual form. In operation, network traffic may pass through various VNF branches of the virtual service chain between the cloud service provider and the client.

[0005] Users typically expect a specific throughput for a service chain. Specifically, users expect that the service chain is correctly configured on the hypervisor platform and that a specific throughput can be achieved by the individual VNFs and the corresponding service chain as a whole. Typically, the infrastructure provider / service provider of the service chain is responsible for ensuring the expected throughput of the chain. However, due to the lack of visibility of the virtual network, it is currently difficult for service providers to diagnose and resolve problems in the service chain. In particular, because multiple VNFs are used in a virtual service chain and due to poor visibility of the virtual network, it is difficult for service providers to identify which link or which VNF is behaving abnormally in the service chain, for example, as part of providing a service chain throughput guarantee to customers. BRIEF DESCRIPTION OF THE DRAWINGS

[0006] Figure 1A An example cloud computing architecture is shown;

[0007] FIG. 1B shows an example fog computing architecture;

[0008] Figure 2A A diagram illustrating an example network environment (e.g., a data center);

[0009] Figure 2B Another example of a network environment is shown;

[0010] Figure 3 A schematic diagram showing an example virtual machine (VM) deployment is shown;

[0011] Figure 4 An example virtualized network environment with a network throughput guarantee agent in accordance with various aspects of the subject technology is shown;

[0012] Figure 5 An example computing system is shown; and

[0013] Figure 6 Example network devices are shown. DETAILED DESCRIPTION

[0014] Various embodiments of the present disclosure are discussed in detail below. Although specific embodiments are discussed, it should be understood that this is done for illustrative purposes only. Those skilled in the relevant art will recognize that other components and configurations may be used without departing from the spirit and scope of the present disclosure. Therefore, the following description and drawings are illustrative and should not be construed as limiting. Many specific details are described to provide a thorough understanding of the present disclosure. However, in some cases, in order to avoid obscuring the description, well-known or conventional details are not described.

[0015] As used herein, "one embodiment" or "an embodiment" may refer to the same embodiment or any (one or more) embodiments. In addition, reference to "one embodiment" or "an embodiment" means that a particular feature, structure, or characteristic described in conjunction with the embodiment is included in at least one embodiment of the present disclosure. The appearance of the phrase "in one embodiment" in various places in the specification does not necessarily all refer to the same embodiment, nor is it a separate or alternative embodiment that is mutually exclusive with other embodiments. Features described herein with reference to one embodiment may be combined with features described with reference to any embodiment.

[0016] In the context of the present disclosure and in the specific context in which each term is used, the terms used in this specification generally have their ordinary meaning in the art. Alternative language and synonyms may be used for any one or more of the terms discussed herein, and special meaning should not be given to whether the terms are elaborated or discussed in this article. In some cases, synonyms for certain terms are provided. The recording of one or more synonyms does not exclude the use of other synonyms. The use of examples anywhere in this specification, including examples of any term discussed herein, is illustrative only and is not intended to further limit the scope and meaning of the present disclosure or any example term. Similarly, the present disclosure is not limited to the specific embodiments or examples described in the present disclosure.

[0017] Without intending to limit the scope of the present disclosure, examples of instruments, devices, methods and related functions thereof are given below. For the convenience of the reader, titles or subtitles may be used in the examples, which should never limit the scope of the present disclosure. Unless otherwise defined, the technical and scientific terms used herein have the meanings commonly understood by those of ordinary skill in the art to which the present disclosure belongs. In the event of a conflict, this document (including definitions) shall prevail.

[0018] Additional features and advantages of the present disclosure will be set forth in the following description, and will be discerned in part from the specification, or may be learned by practicing the principles disclosed herein. The features and advantages of the present disclosure may be realized and obtained by the tools and combinations specifically noted herein. These and other features of the present disclosure will become more fully apparent from the following description and the appended claims, or may be learned by practicing the principles set forth herein.

[0019] Overview

[0020] Various 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 apply to each aspect alone or in combination with the other aspects.

[0021] Disclosed herein are systems, methods, and computer-readable storage media for monitoring virtualized network functions in a virtual service chain.

[0022] A method may include: monitoring a virtual service chain formed by multiple spliced ​​virtualized network functions running on multiple virtual nodes; an inline statistics agent is capable of generating inline statistics of operations of the virtual service chain; in addition, an actual throughput of the virtual service chain is capable of being identified from the inline statistics; next, by comparing the actual throughput of the virtual service chain with the expected throughput of the virtual service chain, a throughput guarantee is capable of being provided for the virtual service chain.

[0023] An inline statistics agent is implemented in a hypervisor layer under the plurality of virtual nodes. In addition, the virtualized network functions are stitched together at least in part through the hypervisor layer. Accordingly, data passed between the virtualized network functions may be monitored by an inline statistics agent in the hypervisor layer to generate inline statistics for the virtual service chain.

[0024] As part of generating inline statistics for the virtual service chain, data passed between virtualized network functions may be analyzed by virtual node for a plurality of virtual nodes to generate inline statistics for each virtualized network function in the virtual service chain. The inline statistics for each virtualized network function may be generated by comparing an ingress data throughput at each virtualized network function with a corresponding egress data throughput at each virtualized network function.

[0025] Inline statistics of each virtualized network function in the virtual service chain may be compared with inline statistics of one or more adjacent virtualized network functions; and then, throughput guarantees may be provided for the virtual service chain based on the comparison of the inline statistics of each virtualized function in the virtual service chain with the inline statistics of one or more adjacent virtualized network functions. Adjacent virtualized network functions may share virtual link points in the virtual service chain to allow data to be passed directly between adjacent virtualized network functions as the data traverses the virtual service chain.

[0026] A corresponding egress data throughput at each virtualized network function included as part of the inline statistics for each of the virtualized network functions may be compared to an expected throughput of the virtual service chain; subsequently, a throughput guarantee may be provided for the virtual service chain based on the comparison of the corresponding egress data throughput at each virtualized network function with the expected throughput of the virtual service chain. In addition, a virtualized network function in a virtual service chain may be identified as exhibiting an anomaly in the virtual service chain based on the comparison of the egress data throughput at the virtualized network function with the expected throughput of the virtual service chain; subsequently, as part of providing a throughput guarantee for the virtual service chain, the virtualized network function may be reported as an anomaly. In response to the egress data throughput at the virtualized network function being lower than the expected throughput of the virtual service chain, the virtualized network function may be identified as an anomaly.

[0027] An ingress throughput of a first virtualized network function of a virtual service chain may be compared with an expected throughput of the virtual service chain; next, a throughput guarantee may be provided for the virtual service chain based on the comparison of the ingress throughput of the virtual service chain with the expected throughput. Specifically, if the ingress throughput is less than the expected throughput, data transmitted between virtualized network functions is analyzed by virtual node to provide a throughput guarantee for the virtual service chain.

[0028] A virtual service chain may be formed between a consumer and a provider. In addition, a throughput guarantee for the virtual service chain may be provided in one or both directions from the consumer to the provider and from the provider to the consumer. Additionally, the infrastructure provider of the plurality of virtual nodes may be different from the network service provider of the virtual service chain.

[0029] A system may include: one or more processors; and at least one computer-readable storage medium storing instructions which, when executed by the one or more processors, cause the one or more processors to monitor a virtual service chain formed by a plurality of spliced ​​virtualized network functions running on a plurality of virtual nodes; the instructions may also cause the one or more processors to generate inline statistics of operations of the virtual service chain through an inline statistics agent; the inline statistics may be implemented in a hypervisor layer under the plurality of virtual nodes; in addition, the instructions may cause the one or more processors to identify the actual throughput of the virtual service chain from the inline statistics; additionally, the instructions may cause the one or more processors to provide throughput guarantees for the virtual service chain by comparing the actual throughput of the virtual service chain with the expected throughput of the virtual service chain.

[0030] A non-transitory computer-readable storage medium having instructions stored therein, which, when executed by a processor, cause the processor to monitor a virtual service chain formed by a plurality of spliced ​​virtualized network functions running on a plurality of virtual nodes; the instructions may also cause the processor to generate inline statistics of the operation of the virtual service chain through an inline statistics agent. The virtualized network functions may be spliced ​​together at least in part through a hypervisor layer, and data passed between the virtualized network functions may be monitored by an inline statistics agent in the hypervisor layer to generate inline statistics for the virtual service chain; in addition, the instructions may cause the processor to identify an actual throughput of the virtual service chain from the inline statistics; additionally, the instructions may cause the processor to provide a throughput guarantee for the virtual service chain by comparing the actual throughput of the virtual service chain with the expected throughput of the virtual service chain.

[0031] The foregoing and other features and embodiments will become more apparent when referring to the following description, claims and accompanying drawings.

[0032] Description of Example Embodiments

[0033] The disclosed technology addresses the need in the art to provide throughput guarantees in a virtualized network service chain. In particular, the disclosed technology addresses the need in the art to monitor virtualized network functions on a per-network function basis to effectively detect and mitigate the impact of anomalies in the service chain. The technology relates to systems, methods, and computer-readable media for providing throughput guarantees, anomaly detection, and anomaly mitigation in a virtualized network service chain. In particular, the technology relates to systems, methods, and computer-readable media for providing throughput guarantees, anomaly detection, and anomaly mitigation in a virtualized network service chain on a per-network function basis.

[0034] like Figure 1A , Figure 1B , Figure 2A , Figure 2B As shown, this article first discloses a description of the network environment and structure for network data access and services. Then, as shown Figure 3 to Figure 4 As shown, the following will discuss systems, methods, and computer-readable media for implementing virtual machine network deployment and providing throughput guarantees for deployed virtualized network service chains. Then, as Figure 5 and Figure 6 As shown, the discussion ends with a brief description of an example device. As various embodiments are described, these variations will be described herein. The present disclosure now turns to Figure 1A .

[0035] Figure 1A A schematic diagram of an example cloud computing architecture 100 is shown. The architecture may include a cloud 102. Cloud 102 may include one or more private clouds, public clouds, and / or hybrid clouds. In addition, cloud 102 may include cloud elements 104-114. Cloud elements 104-114 may include, for example, servers 104, virtual machines (VMs) 106, one or more software platforms 108, applications or services 110, software containers 112, and infrastructure nodes 114. Infrastructure nodes 114 may include various types of nodes (e.g., compute nodes, storage nodes, network nodes, management systems, etc.).

[0036] The cloud 102 can provide various cloud computing services via cloud elements 104-114, such as software as a service (SaaS) (e.g., collaboration services, email services, enterprise resource planning services, content services, communication services, etc.), infrastructure as a service (IaaS) (e.g., security services, networking services, system management services, etc.), platform as a service (PaaS) (e.g., web services, streaming services, application development services, etc.), and other types of services (e.g., desktop as a service (DaaS), information technology management as a service (ITaaS), hosted software as a service (MSaaS), mobile backend as a service (MBaaS), etc.).

[0037] The client endpoint 116 can connect to the cloud 102 to obtain one or more specific services from the cloud 102. The client endpoint 116 can communicate with the elements 104-114 via one or more public networks (e.g., the Internet), private networks, and / or hybrid networks (e.g., virtual private networks). The client endpoint 116 can include any device with networking capabilities, such as a laptop, tablet computer, server, desktop computer, smart phone, network equipment (e.g., access point, router, switch, etc.), smart TV, smart car, sensor, GPS device, game system, smart wearable object (e.g., smart watch, etc.), consumer object (e.g., Internet refrigerator, smart lighting system, etc.), city or transportation system (e.g., traffic control, toll collection system, etc.), Internet of Things (IoT) device, camera, network printer, transportation system (e.g., airplane, train, motorcycle, boat, etc.), or any smart or connected object (e.g., smart home, smart building, smart retail, smart glasses, etc.), etc.

[0038] Figure 1B A schematic diagram of an example fog computing architecture 150 is shown. The fog computing architecture 150 may include a cloud layer 154 (cloud layer 154 includes cloud 102 and any other cloud systems or environments) and a fog layer 156 (fog layer 156 includes fog nodes 162). Client endpoints 116 may communicate with the cloud layer 154 and / or the fog layer 156. The architecture 150 may include one or more communication links 152 between the cloud layer 154, the fog layer 156, and the client endpoints 116. Information may flow upward to the cloud layer 154 and / or downward to the client endpoints 116.

[0039] The fog layer 156 or "fog" provides the computing, storage, and networking capabilities of a traditional cloud network, but closer to the endpoints. The fog can thus extend the cloud 102 closer to the client endpoints 116. The fog nodes 162 can be a physical implementation of the fog network. In addition, the fog nodes 162 can provide local or regional services and / or connections to the client endpoints 116. As a result, traffic and / or data can be offloaded from the cloud 102 to the fog layer 156 (e.g., via the fog nodes 162). The fog layer 156 can thus provide faster services and / or connections to the client endpoints 116 with lower latency and other advantages (e.g., security benefits of keeping data within (one or more) local or regional networks, etc.).

[0040] The fog nodes 162 may include any networked computing devices (e.g., servers, switches, routers, controllers, cameras, access points, gateways, etc.). In addition, the fog nodes 162 may be deployed anywhere with a network connection (e.g., factory floors, utility poles, railroad tracks, vehicles, oil rigs, airports, airplanes, shopping malls, hospitals, parks, parking lots, libraries, etc.).

[0041] In some configurations, one or more fog nodes 162 may be deployed within a fog instance 158, 160. The fog instance 158, 160 may be a local or regional cloud or network. For example, the fog instance 158, 160 may be a regional cloud or data center, a local area network, a network of fog nodes 162, etc. In some configurations, one or more fog nodes 162 may be deployed within a network, or, for example, as an independent node or a single node. In addition, one or more fog nodes 162 may be interconnected to each other via links 164 in various topologies, including, for example, a star, ring, mesh, or hierarchical arrangement.

[0042] In some cases, one or more fog nodes 162 may be mobile fog nodes. Mobile fog nodes may move to different geographic locations, logical locations or networks, and / or fog instances while maintaining a connection to the cloud layer 154 and / or endpoints 116. For example, specific fog nodes may be placed in vehicles (e.g., airplanes or trains) that may travel from one geographic location and / or logical location to different geographic locations and / or logical locations. In this example, a specific fog node may connect to a specific physical and / or logical connection point of the cloud 154 when located at a starting location, and switch to a different physical and / or logical connection point of the cloud 154 when located at a destination location. Thus, a specific fog node may move within a specific cloud and / or fog instance, and thus provide services to endpoints from different locations at different times.

[0043] Figure 2AA schematic diagram of an example network environment 200 (e.g., a data center) is shown. In some cases, the network environment 200 may include a data center that may support and / or host a cloud 102. The network environment 200 may include an organization 220, which may represent a physical layer or infrastructure (e.g., bottom layer) of the network environment 200. The organization 220 may include a spine 202 (e.g., a spine router or switch) and leaves 204 (e.g., leaf routers or switches), which may be interconnected to route or exchange traffic in the organization 220. The spine 202 may be interconnected with the leaves 204 in the organization 220. Also, the leaves 204 may connect the organization 220 to overlays or logical portions of the network environment 200, which may include application services, servers, virtual machines, containers, endpoints, etc. Thus, network connections in the organization 220 may flow from the spine 202 to the leaves 204, and vice versa. The interconnections between the leaves 204 and the spine 202 may be redundant (e.g., multiple interconnections) to avoid routing failures. In some embodiments, leaves 204 and spines 202 may be fully connected such that any given leaf is connected to every spine 202, and any given spine is connected to every leaf 204. A leaf 204 may be, for example, a top of rack ("ToR") switch, an aggregation switch, a gateway, an ingress and / or egress switch, a provider edge device, and / or any other type of routing or switching device.

[0044] Leaf 204 can be responsible for routing and / or bridging tenant or customer data packets and applying network policies or rules. Network policies and rules can be driven by one or more controllers 216, and / or implemented or enforced by one or more devices (e.g., leaf 204). Leaf 204 can connect other elements to organization 220. For example, leaf 204 can connect server 206, hypervisor 208, virtual machine (VM) 210, application 212, network device 214, etc. to organization 220. Such elements can reside in one or more logical or virtual layers or networks (e.g., overlay networks). In some cases, leaf 204 can encapsulate and decapsulate data packets to these elements (e.g., server 206) or encapsulate and decapsulate data packets from these elements (e.g., server 206) to achieve communication between the entire network environment 200 and organization 220. Leaf 204 can also provide access to organization 220 for any other device, service, tenant or workload. In some cases, a server 206 connected to a leaf 204 may similarly encapsulate and decapsulate packets to and from a leaf 204. For example, a server 206 may include one or more virtual switches, or routers, or tunnel endpoints for routing packets between an overlay or logical layer (hosted by or connected to the server 206) and an underlay (represented by the organization 220 and accessed via the leaf 204).

[0045] Applications 212 may include software applications, services, containers, devices, functions, service chains, etc. For example, applications 212 may include firewalls, databases, CDN servers, IDS / IPS, deep packet inspection services, message routers, virtual switches, etc. Applications from applications 212 may be distributed, linked, or hosted across multiple endpoints (e.g., servers 206, VMs 210, etc.), or may be run or executed entirely from a single endpoint.

[0046] The VM 210 may be a virtual machine hosted by the hypervisor 208 or a virtual machine manager running on the server 206. The VM 210 may include a workload running on a client operating system on a corresponding server. The hypervisor 208 may provide a software, firmware, and / or hardware layer to create, manage, and / or run the VM 210. The hypervisor 208 may allow the VM 210 to share hardware resources on the server 206, and the hardware resources on the server 206 may appear as multiple independent hardware platforms. In addition, the hypervisor 208 on the server 206 may host one or more VMs 210.

[0047] In some cases, VM 210 may be migrated to other servers 206. Servers 206 may similarly be migrated to other physical locations in network environment 200. For example, a server connected to a particular leaf may be changed to connect to a different or additional leaf. Such configuration or deployment changes may involve modifications to settings, configurations, and policies applied to the resources being migrated and other network components.

[0048] In some cases, one or more servers 206, hypervisors 208, and / or VMs 210 may represent or reside in a tenant or customer space. A tenant space may include workloads, services, applications, devices, networks, and / or resources associated with one or more clients or subscribers. Therefore, traffic in the network environment 200 may be routed based on specific tenant policies, spaces, protocols, configurations, and the like. In addition, addressing may vary between one or more tenants. In some configurations, a tenant space may be divided into logical segments and / or networks and separated from logical segments and / or networks associated with other tenants. Addressing, policies, security, and configuration information between tenants may be managed by a controller 216, server 206, leaf 204, and the like.

[0049] Configurations in the network environment 200 may be implemented at a logical level, a hardware level (e.g., physical), and / or both. For example, configurations may be implemented at a logical level and / or a hardware level through a software defined network (SDN) framework (e.g., Application Centric Infrastructure (ACI) or VMWARE NSX) based on endpoint or resource attributes (e.g., endpoint type and / or application group or profile). To illustrate, one or more administrators may define configurations at a logical level (e.g., application or software level) through a controller 216, which may implement or propagate such configurations through the network environment 200. In some examples, the controller 216 may be an application policy infrastructure controller (APIC) in an ACI framework. In other examples, the controller 216 may be one or more management components (e.g., NSX manager) for use in association with other SDN solutions.

[0050] Such configurations may define rules, policies, priorities, protocols, attributes, objects, etc., for routing and / or classifying traffic in the network environment 200. For example, such configurations may define attributes and objects for classifying and processing traffic based on endpoint groups, security groups (SGs), VM types, bridge domains (BDs), virtual routing and forwarding instances (VRFs), tenants, priorities, firewall rules, etc. Other example network objects and configurations will be further described below. Traffic policies and rules may be implemented based on traffic labels, attributes, or other features (e.g., protocols associated with traffic, EPGs associated with traffic, SGs associated with traffic, network address information associated with traffic, etc.). Such policies and rules may be implemented by one or more elements in the network environment 200 (e.g., leaves 204, servers 206, hypervisors 208, controllers 216, etc.). As previously described, the network environment 200 may be configured according to one or more specific SDN solutions (e.g., CISCO ACI or VMWARE NSX). These example SDN solutions are briefly described below.

[0051] ACI can provide application-centric or policy-based solutions through scalable distributed implementation. ACI supports the integration of physical and virtual environments under a declarative configuration model for networks, servers, services, security, requirements, etc. For example, the ACI framework implements EPG, which can include a collection of endpoints or applications that share common configuration requirements (e.g., security, QoS, services, etc.). An endpoint can be a virtual / logical or physical device (e.g., a VM, container, host, or physical server connected to the network environment 200). An endpoint can have one or more attributes, such as a VM name, a customer OS name, a security label, an application profile, etc. Application configuration can be applied between EPGs (rather than directly between endpoints) in the form of a contract. Leaf 204 can classify incoming traffic into different EPGs. For example, classification can be based on a network segment identifier, such as a VLAN ID, a VXLAN network identifier (VNID), an NVGRE virtual subnet identifier (VSID), a MAC address, an IP address, etc.

[0052] In some cases, classification in the ACI infrastructure can be implemented through an ACI virtual edge (AVE), which can run on a host (e.g., a server), such as a vSwitch running on a server. For example, the AVE can classify traffic based on specified attributes and identify packets of different attribute EPGs differently (e.g., network segment identifiers (e.g., VLAN IDs)). Finally, the leaf 204 can associate packets with their attribute EPGs based on their identifiers and implement policies, which can be implemented and / or managed by one or more controllers 216. The leaf 204 can classify which EPG the traffic from the host belongs to and implement policies accordingly.

[0053] Another example SDN solution is based on VMWARE NSX. With VMWARE NSX, the host can run a distributed firewall (DFW) that can classify and process traffic. Consider the case where three types of VMs (i.e., application VMs, database VMs, and web VMs) are placed into a single layer 2 network segment. Traffic protection can be provided within the network segment based on the VM type. For example, HTTP traffic between web VMs can be allowed, while HTTP traffic between web VMs and application VMs or database VMs is not allowed. To classify traffic and enforce policies, VMWARE NSX can implement security groups, which can be used to group specific VMs (e.g., web VMs, application VMs, database VMs). DFW rules can be configured to enforce policies for specific security groups. To illustrate, in the context of the previous example, a DFW rule can be configured to block HTTP traffic between the web security group, the application security group, and the database security group.

[0054] Return now Figure 2A , the network environment 200 can be deployed on different hosts (e.g., VMWARE ESXi hosts, WINDOWS HYPER-V hosts, bare metal physical hosts, etc.) via leaves 204, servers 206, hypervisors 208, VMs 210, applications 212, and controllers 216. The environment 200 can interoperate with various hypervisors 208, servers 206 (e.g., physical and / or virtual servers), SDN orchestration platforms, etc. The network environment 200 can implement a declarative model to allow the model to be integrated with application design and overall network policy.

[0055] The controller 216 may provide centralized access to organizational information, application configuration, resource configuration, application-level configuration modeling for the SDN infrastructure, integration with management systems or servers, etc. The controller 216 may form a control plane that interfaces with the application programs via a northbound API and interfaces with the data plane via a southbound API.

[0056] As previously described, the controller 216 can define and manage (one or more) application-level models for configuration in the network environment 200. In some cases, application or device configurations can also be managed and / or defined by other components in the network. For example, a hypervisor or virtual device (e.g., a VM or container) can run a server or management tool to manage software and services in the network environment 200 (including configuration and settings of virtual devices).

[0057] As described above, the network environment 200 may include one or more different types of SDN solutions, hosts, etc. For the purpose of clarity and explanation, various examples in the present disclosure will be described with reference to the ACI framework, and the controller 216 may be interchangeably referred to as a controller, an APIC, or an APIC controller. However, it should be noted that the techniques and concepts herein are not limited to the ACI solution, but may also be implemented in other structures and scenarios, including other SDN solutions and other types of networks where SDN solutions may not be deployed.

[0058] Furthermore, as referred to herein, the term "host" may refer to a server 206 (e.g., physical or logical), a hypervisor 208, a VM 210, a container (e.g., an application 212), etc., and may run or include any type of server or application solution. Non-limiting examples of a "host" may include a virtual switch or router (e.g., a distributed virtual switch (DVS), an AVE node, a vector packet processing (VPP) switch; VCENTER and NSX MANAGERS; bare metal physical hosts; Hyper-V hosts; VMs; Docker containers;

[0059] Figure 2B Another example of a network environment 200 is illustrated. In this example, the network environment 200 includes an endpoint 222 connected to a leaf 204 in an organization 220. The endpoint 222 can be a physical and / or logical or virtual entity (e.g., a server, client, VM, hypervisor, software container, application, resource, network device, workload, etc.). For example, the endpoint 222 can be an object that represents: a physical device (e.g., a server, client, switch, etc.), an application (e.g., a web application, a database application, etc.), a logical or virtual resource (e.g., a virtual switch, a virtual service device, a virtualized network function (VNF), a VM, a service chain, etc.), a container running a software resource (e.g., an application, a device, a VNF, a service chain, etc.), a storage space, a workload or workload engine, etc. The endpoint 122 can have an address (e.g., an identity), a location (e.g., a host, a network segment, a virtual routing and forwarding (VRF) instance, a domain, etc.), one or more attributes (e.g., a name, a type, a version, a patch level, an OS name, an OS type, etc.), a label (e.g., a security label), a profile, etc.

[0060] Endpoints 222 may be associated with corresponding logical groups 218. Logical groups 218 may be logical entities that include: endpoints (physical and / or logical or virtual) grouped together according to one or more attributes (e.g., VM type, workload type, application type, etc.), one or more requirements (e.g., policy requirements, security requirements, QoS requirements, customer requirements, resource requirements, etc.), resource names (e.g., VM names, application names, etc.), profiles, platform or operating system (OS) characteristics (e.g., OS types or names including guest and / or host OS, etc.), associated networks or tenants, one or more policies, tags, etc. For example, a logical group may be an object representing a collection of endpoints grouped together. For illustration, logical group 1 may include client endpoints, logical group 2 may include web server endpoints, logical group 3 may include application server endpoints, logical group N may include database server endpoints, etc. In some examples, logical group 218 is an EPG in an ACI environment and / or other logical group (e.g., SG) in another SDN environment.

[0061] Traffic to and / or from endpoints 222 may be classified, processed, managed, etc. based on logical groups 218. For example, logical groups 218 may be used to: classify traffic to or from endpoints 222, apply policies to traffic to or from endpoints 222, define relationships between endpoints 222, define roles of endpoints 222 (e.g., whether an endpoint consumes or provides a service, etc.), apply rules to traffic to or from endpoints 222, apply filters or access control lists (ACLs) to traffic to or from endpoints 222, define communication paths for traffic to or from endpoints 222, enforce requirements associated with endpoints 222, implement security and other configurations associated with endpoints 222, etc.

[0062] In an ACI environment, logical groups 218 may be EPGs, which are used to define contracts in ACI. Contracts may include rules that specify what and how EPGs communicate. For example, a contract may define: what provides a service, what consumes a service, and which policy objects are associated with the consumption relationship. A contract may include a policy that defines a communication path and all relevant elements of a communication or relationship between EPs or EPGs. For example, a web EPG may provide services that are consumed by a client EPG, and the consumption may be subject to filters (ACLs) and a service graph containing one or more services (e.g., a firewall inspection service and server load balancing).

[0063] Figure 3A schematic diagram of an example virtual machine (VM) deployment 310 is shown. In this example, a host 302 may include one or more VMs 316. VMs 316 may be configured to run workloads such as VNFs on the host 302 based on hardware resources 312 on the host. VMs 316 may run on a client operating system 314 on a virtual operating platform provided by a hypervisor 318. Each VM may run a respective client operating system, which may be the same or different from other client operating systems (associated with other VMs on the host 302). In addition, each VM may have one or more network addresses (e.g., Internet Protocol (IP) addresses). VMs 316 may communicate with hypervisors 318 and / or any remote device or network using one or more network addresses.

[0064] Hypervisor 318 can be a software layer, firmware layer, and / or hardware layer that creates and runs VM 316. For example, hypervisor 318 can be a virtual machine manager (VMM) for hosting and managing VM 316. The client operating system running on VM 316 can share virtualized hardware resources created by hypervisor 318. Virtualized hardware resources can provide the illusion of independent hardware components. In addition, virtualized hardware resources can appear as physical hardware components (e.g., memory, storage space, processor, network interface, etc.) and can be driven by hardware resources 312 on host 302. Hypervisor 318 can have one or more network addresses (e.g., Internet Protocol (IP) addresses) for communicating with other devices, components, or networks. For example, hypervisor 318 can have a dedicated IP address, which they can use to communicate with VM 316 and / or any remote device or network.

[0065] The hardware resources 312 may provide underlying physical hardware driven operations and functionality provided by the host 302, the hypervisor 318, and the VM 316. The hardware resources 312 may include, for example, one or more memory resources, one or more storage space resources, one or more communication interfaces, one or more processors, one or more circuit boards, one or more expansion cards, one or more power supplies, one or more antennas, one or more peripheral components, and the like.

[0066] The host 302 may also include one or more host operating systems (not shown). The number of host operating systems may vary depending on the configuration. For example, some configurations may include a dual boot configuration that allows the host 302 to boot into one of multiple host operating systems. In other configurations, the host 302 may run a single host operating system. The host operating system may run on the hardware resources 312. In some cases, the hypervisor 318 may run or be used on the host operating system on the host 302.

[0067] Host 302 may also have one or more network addresses (e.g., Internet Protocol (IP) addresses) for communicating with other devices, components, or networks. For example, host 302 may have an IP address assigned to a communication interface from hardware resource 312, which it may use to communicate with VM 316, hypervisor 318, switch, and / or any remote device or network.

[0068] In some examples, host 302 may run a distributed function router. For example, VM 316 on host 302 may host and perform one or more functions of a distributed function router. In some cases, host 302 may also host multiple distributed function routers via VM 316. For example, VM 1 may host and run a first distributed function router, and VM 2 may host and run a second distributed function router. The first distributed function router and the second distributed function router may be different function routers, or may be instances of the same function router, and may be configured for load balancing, failover, autoscaling, etc.

[0069] As mentioned previously, users typically expect a specific throughput for virtualized service chains in a virtualized network environment. Specifically, users expect that the service chains are properly configured on the hypervisor platform and that a specific throughput can be achieved by the individual VNFs and the corresponding service chain as a whole. Typically, the infrastructure provider / service provider of the service chain is responsible for ensuring the expected throughput of the chain. However, due to the lack of visibility into the virtual network, it is currently difficult for service providers to diagnose and resolve problems in the service chain. In particular, due to the use of multiple VNFs in a virtual service chain and due to poor virtual network visibility, it is difficult for service providers to identify which link or which VNF is behaving abnormally in the service chain, for example, as part of providing a service chain throughput guarantee to customers.

[0070] The present invention includes systems, methods, and computer-readable media for addressing these issues / differences. Specifically, the present technology relates to systems, methods, and computer-readable media for providing throughput guarantees, anomaly detection, and anomaly mitigation in virtualized network service chains. More specifically, the present technology relates to systems, methods, and computer-readable media for providing throughput guarantees, anomaly detection, and anomaly mitigation in virtualized network service chains on a per-network function basis.

[0071] Figure 4 An example virtualized network environment 400 with a network throughput guarantee agent 401 is shown in accordance with various aspects of the subject technology. Figure 1A1B) to implement the virtualized network environment 400. In addition, in an appropriate network environment (e.g., Figure 2A and 2B A virtualized network environment 400 is implemented in the example network environment 200 shown in FIG.

[0072] The virtual machine deployment (e.g., Figure 3 ) to form a virtualized network environment 400. Specifically, the virtualized network environment 400 includes a switching fabric 402. The switching fabric 402 may include physical hardware that implements one or more virtual machines and virtual functions. Specifically, the switching fabric 402 may operate as a host and support a hypervisor 404 running on top of the switching fabric 402. A network interface card (not shown) may be used to connect the hypervisor 404 and the switching fabric 402. For example, a physical network interface card (pNIC) may be used to connect the hypervisor 404 to the switching fabric 402.

[0073] The hypervisor 404 functions according to the applicable layers for providing a virtual operating platform (e.g., Figure 3 In particular, the hypervisor 404 may be run to create a virtual operating platform that supports a first VNF ​​406-1, a second VNF 406-2, and a third VNF 406-3 (collectively referred to as "VNF 406"). Figure 4 Only three VNFs 406 are shown, but the virtualized network environment 400 may include more VNFs or fewer VNFs.

[0074] VNF 406 can form all or part of a virtual service chain. Specifically, VNF 406 can be spliced ​​together (e.g., by hypervisor 404) to form at least a portion of the virtual service chain of the VNF. As used herein, a virtual service chain is a group of VNFs that are spliced ​​together so that the VNF applies operations to network traffic passing through the virtual service chain based on the arrangement of the VNFs in the virtual service chain (e.g., in the order of the VNFs in the virtual service chain). For example, traffic entering the virtual service chain at point 408, as the inlet traffic of the virtual service chain, can be directed to the first VNF ​​406-1 at point 412 as inlet traffic to the first VNF ​​406-1. In turn, the first VNF ​​406-1 can perform one or more operations on the traffic. Next, after the first VNF ​​406-1 performs one or more operations on the traffic, the traffic can be transmitted from the first VNF ​​406-1 at point 414 as the outlet traffic of the first VNF ​​406-1.

[0075] Because the first VNF ​​406-1 is adjacent to the second VNF 406-2 in the virtual service chain, the egress traffic of the first VNF ​​406-1 that leaves the first VNF ​​406-1 at point 414 can be used as the ingress traffic of the second VNF 406-2. Specifically, the traffic can enter the second VNF 406-2 as ingress traffic at point 416. In turn, the second VNF 406-2 can perform one or more operations on the traffic. Next, after the second VNF 406-2 performs one or more operations on the traffic, the traffic can be transmitted from the second VNF 406-2 at point 418 as the egress traffic of the second VNF 406-2. Similarly, the traffic can enter the third VNF 406-3 as the ingress traffic of the third VNF 406-3 at point 420, and be transmitted from the third VNF 406-3 as the egress traffic of the third VNF 406-3 at point 422. Because the third VNF 406-3 is the last VNF ​​in the virtual service chain, the traffic leaving the third VNF 406-3 is the egress traffic of the virtual service chain, and the traffic leaves the virtual service chain at point 410.

[0076] The VNFs 406 may be stitched together through the hypervisor 404 to form a virtual service chain. Specifically, traffic passed between the VNFs 406 may pass through the hypervisor 404. For example, traffic passing from the first VNF ​​406-1 at point 414 may be passed into the hypervisor 404 and then into the second VNF 406-2 at point 416. Thus, adjacent VNFs in a virtual service chain may be linked / stitched together through one or more link points formed in the hypervisor 404. More specifically, traffic may be passed directly between adjacent VNFs through one or more link points in the hypervisor 404, which link adjacent VNFs to each other. By stitching the VNFs 406 together through the hypervisor 404 to form a virtual service chain, the functionality of the VNFs 406 may be combined, for example, in a building block style manner to provide various network communication services.

[0077] As used herein, adjacent VNFs in a service chain include VNFs that are logically adjacent to each other in the service chain in the order in which the VNFs operate on data traversing the service chain, e.g., from a traffic processing perspective. Figure 4In the environment 400 shown, the first VNF ​​406-1 and the second VNF 406-2 are adjacent to each other. In addition, the second VNF 406-2 and the third VNF 406-3 are adjacent to each other. Based on the position of the VNF in the virtual service chain, a VNF can only have one adjacent VNF. For example, the first VNF ​​406-1 has only one adjacent VNF ​​(the second VNF 406-2) because the first VNF ​​406-1 is the first VNF ​​in the virtual service chain. Similarly, the third VNF 406-3 has only one adjacent VNF ​​(the second VNF 406-2) because the third VNF 406-3 is the last VNF ​​in the virtual service chain. Further, based on the position of the VNF in the virtual service chain, a VNF can have multiple adjacent VNFs. For example, the second VNF 406-2 has two adjacent VNFs (the first VNF ​​406-1 and the third VNF 406-3).

[0078] Can be formed between consumers and providers of network services Figure 4 4. A virtual service chain in the example environment 400 is shown. For example, a virtual service chain can be formed between a client and a cloud-based service provider. Figure 4 The traffic shown in is unidirectional (e.g., from point 408 to point 410), the virtual service chain can also perform operations on traffic passing in the reverse direction (e.g., from point 410 to point 408). Therefore, the techniques discussed herein for providing guarantees can be applied to bidirectional traffic passing through the virtual service chain. For example, the techniques described herein can be applied to: traffic passing from a consumer to a provider through a virtual service chain, and traffic passing from a provider to a consumer through a virtual service chain.

[0079] The provider of VNF 406 may be different from the provider of switching fabric 402. For example, VNF 406 may be provided and maintained by a network service provider that is different from the provider of the actual infrastructure / hardware (e.g., switching fabric 402), and VNF 406 may run on the network service provider through one or more VMs.

[0080] The throughput guarantee agent 401 can provide a guarantee for the virtual service chain. Specifically, the throughput guarantee agent 401 can provide a throughput guarantee for the virtual service chain. As used herein, the throughput guarantee of the virtual service chain may include appropriate information related to the network guarantee and throughput in the virtual service chain. For example, the throughput guarantee may include: information related to the virtual service chain operation at or below the expected throughput of the virtual service chain, information related to the VNF that behaves abnormally in the virtual service chain, and other appropriate information related to the VNF that operates together in the virtual service chain, for example. For example, the throughput guarantee may include an indication of the throughput of the VNFs that are interrelated across the service chain. In another example, the throughput guarantee may include which link (e.g., VNF) has a drop in traffic in the service chain and the position of the link in the service chain. The VNF that behaves abnormally may include a VNF that behaves differently from the expected behavior of the VNF. For example, the VNF that behaves abnormally may include: the actual throughput at the VNF has dropped below the expected throughput at the VNF. In another example, the VNF that behaves abnormally may include a VNF with a drop in traffic.

[0081] exist Figure 4 In the illustrated example environment 400, a throughput guarantee agent 401 is shown connected to a hypervisor 404. When connected to the hypervisor 404, the throughput guarantee agent 401 may be implemented at least in part in the hypervisor 404. Specifically, the throughput guarantee agent 401 may include an inline statistics agent implemented in the hypervisor 404.

[0082] The inline statistics agent is used to generate inline statistics for the virtual service chain. Specifically, the inline statistics agent can monitor the traffic passing through the virtual service chain to generate inline statistics for the virtual service chain. More specifically, when the inline statistics agent is implemented in the hypervisor 404, the inline statistics agent can monitor the traffic passing into and out of the VNF 406 through the hypervisor layer to generate inline statistics for the virtual service chain. The inline statistics may include appropriate information related to the operation of the VNF 406 in the virtual service chain. For example, the inline statistics may include the actual throughput of the traffic passing into and out of the virtual service chain.

[0083] The inline statistics agent can generate inline statistics per VNF. Specifically, because the inline statistics agent can generate inline statistics by monitoring traffic via the hypervisor 404, the inline statistics agent can generate inline statistics for each VNF 406 per VNF. More specifically, the inline statistics agent can analyze data passing into, out of, and / or between VNFs 406 through the hypervisor 404 to generate inline statistics for each VNF 406 per VNF. For example, the inline statistics agent can generate inline statistics for the second VNF 406-2, which includes the ingress traffic throughput at the second VNF 406-2 (corresponding to point 416 in the traffic flow). In addition, in the example, the inline statistics agent can generate inline statistics for the second VNF 406-2, which includes the egress traffic throughput at the second VNF 406-2 (corresponding to point 418 in the traffic flow). In another example, the inline statistics agent may generate inline statistics for the first VNF ​​406-1, the inline statistics including the ingress traffic throughput of the first VNF ​​406-1, the ingress traffic throughput being the ingress traffic throughput of the entire virtual service chain as a whole. In another example, the inline statistics agent may generate inline statistics for the third VNF 406-3, the inline statistics including the egress traffic throughput of the third VNF 406-3, the egress traffic throughput being the egress traffic throughput of the entire virtual service chain as a whole. The ingress traffic throughput and the egress traffic throughput at each VNF 406 may be included as part of the actual throughput of the virtual service chain.

[0084] When generating inline statistics per VNF, the inline statistics agent may generate inline statistics based on the ingress traffic throughput and the egress traffic throughput at each VNF 406. Specifically, the inline statistics agent may compare the ingress traffic throughput at each VNF 406 and the egress traffic throughput at each VNF 406 to generate corresponding inline statistics for each VNF 406. For example, if the throughput between the ingress traffic and the egress traffic passing through the first VNF ​​406-1 is different, the inline statistics agent may generate inline statistics indicating that the traffic is decreasing at the first VNF ​​406-1.

[0085] The inline statistics agent can generate inline statistics for the virtual service chain based on user / administrator input. For example, a provider of a VNF can provide input that can be used to generate inline statistics for the virtual service chain. Specifically, the statistics agent generates inline statistics from a user input graph indicating the VNF 406 and the corresponding virtual links, for example, formed at point 412 of the corresponding traffic flow of the service chain, formed between point 414 and point 416, formed between point 418 and point 420, and formed at point 422. In addition, the inline statistics agent can generate inline statistics from a configuration file that describes the topological configuration of the VNF 406 within the virtual service chain.

[0086] In addition, the inline statistics agent can generate inline statistics based on the expected throughput of the virtual service chain and / or the expected throughput of one or more VNFs 406. Specifically, the inline statistics agent can generate inline statistics based on the expected ingress traffic throughput of the virtual service chain and / or the expected ingress traffic throughput of one or more VNFs 406. In addition, the inline statistics agent can generate inline statistics based on the expected egress traffic throughput of the virtual service chain and / or the expected egress traffic throughput of one or more VNFs 406. The inline statistics agent can use appropriate techniques to identify the expected throughput (e.g., egress traffic throughput and ingress traffic throughput). Specifically, the inline statistics agent can identify the expected throughput based on appropriate information (e.g., as part of an input graph or topology profile received from a user / administrator).

[0087] The inline statistics agent may collect statistics periodically or otherwise at set times. In one example, the inline statistics agent may use the most recently collected statistical data point as a reference point for collecting inline statistics. In another example, the inline statistics agent may collect inline statistics using a moving average of a set of most recently collected statistical data points.

[0088] The throughput guarantee agent 401 can provide throughput guarantees for the virtual service chain based on the inline statistics generated by the inline statistics agent. In particular, the throughput guarantee agent 401 can provide throughput guarantees for the service chain for network traffic from consumers to network service providers. In addition, the throughput guarantee agent 401 can provide throughput guarantees for the service chain for traffic from service providers to consumers. In addition, the throughput guarantee agent 401 can provide throughput guarantees for the service chain for bidirectional traffic between service providers and consumers.

[0089] When providing throughput guarantees, the throughput guarantee agent 401 can provide end-to-end throughput guarantees for the virtual service chain. Specifically, the throughput guarantee agent 401 can compare the ingress throughput of the virtual service chain with the egress throughput of the virtual service chain to provide end-to-end throughput guarantees. More specifically, the throughput guarantee agent 401 can provide end-to-end throughput guarantees by comparing the throughput at point 408 entering the first VNF ​​406-1 with the throughput at point 410 leaving the third VNF 406-3. If the throughput at the input point 408 is equal to or within the threshold range of the throughput at the output point 410, the throughput guarantee agent 401 can report that there is no throughput anomaly in the service chain. The threshold range can be a threshold defined by the user.

[0090] In addition, the throughput guarantee agent 401 can provide throughput guarantees by comparing the inline statistics of each VNF 406 with the expected traffic throughput of the service chain. The expected throughput may include an expected throughput or an expected throughput range (one or both of which are expected by the consumer or guaranteed by the provider of the VNF 406). When comparing the inline statistics of each VNF 406 with the expected traffic throughput, the throughput guarantee agent 401 can directly compare the egress (e.g., corresponding to point 414, point 418, and point 422) data throughput at each VNF 406 with the expected throughput of the service chain. Furthermore, if one or more VNFs 406 have a throughput that is lower than the expected throughput or is outside the expected throughput range, the statistics agent can mark the corresponding one or more VNFs 406 as abnormal or otherwise provide appropriate throughput guarantees.

[0091] The throughput guarantee agent 401 can provide throughput guarantee for the virtual service chain by comparing the inline statistics of two or more VNFs 406. Specifically, the throughput guarantee agent 401 can provide throughput guarantee for the virtual service chain by comparing the inline statistics of the VNF with the inline statistics of one or more adjacent VNFs. Specifically, the throughput guarantee agent 401 can compare the inline statistics of the first VNF ​​406-1 with the inline statistics of the second VNF 406-2. In addition, the throughput guarantee agent 401 can compare the inline statistics of the second VNF 406-2 with the inline statistics of both the first VNF ​​406-1 and the third VNF 406-3. In addition, the throughput guarantee agent 401 can compare the inline statistics of the third VNF 406-3 with the inline statistics of the second VNF 406-2. Reference Figure 4, the throughput guarantee agent 401 can verify that VNF ​​406-1, VNF 406-2, and VNF 406-3 do not cause a decrease in network throughput by checking that the throughput of the ingress node and the egress node of each VNF 406 are equal or within the threshold range of each other. Specifically, the throughput guarantee agent 401 can check that: the throughput at the ingress point 412 is equal to the throughput at the egress point 414; the throughput at the ingress point 416 is equal to the throughput at the egress point 414 and the egress point 418; and the throughput at the ingress point 420 is equal to the throughput at the egress point 418 and the egress point 422. If one or more equalities do not hold, the statistics agent can report the specific VNF involved in the inequality among the multiple VNFs 406 as a VNF that causes throughput anomalies. Although reference is made to the comparison of whether the throughput between VNFs is equal, the described technology for comparing the ingress throughput and the egress throughput between VNFs 406 can be a comparison based on a threshold. For example, the throughput guarantee agent 401 may identify the first VNF ​​406-1 as an anomaly if the throughput at the egress point 414 falls outside a threshold compared to the throughput at the ingress point 412. As described herein, the applicable threshold may be user-defined (e.g., a user-defined range).

[0092] In various embodiments, the expected data throughput of the service chain may be higher than the actual traffic throughput at the input point 408 (corresponding to the ingress throughput of the virtual service chain). Specifically, the ingress throughput of the service chain at the first VNF ​​406 may be lower than the expected throughput of the virtual service chain. Furthermore, the throughput guarantee agent 401 may provide a throughput guarantee based on the ingress throughput of the virtual service chain being lower than the expected throughput. Specifically, if the ingress throughput of the virtual service chain is lower than the expected throughput, the corresponding throughput (e.g., ingress throughput and egress throughput) at each VNF may be lower than the expected throughput of the virtual service chain. As a result, even if the throughput of one or more VNFs 406 drops below the threshold of the expected throughput of the virtual service chain, the throughput guarantee agent may avoid marking the VNF 406 as abnormal.

[0093] Conversely, the expected data throughput of the service chain may be lower than the actual traffic throughput at the input point 408 (corresponding to the ingress throughput of the virtual service chain). Specifically, the ingress throughput of the service chain at the first VNF ​​406 may be higher than the expected data throughput of the virtual service chain. Furthermore, the throughput guarantee agent 401 may provide a throughput guarantee based on the ingress throughput being higher than the expected throughput of the virtual service chain. Specifically, if the ingress throughput is higher than the expected throughput of the virtual service chain, the corresponding throughput may ensure that the throughput at each VNF 406 does not drop below the threshold range of the expected throughput of the virtual service chain.

[0094] In addition, if the incoming throughput of the virtual service chain is lower or higher than the expected throughput, the throughput guarantee agent 401 can be configured to automatically analyze the inline statistics of each VNF 406 and the corresponding points 412, 414, 416, 418, 420, and 422. Specifically, the throughput guarantee agent 401 can compare the ingress traffic throughput and the egress traffic throughput of each VNF 406 by VNF to identify any potential drop in throughput across the VNF 406 in response to the input throughput being lower or higher than the expected throughput. Then, if a drop in throughput is observed across the VNF, the throughput guarantee agent 401 can mark the VNF as abnormal. For example, if the incoming throughput is higher than the expected throughput, the throughput guarantee agent 401 can analyze the inline statistics of each VNF 406 to ensure that the throughput across each VNF 406 does not drop below the expected throughput or the threshold range of the expected throughput of the virtual service chain.

[0095] When providing throughput guarantees based on identified drops in traffic throughput in a service chain, the throughput guarantee agent 401 can determine traffic drop points in the service chain. Specifically, the throughput guarantee agent 401 can collect statistics for virtual links in the service chain. Virtual links can include: links between a consumer's incoming traffic and the first VNF ​​of the service chain, links between consecutive VNFs (e.g., corresponding to adjacent VNFs in the service chain), and / or links between the last VNF ​​of the service chain and outgoing traffic to the service provider. Specifically, the throughput guarantee agent 401 can collect ingress traffic statistics and egress traffic statistics for each VNF (included as part of the generated inline statistics) to determine traffic anomaly points.

[0096] The identified traffic anomaly points can then be used to infer the exact cause of the failure. Example causes of failure in a service chain include: suboptimal placement algorithms, network I / O bottlenecks, CPU analysis, user misconfiguration, and memory corruption. Specifically, if the throughput guarantee agent 401 detects one or more anomalies (e.g., if traffic across VNFs in a service chain drops), the throughput guarantee agent 401 can feed back the anomaly information to the inference agent (e.g., included as part of the throughput guarantee agent 401). The inference agent can then run inferences based on the environment 400. For example, the inference agent can make inferences based on VNF placement, VNF licensing, CPU pinning, or NUMA node balancing (e.g., as indicated by user-provided information). The inferences made by the inference agent can include appropriate inferences related to providing throughput guarantees. For example, inferences can include: the VNF is incorrectly configured in the environment 400.

[0097] Next, the inference agent can infer the possible reasons for the abnormal network throughput to the user. For example, possible reasons may include CPU usage, firewall, and traffic drop in the service chain.

[0098] In some examples, the inference output from the inference agent will be used to alert the user. The user alert can include the inference, as well as specific throughput information for each node in the service chain collected by the statistics agent.

[0099] In some examples, the output from the inference agent can be used to trigger an auto-correction feature to mitigate anomalies in the service chain. The auto-correction feature can be implemented as a policy, where each type of anomaly triggers a specific mitigation action to be taken on the service chain.

[0100] Figure 5 The structure of a computing system 500 is illustrated, wherein the components of the system 500 communicate with each other electrically using a connection 505 (e.g., a bus). The example system 500 includes a processing unit (CPU or processor) 510 and a system connection 505 that can couple various system components (e.g., read-only memory (ROM) 520 and random access memory (RAM) 525) including a system memory 515 to the processor 510. The system 500 can include a cache 512 of high-speed memory that is directly connected to, adjacent to, or integrated as part of the processor 510. The system 500 can copy data from the memory 515 and / or storage device 530 to the cache 512 for quick access by the processor 510. In this way, the cache 512 can provide a performance boost that avoids delays in the processor 510 while waiting for data. These and other modules can control or be configured to control the processor 510 to perform various actions. Other system memories 515 can also be used. The memory 515 can include a variety of different types of memory with different performance characteristics. The processor 510 may include any general purpose processor and hardware or software modules (e.g., module 1 532, module 2 534, and module 3 536 stored in the storage device 530) configured to control the processor 510, as well as a dedicated processor in which software instructions are incorporated into the actual processor design. The processor 510 may be a fully self-contained computing system, including multiple cores or processors, buses, memory controllers, caches, etc. Multi-core processors may be symmetric or asymmetric.

[0101] To enable a user to interact with the computing system 500, the input device 545 can represent any number of input mechanisms (e.g., a microphone for voice, a touch-sensitive screen for gesture or graphic input, a keyboard, a mouse, motion input, and voice, etc.). The output device 535 can also be one or more of several output mechanisms known to those skilled in the art. In some cases, a multimodal system can enable a user to provide multiple types of input to communicate with the computing system 500. The communication interface 540 can generally govern and manage user input and system output. There is no limitation on the operation of any particular hardware arrangement, so the basic features here can be easily replaced with improved hardware or firmware arrangements as they are developed.

[0102] The storage device 530 is a non-volatile memory and may be a hard disk or other type of computer-readable medium that can store computer-accessible data (e.g., magnetic tape, flash memory card, solid-state storage device, digital versatile disk, cassette, random access memory (RAM) 525, read-only memory (ROM) 520, and combinations thereof).

[0103] Storage device 530 may include modules 532, 534, 536 for controlling processor 510. Other hardware or software modules are also contemplated. Storage device 530 may be connected to system connection 505. In one aspect, a hardware module that performs a particular function may include a software component stored in a computer-readable medium associated with the necessary hardware components (e.g., processor 510, connection 505, output device 535, etc.) to perform the function.

[0104] Figure 6 An example network device 600 suitable for implementing switching, routing, load balancing and other networking operations is shown. The network device 600 includes a central processing unit (CPU) 604, an interface 602 and a bus 610 (e.g., a PCI bus). When operating under the control of appropriate software or firmware, the CPU 604 is responsible for performing data packet management, error detection and / or routing functions. The CPU 604 preferably implements all these functions under the control of the following software: the software includes an operating system and any appropriate application software. The CPU 604 may include one or more processors 608 (e.g., a processor from an INTEL X86 series microprocessor). In some cases, the processor 608 may be a specially designed hardware for controlling the operation of the network device 600. In some cases, a memory 606 (e.g., a non-volatile RAM, ROM, etc.) also forms a part of the CPU 604. However, there are a variety of different ways in which the memory can be coupled to the system.

[0105] Interface 602 is usually provided as a modular interface card (sometimes referred to as a "line card"). Typically, the interface controls the sending and receiving of data packets through the network, and in some cases supports other peripheral devices used with network device 600. Interfaces that can be provided include Ethernet interfaces, frame relay interfaces, cable interfaces, DSL interfaces, token ring interfaces, etc. In addition, various ultra-high-speed interfaces can be provided, such as fast token ring interfaces, wireless interfaces, Ethernet interfaces, Gigabit Ethernet interfaces, ATM interfaces, HSSI interfaces, POS interfaces, FDDI interfaces, WiFi interfaces, 3G / 4G / 5G cellular interfaces, CAN BUS, LoRA, etc. Typically, these interfaces can include ports suitable for communicating with appropriate media. In some cases, the interface can also include an independent processor, and in some cases, also includes volatile RAM. Independent processors can control communication-intensive tasks, such as packet switching, media control, signal processing, cryptographic processing and management. These interfaces allow the main CPU 604 to effectively perform routing calculations, network diagnostics, security functions, etc. by providing a separate processor for communication-intensive tasks.

[0106] Although Figure 6 The system shown is a specific network device of the present technology, but it is by no means the only network device structure that can implement the present technology. For example, the following structure is often used: the structure has a single processor that handles communication and routing calculations, etc. In addition, other types of interfaces and media can also be used with network device 600.

[0107] Regardless of the configuration of the network device, the network device can employ one or more of the following memories or memory modules (including memory 606): The memory or memory module is configured to store program instructions for general network operations and mechanisms for roaming, route optimization, and routing functions described herein. For example, program instructions can control the operation of an operating system and / or one or more applications. One or more memories can also be configured to store tables, such as mobility binding, registration, and association tables. Memory 606 can also store various software containers and virtualized execution environments and data.

[0108] The network device 600 may also include an application specific integrated circuit (ASIC), which may be configured to perform routing and / or switching operations. The ASIC may communicate with other components in the network device 600 via the bus 610 to exchange data and signals and coordinate various types of operations of the network device 600, such as routing, switching, and / or data storage operations.

[0109] In summary, systems, methods, and computer-readable media for providing throughput guarantees in a virtual service chain are described. A virtual service chain formed by multiple spliced ​​virtualized network functions running on multiple virtual nodes can be monitored. An inline statistics agent can generate inline statistics for the operation of the virtual service chain. In addition, the actual throughput of the virtual service chain can be identified from the inline statistics. Next, a throughput guarantee can be provided for the virtual service chain by comparing the actual throughput of the virtual service chain with the expected throughput of the virtual service chain.

[0110] For clarity of explanation, in some instances, the technology may be presented as including separate functional blocks including devices, device components, steps or routines in a method embodied in software, or a combination of hardware and software.

[0111] In some embodiments, computer-readable storage devices, media, and memories may include cables or wireless signals containing bit streams, etc. However, when referred to, non-transitory computer-readable storage media explicitly excludes media such as energy, carrier signals, electromagnetic waves, and signals themselves.

[0112] The method according to the above example can be implemented using computer executable instructions, which are stored or otherwise obtained from a computer readable medium. These instructions may include, for example, instructions and data, which enable or otherwise configure a general-purpose computer, a special-purpose computer or a special-purpose processing device to perform a specific function or function group. The computer resources used in part can be accessed through a network. Computer executable instructions can be, for example, binary, intermediate format instructions (e.g., assembly language, firmware or source code). Examples of computer readable media that can be used to store instructions, information used and / or information created during the method according to the described example include disks or optical disks, flash memory, USB devices provided with non-volatile memory, network storage devices, etc.

[0113] Devices implementing methods according to these disclosures may include hardware, firmware, and / or software, and may take any of a variety of form factors. Typical examples of such form factors include laptops, smart phones, small personal computers, personal digital assistants, rack-mounted devices, stand-alone devices, etc. The functions described herein may also be embodied in peripheral devices or add-on cards. As a further example, such functions may also be implemented on circuit boards between different chips or different processes executed in a single device.

[0114] Instructions, media for transmitting these instructions, computing resources for executing these instructions, and other structures for supporting these computing resources are the means for providing the functions described in these disclosures.

[0115] Although various examples and other information are used to explain aspects within the scope of the appended claims, no limitation to the claims should be implied based on the specific features or arrangements in such examples, as a person of ordinary skill will be able to use these examples to derive various embodiments. In addition, although some subject matter may have been described in language specific to structural features and / or method step examples, it should be understood that the subject matter defined in the appended claims is not necessarily limited to these described features or actions. For example, such functions may be distributed differently or performed in components other than those identified herein. Instead, the described features and steps are disclosed as examples of components and methods of systems within the scope of the appended claims.

[0116] Claim language that states "at least one" refers to at least one of a set or indicates that one member of the set or multiple members of the set satisfy the claim. For example, claim language that states "at least one of A and B" means "A", "B", or "A and B".

Claims

1. A method for providing throughput guarantees in a virtual service chain, include: monitoring a virtual service chain formed by a plurality of stitched virtualized network functions running on a plurality of virtual nodes; generating, by an inline statistics agent, inline statistics of operations of the virtual service chain; identifying an actual throughput of the virtual service chain from the inline statistics; By comparing the actual throughput of the virtual service chain with the expected throughput of the virtual service chain, one or more virtualized network functions that behave abnormally in the virtual service chain are identified to provide throughput guarantee for the virtual service chain.

2. The method according to claim 1, in, The inline statistics agent is implemented in a hypervisor layer beneath the plurality of virtual nodes.

3. The method according to claim 2, in, The virtualized network functions are stitched together at least in part by the hypervisor layer, and data passed between the virtualized network functions is monitored by the inline statistics agent in the hypervisor layer to generate the inline statistics for the virtual service chain.

4. The method according to any one of claims 1 to 3, further comprising: include: As part of generating the inline statistics for the virtual service chain, data passed between the virtualized network functions is analyzed on a virtual node basis for the plurality of virtual nodes to generate inline statistics for each of the virtualized network functions in the virtual service chain.

5. The method according to claim 4, in, The inline statistics for each of the virtualized network functions are generated by comparing an ingress data throughput at each of the virtualized network functions with a corresponding egress data throughput at each of the virtualized network functions.

6. The method according to claim 4, further comprising: include: comparing the inline statistics of each of the virtualized network functions in the virtual service chain with the inline statistics of one or more neighboring virtualized network functions; and The throughput guarantee is provided for the virtual service chain based on a comparison of the inline statistics of each of the virtualized network functions in the virtual service chain with the inline statistics of the one or more neighboring virtualized network functions.

7. The method according to claim 6, in, Adjacent virtualized network functions share a virtual link point in the virtual service chain to allow the data to be directly transferred between the adjacent virtualized network functions as the data traverses the virtual service chain.

8. The method according to any one of claims 5 to 7, further comprising: include: comparing a respective egress data throughput at each of the virtualized network functions included as part of the inline statistics for each of the virtualized network functions to the expected throughput of the virtual service chain; and The throughput guarantee is provided for the virtual service chain based on a comparison of a corresponding egress data throughput at each of the virtualized network functions with the expected throughput of the virtual service chain.

9. The method according to claim 8, further comprising: include: Based on a comparison of the egress data throughput at the virtualized network function and the expected throughput of the virtual service chain, determining that the virtualized network function in the virtual service chain behaves as an anomaly in the virtual service chain; and As part of providing the throughput guarantee for the virtual service chain, the virtualized network function is reported as the anomaly.

10. The method according to claim 9, in, In response to the egress data throughput at the virtualized network function being lower than the expected throughput of the virtual service chain, the virtualized network function is identified as the anomaly.

11. The method according to claim 4, further comprising: include: comparing an ingress throughput of a first virtualized network function of the virtual service chain with the expected throughput; and Based on a comparison of the incoming throughput and the expected throughput, the throughput guarantee is provided for the virtual service chain.

12. The method according to claim 11, further comprising: include: If the ingress throughput is less than the expected throughput, the data passed between the virtualized network functions is analyzed per virtual node.

13. The method according to any one of claims 1 to 3, in, The virtual service chain is formed between a consumer and a provider, and the throughput guarantee of the virtual service chain is provided in one or both of the following directions: a direction from the consumer to the provider, and a direction from the provider to the consumer.

14. The method according to any one of claims 1 to 3, in, The infrastructure provider of the multiple virtual nodes is different from the network service provider of the virtual service chain.

15. A system for providing throughput guarantees in a virtual service chain, include: one or more processors; as well as At least one computer-readable storage medium having instructions stored therein, which, when executed by the one or more processors, cause the one or more processors to perform operations comprising: monitoring a virtual service chain formed by a plurality of stitched virtualized network functions running on a plurality of virtual nodes; generating inline statistics of the operation of the virtual service chain by an inline statistics agent, wherein the inline statistics are implemented in a hypervisor layer under the plurality of virtual nodes; identifying an actual throughput of the virtual service chain from the inline statistics; and By comparing the actual throughput of the virtual service chain with the expected throughput of the virtual service chain, one or more virtualized network functions that behave abnormally in the virtual service chain are identified to provide throughput guarantee for the virtual service chain.

16. The system of claim 15, wherein the instructions, when executed by the one or more processors, further cause the one or more processors to perform operations, the operations include: As part of generating the inline statistics for the virtual service chain, data passed between the virtualized network functions is analyzed on a virtual node basis for the plurality of virtual nodes to generate inline statistics for each of the virtualized network functions in the virtual service chain.

17. The system of claim 16, wherein the instructions, when executed by the one or more processors, further cause the one or more processors to perform operations, the operations include: comparing the inline statistics of each of the virtualized network functions in the virtual service chain with the inline statistics of one or more neighboring virtualized network functions; and The throughput guarantee is provided for the virtual service chain based on a comparison of the inline statistics of each of the virtualized network functions in the virtual service chain with the inline statistics of the one or more neighboring virtualized network functions.

18. The system of claim 16 or 17, wherein the instructions, when executed by the one or more processors, further cause the one or more processors to perform operations, the operations include: comparing a respective egress data throughput at each of the virtualized network functions included as part of the inline statistics for each of the virtualized network functions to the expected throughput of the virtual service chain; and The throughput guarantee is provided for the virtual service chain based on a comparison of a corresponding egress data throughput at each of the virtualized network functions with the expected throughput of the virtual service chain.

19. The system of claim 18, wherein the instructions, when executed by the one or more processors, further cause the one or more processors to perform operations, the operations include: Based on a comparison of the egress data throughput at the virtualized network function and the expected throughput of the virtual service chain, determining that the virtualized network function in the virtual service chain behaves as an anomaly in the virtual service chain; and As part of providing the throughput guarantee for the virtual service chain, the virtualized network function is reported as the anomaly.

20. A non-transitory computer-readable storage medium having stored therein instructions, which, when executed by a processor, cause the processor to perform operations, the operations include: monitoring a virtual service chain formed by a plurality of stitched virtualized network functions running on a plurality of virtual nodes; generating, by an inline statistics agent, inline statistics of the operation of the virtual service chain, wherein the virtualized network functions are stitched together at least in part by a hypervisor layer, and data passed between the virtualized network functions is monitored by the inline statistics agent in the hypervisor layer to generate the inline statistics for the virtual service chain; identifying an actual throughput of the virtual service chain from the inline statistics; and By comparing the actual throughput of the virtual service chain with the expected throughput of the virtual service chain, one or more virtualized network functions that behave abnormally in the virtual service chain are identified to provide throughput guarantee for the virtual service chain.

21. An apparatus for providing throughput guarantee in a virtual service chain, comprising means for implementing the method according to any one of claims 1 to 14.