Dynamic intent assurance method and device in computer network and storage medium

By using resource selection criteria in the network management system to automatically identify and select resources that support network services, the problem of resource selection when dynamically managing network intentions is solved, and the stability of network services and service level guarantees are achieved.

CN115250223BActive Publication Date: 2024-09-17HEWLETT PACKARD ENTERPRISE DEV LP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210901501.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-09-07
Filing Date
2019-06-21
Publication Date
2024-09-17
Estimated Expiration
2039-06-21

AI Technical Summary

Technical Problem

When existing network management systems dynamically manage network intentions, it is difficult to automatically identify and select resources that meet service level requirements, resulting in intention degradation or service interruption.

Method used

By introducing resource selection criteria into the network management system, resources that support network services are automatically identified and selected, and high-level configuration data is converted into low-level configuration data based on these standards to ensure the continuity and service level of network services.

Benefits of technology

It realizes dynamic management of network intentions and automatic resource selection, ensuring the stability and service level of network services and avoiding manual intervention and intention degradation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115250223B_ABST
    Figure CN115250223B_ABST
Patent Text Reader

Abstract

A dynamic intent assurance method and apparatus in a computer network and a storage medium are provided. An apparatus including a processor, a memory and an interface can perform these techniques. The processor can obtain a policy including high-level configuration data defining a service to be deployed within a network, the high-level configuration data including resource selection criteria identifying one or more criteria for selecting a resource supporting the service from a plurality of potential resources. The processor can also determine a resource supporting the service from the plurality of potential resources based on the resource selection criteria, and convert the high-level configuration data into low-level configuration data specific to the determined resource. The memory can store low-level configuration data specific to the determined resource. When providing a service, the interface can enable the configuration of the determined resource using the low-level configuration data specific to the determined resource.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of the Chinese application with the application date of June 21, 2019, application number 201910545102.4, and invention name “Dynamic Intent Assurance Method and Device and Storage Medium in Computer Networks”, all contents of which are incorporated herein by reference. Technical Field

[0002] The present disclosure relates to computer networks, and more particularly, to management of network devices. Background Art

[0003] The network device may include mechanisms for configuring the device locally or remotely, such as a management interface. By interacting with the management interface, the client may perform configuration tasks and execute operational commands to collect and view operational data of the managed device. For example, the client may configure the interface card of the device, adjust parameters of supported network protocols, specify physical components within the device, modify routing information maintained by a router, access software modules and other resources resident on the device, and perform other configuration tasks. In addition, the client may allow the user to view current operating parameters, system logs, information related to network connections, network activity or other status information from the device, and view and react to event information received from the device.

[0004] Network configuration services can be performed by multiple different devices, such as a router with a service card and / or a dedicated service device. Such services include connection services, such as, for example, a layer 3 virtual private network (L3VPN), a virtual private LAN service (VPLS), and a peer-to-peer (P2P) service. Other services include network configuration services, such as, for example, a Dot1q virtual LAN (VLAN) service. In order to configure a device to perform a service, a user (e.g., an administrator) can write a conversion program that converts high-level configuration instructions (e.g., instructions according to a network service model) into low-level configuration instructions (e.g., instructions according to a device configuration model). As part of configuration service support, a user / administrator can supply a service model and a mapping between a service model and a device configuration model.

[0005] In order to simplify the mapping definition for the user, the network management system (NMS) device can be designed to provide the ability to define mappings in a simple manner. For example, some NMS devices provide the use of speed templates and / or extensible style sheet language transformation (XSLT). Such a converter contains the conversion or mapping logic from the high-level service model to the low-level device configuration model. Typically, a small amount of changes in the high-level service model will affect a large amount of properties in the device configuration. Different converters may be used when creating, updating, and deleting services from the high-level service model.

[0006] One or more policies may specify a high-level service model as an intent. For example, a policy may identify a Layer 2 peer-to-peer (L2P2P) service between two endpoints as an intent. The administrator may then specify which available network devices in the computer network support the policy-defined L2P2P service. The NMS may then provide the L2P2P service within the computer network via the specified network devices. Summary of the invention

[0007] In general, the present disclosure describes techniques for dynamically (e.g., automatically) provisioning and managing intents set forth by policies for managing a computer network. When processing intents, these techniques can enable a network management system (NMS) or other device provisioning system to obtain resource selection criteria (also referred to as "filters") defined using an extensible command set. The NMS can use the resource selection criteria to automatically identify one or more resources to be configured to support a network server.

[0008] The NMS may maintain a resource database and provide an interface through which to collect and update various resources and the current status of each resource. Resources may refer to devices, interfaces, ports, port units, etc. Various resources may report their current status to the NMS (and / or the NMS may poll the resources to obtain the current status), wherein the NMS may update the database to maintain the current status of each resource. The NMS may select resources based on resource selection criteria and provide network services through the selected resources, thereby automatically providing intent.

[0009] The NMS may obtain an updated status of the resource, compare the updated status of the resource to the resource selection criteria to determine whether the intent has been degraded. When the resource no longer meets the resource selection criteria, the NMS may downgrade the intent and identify another resource (which may be referred to as a replacement resource) to replace the insufficient resource. The NMS may then use the replacement resource to provision the service, thereby providing an intent guarantee, which may mean maintaining or otherwise managing the intent to ensure an appropriate service level for the network service.

[0010] In one example, various aspects of the technology relate to a method, comprising: obtaining, by a management device, a policy including high-level configuration data defining a service to be deployed within a network, the high-level configuration data including resource selection criteria identifying one or more criteria for selecting a resource to support the service from a plurality of potential resources; determining, by the management device, a resource to support the service from the plurality of potential resources based on the resource selection criteria; converting, by the management device, the high-level configuration data into low-level configuration data specific to the determined resource; and configuring, by the management device, the determined resource when providing the service in the network using the low-level configuration data specific to the determined resource.

[0011] In another example, various aspects of the technology relate to an apparatus comprising: one or more processors configured to: obtain a policy comprising high-level configuration data defining a service to be deployed within a network, the high-level configuration data comprising resource selection criteria identifying one or more criteria for selecting a resource to support the service from a plurality of potential resources; determine a resource to support the service from the plurality of potential resources based on the resource selection criteria; convert the high-level configuration data into low-level configuration data specific to the determined resource; a memory configured to store the low-level configuration data specific to the determined resource; and an interface, through which the determined resource is configured using the low-level configuration data specific to the determined resource when providing the service in the network.

[0012] In another example, various aspects of the technology relate to a non-transitory computer-readable storage medium having instructions stored thereon, which, when executed, cause one or more processors of a management device to: obtain a policy that includes high-level configuration data defining a service to be deployed within a network, the high-level configuration data including resource selection criteria that identify one or more criteria for selecting a resource to support the service from a plurality of potential resources; determine a resource to support the service from the plurality of potential resources based on the resource selection criteria; convert the high-level configuration data into low-level configuration data specific to the determined resource; and when provisioning the service in the network, configure the determined resource using the low-level configuration data specific to the determined resource.

[0013] The details of one or more examples of the technology of the present disclosure are set forth in the accompanying drawings and the following description. Other features, objectives, and advantages of these technologies will be apparent from the description and the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 is a block diagram illustrating an example network including elements of an enterprise network managed using a management device in accordance with various aspects of the techniques described in this disclosure;

[0015] Figure 2 It is shown for Figure 1 A block diagram of a set of example components of a management device;

