Policy-driven zero-touch provisioning of network devices
Through policy-driven ZTP technology, the ZTP controller, intelligent DHCP server and HTTP server are used to automatically configure and track network devices, solving the problem of labor-intensive and high error rates in the deployment and activation of enterprise network devices, and achieving flexible and efficient Equipment configuration and progress management.
Patent Information
- Application Number
- CN202111353519.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2021-06-16
- Filing Date
- 2021-11-16
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2041-11-16
AI Technical Summary
The existing technology has problems such as labor-intensive, error-prone, expensive and time-consuming in the deployment and activation of network equipment in large enterprises. Especially in the multi-distance equipment configuration and automated configuration of remote facilities are difficult, and traditional ZTP technology cannot effectively track DHCP. Progress and device configuration.
Adopting policy-driven zero-touch service activation (ZTP) technology, through ZTP controller, intelligent DHCP server and intelligent HTTP server, ZTP policies are storing and managing ZTP policies using databases, and automatically configure and download boot configurations and software images based on device identification information, providing flexibility fine-grained control and progress tracking.
It realizes contactless service activation and automatically configures network equipment, reduces the cost of terminal users' deployment and configuration, provides device-level progress tracking and dynamic service activation capabilities, and improves the flexibility and efficiency of network equipment deployment.
Smart Images