[0016] Figure 3 is shown in more detail Figure 2 A block diagram of the management module shown;

[0017] Figure 4 is a flow chart illustrating resource allocation according to various aspects of the techniques described in this disclosure;

[0018] Figure 5 It is shown Figures 1 to 3A flowchart of example operations of a management system in performing various aspects of the automatic intent provisioning techniques described in this disclosure is shown.

[0019] Like reference numerals refer to like elements throughout the drawings and the description. DETAILED DESCRIPTION

[0020] Figure 1 1 is a block diagram showing an example of elements of an enterprise network 2 managed using a management device 10. The managed elements 14A-14G (collectively referred to as "elements 14") of the enterprise network 2 include network devices interconnected via communication links to form a communication topology to exchange resources and information. The elements 14 (also commonly referred to as network devices or remote network devices) may include, for example, routers, switches, gateways, bridges, hubs, servers, firewalls or other intrusion detection systems (IDS) or intrusion detection and prevention (IDP) systems, computing devices, computing terminals, printers, other network devices, or combinations of these devices. Although described in this disclosure as transmitting, conveying, or otherwise supporting data packets, the enterprise network 2 may transmit data according to any other discrete data unit defined by any other protocol, such as a unit defined by an asynchronous transfer mode (ATM) protocol or a datagram defined by a user datagram protocol (UDP). The communication links interconnecting the elements 14 may be physical links (e.g., optical links, copper links, etc.), wireless links, or any combination thereof.

[0021] Enterprise network 2 is shown coupled to public network 18 (e.g., the Internet) via a communication link. Public network 18 may include, for example, one or more client computing devices. Public network 18 may provide access to web servers, application servers, public databases, media servers, end-user devices, and other types of network resource devices and content.

[0022] Management device 10 is communicatively coupled to element 14 via enterprise network 2. In some examples, management device 10 forms part of a device management system, although for purposes of example, management device 10 is not intended to be used in a device management system. Figure 1Only one device of the device management system is shown. The management device 10 may be coupled directly or indirectly to the various elements 14. Once the elements 14 are deployed and activated, the administrator 12 uses the management device 10 to manage the network devices using a device management protocol. One example device protocol is the Simple Network Management Protocol (SNMP), which allows the management device 10 to traverse and modify the Management Information Base (MIB) that stores configuration data within each managed element 14. More details of the SNMP protocol can be found in RFC 3411, "An Architecture for Describing Simple Network Management Protocol (SNMP) Management Frameworks," by Harrington et al., Network Working Group, Internet Engineering Task Force Draft, December 2002, available at http: / / tools.ietf.org / html / rfc3411, the entire contents of which are incorporated herein by reference.

[0023] In some cases, the management device 10 (also referred to as a network management system (NMS) 10 or NMS device 10) and the elements 14 are centrally maintained by the IT group of the enterprise. The administrator 12 interacts with the management device 10 to remotely monitor and configure the elements 14. For example, the administrator 12 can receive an alert about any element 14 from the management device 10, view the configuration data of the element 14, modify the configuration data of the element 14, add a new network device to the enterprise network 2, remove an existing network device from the enterprise network 2, or otherwise manipulate the enterprise network 2 and the network devices therein. Although described with respect to an enterprise network for the purpose of example, the technology of the present disclosure can be applied to other types of public and private networks, including LANs, VLANs, VPNs, etc.

[0024] In some examples, administrator 12 interacts directly with element 14 using management device 10 or a local workstation, e.g., via remote login, secure shell (SSH), or other such communications session. That is, element 14 typically provides an interface for direct interaction, such as a command line interface (CLI), a network-based interface, a graphical user interface (GUI), etc., through which a user can interact with the device to directly issue text-based commands. For example, these interfaces typically allow a user to interact directly with the device, e.g., via remote login, SSH, hypertext transfer protocol (HTTP), or other network session, to enter text according to a defined syntax to submit commands to the managed element. In some examples, a user uses management device 10 to initiate a session with an element 14 (i.e., Figure 1 14F in the example) to directly configure the element 14F. In this way, the user can provide commands in a format that directly executes the element 14.

[0025] In addition, the administrator 12 may also create scripts that may be submitted by the management device 10 to any or all of the elements 14. For example, in addition to the CLI interface, the element 14 may also provide a scripting interface for receiving commands specified in a scripting language. In a sense, the script may be output by the management device 10 to automatically invoke a corresponding remote procedure call (RPC) on the managed element 14. The script may conform to, for example, the Extensible Markup Language (XML) or another data description language.

[0026] The administrator 12 uses the management device 10 to configure the element 14 to specify certain operational characteristics that promote the goals of the administrator 12. For example, the administrator 12 can specify a specific operational policy for an element 14 regarding security, device accessibility, traffic engineering, quality of service (QoS), network address translation (NAT), packet filtering, packet forwarding, rate limiting, or other policies. The management device 10 performs the configuration using one or more network management protocols designed to manage configuration data within the managed network element 14, such as the SNMP protocol or the Network Configuration Protocol (NETCONF) protocol or its derivatives, such as the Juniper Device Management Interface. In general, NETCONF provides a mechanism for configuring network devices and uses an extensible markup language (XML)-based data encoding for configuration data, which may include policy data. NETCONF is described in "NETCONF Configuration Protocol" by Enns, Network Working Group, RFC 4741, December 2006, available at tools.ietf.org / html / rfc4741. The management device 10 can establish a NETCONF session with one or more elements 14.

[0027] The management device 10 may be configured to compare the new set of high-level configuration data with the existing (or old) set of high-level configuration data, and apply the transformation function to the differences between the new set of high-level configuration data and the old set of high-level configuration data. Specifically, the management device 10 determines whether the new set of configuration data includes any additional configuration parameters relative to the old set of high-level configuration data, and whether the new set of configuration data omits any configuration parameters included in the old set of high-level configuration data.

[0028] In other words, the number of types of managed devices (eg, types of components 14) is represented by N, the variable y represents low-level, device-specific configuration data, and the variable x represents high-level configuration data. The management device 10 includes N conversion functions f 1 (), f 2 (),…f N(). These functions are configured to accept high-level configuration data (which may be represented as structured input parameters, e.g., according to YANG), as described in Bjorklund, "YANG—A Data Modeling Language for the Network Configuration Protocol (NETCONF)", Internet Engineering Task Force, RFC 6020, October 2010, available at tools.ietf.org / html / rfc6020. These functions are also configured to output a corresponding set of low-level device configuration data changes, e.g., additions and removals of device configurations. That is, y 1 =f 1 (x), y 2 =f 2 (x), …y N =f N (x). Additional details regarding an example process for converting high-level configuration information (or, in other words, high-level configuration data) into low-level device configuration information (or, in other words, low-level configuration data) can be found, for example, in U.S. patent application Ser. No. 15 / 198,657, filed on Jun. 30, 2016 by Jiang et al., “TRANSLATING HIGH-LEVEL CONFIGURATION INSTRUCTIONS TO LOW-LEVEL DEVICE CONFIGURATION,” the entire contents of which are incorporated herein by reference.

[0029] Management device 10 may be used in the context of software defined networking (SDN), where management device 10 may coordinate service deployment or provisioning within managed elements 14. Administrator 12 may define one or more policies that may specify a high-level service model to generally identify the intent of a network service.

[0030] For example, a policy may include an intent to identify a second layer peer-to-peer (L2P2P) service and specify the service as an "L2P2P service between endpoints." In other words, a policy may identify an L2PSP service and an intent as an "L2P2P service between endpoints." The management device 10 may compile the intent and identify endpoints based on the intent, thereby specifying how the L2P2P service will be deployed. The administrator 12 may then specify which available network devices (e.g., elements 14) within the computer network 2 will support the L2P2P service defined by the policy (e.g., by defining various criteria for selecting which available network devices to support the L2P2P service, as discussed in more detail below). The management device 10 may then convert the high-level service model into a low-level service model specific to the selected element 14, and deploy the low-level service model to provision the L2P2P service within the computer network 2 via the specified network devices 14.

[0031] According to various aspects of the techniques described in this disclosure, management device 10 can automatically provision and manage intents generated by policies for managing computer network 2. When processing intents, these techniques can enable management device 10 or other device provisioning systems to obtain resource selection criteria (also referred to as "filters") defined using an extensible command set. Management device 10 can use the resource selection criteria to automatically identify one or more resources that will be configured to support the network service identified by the intent.

[0032] The management device 10 can maintain a resource database and provide an interface through which various different resources and the current state of each resource are collected and updated. A resource can refer to a device (e.g., element 14) or some components of a device, such as an interface, a port, a processing unit of a port, etc. Various resources can report status data indicating the current state of the resource to the management device 10 (and / or the management device 10 can poll the resource to obtain the status data), wherein the management device 10 can update the database to store the status data to maintain the current state of each resource. The management device 10 can automatically (in some examples, meaning without human intervention) select resources based on applying resource selection criteria to the status data, and when supplying a network service identified by an intent in the network 2, configure the selected resources to automatically (in some examples, meaning without human intervention) supply the intent.

[0033] The management device 10 may obtain updated status data indicating an updated status of a resource, and compare the updated status data from the resource with the resource selection criteria to determine whether the intent has been downgraded. When the updated status data of a previously configured resource no longer satisfies the resource selection criteria, the management device 10 may downgrade the intent and identify another resource (which may be referred to as a replacement resource) to replace the insufficient resource. The management device 10 may identify a replacement resource by again applying the resource selection criteria to the updated status data. When re-provisioning services within the network 2, the management device 10 may then configure a replacement resource, thereby providing an intent guarantee, which may represent maintaining or otherwise managing the intent to ensure an appropriate service level for the intent.

[0034] In some examples, the management device 10 can use YANG modeling to define high-level configuration data based on intents and convert the high-level configuration data into low-level device configuration data specific to the selected resources. Modern systems can support intents that simplify network management, where intents can be declarative. To implement the intent, the management system 10 can select the best resources (in the context of resource selection criteria). The techniques set forth in this disclosure can define methods for extensibility / programmability of intent models and resource selection in intent compilation.

[0035] When the administrator 12 submits an intent in the form of a policy, the management system 10 can select resources in the intent compilation and generate low-level configuration data specific to the selected resources, thereby allowing resource selection criteria to be defined programmatically. The management device 10 can automatically register the selected resource state changes, thereby providing assurance / closed-loop control as described above. For example, when the intent is downgraded, the management system 10 can select the correct replacement resource and generate low-level configuration data specific to the replacement resource, thereby defining the intent assurance logic programmatically.

[0036] Figure 2 It is shown Figure 1 1 is a block diagram of an example set of components of a management device of FIG. In this example, the management device 10 includes a control unit 22, a network interface 34, and a user interface 36. The network interface 34 represents a device that can be communicatively coupled to the management device 10 to an external device (e.g., Figure 1 The network interface 34 may represent a wireless and / or wired interface, such as an Ethernet interface or a radio configured to communicate according to a wireless standard, such as one or more IEEE 802.11 wireless network protocols (e.g., 802.11a / b / g / n / ac or other such wireless protocols). In various examples, the management device 10 may include multiple network interfaces, although for purposes of example, only one network interface is shown.

[0037] The control unit 22 represents any combination of hardware, software and / or firmware for implementing the functions attributed to the control unit 22 and its component modules and elements. When the control unit 22 includes software or firmware, the control unit 22 also includes any necessary hardware for storing and executing the software or firmware, such as one or more processors or processing units. Typically, the processing unit may include one or more microprocessors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), or any other equivalent integrated or discrete logic circuits and any combination of these components. In addition, fixed and / or programmable logic circuits are typically used to implement the processing unit.

[0038] The user interface 36 represents one or more interfaces through which a user (e.g., administrator 12) ( Figure 1 ) to interact with the management device 10, for example, to provide input and receive output. For example, the user interface 36 may represent one or more of a monitor, a keyboard, a mouse, a touch screen, a touch pad, a trackpad, a speaker, a camera, a microphone, etc. Furthermore, although in this example the management device 10 includes a user interface, it should be understood that the administrator 12 need not interact directly with the management device 10, but may access the management device 10 remotely, for example, via the network interface 34.

[0039] In this example, the control unit 22 includes a user interface module 38, a network interface module 32, and a management module 24. The control unit 22 executes the user interface module 38 to receive input from the user interface 36 and / or provide output to the user interface 36. The control unit 22 also executes the network interface module 32 to send and receive data (e.g., data packets) via the network interface 34. The user interface module 38, the network interface module 32, and the management module 24 can again be implemented as corresponding hardware units, or in a combination of software (including firmware and / or middleware) and hardware (e.g., a processor).

[0040] The control unit 22 executes the management module 24 to manage various network devices, for example, Figure 1 14. Management includes, for example, based on information from a user (e.g., Figure 1 The management module 24 configures the network device according to the instructions received by the administrator 12, and provides the user with the ability to submit instructions for configuring the network device. In this example, the management module 24 also includes a configuration module 26 and a conversion module 28.

[0041] Management module 24 is configured to receive high-level configuration instructions or other high-level configuration data for a set of managed network devices from a user (e.g., administrator 12). Over time, the user may update the configuration instructions, for example, to add new intents, remove existing intents, or modify existing intents executed by the managed devices. The high-level configuration instructions may be constructed according to, for example, Yet Another Next Generation (YANG) data modeling language. In some examples, management module 24 also provides the user with the ability to submit a transformation function performed by transformation module 28 to convert the high-level configuration instructions into device-specific low-level configuration instructions or other low-level configuration data, as described below.

[0042] The management device 10 also includes a configuration database 40. The configuration database 40 generally includes information describing the managed network devices (e.g., elements 14). For example, the configuration database 40 may include information indicating a device identifier (e.g., a media access control (MAC) and / or an Internet Protocol (IP) address), a device type, a device vendor, a device class (e.g., a router, a switch, a bridge, a hub, etc.), etc. The configuration database 40 also stores current configuration information (e.g., high-level configuration information, or in some cases, high-level configuration and low-level configuration information) of the managed devices (e.g., elements 14).

[0043] The transformation module 28 determines which devices are to be managed using the configuration database 40. The transformation module 28 determines which transformation function 30 to perform on the high-level configuration instructions, e.g., which device will receive the low-level configuration instructions, based on the information of the configuration database 40. The transformation module 28 then performs each determined transformation function of the transformation functions 30, providing the high-level configuration instructions as input to the transformation function, and receiving the low-level configuration instructions.

[0044] Configuration module 26 may first determine an existing set of high-level configuration information for each service performed by the device whose configuration is to be updated, for example, by retrieving the existing set of high-level configuration information for each service from configuration database 40. Configuration module 26 may then compare the existing set of high-level configuration information with the newly received set of high-level configuration information and determine the differences between the existing and newly received sets of high-level configuration information. Configuration module 26 may then pass information indicating these differences to conversion module 28 for conversion into corresponding sets of low-level configuration information. Configuration module 26 also updates the existing high-level configuration information recorded in configuration database 40 based on the newly received set of high-level configuration information.

[0045] The conversion module 28 can generate two different types of conversion functions 30, referred to above as forward mappings and reverse mappings. Figure 2In the example of FIG. 5 , the forward mapping is represented as “FM 50” and the reverse mapping is represented as “RM 52”. The conversion module 28 may use a conversion script defined in a conversion language (for ease of explanation, in FIG. 5 ). Figure 2 ), RM 52 is automatically generated from the corresponding forwarding map 50, as described in more detail in the included U.S. patent application Ser. No. 15 / 198,657.