Figure CN115484168B_ABST
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims the benefit of U.S. Application No. 17 / 304,239, filed on June 16, 2021, the entire contents of which are incorporated herein by reference. Technical Field
[0003] The present disclosure relates generally to network devices and, more particularly, to deployment and activation of network devices. Background Art
[0004] Large enterprises often face the challenge of large-scale distribution and deployment of network infrastructure. For example, an enterprise may operate multiple geographically distributed facilities (e.g., offices, retail stores, etc.), which require network connectivity with the central or main office of the enterprise and optionally with each other. In this case, challenges arise when an enterprise wishes to install or upgrade network equipment on each of many remote facilities. For example, the central information technology (IT) management team of an enterprise may coordinate efforts to upgrade computers, firewalls, gateways, routers, virtual private network (VPN) devices, switches or other network equipment in each remote facility. Such operations may require the deployment and activation of hundreds or sometimes thousands of devices. Manually configuring each individual device at the final location and / or temporarily storing these devices at a centralized location before shipping to the final location is laborious, error-prone, expensive and time-consuming.
[0005] To simplify the process, Zero Touch Provisioning (ZTP) allows enterprises to automatically provision new devices in the network with minimal human intervention. New or replacement devices can be delivered to the site and physically installed and powered on by any local employee, without the need for dedicated IT staff. ZTP can significantly reduce lead time, installation time, and the number of configuration errors when provisioning new devices in the network. Summary of the invention
[0006] In general, the present disclosure describes a policy-driven zero-touch provisioning (ZTP) technology for network devices. To reduce the technical complexity of configuring network devices for unskilled users, legacy devices can use ZTP to remotely and automatically perform the first configuration of network devices for use within an enterprise network. Additional information about the ZTP protocol is described in "Zero Touch Provisioning for Networking Devices," an Internet Draft of the Internet Engineering Task Force (IETF), available at https: / / tools.ietf.org / html / draft-ietf-netconf-zerotouch, the entire contents of which are incorporated herein by reference.
[0007] However, with traditional ZTP technology, in order to locate the necessary software images and configuration files on the network, information must be pre-statically configured on a Dynamic Host Configuration Protocol (DHCP) server. If the DHCP server is not configured to provide this information, the device will boot with pre-installed software and default factory configurations. These configurations are defined at a global or subnet level because it is not practically possible to statically configure devices on an individual basis. In addition, traditional ZTP technology does not track the progress of DHCP or the download / installation time of device configurations and / or software images. As a result, troubleshooting and debugging of network configurations and / or software images is difficult.
[0008] According to one or more techniques of the present disclosure, the present disclosure describes a policy-driven zero-touch provisioning (ZTP) technology for network devices. The policy-driven ZTP system includes a ZTP controller, an intelligent DHCP server, and an intelligent Hypertext Transfer Protocol (HTTP) server. A network administrator manages one or more ZTP policies, which are stored in a database. The database also stores one or more boot configurations and / or boot software images associated with one or more devices or network device types.
[0009] Each ZTP policy defines one or more conditions, for example, defining one or more specific devices, a group of devices, or types of devices to which the ZTP policy applies. The conditions may include, for example, one or more of a media access control (MAC) address of a specific device or group of devices, a serial number of a specific device, a source subnet, a vendor identifier, a model identifier, etc. Each ZTP policy further defines one or more of an action, subnet / gateway information, boot configuration information, and / or boot image information associated with a network device that matches the ZTP policy conditions.
[0010] When a new network device starts up, the device sends a request to the intelligent DHCP server. The request may include, for example, a DHCP request. The DHCP request includes device identification information, such as one or more of the device's MAC address, serial number, source subnet, vendor identifier, model identifier, etc. The intelligent DHCP server sends the DHCP request to the ZTP system controller for policy execution. The policy executor application running on the ZTP system controller compares the device identification information received in the DHCP request with the conditions included in one or more ZTP policies stored in the database to identify a matching ZPT policy. The intelligent DHCP server generates a response based on the matching ZTP policy and sends the response back to the device. The response may include, for example, a DHCP response. The DHCP response includes IP lease information (e.g., an IP address and a default gateway address assigned to the device). The DHCP response also includes one or more of the actions, subnet / gateway information, and boot information defined by the matching ZTP policy. The boot information may include, for example, one or more uniform resource locators (URLs), through which the network device can automatically obtain a boot configuration or boot image defined for the device based on the matching ZTP policy. The one or more URLs include a device identification token that identifies the network device that generated the DHCP request.
[0011] The boot information received in the DHCP response configures the network device to automatically query the intelligent HTTP server for one or more of a boot configuration and a boot image based on the device identification token contained in the DHCP response. The intelligent HTTP server / ZTP controller generates a corresponding boot configuration and / or retrieves a corresponding boot image based on the device identification token specified in the query and transmits them to the device. The boot configuration may be retrieved from a database or automatically generated based on the device identification token and a matching ZTP policy. The device then configures itself based on the received boot configuration and / or boot image and begins normal network operation.
[0012] The technology of the present disclosure provides one or more technical advantages. For example, the technology of the present disclosure provides specific technical improvements in the computer-related field of network device deployment and configuration. The technology of the present disclosure enables contactless service activation to remotely and automatically configure network devices. Policy-driven ZTP service activation technology can be defined based on a single device, device group, subnet, supplier, model, etc., thereby providing flexible and dynamic fine-grained control for service activation of network devices. ZTP policies can be defined with device-level granularity for boot configurations and / or boot images. Multiple boot configurations and / or boot images can be dynamically service activated, rather than only providing a limited number of static and basic boot configurations and / or boot images as traditional service activation technology does.
[0013] The techniques also provide fine-grained, device-level progress tracking of ZTP progress metrics (e.g., policy execution time, configuration pull time, image pull time, number of retry attempts, etc.) These metrics can be presented for display on a user computing device and / or input into a machine learning model to learn network patterns, identify problematic boot configuration files and / or boot images, etc. In addition, the techniques of the present disclosure can reduce the cost and technical burden for end users to deploy and configure network devices to operate within an enterprise network.
[0014] In one example, the present disclosure describes a system comprising: multiple network devices; a memory storing one or more zero-touch service provisioning (ZTP) policies; and a policy-driven ZTP system comprising one or more processors, the one or more processors configured to: receive a request from a first network device among the multiple network devices, the request comprising network device identification information identifying the first network device; identify a matching ZTP policy from one or more ZTP policies based on the identification information contained in the request; and generate a response to the first network device, the response comprising address information assigned to the first network device and boot information corresponding to the first network device defined by the matching ZTP policy.
[0015] In another example, the present disclosure describes a method, comprising: one or more processors of a policy-driven zero-touch provisioning (ZTP) system receiving a request from a first network device among multiple network devices, the request including network device identification information identifying the first network device; the one or more processors identifying a matching ZTP policy from multiple ZTP policies based on the identification information included in the request; and the one or more processors generating a response to the first network device, the response including address information assigned to the first network device and boot information corresponding to the first network device defined by the matching ZTP policy.
[0016] In another example, the present disclosure describes a network device, comprising: a memory; and one or more processors, the one or more processors being configured to: generate a request to a policy-driven zero-touch provisioning (ZTP) system, the request comprising network device identification information, the network device identification information identifying the network device from a plurality of network devices; receive a response from the ZTP system, the response comprising address information assigned to the network device and boot information of the network device, the response being generated by the ZTP system based on a matching ZTP policy, the matching ZTP policy being identified by the ZTP system based on the network device identification information contained in the request; automatically generate at least one of a configuration pull request to the ZTP system and an image pull request to the ZTP system based on the boot information contained in the response; and automatically perform a boot program operation of the network device based on at least one of a boot configuration received in response to the configuration pull request and a boot image received in response to the image pull request.
[0017] The details of one or more examples of the technology of the present disclosure are set forth in the accompanying drawings and the description below. Other features, objects, and advantages of the technology will be apparent from the description and drawings, and from the claims. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 is a block diagram of an example network environment including policy-driven zero-touch provisioning (ZTP) of network devices in accordance with the techniques of this disclosure.
[0019] Figure 2 is a table illustrating an exemplary ZTP policy according to the techniques of this disclosure.
[0020] Figure 3A is a block diagram of an exemplary policy-driven ZTP system and an exemplary ZTP policy database in accordance with techniques of this disclosure.
[0021] Figure 3B is a block diagram of an exemplary intelligent DHCP server in accordance with the techniques of this disclosure.
[0022] Figure 3C is a block diagram of an exemplary intelligent HTTP server according to the techniques of this disclosure.
[0023] Figure 4 is a flow chart illustrating an exemplary process for policy-driven ZTP provisioning of a network device in accordance with the techniques of this disclosure.
[0024] Figure 5A is a flow chart illustrating an exemplary process by which a controller trains a machine learning model to classify the operation of a policy-driven ZTP process based on a ZTP progress metric, in accordance with the techniques of this disclosure.
[0025] Figure 5B is a flow chart illustrating an example process by which a controller applies one or more machine learning-based models to determine whether policy-driven ZTP progress data indicates abnormal operation of a policy-driven ZTP system, in accordance with techniques of this disclosure. DETAILED DESCRIPTION
[0026] Figure 1 is a block diagram illustrating an exemplary network environment for policy-driven zero-touch provisioning (ZTP) including network devices according to the technology of the present disclosure. The policy-driven ZTP system 20 includes a policy-driven ZTP controller 30, an intelligent DHCP server 22, and an intelligent HTTP server 24. An enterprise network 40 includes one or more subnets 42A-42N. Subnet 42A includes one or more network devices 46A, subnet 42B includes one or more network devices 46B, and subnet 42N includes one or more network devices 46N. Network devices 46A-46N (generally referred to as devices 46 or multiple devices 46) may include any physical device configured to support communication between computing devices on one or more computer networks. For example, network devices 46A-46N may include any one or more of a hub, a router, a switch, a gateway, a VPN device, a modem, an access point, a repeater, and the like.
[0027] Figure 1 is a block diagram illustrating an exemplary network environment for policy-driven zero-touch provisioning (ZTP) of network devices according to the techniques of the present disclosure. In some examples, the policy-driven ZTP system 20 is a remote or cloud-based system that provides policy-driven ZTP provisioning services to one or more enterprise networks (e.g., enterprise network 40). In some examples, some or all components of the policy-driven ZTP system 20 may be local or dedicated to a particular enterprise network. In some examples, the policy-driven ZTP system 20 is part of an element management system. For example, an element management system (EMS) in a network function virtualization (NFV) implementation provides network management for virtualized network functions (VNFs) and physical network elements (PNEs). The VNF manager notifies the EMS that it needs to provide element management for a new VNF or PNE.
[0028] exist Figure 1In the example of FIG. 4 , subnet 40A and subnet 40N exist on different subnets than smart DHCP server 22 and smart HTTP server 24, and therefore include DHCP relays 42A and 42N and gateways 44A and 44N, respectively, for Layer 3 (L3) connectivity. Subnet 40B exists on the same subnet as smart DHCP server 22 and smart HTTP server 24 (Layer 2 (L2) connectivity), and therefore does not require a DHCP relay or a default gateway to communicate with smart DHCP server 22 and smart HTTP server 24.
[0029] The policy-driven ZTP system 20 includes a ZTP controller 30, an intelligent Dynamic Host Configuration Protocol (DHCP) server 22, and an intelligent Hypertext Transfer Protocol (HTTP) server 24. According to the techniques of the present disclosure, the policy-driven ZTP system 20 provides zero-touch provisioning of network devices, such as any one or more of the corresponding network devices 46A-46N on the subnets 40A-40N.
[0030] The database 50 stores one or more ZTP policies. The ZTP policies are managed by the network administrator through the user interface 10. The database 50 also stores one or more boot configurations and / or boot images associated with one or more devices or network device types, which are also managed by the network administrator.
[0031] Each ZTP policy includes one or more conditions, e.g., defining one or more specific devices, a group of devices, or device types to which the ZTP policy applies. The conditions may include, for example, one or more of the MAC address of the specific device or group of devices, the serial number of the specific device, the source subnet, the vendor identifier, the model identifier, etc. Each ZTP policy further defines one or more of actions, subnet / gateway information, and boot information associated with network devices that match the ZTP policy conditions.
[0032] According to one or more techniques of this disclosure, when a new network device 46 is initially started, the network device 46 executes hard-coded instructions for a so-called boot cycle, during which a processor "bootstrap" of a device (e.g., one of the network devices 46) loads boot configuration parameters and / or a boot image (e.g., an operating system kernel). For example, during the execution of the boot cycle, the device 46 sends a request (generally referred to herein as a DHCP request) to the intelligent DHCP server 22. For example, the DHCP request includes device identification information, such as one or more of the device's MAC address, serial number, source subnet, vendor identifier, model identifier, etc. The DHCP request may include, for example, a DHCP request to request IPS lease information such as an IP address, a default gateway address, and the like.
[0033] According to one or more techniques of the present disclosure, the policy enforcer application 34 running on the ZTP system controller 30 compares the device identification information received in the request with the conditions included in one or more ZTP policies stored in the database 50 to identify a ZTP policy having a condition that matches the device identification information. Based on the matching ZTP policy, the intelligent DHCP server 22 generates a response (generally referred to herein as a DHCP response) and sends the response back to the device 46. The DHCP response may include, for example, an IP address assigned to the device 46 and a default gateway address for an associated subnet defined by the matching ZTP policy. The DHCP response includes one or more of the actions, subnet / gateway information, and boot information defined by the matching ZTP policy.
[0034] The boot information received in the DHCP response configures the network device 46 to automatically query the intelligent HTTP server 24 for one or more of a boot configuration and a boot image. The intelligent HTTP server 24 / ZTP controller 30 automatically generates and / or retrieves the corresponding boot configuration and / or boot image and transmits them to the device 46. The device 46 then configures itself (e.g., performs a boot procedure operation) according to the received boot configuration and / or boot image and begins normal network operations.
[0035] In an exemplary operation, the ZTP controller 30 may compare the device identification information (e.g., MAC address, serial number, source subnet, vendor, model, etc.) included in the DHCP request received from the device 46 with the conditions of one or more ZTP policies stored in the database 50 to identify a ZTP policy having conditions that match the device identification information included in the DHCP request. Based on the matching ZTP policy, the intelligent DHCP server 22 / ZTP controller 30 determines the IP lease information of the device (e.g., the IP address to be allocated to the device from the IP address pool and the address of the associated gateway 42, if any). The intelligent DHCP server 22 generates a DHCP response including the IP lease information of the device.
[0036] According to the matching ZTP policy, the DHCP response also includes one or both of a first uniform resource locator (URL) and a second URL. The device can automatically query the intelligent HTTP server 24 through the first uniform resource locator (URL) to obtain the boot configuration corresponding to the network device, and the device can automatically query the intelligent HTTP server 24 through the second URL to obtain the boot image corresponding to the network device.
[0037] The first URL includes a device identification token corresponding to the network device that generates the DHCP request (or identifies the vendor or model of the network device, etc.). For example, the first URL can be expressed in the following format:
[0038] <ztpsystemip>: / configuration / SERIALNO.
[0039] In this example, the first URL specifies the ZTP system IP address ("ZTP System IP"), the action to be taken ("Configure"), and the device identification token ("SERIALNO") corresponding to the network device received in the DHCP request. In other examples, the device identification token may include a MAC address, source subnet, vendor, or model number corresponding to the network device identified in the DHCP request according to the matching ZTP policy.
[0040] In response to receiving the DHCP response, the network device 46 automatically sends a configuration pull request to the smart HTTP server using the first URL specified in the DHCP response. The smart HTTP server 24 requests the ZTP controller 30 to generate a configuration for the network device based on the device identification token contained in the first URL specified in the configuration pull request. In response to receiving the generated configuration, the smart HTTP server 24 transmits the generated configuration to the device. In the above example, based on the serial number of the network device specified in the device identification token portion of the first URL, if the Configuration field of the matching ZTP policy specifies one or more selected configuration templates, the ZTP controller automatically generates a boot configuration based on the one or more selected configuration templates, and the smart HTTP server 24 transmits the automatically generated boot configuration to the network device.
[0041] The DHCP response may also include a second URL through which the network device can automatically query the intelligent HTTP server 24 to obtain the boot image. The second URL includes a device identification token that does not correspond to the network device that generated the DHCP request. For example, the second URL may be expressed in the following format:
[0042] <ztpsystemip>: / image / SERIALNO.
[0043] In this example, the second URL specifies the ZTP system IP address ("ZTP System IP"), the action to be taken ("IMAGE"), and the device identification token ("SERIALNO") corresponding to the network device received in the DHCP request. In other examples, as described above, the device identification token may include a MAC address, source subnet, vendor, or model number corresponding to the network device identified in the DHCP request according to the matching ZTP policy.
[0044] In response to receiving the DHCP response, the network device 46 automatically sends an image pull request to the smart HTTP server using the second URL specified in the DHCP response. The smart HTTP server 24 requests the ZTP controller 30 to retrieve the boot image based on the device identification token included in the second URL specified in the image pull request. In response to receiving the boot image from the ZTP controller 30, the smart HTTP server 24 transmits the boot image to the device. In the second URL example given above, based on the serial number of the network device, if the Image field of the matching ZTP policy is "latest", the ZTP controller 30 will retrieve the most recent (e.g., latest) boot image.
[0045] After receiving the boot configuration and / or boot image from the intelligent HTTP server 26, the network device 46 automatically performs boot program operations and begins normal operation.
[0046] In some examples, ZTP controller 30 also automatically tracks the progress of DHCP and HTTP services, learns to identify DHCP and / or HTTP service failures, identifies possible root causes of the failures, and identifies and / or invokes one or more remedial actions.
[0047] Figure 2 An exemplary ZTP policy data structure 52 is shown in accordance with one or more techniques of the present disclosure. ZTP policy 52 is defined by a network administrator, for example, Figure 1 The exemplary user interface 10 is shown and is stored in a ZTP policy repository, such as a database 50. Each row of the ZTP policy data structure 52 includes a ZTP policy, such as ZTP policies 82, 84, and 86, which are shown for exemplary purposes only, and the present disclosure is not limited in this regard. The ZTP policies (e.g., 82, 84, and 86) include a priority order, such that the ZTP controller 30 checks the ZTP policies for matching criteria one by one in a priority order from the highest priority ZTP policy to the lowest priority ZTP policy. For example, if the exemplary ZTP policy 82 has the highest priority, the exemplary ZTP policy 84 has a medium priority, and the exemplary ZTP policy 86 has the lowest priority, the ZTP controller 30 will check the ZTP policies 82, 84, 86 in that order until a matching ZTP policy is identified each time a DHCP request is received.
[0048] Each column of the ZTP policy data structure 52 stores a condition that defines, for example, one or more network devices to which the ZTP policy applies. The conditions may include, for example, one or more of a MAC address of a particular device or group of devices (e.g., column 1), a serial number of a particular device (e.g., column 2), a source subnet (e.g., column 3), a vendor identifier (e.g., column 4), a model identifier (e.g., column 5), and / or any other condition that may identify a device or group of devices. Figure 2 In the exemplary ZTP data structure 52 of FIG. 8 , ZTP policy 82 applies to all devices with MAC address HE:xxxxx, any serial number, source subnet 10.20.10.1 / 24, vendor identifier VendorA, and model identifier ABCxxx. Exemplary ZTP policy 84 applies to all devices with any MAC address, serial number EFEFADDF, any source subnet, vendor identifier VendorB, and model identifier XYZxxx. Exemplary ZTP policy 86 applies to all devices with MAC address FEExxxx, any serial number, any source subnet, any vendor identifier, and any model identifier.
[0049] Exemplary ZTP policies 84 and 86 specify the subnet as "Any". ZTP policies 84 and 86 apply to devices from any subnet, regardless of whether the network device has L2 or L3 connectivity with the policy-driven ZTP system 20, such as any one or more of 46A, 46B, or 46N. Exemplary ZTP policy 82 applies to devices with L3 connectivity with the policy-driven ZTP system, such as device 46A or 46N, only when the subnets match. Therefore, ZTP policy 82 includes the source subnet in column 3 because devices 46A and 46N do not exist on the same subnet as the intelligent DHCP server 22 and the intelligent HTTP server 24. In this way, the policy-driven ZTP system can enforce one or more ZTP policies that include source subnet / gateway information to automatically configure the network device based on the source subnet included in the device's DHCP request. Therefore, with a matching ZTP policy, the network device can be automatically configured based at least in part on the source subnet that the network device requested to join.
[0050] Similarly, the policy-driven ZTP system can enforce one or more ZTP policies to automatically configure network devices based on any one or more device identification information included in the device's DHCP request (e.g., MAC address, serial number, source subnet, vendor and / or model identification included in the DHCP request). In this way, the technology of the present disclosure enables network administrators to automatically define fine-grained policies on a per-device basis and perform policy-driven ZTP service provisioning on network devices. Policy-driven ZTP service provisioning technology can be controlled on a per-device basis (e.g., by defining the full MAC address and / or serial number to which the ZTP policy applies), by device group (e.g., by defining a partial MAC address and / or partial serial number), by subnet, by vendor, by model, etc., as needed, thereby providing flexible and dynamic fine-grained control for service provisioning of network devices. In addition, because the network device identity information in the form of a device identification token is included in the configuration pull request and / or image pull request, the intelligent HTTP server can uniquely identify the device, restrict unauthorized access, and respond to DHCP requests by static files stored in a database or dynamically generating configuration files according to the instructions of the ZTP controller.
[0051] Each ZTP policy also includes one or more columns defining one or more actions, IP lease information (e.g., IP address and / or subnet / gateway information), or boot information associated with a network device matching the ZTP policy conditions. The action may include, for example, "allow" or "deny," as shown in column 6 of the ZTP data structure 52. If the action included in the ZTP policy is "allow," the ZTP policy indicates to the intelligent DHCP server 22 that the network device that meets the ZTP policy conditions has the right to join the requested subnet. If the action specified in the ZTP policy is "deny," the ZTP policy indicates to the intelligent DHCP server 22 that the network device that meets the ZTP policy conditions does not have the right to join the requested subnet. For example, the action defined by the ZTP policy 86 is "deny," so the ZTP policy 86 indicates that the DHCP server 22 does not allow any device with a MAC address "FEExxxx" to join any source subnet. For this reason, the ZTP policy 86 does not specify a source subnet, a boot image, or a boot configuration. As another example, the ZTP policies 82 and 84 include an action of "allow." ZTP policy 82 specifies subnet information 10.20.10.1 / 24 and default gateway GW 10:20.10.1. ZTP policy 84 specifies subnet information 10.20.10.1 and default gateway GW 10:20.10.1.
[0052] Each ZTP policy can also specify a boot image (for example, Figure 2 8 in the example) and / or the boot configuration (e.g. Figure 2 9 in the example of ). The boot image options may include one or more options for each device vendor or model specified in the ZTP policy, and may include, for example, a "latest" or most recent boot image, a "recommended" boot image, a "most recent by major version" boot image, or a "user selected" boot image. In this way, a network administrator can manage which boot image (e.g., latest, recommended, or user selected) should be transferred to a device, and may update or change this information at any time.
[0053] For example, ZTP policy 82 specifies that a device matching the ZTP policy conditions shown in columns 1 through 5 should configure itself using the device's "recommended" boot image. Upon receiving a DHCP request from a device matching these conditions, intelligent DHCP server 22 generates a DHCP response that includes a URL through which the device can obtain the "recommended" boot image by querying intelligent HTTP server 24.
[0054] As another example, ZTP policy 84 specifies that a device matching the ZTP policy conditions shown in columns 1 through 5 should configure itself using the device's "user selected" boot image. Upon receiving a DHCP request from a device matching these conditions, intelligent DHCP server 22 generates a DHCP response that includes a URL through which the device can obtain the "user selected" boot image by querying intelligent HTTP server 24.
[0055] The boot configuration options may include one or more options for each device vendor or model specified in the ZTP policy, and may include, for example, one or more of a selected one or more template configurations of "enable Network Configuration Protocol (NETCONF)" configuration, "enable Outbound Secure Shell (SSH) Protocol" configuration, "enable Remote Login Protocol" configuration, multiple command line interface (CLI) configurations. In this way, the network administrator can manage which configurations should be transferred to the device, and can update or change this information at any time.
[0056] For example, ZTP policy 84 specifies that devices matching the ZTP policy conditions shown in columns 1 through 5 should automatically configure themselves based on the copy / paste CLI boot configuration specified by the ZTP policy. Upon receiving a DHCP request from a device matching the ZTP policy conditions, intelligent DHCP server 22 generates a DHCP response including a URL through which the device can obtain the specified copy / paste CLI boot configuration via a query to intelligent HTTP server 24.
[0057] As another example, ZTP policy 86 specifies that devices matching the ZTP policy conditions shown in columns 1 to 5 should automatically configure themselves based on the selected template boot configuration specified in the ZTP policy. Upon receiving a DHCP request from a device matching the ZTP policy conditions, intelligent DHCP server 22 generates a DHCP response including a URL through which the device can obtain the specified selected template boot configuration through a query to intelligent HTTP server 24.
[0058] Figure 3A is a block diagram of an exemplary policy-driven ZTP system 20 and an exemplary ZTP policy database 50 according to the techniques of the present disclosure. Figure 1 As described, the ZTP system 20 includes a ZTP controller 30, an intelligent DHCP server 22, and an intelligent HTTP server 24. The ZTP controller 20 also includes one or more processors 32 and one or more storage devices or memories 33. The ZTP controller 30 also includes one or more programmed application modules, such as a policy executor 34, a learning engine 36, a progress tracker 38, and / or a request processor 39, each of which includes instructions to configure the processor 32 to execute one or more policy-driven ZTP techniques of the present disclosure.
[0059] The database 50 includes one or more databases or other data repositories storing a plurality of ZTP policies 52, a plurality of boot configurations / templates 54, and a plurality of boot images 56. Each of the ZTP policies 52 is applied to one or more network devices having device information matching the conditions specified by the ZTP policy. Each ZTP policy also defines one or more of IP lease information, boot configurations, and / or boot images for one or more devices having device information matching the ZTP policy conditions (e.g., MAC address, serial number, source subnet, vendor and / or model identification, etc.). The ZTP policies 52, boot configurations / templates 54, and boot images 56 are managed by a network administrator through, for example, the user interface 10.
[0060] The request handler 39 includes instructions for configuring the processor 32 to process DHCP requests to the intelligent DHCP server 22 and queries to the HTTP server 24 and construct appropriate DHCP responses. For example, upon receiving a DHCP request from a network device, the request handler processes the DHCP request from the intelligent DHCP server 22 and invokes the policy enforcer 34 to identify the ZTP policy 52 that matches the device identification information contained in the incoming DHCP request and obtain the associated action, boot configuration, and / or boot image defined by the matching ZTP policy 52 from the database 50.
[0061] Policy enforcer 34 includes processor 32 that configures ZTP controller 30 to remove DHCP server 22 from network devices (e.g. Figure 1 The conditions specified in a DHCP request received by one of the network devices 46 in the DHCP server 100 are compared with the conditions of one or more ZTP policies stored in the database 50 to thereby identify instructions of a ZTP policy having conditions that match the device information from the incoming DHCP request.
[0062] For example, the intelligent DHCP server 22 is configured to forward the device identification information contained in the DHCP request to the ZTP controller 30 in response to receiving a DHCP request from a network device. The ZTP controller 30 compares the device information contained in the DHCP request with one or more conditions of a plurality of ZTP policies stored in the database 50 to identify a matching ZTP policy through the execution of the policy executor 34. The ZTP controller 30 further instructs the intelligent DHCP server to generate a DHCP response based on the matching ZTP policy through the execution of the policy executor 34, the DHCP response including the IP lease information of the device, the first URL through which the device can obtain the boot configuration, and / or the second URL through which the device can obtain the boot image defined in the matching ZTP policy. The first URL and the second URL can each include a device identification token that identifies the network device that generates the DHCP request. The intelligent DHCP server 22 sends a DHCP response including the IP lease information, the first URL, and / or the second URL to the device.
[0063] In response to receiving the DHCP response, the device 46 automatically sends a configuration pull request to the smart HTTP server 24 using the first URL specified in the DHCP response. The smart HTTP server 24 is configured to request the ZTP controller 30 to automatically generate a boot configuration based on the device identification token included in the first URL specified in the configuration pull request, and the smart HTTP server 24 transmits the generated configuration to the device. In addition, in response to receiving the DHCP response, the device 46 automatically sends an image pull request to the smart HTTP server 350 using the second URL specified in the DHCP response. The smart HTTP server 24 is configured to request the ZTP controller 30 to retrieve the boot image based on the device identification token included in the second URL specified in the image pull request, and the smart HTTP server 24 transmits the retrieved boot image to the device.
[0064] In some examples, ZTP controller 30 includes a progress tracker module 38 that automatically tracks the progress of policy-driven intelligent DHCP and / or policy-driven intelligent HTTP services provided by policy-driven ZTP system 20. For example, the boot configuration and / or boot image may vary widely depending on the boot configuration and / or image file size, the amount of available memory in network device 46, the network speed, and other operating parameters of ZTP system 20, the time required to retrieve DHCP response information. Progress tracker 38 configures processor 32 to collect ZTP progress data associated with the execution of policy-driven ZTP services provided by ZTP system 20.
[0065] In addition, the ZTP controller 30 may further execute the learning engine 36 to dynamically build and apply a machine learning (“ML-based”) based model to the collected ZTP progress metrics to determine whether the ZTP progress data represents normal operation of the policy-driven ZTP system 20 or represents abnormal operation of the ZTP system 20. The ZTP progress metrics may include, for example, DHCP progress metrics (e.g., policy execution time, IP lease time, IP consumption rate, etc.), configuration pull metrics (e.g., configuration pull time, configuration download time, configuration file size, etc.), image pull metrics (e.g., image pull time, image download time, image file size, image upgrade time, etc.). By applying ML-based techniques to one or more ZTP progress metrics collected over time, the learning engine 36 may learn the expected range of one or more ZTP progress metrics and learn to identify when any ZTP progress metric is outside the expected range. The learning engine 36 may further learn when such anomalies in the ZTP progress metrics represent abnormal operation of the policy-driven ZTP system 20.
[0066] The ZTP controller 30 may further execute the learning engine 36 to determine the root cause of the abnormal ZTP progress data that needs to be resolved in order to facilitate resolving potential faults in the network system. The ZTP controller 30 may also execute the learning engine 35 to automatically determine one or more remedial measures intended to resolve the root cause of the abnormal ZTP progress data, generate a notification including an indication of the one or more remedial measures for receipt by a network administrator, or automatically invoke one or more remedial measures to automatically resolve the root cause of the abnormal ZTP progress data. The remedial measures may include, for example, restarting or reconfiguring the network device, identifying a defective boot configuration or a defective boot image, identifying a defective ZTP policy, repairing or deleting a configuration template for a given ZTP policy, avoiding the use of a specific boot image for one or more specific device models, indicating that a specific boot image causes the network device to require more time to boot after ZTP, etc. The remedial measures may also include, based on the "IP consumption rate metric", generating a notification to the administrator suggesting adding additional subnets and / or extending existing subnets.
[0067] Figure 3B is a block diagram illustrating an exemplary smart DHCP server 300 according to the techniques of this disclosure. In some examples, the smart DHCP server 300 is Figure 1 The smart DHCP server 300 includes one or more processors 304, a ZTP controller interface 302, a control unit 308, and a network interface 320.
[0068] The ZTP controller interface 302 is configured to send / receive data and / or control messages to / from the ZTP controller, e.g. Figure 3A The ZTP controller 30 shown in FIG. Processor 304 may include any one or more of a microprocessor, a controller, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or equivalent discrete or integrated logic circuits.
[0069] Control unit 308 includes device modules 312 and protocols 314, which may include software modules executed by control unit 308 or separate, independent hardware units of control unit 308. When any or all of device modules 312 and protocols 314 include software, instructions for device modules 312 and protocols 314 that are executable by a processor may be encoded in a computer-readable medium of intelligent DHCP server 300, such as storage device 306.
[0070] Network interface 320 may include any interface for connecting to a device on a computer network, such as Figure 1 The ZTP controller 30 and / or network device 46 are shown. For example, the network interface 320 may include an Ethernet interface, a Gigabit Ethernet interface, a telephone modem, a cable modem, a satellite modem, or other network interface. In some examples, the network interface 320 includes one or more network interface cards.
[0071] The protocols 314 include one or more communication protocols for communicating with the ZTP system 20 and / or any one of the network devices 46. According to one or more techniques of the present disclosure, the protocols 314 may include a policy-driven ZTP protocol 316. The protocols 214 may also include one or more routing protocols, security protocols, or other protocols used by the DHCP server 300 to communicate with the ZTP system 20 and / or the devices 46, such as the Secure Shell Protocol (SSH), Point-to-Point Protocol (PPP), Point-to-Point Protocol over Ethernet (PPPoE), Point-to-Point Protocol over ATM (PPPoA), Multi-Protocol Label Switching (MPLS), Border Gateway Protocol (BGP), Simple Network Management Protocol (SNMP), Network Configuration Protocol (NETCONF), etc.
[0072] The policy-driven ZTP protocol 316 configures the processor 304 of the smart DHCP server 22 to send a control message to the ZTP controller 30 in response to receiving a DHCP request from a network device through the network interface 320 to request the ZTP controller 30 to enforce any policy associated with the device identification information contained in the DHCP request. The ZTP controller 30 compares the device information contained in the DHCP request with one or more conditions of a plurality of ZTP policies stored in the database 50 to identify a matching ZTP policy through the execution of the policy executor 34. The ZTP controller 30 further sends a control message to the smart DHCP server 20 through the execution of the policy executor 34 and based on the matching ZTP policy. The control message sent by the ZTP controller 30 includes IP lease information, a first URL from which the device can automatically obtain a boot configuration specified in the matching ZTP policy, and / or a second URL from which the device can automatically obtain a boot image specified in the matching ZTP policy. The smart DHCP server 300 sends a DHCP response including the IP lease information, the first URL, and / or the second URL to the device via the network interface 320.
[0073] Figure 3C is a block diagram illustrating an exemplary smart HTTP server 350 according to the techniques of this disclosure. In some examples, the smart HTTP server 350 is Figure 1 An example of an intelligent HTTP server 24. The intelligent HTTP server 350 includes one or more processors 354, a ZTP controller interface 352, a control unit 358, and a network interface 370.
[0074] The ZTP controller interface 352 is configured to send / receive data and / or control messages to / from the ZTP controller, e.g. Figure 3A The ZTP controller 30 shown in FIG. Processor 354 may include any one or more of a microprocessor, a controller, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or equivalent discrete or integrated logic circuits.
[0075] The control unit 358 includes device modules 362 and protocols 364, which may include software modules executed by the control unit 358 or separate, independent hardware units of the control unit 358. When any or all of the device modules 362 and protocols 364 include software, instructions executable by the processor for the device modules 362 and protocols 364 may be encoded in a computer-readable medium of the intelligent HTTP server 350.
[0076] Network interface 370 may include any interface for connecting to a device on a computer network, such as Figure 1 The ZTP controller 30 and / or network device 46 are shown. For example, the network interface 370 may include an Ethernet interface, a Gigabit Ethernet interface, a telephone modem, a cable modem, a satellite modem, or other network interface. In some examples, the network interface 370 includes one or more network interface cards.
[0077] The protocols 364 include one or more communication protocols for communicating with the ZTP system 20 and / or any one of the network devices 46. For example, the protocols 314 may include the HTTP protocol 366 by which the intelligent HTTP server 350 may receive configuration pull requests and / or image pull requests from one or more network devices 46. The protocols 214 may also include one or more routing protocols, security protocols, or other protocols used by the intelligent HTTP server 350 to communicate with the ZTP system 20 and / or devices 46, such as Secure Shell Protocol (SSH), Point-to-Point Protocol (PPP), Point-to-Point Protocol over Ethernet (PPPoE), Point-to-Point Protocol over ATM (PPPoA), Multi-Protocol Label Switching (MPLS), Border Gateway Protocol (BGP), Simple Network Management Protocol (SNMP), Network Configuration Protocol (NETCONF), etc.
[0078] In response to receiving the DHCP response, the device 46 automatically sends a configuration pull request to the smart HTTP server 350 using the first URL specified in the DHCP response. The smart HTTP server 24 is configured to request the ZTP controller 30 to automatically generate a boot configuration based on the device identification token included in the first URL specified in the configuration pull request. In response to receiving the boot configuration from the ZTP controller 30, the HTTP server 24 transmits the boot configuration to the device. In addition, in response to receiving the DHCP response, the device 46 automatically sends an image pull request to the smart HTTP server 350 using the second URL specified in the DHCP response. The smart HTTP server 24 is configured to request the ZTP controller 30 to retrieve the boot image based on the device identification token included in the second URL specified in the image pull request. In response to receiving the boot image from the ZTP controller 30, the smart HTTP server 24 transmits the received boot image to the network device. Based on the received boot configuration and / or boot image, the network device automatically performs a boot procedure operation and begins normal operation.
[0079] Figure 4 is a flow chart illustrating an exemplary process (400) for policy-driven ZTP provisioning of a network device in accordance with the techniques of this disclosure.
[0080] According to one or more techniques of the present disclosure, when a new network device 46 is initially started, the device 46 sends a DHCP request (402) to the intelligent DHCP server 22. For example, the DHCP request includes device identification information, such as one or more of the device's MAC address, serial number, source subnet, vendor identifier, model identifier, etc. The purpose of the DHCP request (402) is to request IP lease information (e.g., IP address and / or default gateway address) and a boot configuration and / or boot image defined by a ZTP policy that matches the device identification information contained in the DHCP request.
[0081] The DHCP request is received by intelligent DHCP server 22. According to one or more techniques of the present disclosure, DHCP server 22 communicates with policy enforcer application 34 running on ZTP system controller 30 to compare the device identification information received in the DHCP request with conditions included in one or more ZTP policies stored in database 50 to identify a ZTP policy having conditions that match the device identification information (404). Based on the matching ZTP policy, intelligent DHCP server 22 generates a DHCP response and sends the DHCP response back to device 46 (406). The DHCP response includes IP lease information, such as an IP address assigned to device 46 and a default gateway address for an associated subnet defined by the matching ZTP policy.
[0082] The DHCP response also includes one or more of the actions defined in the matching ZTP policy, subnet / gateway information, boot configuration information, and / or boot image information. The boot configuration information may include, for example, a first URL by which the device 46 may automatically query the smart HTTP server 24 to obtain a corresponding boot configuration. The boot configuration information may also include, for example, a second URL by which the device 46 may automatically query the smart HTTP server 24 to obtain a corresponding boot image. The first URL and the second URL may include a device identification token that identifies the network device 46 that generated the DHCP request.
[0083] The intelligent DCHP server 22 / policy-driven ZTP controller 30 may further monitor one or more DHCP progress metrics (407) during policy execution and generation of DHCP responses. The DHCP progress metrics may include, for example, policy execution time, IP lease time, IP consumption rate (e.g., the number of IPs leased within a predetermined time period, such as a week, month, etc.), and other related DCHP progress metrics. The DHCP progress metrics are reported and stored in a database (408) and may be used to troubleshoot and / or diagnose abnormal operation of the policy-driven ZTP service provided by the ZTP system 20.
[0084] In response to receiving the DHCP response, the network device automatically generates at least one of a configuration pull request (410) and / or an image pull request (418). The configuration pull request is an automatically generated query to the intelligent HTTP server 24, determined by the boot configuration information contained in the DHCP response. The boot configuration information may include, for example, a first URL that includes a device identification token that identifies the network device that generated the DHCP request. In response to the configuration pull request and based on the device identification token, the HTTP server 24 requests the ZTP controller 30 to automatically generate a boot configuration for the network device and / or retrieve an appropriate boot configuration for the network device (412). In response to receiving the boot configuration, the intelligent HTTP server 24 transmits the generated configuration to the device (412).
[0085] The intelligent HTTP server 24 / policy-driven ZTP controller 30 may further monitor one or more HTTP progress metrics (414) during the retrieval and transmission of the boot configuration. The HTTP progress metrics may include, for example, configuration pull time, configuration file size, configuration download time, etc. The HTTP progress metrics are reported and stored in a database (416) and may be used to troubleshoot and / or diagnose abnormal operation of the policy-driven ZTP service provided by the ZTP system 20.
[0086] In response to receiving the DHCP response, the network device may further automatically generate an image pull request (418). The image pull request is an automatically generated query to the smart HTTP server 24, determined by the boot image information contained in the DHCP response. The boot image information may include, for example, a second URL that includes a device identification token that identifies the network device that generated the DHCP request. In response to the image pull request, the smart HTTP server 24 requests the ZTP controller 30 to automatically retrieve the boot image of the network device based on the device identification token contained in the second URL specified in the image pull request (420). The smart HTTP transmits the boot image to the device (420). The network device 46 automatically performs a boot program operation based on at least one of the boot configuration received in response to the configuration pull request and the boot image received in response to the image pull request (426), and begins normal operation (428).
[0087] The intelligent HTTP server 24 / policy-driven ZTP controller 30 may also monitor one or more image pull progress metrics (422) during the retrieval and transfer of the boot image. The image pull progress metrics may include, for example, image pull time, image file size and image upgrade time, image download time, etc. The image pull progress metrics are reported and stored in a database (416) and may be used to troubleshoot and / or diagnose abnormal operation of the policy-driven ZTP service provided by the ZTP system 20.
[0088] The monitored ZTP progress metrics (e.g., DHCP progress metrics (408), configuration pull progress metrics (416), and image pull progress metrics (424)) may be input to one or more ML-based models to determine whether the policy-driven ZTP progress data represents normal or abnormal operation of the policy-driven ZTP system 20.
[0089] Figure 5A 5 is a flow chart illustrating an exemplary process (500) by which one or more processors train a machine learning model to classify the operation of a policy-driven ZTP system based on a ZTP progress metric in accordance with techniques of the present disclosure. The one or more processors may include, for example, processor 32 of policy-driven ZTP system 20, processor 304 of intelligent DHCP server 300, and / or processor 354 of intelligent HTTP server 350. During a training phase, one or more processors of a policy-driven ZTP system (e.g., policy-driven ZTP system 20) execute a policy-driven ZTP process, such as Figure 5A The process (400) shown in (502) is as follows. The processor monitors one or more ZTP progress metrics during the training phase (504). For example, during the training phase, the processor may monitor any one or more of a DHCP progress metric, a configuration pull progress parameter, and / or an image pull progress parameter during execution of the policy-driven ZTP process.
[0090] The processor trains the machine learning model to classify the operation of the policy-driven ZTP system based on the ZTP progress metrics monitored during the training phase (506). The classification may include normal / expected or abnormal. In some examples, there may be more than one classification of abnormal operation. Each classification of abnormal operation may also be associated with a different root cause or reason behind the abnormal operation.
[0091] Figure 5B 5 is a flow chart illustrating an exemplary process (520) by which one or more processors apply one or more machine learning-based models to determine whether policy-driven ZTP progress data indicates abnormal operation of the policy-driven ZTP system in accordance with the techniques of this disclosure. The one or more processors may include, for example, processor 32 of policy-driven ZTP system 20, processor 304 of intelligent DHCP server 300, and / or processor 354 of intelligent HTTP server 350. During the deployment phase, one or more processors of a policy-driven ZTP system (e.g., policy-driven ZTP system 20) execute policy-driven ZTP processes, such as Figure 5B The processor monitors one or more ZTP progress metrics during the deployment phase (524). The ZTP progress metrics may include, for example, DHCP progress metrics (e.g., policy execution time, IP lease time, IP consumption rate, etc.), configuration pull metrics (e.g., configuration pull time, configuration file size, configuration download time, etc.), image pull metrics (e.g., image pull time, image file size, image upgrade time, image download time, etc.), and any other ZTP progress metric indication of the operation of the ZTP system.
[0092] The processor applies the trained machine learning model to classify the operation of the policy-driven ZTP process based on the ZTP progress metrics monitored during the deployment phase (526). For example, the trained machine learning model can be based on Figure 5A The process (500) shown herein trains a machine learning model. The trained machine learning model may classify the operation of the policy-driven ZTP process into one or more classifications of normal, expected, or abnormal operation.
[0093] If the machine learning model classifies the operation of the policy-driven ZTP system as normal or expected (the "no" branch of 528), the processor continues to monitor the ZTP process metrics for abnormal operation (522, 524, 526). In some examples, if the machine learning model classifies the operation of the policy-driven ZTP system as abnormal (the "yes" branch of 528), the processor can further determine one or more root causes of the abnormal operation (530). In some examples, to determine the root cause of the abnormal operation (530), the processor can refer to the root cause association data stored in the database, such as the root cause association data 60 stored in the database 50, such as Figure 3A As shown. Root cause association data 60 may include, for example, one or more database structures that associate classifications of abnormal operations with one or more potential root causes. In other examples, to determine the root cause of the abnormal operation (530), the processor may call or request a remote or cloud-based virtual network assistant (VNA) to invoke a more complex and / or computationally expensive root cause analysis.
[0094] The processor may further determine one or more remedial actions to address the root cause of the abnormal operation (532). In some examples, to determine the remedial action to address the root cause of the abnormal operation (532), the processor may refer to the root cause association data stored in the database, such as the root cause association data 60 stored in the database 50, as shown in FIG. Figure 3A As shown. The root cause association data 60 may include, for example, one or more database structures that associate the classification of abnormal operation with one or more potential root causes, and further associate each root cause with one or more remedial actions that can be invoked to address the corresponding root cause. In other examples, to determine the remedial action (532) to address the root cause of the abnormal operation, the processor may call or request a remote or cloud-based virtual network assistant (VNA) to invoke a more complex and / or computationally expensive root cause / remedial action analysis.
[0095] The processor may also generate a notification that includes one or more of the ZTP process metrics monitored during the deployment phase, the abnormal operation classification, one or more root causes of the abnormal operation of the ZTP system, and one or more remedial actions to address the root causes of the abnormal operation (534). In some examples, the processor may further automatically invoke one or more determined remedial actions to attempt to address the determined root cause of the abnormal operation of the ZTP system (534).
[0096] Further exemplary details of the root cause analysis and automatic correction techniques performed by the NMS 136 are described in U.S. application serial number 14 / 788,489, entitled “Monitoring Wireless Access Point Events,” filed on June 30, 2015, U.S. application serial number 16 / 835,757, entitled “Network System Fault Resolution Using a Machine Learning Model,” filed on March 31, 2020, U.S. application serial number 16 / 279,243, entitled “Systems and Methods for a Virtual Network Assistant,” filed on February 19, 2019, U.S. application serial number 16 / 237,677, entitled “Methods and Apparatus for Facilitating Fault Detection and / or Predictive Fault Detection,” filed on December 31, 2018, and U.S. application serial number 16 / 237,677, entitled “Method for Spatio-Temporal Fault Detection and / or Predictive Fault Detection,” filed on January 18, 2019. No. 16 / 251,942, entitled “Modeling” and U.S. application serial number 16 / 296,902, filed on March 8, 2019, entitled “Method for Conveying AP Error Codes Over BLE Advertisements,” all of which are incorporated herein by reference in their entirety.
[0097] The techniques described in this disclosure may be implemented, at least in part, in hardware, software, firmware, or any combination thereof. For example, various aspects of the techniques may be implemented within one or more processors, including 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 such components. The term "processor" or "processing circuit" may generally refer to any of the aforementioned logic circuits, alone or in combination with other logic circuits, or any other equivalent circuits. A control unit including hardware may also perform one or more techniques of the present disclosure.
[0098] Such hardware, software, and firmware may be implemented within the same device or within separate devices to support the various operations and functions described in this disclosure. In addition, any of the described units, modules, or components may be implemented together or individually as discrete but interoperable logic devices. Describing different features as modules or units is intended to emphasize different functional aspects and does not necessarily imply that such modules or units must be implemented by separate hardware or software components. On the contrary, the functions associated with one or more modules or units may be performed by separate hardware or software components, or integrated in common or separate hardware or software components.
[0099] The techniques described in the present disclosure may also be embodied or encoded in a computer-readable medium (e.g., a computer-readable storage medium) containing instructions. The instructions embedded or encoded in the computer-readable storage medium may cause a programmable processor or other processor to perform the method, for example, when the instructions are executed. The computer-readable storage medium may include a random access memory (RAM), a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electronically erasable programmable read-only memory (EEPROM), a flash memory, a hard disk, a CD-ROM, a floppy disk, a tape, a magnetic medium, an optical medium, or other computer-readable medium.
[0100] Various examples have been described. These and other examples are within the scope of the following claims.< / ztpsystemip> < / ztpsystemip>
Claims
1. A computer network system, include: Multiple network devices; A memory storing a plurality of service provisioning policies in a priority order; as well as A system comprising one or more processors, wherein the one or more processors are configured to: receiving a request from a first network device among the plurality of network devices, the request comprising network device identification information identifying the first network device; Based on the network device identification information included in the request, identifying a matching service provisioning policy from the multiple service provisioning policies, the matching service provisioning policy having the highest priority among the one or more matching service provisioning policies, wherein the network device identification information includes one or more of the following items: a media access control (MAC) address of the first network device, a serial number of the first network device, a subnet of the first network device, a vendor of the first network device, and a model of the first network device; and A response to the first network device is generated, the response including address information assigned to the first network device and boot information corresponding to the first network device defined by the matched service provisioning policy.
2. The computer network system according to claim 1, in, The one or more processors are further configured to: automatically generating a boot configuration for the first network device based on a configuration pull request received from the first network device; and The automatically generated boot configuration is sent to the first network device.
3. The computer network system according to claim 1, in, The one or more processors are further configured to: automatically retrieving a boot image for the first network device based on an image pull request received from the first network device; and The automatically retrieved boot image is sent to the first network device.
4. The computer network system according to any one of claims 1 to 3, in, The boot information included in the response includes at least one of boot configuration information and boot image information.
5. The system according to claim 4, in, The boot configuration information includes a uniform resource locator (URL) including a device identification token corresponding to the first network device.
6. The computer network system according to claim 4, in, The boot image information includes a uniform resource locator (URL) including a device identification token corresponding to the first network device.
7. The computer network system according to any one of claims 1 to 3, in, The one or more processors are further configured to: During a training phase, monitoring one or more metrics during operation of the system; as well as The machine learning model is trained to classify operation of the system as one of normal operation of the system and abnormal operation of the system based on the one or more metrics monitored during the training phase.
8. The computer network system according to any one of claims 1 to 3, in, The one or more processors are further configured to: monitoring one or more metrics during operation of the system; as well as Based on the trained machine learning model, the operation of the system is classified as one of normal operation of the system and abnormal operation of the system based on the one or more metrics monitored during the operation.
9. The computer network system according to claim 8, in, The one or more processors are further configured to: In response to classifying the operation of the system as abnormal operation of the system, automatically performing at least one of the following: generating a notification indicating a classification of abnormal operation and at least one remedial action to address the abnormal operation of the system, and The at least one remedial action is invoked.
10. The computer network system according to any one of claims 1 to 3, in, The request received from the first network device is a Dynamic Host Configuration Protocol (DHCP) request, and wherein the response generated by the system is a DHCP response.
11. A computer networking method, include: Receiving, by one or more processors of the system, a request from a first network device among a plurality of network devices, the request including network device identification information identifying the first network device; The one or more processors identify a matching service provisioning policy from a plurality of service provisioning policies based on the network device identification information included in the request, the plurality of service provisioning policies having a priority order, the matching service provisioning policy having a highest priority among the one or more matching service provisioning policies, and wherein the network device identification information includes one or more of the following items: a media access control (MAC) address of the first network device, a serial number of the first network device, a subnet of the first network device, a vendor of the first network device, and a model of the first network device; as well as The one or more processors generate a response to the first network device, the response including address information assigned to the first network device and boot information corresponding to the first network device defined by the matched service provisioning policy.
12. The method according to claim 11, further comprising: include: automatically generating a boot configuration for the first network device based on a configuration pull request received from the first network device; as well as The automatically generated boot configuration is sent to the first network device.
13. The method according to claim 11, further comprising: include: automatically retrieving a boot image of the first network device based on an image pull request received from the first network device; as well as The automatically retrieved boot image is sent to the first network device.
14. The method according to any one of claims 11 to 13, further comprising: include: monitoring one or more metrics during operation of the system; as well as Based on the trained machine learning model, the operation of the system is classified as one of normal operation of the system and abnormal operation of the system based on the one or more metrics monitored during the operation.
15. The method according to claim 14, further comprising at least one of the following: generating a notification indicating a classification of abnormal operation and at least one remedial action to address the abnormal operation of the system; and The at least one remedial action is automatically invoked to resolve the abnormal operation of the system.
16. A network device, include: Memory; as well as One or more processors configured to: Generate a request to the system, the request including network device identification information, the network device identification information identifying the network device from a plurality of network devices, wherein: The network device identification information includes at least one of a media access control (MAC) address of the network device, a serial number of the network device, a subnet of the network device, a vendor of the network device, and a model of the network device; receiving a response from the system, the response comprising address information assigned to the network device and boot information of the network device, the response being generated by the system based on a matched service provisioning policy, the matched service provisioning policy being identified by the system based on the network device identification information included in the request, the matched service provisioning policy having a highest priority among one or more matched service provisioning policies from the plurality of service provisioning policies having a priority order; Based on the boot information included in the response, automatically generate at least one of a configuration pull request for the system and an image pull request for the system; and A boot program operation of the network device is automatically performed based on at least one of a boot configuration received in response to the configuration pull request and a boot image received in response to the image pull request.
17. The network device according to claim 16, in, The boot information includes at least one of a first URL including a device identification token corresponding to the network device and a second URL including a device identification token not corresponding to the network device.