[0046] like Figure 2 As further shown in the example of , the management module 24 also includes a resource manager module 60 and an analysis module 62. The resource manager module 60 can represent a module configured to identify one or more resources based on resource selection criteria 59. That is, the configuration module 26 can receive a policy including high-level configuration data that identifies one or more intents (in some examples, the intent is declarative) that specify network services to be provisioned within the network 2. The configuration module 26 can provide the intent to the transformation module 28, which can compile the intent into low-level configuration data specific to a particular element 14. To compile the intent, the transformation module 28 can extract the resource selection criteria 59 from the high-level configuration data and provide the resource selection criteria 59 to the resource manager module 60.

[0047] Resource manager module 60 may maintain an inventory of available resources, which it updates through interaction with analysis module 62. Analysis module 62 may represent a module configured to interface with element 14 via network interface module 32 and network interface 34 in order to obtain telemetry data. Figure 2 As further shown in the example of FIG. 1 , the management device 10 may further include a telemetry database 70 that stores telemetry data obtained from the element 14. The resource manager module 62 may request the analysis module 62 to provide different types of telemetry data stored in the telemetry database 70. The telemetry data may include any data describing the state of the element 14, including the number of packets sent, the number of packets received, the role, the number of sessions, the waiting time, the number of packets dropped, the ability to support specific routing or other network protocols, etc.

[0048] Resource manager module 60 may request specific types of telemetry data (which represent the state of element 14 and may therefore also be referred to as “state data”) based on resource selection criteria 59. That is, as an example, when resource selection criteria 59 indicate that resources with less than 1000 BGP sessions are required to support the intent, resource manager module 62 may request a number of active BGP sessions for element 14. As another example, when resource selection criteria 59 indicate that minimum latency is required to support the intent, resource manager module 62 may request latency metrics for element 15.

[0049] The analysis module 62 may receive the request from the resource manager module 60 and access the telemetry database 70 to retrieve the requested telemetry data. The analysis module 62 may provide the requested telemetry data as telemetry data 63. The resource manager module 60 may then apply the resource selection criteria 59 to the telemetry data 63 to identify which resources will be used to support the intent (in other words, to declare which services will be provisioned). The resource manager module 60 may interface with the transformation module 28 to provide the identified resources. The transformation module 28 may then identify one or more forwarding mappings 50 associated with the identified resources and apply the identified one or more forwarding mappings 50 to the high-level configuration data to obtain low-level configuration data specific to the identified one or more resources.

[0050] The conversion module 28 may interface with the configuration module 26 to provide low-level configuration data and an indication of which element 14 the low-level configuration data is to be applied to. The configuration module 26 may then interface with the identified element 14 to configure the determined resource using the low-level configuration data specific to the determined resource when provisioning services in the network 2.

[0051] The analysis module 62 may periodically poll (or otherwise obtain) updated status data in the form of updated telemetry data, which the analysis module 62 may store in the telemetry database 70. In response to receiving the updated telemetry data, the analysis module 62 may interface with the resource manager module 60 to indicate that the updated telemetry data has been obtained. In some examples, the telemetry database 70 may include functionality that enables the resource manager module 60 to subscribe to specific telemetry data, thereby enabling the resource manager module 60 to automatically receive an indication when the subscribed telemetry data has been updated. In addition, although described in terms of periodic polling, the analysis module 62 may obtain updated telemetry data in other ways, such as through a push model, wherein the element 14 is configured to provide updated telemetry data in response to any change or any change exceeding a threshold amount of change, etc.

[0052] Regardless, the resource manager module 60 may determine whether the determined resource will continue to support the service based on the updated state data 63 identifying the updated state (or in other words, the state) and the resource selection criteria 59. In response to determining that the determined resource will continue to support the service, the resource manager module 60 may avoid adjusting or re-adjusting the provisioned service. The resource manager module 60 may determine a replacement resource that supports the service in response to determining that the determined resource no longer continues to support the service and based on the resource selection criteria 59 and the updated state data 63. The resource manager module 60 may interface with the conversion module 28 to initiate conversion of the high-level configuration data to low-level configuration data specific to the determined replacement resource. The conversion module 28 may provide the low-level configuration data specific to the determined replacement resource to the configuration module 26, and the configuration module 26 may interface with the determined replacement resource to configure the determined replacement resource using the low-level configuration data specific to the determined replacement resource when re-provisioning the service in the network 2.

[0053] Figure 3 is shown in more detail Figure 2 The block diagram of the management module is shown in FIG. Figure 3 As shown in the example of FIG. 1 , the configuration module 26 includes an intent layer module 100 and an element configuration module (“element configuration module”) 102. The intent layer module 100 can manage the intent specified in one or more policies. Figure 3 1, but the intent layer module 100 can store intents in an intent database or other data structure. The intent layer module 100 can manage the process of converting intents from high-level configuration data 101 to low-level configuration data 105. The component configuration module 102 can represent a module configured to configure the component 14 using the low-level configuration data 105 specific to a particular component 14.

[0054] like Figure 3 As further shown in the example of , the transformation module 28 may include an intent compiler module 104, which may represent a unit configured to transform the high-level configuration data 101 (representing one or more intents) into the low-level configuration data 105. During the transformation of the high-level configuration data 101 into the low-level configuration data 105, the intent compiler module 104 may identify the resource selection criteria 59 (which may be specified as a resource matching filter in the forwarding map 50). In other words, the administrator 12 may define the resource selection criteria 59 in the transformation logic (e.g., the forwarding map 50), and the intent compiler module 104 may parse the criteria from the forwarding map 50.

[0055] like Figure 3As further shown in the example of , the resource manager module 60 includes a resource selection module 106 and an inventory manager module 108. The resource selection module 106 may represent a module configured to select one or more resources 107 based on the resource selection criteria 59. The intention compiler module 104 may obtain the resource selection criteria 59 from the forwarding map 50 and call the resource selection module 106, passing the resource selection criteria 59 to the resource selection module 106. The resource selection module 106 may then call the inventory manager module 108, which may represent a unit configured to discover resources within the network 2 and maintain resources such as a resource inventory, and update the status of the resources based on the telemetry data stored in the telemetry database 70.

[0056] The inventory manager module 108 may discover resources (which may include resources and resource pools) from a device schema. A device schema may include a "resource extension," which may represent a resource, examples of which are as follows.

[0057] leaf if-name{

[0058] type if-name-type;

[0059] ext:resource{

[0060] resource-key' / device / device-id'

[0061] ext:load-factor{

[0062] ext:load-factor-key' / device / interface / operation / if-in-traffic'

[0063] ext:load-factor-weightage″0.75″

[0064] }

[0065] ext:load-factor{

[0066] ext:load-factor-key' / device / interface / operation / if-out-traffic'

[0067] ext:load-factor-weightage″0.25″

[0068] }

[0069] }

[0070] }

[0071] In the above, "resource" refers to defining an element as an extension of a resource, while "resource-key" can allow resources to be defined hierarchically. For example, a device may include one or more "port" resources. Each port resource may include one or more "unit" resources. In some cases, the device architecture may provide a way to specify the scope of resource units in a given context. A resource key may represent a parent resource key path. In some examples, a resource is a simple value. In addition, when the device id is the key of an interface name resource, the same interface name on the device may not be assigned to two services. The resource key may be optional.

[0072]

[0063] In addition, "resource-type" may indicate a resource type. There may be multiple resource types (e.g., L2 resource, L3 overlay resource, etc.). Resource type may be optional (e.g., "virtual circuit" is an "L3 overlay resource"). "load-factor" may refer to an extension that enables the deriving of the load on a resource. A load factor may contain a "metric" path and a "weight", where the weight is applied to the identified metric to obtain the load. The "resource-metrics" extension refers to operational state (or, in other words, state) metrics.

[0073] The device architecture may also define complex resource metrics. For example, you may have resource metrics that are derived on different endpoints. For example, a virtual circuit is a network-wide "point-to-point" overlay structure. This resource metric will be derived from both endpoints. Metrics may, for example, include packets received and packets sent (rx-pps, tx-pps). In this example, the rx-pps of one endpoint may be derived from the "packets sent" of the other endpoint.

[0074] The following extensions are available for expressing complex metrics.

[0075] ext:resource{

[0076] ext:complex-metric {

[0077] ext:equator-merge-rule;

[0078] ext:metric-name "rx-pps"; / / This metric would be derived from otherendpoint tx-pps

[0079] ext:metric–path:[' / device / virtual-circuit / tx-pps”]

[0080] }

[0081] }

[0082] By default, the management system 10 may define an "equator" "resource merge policy" that specifies how resources are merged. The equator merge rule may map resources when resource keys are identical. The device architecture may allow for the definition of custom merge rules that may be used to compare resources to identify which instances may be merged, thereby deriving complex metrics, an example of which is as follows.

[0083] ext:resource{

[0084] ext:complex-metric {

[0085] ext:custom-merge-rule;

[0086] ext:matcher-script″scripts.CustomResourceMatcher″; / / Script thatrelates the resource across endpoints.

[0087] ext:metric-name "rx-pps";

[0088] ext:metric–path:[' / device / virtual-circuit / tx-pps”]

[0089] }

[0090] }

[0091] The device architecture can also enable resource pool discovery, where a resource pool can be present in a context. For example, consider an interface containing a unit 1-4094 resource. The YANG element that defines a "scope" is a resource pool.

[0092] To populate the inventory, the inventory manager module 108 may traverse the device architecture according to the following pseudo code:

[0093] For each Yang component in the component configuration structure

[0094] If there is a resource extension

[0095] Use

[0096] Resource Key

[0097] Pool - if the YANG element defines a scope

[0098] Load factor keys and weights

[0099] Custom Metrics

[0100] To create a resource type.

[0101] The resource selection module 106 can ensure resource persistence and obtain the next available resource in an efficient manner as follows:

[0102] The resource manager centrally allocates resources to intents / services; and

[0103] The resource manager should allocate resources in near real time.

[0104] The previous example is as follows:

[0105] In the case of a service provider deployment, the resources are specified as follows:

[0106] Device (PE, CE terminals);

[0107] interface;

[0108] Unit interfaces for each physical interface - ge-0 / 0 / 1 to ge-0 / 0 / 48.

[0109] This has two aspects:

[0110] How to store resources efficiently in a database;

[0111] If the units are 1 to 4094, the system should not add all the entries in the database, since there are many ports and each port can have 1 to 4094 units.

[0112] The problem then becomes how to get the next available resource in an efficient manner, which can be solved by the following example algorithm. Although a bitmap can be used to identify the next resource, the use of a bitmap may introduce a performance bottleneck. In some examples, the technology set forth in the present disclosure may follow a commit log type of data structure in which the allocated resources are retained. When there is a next resource request, the resource queue in memory gives the next available resource. After the queue is overloaded, a separate thread will continue to clear the queue in the bitmap. The resource manager module 60 may maintain the allocated resources in the following database table.

[0113] Memory data structure:

[0114] Resource Queue - maintains the top 'n' available resources;

[0115] Resource memory table: resources, allocated services.

[0116] database:

[0117] Resource table: resources, assigned services

[0118] Resource log table: resource id, acquisition / release status

[0119] Resource bitmap table: parent resource id, resource type, resource bitmap

[0120] The resource manager module 60 can use the bitmap in the database to track "used resources" and "available resources" and provide effective persistence of resource usage information in the database. However, the above steps will serialize the "resource allocation". To avoid serialization, in some examples, the resource manager module 60 can be executed according to the following steps, which are Figure 4 is shown in more detail in . Figure 4 is a flow diagram illustrating resource allocation according to various aspects of the techniques described in this disclosure.

[0121] Cache the top N available resources in the resource queue (sorted based on load) and the usage status in memory (200).

[0122] Introduced "Resource Log" table to support hardware failures.

[0123] If the resource manager allocates resources to the service (202), it is added to the resource log table (204).

[0124] Based on a certain threshold (number of resource allocation entries), the cache is cleared to the "resource table" and "resource bitmap" tables (206, 208).

[0125] In case of a hardware failure, the entry is read from the resource log table and the "resource table" and "resource bitmap" tables are updated (200).

[0126] Return to Figure 3 In some examples, multiple services can run on the same resource, for example, multiple L3 VPNs can use the same interface sub-resource (unit interface). In this way, the resource manager module 60 can predict the utilization of resources so that the service will be migrated to different resources before the service fails to meet the service level agreement (SLA) due to network congestion or other reasons. Resource prediction includes the following steps:

[0127] identifying a state attribute corresponding to a resource;

[0128] Create a sample of preconfigured sample size (>30).

[0129] Now, we calculate the confidence interval based on the mean of the parameter.

[0130] Sample interval = m (+ or -)(z*s / sqrt(n)), where m represents the mean of the current sample, s represents the standard deviation, and n represents the sample size.

[0131] Here, z is calculated according to the (pre-configured) % confidence level. For example: for a 95% confidence interval, z = 1.96 (the default is 95%).

[0132] To illustrate, consider the following example:

[0133] The percentage of incoming traffic to an interface is the parameter to be predicted. For the sake of illustration, assume that the interface resources are dependent on this parameter.

[0134] The analysis module 62 can periodically poll the interface utilization parameters (i.e., the analysis module 62 includes a telemetry collection module 112, which represents a module configured to poll the element 14 to collect parameters or (in other words) metrics), and group samples of size 30 parameters (i.e., the analysis module includes an aggregation module 110, which represents a module configured to aggregate different parameters or (in other words) metrics), and calculate the average and standard deviation for each sample (by the aggregation module 110).

[0135] If the calculated average value is greater than the upper limit of the confidence interval, the resource selection module 106 determines a replacement resource and migrates one or more services supported by the original resource to the replacement resource. Similarly, when the average value is below the confidence interval range, the resource manager module 60 can select resources that support more services.

[0136] The explorer module 60 can track any fluctuations in migration and trends and advise the user on optimizing sample size and confidence interval constant (confidence percentage).

[0137] In this manner, inventory manager module 108 can discover resources within network 2 and maintain an inventory (e.g., in an inventory database). Resource selection module 106 can then identify resources that meet or exceed resource selection criteria 59. In some cases, inventory manager module 108 can apply the above-described weights to the corresponding resource metrics to obtain corresponding resource loads. Inventory manager module 108 can then provide the resource loads to resource selection module 106, which can determine resources to support the service based on applying resource selection criteria 59 to the resource loads.

[0138] The resource selection module 106 may obtain the resource selection criteria from the resource selection query. The resource manager module 106 may allocate optimized resources (in terms of meeting or exceeding the resource selection criteria 59) as part of the intent transformation (e.g., the high-level configuration data 101). The resource selection query follows a filter syntax, where a sample data model and corresponding resource selection are shown below as an example.

[0139]

[0140]

[0141] In the example above, the "site" vertex references some devices, where the leaf devices have a device role ("devicerole") attribute.

[0142] When populated, the resource selection criteria follows the above data model, as shown in the following example.

[0143]

[0144] Directives provide an example way to describe alternate runtime execution and type validation behavior in a Graph Query Language ("GraphQL") document. A "resource" directive may indicate that a resolved variable is a resource. A resource directive may take an alias tag for a resource, as shown below.

[0145] definition:

[0146] Resource <resourcealias>”

[0147] Turning to the optimization expressions and parameters used in the resource selection query, the optimization decision variables may be specified in the parameters of the "resource" instruction attribute. The resource selection module 106 can derive the following optimization decision variables from the query:

[0148] Decision variables;

[0149] Objectives; and

[0150] ·constraint

[0151] Goal bounds and constraints can be specified as "optimization expressions", example syntax of which is provided below:

[0152] Optimization function: optimize (objective, constraint);

[0153] Target: minimum, maximum, average;

[0154] Constraints / bounds: Limits on resource measurements - <=, =, or >=.

[0155] In this manner, resource selection module 106 may obtain resource selection criteria 59 and apply resource selection criteria 59 to resources obtained from inventory manager module 108, thereby obtaining resources 107 that will support services. Intent compiler module 104 may then proceed to convert high-level configuration data 101 into low-level configuration data 105 that are specific to resources 107. Intent layer module 100 may pass low-level configuration data 105 to element configuration module 102, which, including resources 107, may interface with element 14 to configure element 14 using low-level configuration data 105 to support services within network 2.

[0156] To illustrate how the resource manager derives optimization constraints and goals, consider the following example.

[0157]

[0158] In the above resource selection query, device resources include:

[0159] Decision variables-latency, bgp-session-count;

[0160] Goal: Minimum latency

[0161] Constraint: bgp-session-count < 1000.

[0162] The preceding can be represented by the following pseudo code:

[0163] For each component in the resource selection query:

[0164] Call "resolver" and get the matching object / / resolver is a function in Graph QL that gets the matching object;

[0165] Fill in the "resource selection criteria" / / specified as parameters in each element of the query;

[0166] If a "resource directive" is present, then

[0167] Read the alias of the resource;

[0168] Read optimization decision variables;

[0169] Run the optimization and select resources;

[0170] Assign resources to aliases;

[0171] Interface with inventory module;

[0172] Sign up for notifications for "Resource Selection Criteria".

[0173] As described above, the resource manager module 60 may call the analysis module 62 in order to obtain telemetry data (representing status data), which may result in various changes to resources. For example, assume that a change in the PE role of a device requires the allocation of new resources for that purpose. The following pseudo code illustrates what happens when the inventory (e.g., component status data) changes in a polling-based model.

[0174] For each change in inventory:

[0175] Check that changes match resource standards;

[0176] Select the new resource and apply to the intent.

[0177] Interface with analysis nodes to

[0178] Enable monitoring of desired attributes on resources;

[0179] Listen to metrics from analytics nodes over the message bus.

[0180] Configure events on the analysis node for thresholds.

[0181] Listen for threshold crossing events and run the optimization module.

[0182] Pseudocode for getting resource updates in a subscription-based model is provided below:

[0183] For each component in the resource selection query,

[0184] If a "resource directive" exists, then

[0185] Read optimization decision variables;

[0186] Subscription constraint thresholds;

[0187] Listen to the target metrics.

[0188] Resource constraint semantics can appear in the intent data model, which can be specified in resource mapping constraints.

[0189] Some use cases are:

[0190] L3 VPN should only have devices that support MPLS;

[0191] The loopback address port should be used.

[0192] These resource constraints can be modeled in Yang using leafrefs that reference resources.

[0193] Resource filters follow the filter query syntax, as shown in the following example:

[0194]

[0195] In some cases, resource constraints can be context-based. A service model can contain devices and interfaces. The interface can be based on the selected device. In these cases, the leafref path will contain a context like this:

[0196]

[0197]

[0198] In the above example, the management device 10 can help the administrator 12 select an interface, wherein the administrator 12 can define a specific loopback address to select a certain interface, and the management device 10 can generate an appropriate configuration to configure the interface. In this regard, these techniques can allow system-assisted user selection.

[0199] To define intents that include automatic resource selection, the administrator 12 can create an intent Yang data model and provide transformation scripts as well as resource selection queries. To illustrate, consider the following example:

[0200] Intent: L2 point-to-point connection between "Site-A" and "Site-B" with guaranteed high bandwidth;

[0201] • Intent fulfillment: As part of "service layer intent fulfillment", the management system 10 may select a PE device with a "smaller load" and configure an "L2 circuit" between Site-A and Site-B.

[0202] In this example, the administrator 12 may define the intent Yang data model as follows:

[0203]

[0204]

[0205] The intent conversion script may include one or more of Python code, a mapper, and a template, including a resource selection query. Below is an example of a mapper (its context and use are described in more detail in U.S. Patent Application Serial No. 15 / 198,657, incorporated above).

[0206]

[0207]

[0208] Figure 5 It is shown Figure 1-3 The management system 10 can automatically provision and manage the intent set forth by the policies used to manage the computer network 2.

[0209] As described above, when processing an intent, these techniques may enable a management device 10 or other device provisioning system to obtain high-level configuration data 101 that includes resource selection criteria 59 defined using an extensible command set (300). The management device 10 may use the resource selection criteria to automatically identify one or more resources that will be configured to support the network service identified by the intent. In other words, the management device 10 may determine the resources 107 that support the service specified by the high-level configuration data based on the resource selection criteria 59 (302). The management device 10 may then convert the high-level configuration data 101 into low-level configuration data 105 specific to the resource 107 (304). When provisioning services in the network 2, the management device 10 may use the low-level configuration data 105 specific to the determined resource 107 to configure the determined resource 107 (306).

[0210] This process can be repeated in response to changes in the state (or in other words, status) of element 14. That is, management device 10 can maintain a resource database and provide an interface through which various different resources and the current state of each resource are collected and updated. Various resources can report status data indicating the current state of the resource to management device 10 (and / or management device 10 can poll the resource to obtain the status data), wherein management device 10 can update the database to store the status data to maintain the current state of each resource. Management device 10 can select resources (302) based on applying resource selection criteria to the status data, perform conversion (304), and when network services are provisioned in network 2, configure the selected resources (306), thereby automatically provisioning intent.

[0211] The management device 10 may obtain updated status data indicating an updated status of the resource, compare the updated status data from the resource with the resource selection criteria to determine whether the intent has been downgraded. When the updated status data of the previously configured resource no longer meets the resource selection criteria, the management device 10 may downgrade the intent and identify another resource (which may be referred to as a replacement resource) to replace the insufficient resource. The management device 10 may identify the replacement resource (302) by applying the resource selection criteria again to the updated status data. The management device 10 may then perform a conversion (304) and, when re-provisioning the service within the network 2, configure the replacement resource (306), thereby maintaining or otherwise managing the intent to ensure an appropriate service level for the intent.

[0212] In addition to or as an alternative to the above, the following examples are described. Features described in any of the following examples may be used with any other examples described herein.

[0213] Example 1. A method, comprising: obtaining, by a management device, a policy including high-level configuration data defining a service to be deployed within a network, the high-level configuration data including resource selection criteria identifying one or more criteria for selecting a resource to support the service from a plurality of potential resources; based on the resource selection criteria, the management device determining a resource to support the service from the plurality of potential resources; converting, by the management device, the high-level configuration data into low-level configuration data specific to the determined resource; and configuring, by the management device, the determined resource using the low-level configuration data specific to the determined resource when provisioning the service in the network.

[0214] Example 2. The method of Example 1, wherein the high-level configuration data includes an intent to specify a network service and includes resource selection criteria.

[0215] Example 3. The method of Example 1, wherein determining the resource comprises automatically determining a resource from the plurality of potential resources without human intervention and based on the resource selection criteria.

[0216] Example 4. The method of Example 1, wherein the high-level configuration data defines resource selection criteria using an extensible command set.

[0217] Example 5. The method of Example 1 further includes obtaining status data identifying a status of each of the plurality of potential resources, wherein determining the resource includes determining a resource supporting a service from the plurality of potential resources based on applying resource selection criteria to the status data.

[0218] Example 6. The method according to Example 5 further includes: obtaining updated status data that identifies an updated status of each of the multiple potential resources; determining whether the determined resource will continue to support the service based on the updated status data and resource selection criteria; in response to determining that the determined resource does not continue to support the service, and based on the resource selection criteria and the updated status data, determining a replacement resource that supports the service; converting high-level configuration data into low-level configuration data specific to the determined replacement resource; and when re-provisioning the service in the network, configuring the determined replacement resource using the low-level configuration data specific to the determined replacement resource.

[0219] Example 7. A method according to Example 5, wherein the status data identifies one or more resource metrics defined using an extensible command set and corresponding one or more weights, wherein the resource metrics identify the operating state of a corresponding resource among the multiple potential resources, and wherein determining a resource includes: applying one or more weights to a corresponding resource metric to obtain one or more corresponding resource loads; and determining a resource that supports a service among the multiple potential resources based on applying a resource selection criterion to the resource load.

[0220] Example 8. The method of Example 1 further comprising determining a plurality of potential resources based on a device architecture.

[0221] Example 9. A method according to Example 1, wherein determining resources includes: determining one or more of decision variables, objectives, and constraints based on resource selection criteria; and applying one or more of the decision variables, objectives, and constraints to the multiple potential resources to determine resources that support the service.

[0222] Example 10. A device comprising: one or more processors configured to: obtain a policy comprising high-level configuration data defining a service to be deployed within a network, the high-level configuration data comprising resource selection criteria identifying one or more criteria for selecting a resource to support the service from a plurality of potential resources; determine a resource to support the service from a plurality of potential resources based on the resource selection criteria; convert the high-level configuration data into low-level configuration data specific to the determined resource; a memory configured to store the low-level configuration data specific to the determined resource; and an interface, through which the determined resource is configured using the low-level configuration data specific to the determined resource when the service is provisioned in the network.

[0223] Example 11. The apparatus of Example 10, wherein the high-level configuration data comprises an intent to specify a network service and includes resource selection criteria.

[0224] Example 12. An apparatus according to Example 10, wherein the one or more processors are configured to automatically determine a resource from the plurality of potential resources without human intervention and based on the resource selection criteria.

[0225] Example 13. The apparatus of Example 10, wherein the high-level configuration data defines resource selection criteria using an extensible command set.

[0226] Example 14. An apparatus according to Example 10, wherein the one or more processors are further configured to identify state data of a state of each of the plurality of potential resources, wherein the one or more processors are configured to determine a resource that supports a service among the plurality of potential resources based on applying resource selection criteria to the state data.

[0227] Example 15. An apparatus according to Example 14, wherein the one or more processors are further configured to: obtain updated status data identifying an updated status of each of the plurality of potential resources; determine whether the determined resource will continue to support the service based on the updated status data and resource selection criteria; in response to determining that the determined resource does not continue to support the service, and based on the resource selection criteria and the updated status data, determine a replacement resource that supports the service; convert high-level configuration data into low-level configuration data specific to the determined replacement resource; and when re-provisioning the service in the network, configure the determined replacement resource using the low-level configuration data specific to the determined replacement resource.

[0228] Example 16. An apparatus according to Example 14, wherein the state data identifies one or more resource metrics defined using an extensible command set and corresponding one or more weights, wherein the resource metrics identify an operating state of a corresponding resource among the multiple potential resources, and wherein the one or more processors are configured to: apply one or more weights to a corresponding one of the resource metrics to obtain one or more corresponding resource loads; and determine a resource that supports a service among the multiple potential resources based on applying a resource selection criterion to the resource load.

[0229] Example 17. An apparatus according to Example 10, wherein the one or more processors are further configured to determine load characteristics of each of the plurality of potential resources, wherein the one or more processors are configured to determine resources that support services among the plurality of potential resources based on resource selection criteria and load characteristics.

[0230] Example 18. The apparatus of Example 10, further comprising maintaining a commit log data structure by which resources among a plurality of potential resources that have been allocated to support the service are identified.

[0231] Example 19. An apparatus according to Example 18, wherein the submission log data structure indicates that the plurality of potential resources are available for allocation to support the service, and wherein determining the resource includes determining a resource that supports the service among the plurality of potential resources based on resource selection criteria and the submission log data.

[0232] Example 20. A non-transitory computer-readable storage medium having instructions stored thereon, which, when executed, cause one or more processors of a management device to: obtain a policy comprising high-level configuration data defining a service to be deployed within a network, the high-level configuration data comprising resource selection criteria identifying one or more criteria for selecting a resource to support the service from a plurality of potential resources; based on the resource selection criteria, determine a resource to support the service from a plurality of potential resources; convert the high-level configuration data into low-level configuration data specific to the determined resource; and when provisioning the service in the network, configure the determined resource using the low-level configuration data specific to the determined resource.

[0233] In addition, any specific features set forth in any of the above examples may be combined into beneficial examples of the technology. That is, any specific features are generally applicable to all examples of the technology described in this disclosure. Various examples of these technologies have been described.

[0234] In one or more examples, the functions described may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored as one or more instructions or codes on a computer-readable medium or transmitted by one or more instructions or codes on a computer-readable medium and executed by a hardware-based processing unit. A computer-readable medium may include a computer-readable storage medium, which corresponds to a tangible medium, such as a data storage medium. A data storage medium may be any available medium that can be accessed by one or more computers or one or more processors to retrieve instructions, codes, and / or data structures for implementing the techniques described in the present disclosure. A computer program product may include a computer-readable medium.

[0235] By way of example and not limitation, such computer-readable storage media may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage device, flash memory or any other medium that can be used to store the desired program code in the form of instructions or data structures and can be accessed by a computer. Computer-readable storage media and data storage media do not include connections, carrier waves, signals or other temporary media, but rather relate to non-temporary tangible storage media. Disks and optical disks used herein include compact disks (CDs), laser disks, optical disks, digital versatile disks (DVDs), floppy disks and Blu-ray disks, wherein disks typically reproduce data magnetically, while optical disks reproduce data optically with lasers. The above combinations should also be included within the scope of computer-readable media.

[0236] Instructions may be executed by one or more processors, for example, one or more digital signal processors (DSPs), general-purpose microprocessors, application-specific integrated circuits (ASICs), field-programmable logic arrays (FPGAs), or other equivalent integrated or discrete logic circuits. Therefore, the term "processor" as used herein may refer to any of the foregoing structures or any other structure suitable for implementing the techniques described herein. In addition, in some aspects, the functionality described herein may be provided in dedicated hardware and / or software modules configured for encoding and decoding, or included in a combined codec. In addition, these techniques may be fully implemented in one or more circuits or logic elements.

[0237] The techniques of the present disclosure may be implemented in a variety of devices or apparatuses, including a wireless handset, an integrated circuit (IC), or a set of ICs (e.g., a chipset). Various components, modules, or units are described in this disclosure to emphasize functional aspects of a device configured to perform the disclosed techniques, but do not necessarily need to be implemented by different hardware units. Instead, as described above, the various units may be combined in a codec hardware unit, or provided by a number of interoperating hardware units (including one or more processors as described above) and appropriate software and / or firmware.

[0238] Various aspects of the technology have been described. These and other aspects of the technology are within the scope of the following claims.< / resourcealias>

Claims

1. A method for managing multiple potential resources, include: obtaining, by a management device configured to manage operation of a plurality of potential resources, a policy including high-level configuration data defining a service to be deployed within a network, the high-level configuration data including resource selection criteria identifying one or more criteria for selecting a resource from the plurality of potential resources to support the service; Prior to providing the service in the network, obtaining, by the management device, state data identifying a state of at least one potential resource of the plurality of potential resources, wherein the state data identifies one or more resource metrics defined using an extensible command set, and corresponding one or more weights, and wherein the resource metrics identify an operational state of a corresponding resource of the plurality of potential resources; Prior to providing the service in the network, the management device determines, based on the application of the resource selection criteria to the status data, a resource supporting the service from the plurality of potential resources, wherein determining the resource comprises: applying the one or more weights to a respective one of the resource metrics to obtain one or more respective resource loads; and determining a resource supporting the service from among the plurality of potential resources based on application of the resource selection criteria to the resource load; and When providing services in the network, the determined resources are configured by the management device based on the high-level configuration data.

2. The method according to claim 1, in, The high-level configuration data includes a declarative intent that specifies the service and includes the resource selection criteria.

3. The method according to any one of claims 1 and 2, in, Determining the resource includes determining the resource from the plurality of potential resources without human intervention and based on application of the status data to the resource selection criteria.

4. The method according to any one of claims 1 and 2, further comprising: include: obtaining update status data identifying an update status of each of the plurality of potential resources; determining, based on the updated status data and the resource selection criteria, whether the determined resource will continue to support the service; in response to determining that the determined resource does not continue to support the service, and based on the resource selection criteria and the updated status data, determining a replacement resource that supports the service; as well as When the service is re-provided in the network, the determined replacement resources are configured based on the high-level configuration data.

5. The method according to claim 4, further comprising: include: converting the high-level configuration data into low-level configuration data for the determined replacement resource; and The configuring the determined replacement resource comprises: configuring the determined replacement resource using the low-level configuration data for the determined replacement resource when the service is re-provided in the network.

6. The method according to any one of claims 1 and 2, further comprising determining the plurality of potential resources based on a device architecture.

7. The method according to any one of claims 1 and 2, in, Determine that the resources include: determining one or more of a decision variable, an objective, and a constraint based on application of the resource selection criteria to the state data; and One or more of the decision variables, the objective, and the constraints are applied to the plurality of potential resources to determine the resources that support the service.

8. The method according to any one of claims 1 and 2, in, The determined resources include network devices, interfaces, ports or port units.

9. The method according to any one of claims 1 and 2, in, The high-level configuration data defines the resource selection criteria using the extensible command set.

10. A device configured to manage a plurality of potential resources, the device include: One or more processors configured to: obtaining a policy, the policy comprising high-level configuration data defining a service to be deployed within a network, the high-level configuration data comprising resource selection criteria identifying one or more criteria for selecting a resource to support the service from the plurality of potential resources; obtaining, prior to providing the service in the network, state data identifying a state of at least one of the plurality of potential resources, wherein the state data identifies one or more resource metrics defined using an extensible command set, and corresponding one or more weights, and wherein the resource metrics identify an operational state of a corresponding resource of the plurality of potential resources; and Prior to providing the service in the network, determining the resource supporting the service from the plurality of potential resources based on application of the resource selection criteria to the status data, wherein to determine the resource, the one or more processors are configured to: applying the one or more weights to a respective one of the resource metrics to obtain one or more respective resource loads; and determining a resource supporting the service from among the plurality of potential resources based on application of the resource selection criteria to the resource load; and An interface through which the determined resources are configured based on the high-level configuration data when the service is provided in the network.

11. The device according to claim 10, in, The high-level configuration data includes a declarative intent that specifies the service and includes the resource selection criteria.

12. The device according to any one of claims 10 and 11, in, The one or more processors are configured to determine the resource from the plurality of potential resources without human intervention and based on application of the resource selection criteria to the status data.

13. The device according to any one of claims 10 and 11, in, The one or more processors are further configured to: obtaining update status data identifying an update status of each of the plurality of potential resources; determining, based on the updated status data and the resource selection criteria, whether the determined resource will continue to support the service; in response to determining that the determined resource does not continue to support the service, and based on the resource selection criteria and the updated status data, determining a replacement resource that supports the service; and When the service is re-provided in the network, the determined replacement resources are configured based on the high-level configuration data.

14. The device according to claim 13, in, The one or more processors are further configured to: converting the high-level configuration data into low-level configuration data for the determined replacement resource; and Wherein, for configuration, the one or more processors are configured to configure the determined replacement resource using the low-level configuration data for the determined replacement resource when re-providing the service in the network.

15. The device according to any one of claims 10 and 11, in, The one or more processors are further configured to determine the plurality of potential resources based on a device architecture.

16. The device according to any one of claims 10 and 11, in, To determine the resource, the one or more processors are configured to: determining one or more of a decision variable, an objective, and a constraint based on application of the resource selection criteria to the state data; and One or more of the decision variables, the objective, and the constraints are applied to the plurality of potential resources to determine the resources that support the service.

17. The device according to any one of claims 10 and 11, in, The determined resources include network devices, interfaces, ports or port units.

18. The device according to any one of claims 10 and 11, in, The high-level configuration data defines the resource selection criteria using the extensible command set.

19. The apparatus of any one of claims 10 and 11, further comprising maintaining a commit log data structure, through which resources of the plurality of potential resources are identified that have been allocated to support the service.

20. The device according to claim 19, in, The commit log data structure indicates that the plurality of potential resources are available to be allocated to support the service, and Wherein, determining the resource comprises determining the resource supporting the service from the plurality of potential resources based on application of the submission log data and the resource selection criteria to the state data.

21. A computer readable storage medium encoded with instructions for causing one or more programmable processors to perform the method of any one of claims 1 to 9.