A network device (e.g., a router, a switch, or another network device) can support one or more resources (also referred to as services), such as a security resource, an interface resource, and/or a routing-policy resource. The one or more resources may be configured according to a configuration file (e.g., that indicates one or more resource configurations) included in the network device, which may be formatted according to an extensible markup language (XML).
In some implementations, a method includes receiving, by a system, an XML configuration stream that indicates one or more resource configurations; maintaining, by the system, in the form of a data model, metadata that describes the XML configuration stream; processing, by the system, the data model to generate a metadata tree; generating, by the system and based on the XML configuration stream and the metadata tree, one or more XML configuration sub-streams that are respectively associated with a subset of the one or more resource configurations; and processing, by the system and using respective resource processing modules of the system, the one or more XML configuration sub-streams to generate respective information associated with the subset of the one or more resource configurations.
In some implementations, a non-transitory computer-readable medium storing a set of instructions includes one or more instructions that, when executed by one or more processors of a system, cause the system to: receive an XML configuration stream; maintain a data model associated with the XML configuration stream; process the data model to generate a metadata tree; and generate, based on the XML configuration stream and the metadata tree, one or more XML configuration sub-streams.
In some implementations, a system includes one or more memories; and one or more processors to: process an XML configuration stream that indicates one or more resource configurations to generate a metadata tree; generate, based on the XML configuration stream and the metadata tree, one or more XML configuration sub-streams that are respectively associated with a subset of the one or more resource configurations; and process, using respective resource processing modules of the system, the one or more XML configuration sub-streams to generate respective information associated with the subset of the one or more resource configurations.
The following detailed description of example implementations refers to the accompanying drawings. The same reference numbers in different drawings may identify the same or similar elements.
A network management system can manage multiple, different network devices in a network. In some cases, a configuration of a network device may be updated (e.g., by the network management system, or by another device, such as a client device of a network administrator). Accordingly, the network device (or another device, such as the client device) may provide an XML configuration stream to the network management system. The XML configuration stream may be a stream of the configuration file that has been updated to cause the network device to be updated. The network management system may analyze the XML configuration stream to determine how the configuration of the network device has been updated and/or what updates should be made to other network devices in the network (e.g., to ensure consistency and/or compatibility among the network devices), among other examples.
Typically, to analyze the XML configuration stream, the network management system waits until the entire XML configuration stream is received and then analyzes the XML configuration stream. The network management system then uses different filters to identify sections of the XML configuration streams that are associated with particular resource configurations, which is a serial process. Further, when the network management system needs to translate some or all of the XML configuration stream into another version (e.g., a vendor neutral representation, such as an OpenConfig representation) to enable updating of other, different network devices, the network management system can use a transformation technique (e.g., an extensible stylesheet language transformation (XSLT) technique) that requires generation of a document object model (DOM) of the XML configuration stream. XSLT 3.0 tries to improve over XSLT 2.0 with respect to reducing the size of source document and result document maintained in memory, but still while evaluating the XPATH expressions the intermediate results are stored in variables in evaluation-context. Moreover, these transformations cannot be distributed across multiple machines to reduce the memory and compute resources used from one single machine. These approaches are computing intensive (e.g., consume large amounts of computing resources, such as processing resources, memory resources, communication resources, and/or power resources, among other examples) and/or time intensive (e.g., require idle time and/or require lengthy calculations to be performed that consume multiple computing cycles). If such transformations are carried out on the Kubernetes based deployments, then there is always a possibility of single POD executing these transformations exceeding its allocated CPU and memory resources, causing Kubernetes orchestrator to restart the POD.
Some implementations described herein provide a network management system (NMS). The NMS receives an XML configuration stream that indicates one or more resource configurations. The NMS maintains a data model (e.g., a “minimal” data model) describing the XML configuration stream, and then processes the data model to generate a metadata tree. The NMS may include in the data model one or more data elements that correspond to the one or more resource configurations, and may cause particular data elements to include additional parameters to identify the particular data elements and/or to indicate that the particular data elements are of interest (e.g., that the particular data elements correspond to resource configurations that are relevant to configuring other network devices). The metadata tree may therefore include only nodes that are associated with resource configurations of interest (e.g., based on the parameters of the particular data elements). The NMS (e.g., using a general processing module) then processes the XML configuration stream and the metadata tree (e.g., simultaneously, in a combined process) to generate one or more XML configuration sub-streams. For example, the NMS may identify subtrees of the metadata tree that are associated with a particular resource configuration and may thereby cause elements (and attributes) of the XML configuration stream to be included in an XML configuration sub-stream associated with the particular resource configuration.
In this way, the NMS is able to process the XML configuration stream and dynamically generate the one or more XML configuration sub-streams (e.g., without waiting for the XML configuration stream to be fully received and stored in transient or intermediary storage). Further, by using a metadata tree (e.g., that is generated based on a minimal data model), the NMS is able to “filter” the XML configuration stream without modifying the XML configuration stream or needing to maintain a separate copy of the XML configuration stream. The NMS, therefore, to generate the one or more XML configuration sub-streams, uses fewer computing resources (e.g., processing resources, memory resources, communication resources, and/or power resources, among other examples) and can do so in less time than a network management system that uses a typical approach. Additionally, because a minimal data model is maintained, the NMS does not need to account for specific or unique attributes of the XML configuration stream (including all the attributes that can cause the data model to exponentially grow in size), which further conserves resources. Further, because the minimal data model is associated with high-level features of the XML configuration stream, the minimal data model may be provided to the NMS (e.g., by another device, such as via a Kubernetes custom resource definition (CRD) functionality) rather than maintained by the NMS, which improves the operational efficiency of the system where the CRD can be updated to include the new resources to generate additional sub-streams without requiring redeployment or restart of NMS.
Moreover, the NMS may include one or more resource processing modules that are configured to process the one or more XML configuration sub-streams. Each resource processing module may be associated with a resource and may be configured to process an XML configuration sub-stream that is associated with the resource. Accordingly, the resource processing module may be optimized to process the XML configuration sub-stream, and may use computing resources that are allocated to the resource processing module (rather than computing resources allocated to the general/main processing module of the NMS). This conserves computing resources allocated to the general/main processing module. Further, the one or more resource processing modules may operate in parallel, which allows for a more efficient use of computing resources allocated to processing modules of the NMS, and also improves a computing time performance of the NMS (e.g., to generate information associated with the one or more XML configuration sub-streams). Once the sub-stream is read by a resource processing module it may proceed independent of the other resource processing modules to operate on that sub-stream.
As shown in
As shown by reference number 104, the NMS may maintain a data model. The data model may include metadata that describes the XML configuration stream (e.g., the data model may include metadata that provides information about a structure of the XML configuration stream). For example, for each resource configuration indicated by the XML configuration, the data model may include a data element that corresponds to the resource configuration. The data model may be, for example, a “yet another next generation” (YANG) data model. In some implementations, the data model may represent at least some information associated with the one or more resource configurations indicated by the XML configuration stream. For example, the data model may include one or more data elements that identify the one or more resource configurations. In some implementations, the one or more data elements may not represent specific configuration details associated with the one or more resource configurations. Accordingly, the data model may be considered to be a “minimal” data model (e.g., a minimal YANG data model).
In some implementations, the NMS (e.g., using the general processing module) may maintain the data model such that the data model includes additional information (e.g., that is not included in the XML configuration stream). For example, the data model may include a data element that corresponds to a resource configuration (e.g., that is indicated by the XML configuration stream), wherein the data element includes one or more parameters. For example, a first parameter may indicate that the data element (for example, and/or the corresponding resource configuration) is of interest, such as for further processing by the NMS; and/or a second parameter may indicate an identifier (e.g., an alphanumeric string, or other identifier) that is associated with the data element (and/or the corresponding resource configuration). As a specific example, as further shown in
In some implementations, the data model may be represented as a Kubernetes CRD. With this approach, it is possible to generate new sub-streams (as described herein) by updating the CRD to include a data element that includes one or more parameters. Accordingly, the system may include other processing modules to process the new sub-streams. Further, the system may maintain a mapping between sub-streams and corresponding processing modules. This approach is extensible and new sub-streams can be included without requiring restart of any of the existing processing modules.
As shown in
In some implementations, the metadata tree may include only nodes that correspond to data elements of the data model that each include a first parameter (e.g., that indicates that the data element, and/or the corresponding resource configuration, is of interest, such as for further processing by the NMS). For example, the metadata tree may include only nodes that correspond to data elements with a “jcr: config-filter” parameter. In some implementations, the metadata tree may include nodes that correspond to data elements that have a first parameter, and that descend from (e.g., are children of) data elements that have the first parameter. In this way, the metadata tree may be considered to be “filtered” to include nodes that are associated with resource configurations that are of interest, and, optionally, resource configurations associated with the resource configurations that are of interest.
As shown in
In some implementations, when the NMS is processing the XML configuration stream and the metadata tree, the NMS may identify a start element (e.g., that is associated with a resource configuration) of the XML configuration stream. The NMS then may determine whether a node of the metadata tree is associated with the start element (e.g., whether the node corresponds to the resource configuration). When the NMS does not identify a node that is associated with the start element, the NMS may ignore the start element, and one or more other elements that are associated with the start element (e.g., an end element that corresponds to the start element, and/or one or more other elements that are child elements of the start element). Alternatively, when the NMS identifies a node that is associated with the start element, the NMS may cause a stream writer to be created (e.g., as a processing instance within the general processing module of the NMS). The stream writer may be configured to generate an XML configuration sub-stream (e.g., based on information provided to the stream writer by the NMS, as described herein).
In some implementations, the NMS (e.g., after causing the stream writer to be created) may generate an XML snippet (e.g., based on processing the XML configuration stream and the metadata tree). The NMS may provide the XML snippet to the stream writer, which may allow the stream writer to generate a particular XML configuration sub-stream. The particular XML configuration sub-stream may include a portion of the XML configuration stream, such that the particular XML configuration sub-stream indicates one or more configuration settings of the resource configuration (e.g., that is associated with the start element).
In some implementations, to generate the XML snippet, the NMS may identify another start element of the XML configuration stream (e.g., that is a child element of the start element described above). The NMS then may identify another node of the metadata tree that is associated with the other start element. Accordingly, the NMS may determine (e.g., based on the other node) whether the other start element is to be included in the XML snippet.
For example, the NMS may determine that the other node is associated with a data element of the data model, and that the other node includes a second parameter (e.g., that indicates an identifier that is associated with the data element). The other start element may be a parent element in a set of elements (e.g., that includes the other start element and a corresponding end element, and one or more child elements of the other start element) of the XML configuration stream. The NMS may therefore determine (e.g., based on determining that the other node includes a second parameter) that the set of elements are to be included in the XML snippet, and may thereby generate the XML snippet to include the set of elements (and, optionally, respective attributes of the set of elements). In this way, the XML snippet may be generated to include elements (and attributes) that are associated with the resource configuration.
As another example, the NMS may determine that the other node is associated with a data element of the data model, and that the other node does not include a second parameter. The NMS may therefore determine that the other start element is to not be included in the XML snippet, and may thereby generate the XML snippet to not include the other start element. Alternatively, the NMS may determine that the other start element is a child element of another element of the XML configuration stream (e.g., that is a child element of the start element) that is associated with a node that includes a second parameter. Accordingly, because the other element is to be included in the XML snippet (e.g., for one or more reasons described elsewhere herein), the NMS may determine that the other start element is to be included in the XML snippet, and may thereby generate the XML snippet to include the other start element (and, optionally, one or more attributes of the other start element). In this way, the XML snippet may be generated to include elements (and attributes) that are associated with other elements that are associated with the resource configuration.
In an additional example, the NMS may determine that the other node is associated with a data element of the data model, and that the other node is a leaf node of the metadata tree. The other start element may be a parent element of a set of elements (e.g., that includes child elements of the other start element) of the XML configuration stream. The NMS may therefore determine (e.g., based on determining that the other node is a leaf node of the metadata tree) that the set of elements are to be included in the XML snippet, and may thereby generate the XML snippet to include the set of elements. In this way, the XML snippet may be generated to include elements that are associated with the resource configuration, but that are not represented in the metadata tree, to maintain a hierarchical structure of start elements of the XML configuration stream in the XML snippet.
In some implementations, the NMS may determine that the other node of the metadata tree does not include a second parameter and that the other start element is not a child element of another element of the XML configuration stream that is to be included in the XML snippet. The NMS may therefore cause the other start element to be stored in a data structure (e.g., a stack, a queue, or another type of data structure) that stores start elements. In some implementations, the NMS may generate the XML snippet to include one or more elements (and, optionally, respective attributes of the one or more elements), such as for one or more reasons described elsewhere herein, and the NMS may therefore determine that one or more start elements of the data structure are to be included in the XML snippet. The NMS may generate the XML snippet to include (or to further include) the one or more start elements. In this way, a hierarchical structure of start elements of the XML configuration stream may be maintained in the XML snippet.
In some implementations, the NMS may identify an end element of the configuration stream that is associated with the start element (e.g., the end element corresponds to the start element). The NMS may therefore determine whether the data structure includes any start element (e.g., whether the data structure is full, or empty). For example, the NMS may identify that the data structure is storing one or more start elements (e.g., that are child elements of the start element), and may therefore generate one or more end elements that are respectively associated with the one or more start elements. The NMS then may generate the XML snippet to include the one or more end elements. In this way, the NMS facilitates a proper formatting (e.g., XML formatting) of the XML snippet.
After the NMS has generated the one or more XML configuration sub-streams, the NMS may flush (e.g., drop or remove) the XML configuration stream from the NMS. The NMS may also flush the data structure described herein (e.g., remove any start elements stored in the data structure). This frees up computing resources (e.g., processing resources, memory resources, communication resources, and/or power resources, among other examples) that would otherwise be used to maintain the XML configuration stream and/or the contents of the data structure in the NMS.
As shown in
In some implementations, information associated with a resource configuration may include a translated version of an XML configuration sub-stream that is associated with the resource configuration. For example, the NMS may process (e.g., using the resource processing module associated with the resource configuration, and using a translation technique) the XML configuration sub-stream to generate the translated version of the XML configuration sub-stream. The translated version of the XML configuration sub-stream may be in a format (e.g., a vendor neutral format), such that the XML configuration sub-stream may be processed by a device (e.g., another network device) to allow the resource configuration for the device to be updated (e.g., according to the XML configuration sub-stream). Accordingly, the NMS may provide the translated version of the XML configuration sub-stream to the device, which may allow the device to update the resource configuration for the device.
In some implementations, information associated with a resource configuration may include update information associated with the resource configuration. The update information may indicate, for example, one or more out-of-band changes to the resource configuration, and/or one or more other modifications (e.g., one or more modified Xpaths) to the resource configuration. The NMS may process (e.g., using the resource processing module associated with the resource configuration, and using a comparison technique) the XML configuration sub-stream and another XML configuration sub-stream (e.g., a prior version of the XML configuration sub-stream) to determine the update information. The NMS may provide the update information to another device (e.g., another network device) to allow the resource configuration for the device to be updated (e.g., according to the update information).
In some implementations, using respective resource processing modules of the NMS to process the one or more XML configuration sub-streams allows for at least one of: the processing of the XML configuration across multiple processing modules, or the resource processing modules of the system and the general processing module of the system to not exceed respective resource allocations (e.g., compute and/or memory resource allocations).
As indicated above,
As shown in
As shown in
As shown in
As indicated above,
The cloud computing system 302 may include computing hardware 303, a resource management component 304, a host operating system (OS) 305, and/or one or more virtual computing systems 306. The cloud computing system 302 may execute on, for example, an Amazon Web Services platform, a Microsoft Azure platform, or a Snowflake platform. The resource management component 304 may perform virtualization (e.g., abstraction) of computing hardware 303 to create the one or more virtual computing systems 306. Using virtualization, the resource management component 304 enables a single computing device (e.g., a computer or a server) to operate like multiple computing devices, such as by creating multiple isolated virtual computing systems 306 from computing hardware 303 of the single computing device. In this way, computing hardware 303 can operate more efficiently, with lower power consumption, higher reliability, higher availability, higher utilization, greater flexibility, and lower cost than using separate computing devices.
The computing hardware 303 may include hardware and corresponding resources from one or more computing devices. For example, computing hardware 303 may include hardware from a single computing device (e.g., a single server) or from multiple computing devices (e.g., multiple servers), such as multiple computing devices in one or more data centers. As shown, computing hardware 303 may include one or more processors 307, one or more memories 308, and/or one or more networking components 309. Examples of a processor, a memory, and a networking component (e.g., a communication component) are described elsewhere herein.
The resource management component 304 may include a virtualization application (e.g., executing on hardware, such as computing hardware 303) capable of virtualizing computing hardware 303 to start, stop, and/or manage one or more virtual computing systems 306. For example, the resource management component 304 may include a hypervisor (e.g., a bare-metal or Type 1 hypervisor, a hosted or Type 2 hypervisor, or another type of hypervisor) or a virtual machine monitor, such as when the virtual computing systems 306 are virtual machines 310. Additionally, or alternatively, the resource management component 304 may include a container manager, such as when the virtual computing systems 306 are containers 311. In some implementations, the resource management component 304 executes within and/or in coordination with a host operating system 305.
A virtual computing system 306 may include a virtual environment that enables cloud-based execution of operations and/or processes described herein using computing hardware 303. As shown, a virtual computing system 306 may include a virtual machine 310, a container 311, or a hybrid environment 312 that includes a virtual machine and a container, among other examples. A virtual computing system 306 may execute one or more applications using a file system that includes binary files, software libraries, and/or other resources required to execute applications on a guest operating system (e.g., within the virtual computing system 306) or the host operating system 305.
Although the NMS 301 may include one or more elements 303-312 of the cloud computing system 302, may execute within the cloud computing system 302, and/or may be hosted within the cloud computing system 302, in some implementations, the NMS 301 may not be cloud-based (e.g., may be implemented outside of a cloud computing system) or may be partially cloud-based. For example, the NMS 301 may include one or more devices that are not part of the cloud computing system 302, such as device 400 of
The network 320 may include one or more wired and/or wireless networks. For example, the network 320 may include a cellular network, a public land mobile network (PLMN), a local area network (LAN), a wide area network (WAN), a private network, the Internet, and/or a combination of these or other types of networks. The network 320 enables communication among the devices of the environment 300.
The network device 330 includes one or more devices capable of receiving, processing, storing, routing, and/or providing traffic (e.g., a packet or other information or metadata) in a manner described herein. For example, the network device 330 may include a router, such as a label switching router (LSR), a label edge router (LER), an ingress router, an egress router, a provider router (e.g., a provider edge router or a provider core router), a virtual router, or another type of router. Additionally, or alternatively, the network device 330 may include a gateway, a switch, a firewall, a hub, a bridge, a reverse proxy, a server (e.g., a proxy server, a cloud server, or a data center server), a load balancer, and/or a similar device. In some implementations, the network device 330 may be a physical device implemented within a housing, such as a chassis. In some implementations, the network device 330 may be a virtual device implemented by one or more computer devices of a cloud computing environment or a data center. In some implementations, a group of network devices 330 may be a group of data center nodes that are used to route traffic flow through network 320.
The number and arrangement of devices and networks shown in
The bus 410 may include one or more components that enable wired and/or wireless communication among the components of the device 400. The bus 410 may couple together two or more components of
The memory 430 may include volatile and/or nonvolatile memory. For example, the memory 430 may include random access memory (RAM), read only memory (ROM), a hard disk drive, and/or another type of memory (e.g., a flash memory, a magnetic memory, and/or an optical memory). The memory 430 may include internal memory (e.g., RAM, ROM, or a hard disk drive) and/or removable memory (e.g., removable via a universal serial bus connection). The memory 430 may be a non-transitory computer-readable medium. The memory 430 may store information, one or more instructions, and/or software (e.g., one or more software applications) related to the operation of the device 400. In some implementations, the memory 430 may include one or more memories that are coupled (e.g., communicatively coupled) to one or more processors (e.g., processor 420), such as via the bus 410. Communicative coupling between a processor 420 and a memory 430 may enable the processor 420 to read and/or process information stored in the memory 430 and/or to store information in the memory 430.
The input component 440 may enable the device 400 to receive input, such as user input and/or sensed input. For example, the input component 440 may include a touch screen, a keyboard, a keypad, a mouse, a button, a microphone, a switch, a sensor, a global positioning system sensor, a global navigation satellite system sensor, an accelerometer, a gyroscope, and/or an actuator. The output component 450 may enable the device 400 to provide output, such as via a display, a speaker, and/or a light-emitting diode. The communication component 460 may enable the device 400 to communicate with other devices via a wired connection and/or a wireless connection. For example, the communication component 460 may include a receiver, a transmitter, a transceiver, a modem, a network interface card, and/or an antenna.
The device 400 may perform one or more operations or processes described herein. For example, a non-transitory computer-readable medium (e.g., memory 430) may store a set of instructions (e.g., one or more instructions or code) for execution by the processor 420. The processor 420 may execute the set of instructions to perform one or more operations or processes described herein. In some implementations, execution of the set of instructions, by one or more processors 420, causes the one or more processors 420 and/or the device 400 to perform one or more operations or processes described herein. In some implementations, hardwired circuitry may be used instead of or in combination with the instructions to perform one or more operations or processes described herein. Additionally, or alternatively, the processor 420 may be configured to perform one or more operations or processes described herein. Thus, implementations described herein are not limited to any specific combination of hardware circuitry and software.
The number and arrangement of components shown in
Input component 510 may be one or more points of attachment for physical links and may be one or more points of entry for incoming traffic, such as packets. Input component 510 may process incoming traffic, such as by performing data link layer encapsulation or decapsulation. In some implementations, input component 510 may transmit and/or receive packets. In some implementations, input component 510 may include an input line card that includes one or more packet processing components (e.g., in the form of integrated circuits), such as one or more interface cards (IFCs), packet forwarding components, line card controller components, input ports, processors, memories, and/or input queues. In some implementations, device 500 may include one or more input components 510.
Switching component 520 may interconnect input components 510 with output components 530. In some implementations, switching component 520 may be implemented via one or more crossbars, via busses, and/or with shared memories. The shared memories may act as temporary buffers to store packets from input components 510 before the packets are eventually scheduled for delivery to output components 530. In some implementations, switching component 520 may enable input components 510, output components 530, and/or controller 540 to communicate with one another.
Output component 530 may store packets and may schedule packets for transmission on output physical links. Output component 530 may support data link layer encapsulation or decapsulation, and/or a variety of higher-level protocols. In some implementations, output component 530 may transmit packets and/or receive packets. In some implementations, output component 530 may include an output line card that includes one or more packet processing components (e.g., in the form of integrated circuits), such as one or more IFCs, packet forwarding components, line card controller components, output ports, processors, memories, and/or output queues. In some implementations, device 500 may include one or more output components 530. In some implementations, input component 510 and output component 530 may be implemented by the same set of components (e.g., and input/output component may be a combination of input component 510 and output component 530).
Controller 540 includes a processor in the form of, for example, a CPU, a graphics processing unit (GPU), an accelerated processing unit (APU), a microprocessor, a microcontroller, a digital signal processor (DSP), a field-programmable gate array (FPGA), an application-specific integrated circuit (ASIC), and/or another type of processor. The processor is implemented in hardware, firmware, or a combination of hardware and software. In some implementations, controller 540 may include one or more processors that can be programmed to perform a function.
In some implementations, controller 540 may include a RAM, a ROM, and/or another type of dynamic or static storage device (e.g., a flash memory, a magnetic memory, an optical memory, etc.) that stores information and/or instructions for use by controller 540.
In some implementations, controller 540 may communicate with other devices, networks, and/or systems connected to device 500 to exchange information regarding network topology. Controller 540 may create routing tables based on the network topology information, may create forwarding tables based on the routing tables, and may forward the forwarding tables to input components 510 and/or output components 530. Input components 510 and/or output components 530 may use the forwarding tables to perform route lookups for incoming and/or outgoing packets.
Controller 540 may perform one or more processes described herein. Controller 540 may perform these processes in response to executing software instructions stored by a non-transitory computer-readable medium. A computer-readable medium is defined herein as a non-transitory memory device. A memory device includes memory space within a single physical storage device or memory space spread across multiple physical storage devices.
Software instructions may be read into a memory and/or storage component associated with controller 540 from another computer-readable medium or from another device via a communication interface. When executed, software instructions stored in a memory and/or storage component associated with controller 540 may cause controller 540 to perform one or more processes described herein. Additionally, or alternatively, hardwired circuitry may be used in place of or in combination with software instructions to perform one or more processes described herein. Thus, implementations described herein are not limited to any specific combination of hardware circuitry and software.
The number and arrangement of components shown in
As shown in
As further shown in
As further shown in
As further shown in
As further shown in
Process 600 may include additional implementations, such as any single implementation or any combination of implementations described below and/or in connection with one or more other processes described elsewhere herein.
In a first implementation, the information that is associated with a resource configuration, of the subset of the one or more resource configurations, includes at least one of updating information that indicates one or more out-of-band changes to the resource configuration, or a translated version of an XML configuration sub-stream, of the one or more XML configuration sub-streams, that is associated with the resource configuration.
In a second implementation, alone or in combination with the first implementation, process 600 includes providing the information that is associated with a resource configuration, of the subset of the one or more resource configurations, to a device to allow the device to update the device according to the information.
In a third implementation, alone or in combination with one or more of the first and second implementations, the data model includes a data element that corresponds to a resource configuration, of the one or more resource configurations, indicated by the XML configuration stream, wherein the data element comprises at least one of: a first parameter indicating that the data element is of interest for further processing by the system, or a second parameter indicating an identifier that is associated with the data element.
In a fourth implementation, alone or in combination with one or more of the first through third implementations, the metadata tree comprises a node that corresponds to a data element of the data model and to a resource configuration, of the one or more resource configurations, of the XML configuration stream.
In a fifth implementation, alone or in combination with one or more of the first through fourth implementations, generating the one or more XML configuration sub-streams comprises identifying a start element of the XML configuration stream; identifying a node of the metadata tree that is associated with the start element; causing, based on identifying the node, a stream writer to be created; generating, based on causing the stream writer to be created and based on processing the XML configuration stream and the metadata tree, an XML snippet; and providing the XML snippet to the stream writer to allow the stream writer to generate a particular XML configuration sub-stream of the one or more XML configuration sub-streams.
In a sixth implementation, alone or in combination with one or more of the first through fifth implementations, generating the XML snippet comprises identifying another start element of the XML configuration stream that is a child element of the start element, wherein the other start element is a parent element in a set of elements of the XML configuration stream; identifying another node of the metadata tree that is associated with the other start element; determining, based on the other node, that the set of elements are to be included in the XML snippet; and generating the XML snippet to include the set of elements and respective attributes of the set of elements.
In a seventh implementation, alone or in combination with one or more of the first through sixth implementations, generating the XML snippet comprises identifying another start element of the XML configuration stream that is a child element of the start element; identifying another node of the metadata tree that is associated with the other start element; determining, based on the other node, that the other start element is to be stored in a data structure that stores start elements; causing the other start element to be stored in the data structure; determining, after causing the other start element to be stored in the data structure, that one or more start elements of the data structure are to be included in the XML snippet; and generating the XML snippet to include the one or more start elements.
In an eighth implementation, alone or in combination with one or more of the first through seventh implementations, generating the XML snippet comprises identifying another start element of the XML configuration stream that is a child element of the start element, wherein the other start element is a parent element of a set of elements of the XML configuration stream; identifying another node of the metadata tree that is associated with the other start element; determining, based on the other node, that the set of elements are to be included in the XML snippet; and generating the XML snippet to include the set of elements.
In a ninth implementation, alone or in combination with one or more of the first through eighth implementations, generating the XML snippet comprises identifying an end element of the XML configuration stream that is associated with the start element; identifying, based on identifying the end element, that a data structure is storing one or more start elements that are child elements of the start element; generating one or more end elements that are respectively associated with the one or more start elements; and generating the XML snippet to include the one or more end elements.
Although
The foregoing disclosure provides illustration and description, but is not intended to be exhaustive or to limit the implementations to the precise forms disclosed. Modifications and variations may be made in light of the above disclosure or may be acquired from practice of the implementations.
As used herein, the term “component” is intended to be broadly construed as hardware, firmware, or a combination of hardware and software. It will be apparent that systems and/or methods described herein may be implemented in different forms of hardware, firmware, and/or a combination of hardware and software. The actual specialized control hardware or software code used to implement these systems and/or methods is not limiting of the implementations. Thus, the operation and behavior of the systems and/or methods are described herein without reference to specific software code—it being understood that software and hardware can be used to implement the systems and/or methods based on the description herein.
Even though particular combinations of features are recited in the claims and/or disclosed in the specification, these combinations are not intended to limit the disclosure of various implementations. In fact, many of these features may be combined in ways not specifically recited in the claims and/or disclosed in the specification. Although each dependent claim listed below may directly depend on only one claim, the disclosure of various implementations includes each dependent claim in combination with every other claim in the claim set. As used herein, a phrase referring to “at least one of” a list of items refers to any combination of those items, including single members. As an example, “at least one of: a, b, or c” is intended to cover a, b, c, a-b, a-c, b-c, and a-b-c, as well as any combination with multiple of the same item.
No element, act, or instruction used herein should be construed as critical or essential unless explicitly described as such. Also, as used herein, the articles “a” and “an” are intended to include one or more items, and may be used interchangeably with “one or more.” Further, as used herein, the article “the” is intended to include one or more items referenced in connection with the article “the” and may be used interchangeably with “the one or more.” Furthermore, as used herein, the term “set” is intended to include one or more items (e.g., related items, unrelated items, or a combination of related and unrelated items), and may be used interchangeably with “one or more.” Where only one item is intended, the phrase “only one” or similar language is used. Also, as used herein, the terms “has,” “have,” “having.” or the like are intended to be open-ended terms. Further, the phrase “based on” is intended to mean “based, at least in part, on” unless explicitly stated otherwise. Also, as used herein, the term “or” is intended to be inclusive when used in a series and may be used interchangeably with “and/or,” unless explicitly stated otherwise (e.g., if used in combination with “either” or “only one of”).
| Number | Name | Date | Kind |
|---|---|---|---|
| 6513112 | Craig | Jan 2003 | B1 |
| 6938079 | Anderson | Aug 2005 | B1 |
| 7054924 | Harvey | May 2006 | B1 |
| 7194386 | Parikh | Mar 2007 | B1 |
| 7289997 | Kita | Oct 2007 | B1 |
| 7644403 | Atsatt | Jan 2010 | B2 |
| 7668884 | Prahlad | Feb 2010 | B2 |
| 7747579 | Prahlad | Jun 2010 | B2 |
| 7784036 | Tjong | Aug 2010 | B2 |
| 8074218 | Eilam | Dec 2011 | B2 |
| 8417715 | Bruckhaus | Apr 2013 | B1 |
| 8615531 | Arthursson | Dec 2013 | B2 |
| 9021010 | Das | Apr 2015 | B1 |
| 10539953 | Longfellow | Jan 2020 | B1 |
| 10936336 | Willett | Mar 2021 | B1 |
| 11520606 | Nandagopal | Dec 2022 | B2 |
| 11694303 | Lee | Jul 2023 | B2 |
| 11762656 | Rudraraju | Sep 2023 | B2 |
| 12003365 | Willett | Jun 2024 | B1 |
| 20040128169 | Lusen | Jul 2004 | A1 |
| 20050071818 | Reissman | Mar 2005 | A1 |
| 20050193397 | Corenthin | Sep 2005 | A1 |
| 20050234931 | Yip | Oct 2005 | A1 |
| 20050273490 | Shrivastava | Dec 2005 | A1 |
| 20050273703 | Doughan | Dec 2005 | A1 |
| 20050273768 | Doughan | Dec 2005 | A1 |
| 20050278358 | Doughan | Dec 2005 | A1 |
| 20060020951 | Fry et al. | Jan 2006 | A1 |
| 20060161635 | Lamkin | Jul 2006 | A1 |
| 20060195420 | Kilroy | Aug 2006 | A1 |
| 20070124373 | Chatterjee | May 2007 | A1 |
| 20080033985 | Aronow | Feb 2008 | A1 |
| 20080147823 | Azami | Jun 2008 | A1 |
| 20090043736 | Han et al. | Feb 2009 | A1 |
| 20090070786 | Alves | Mar 2009 | A1 |
| 20090319647 | White | Dec 2009 | A1 |
| 20100138825 | Harrop | Jun 2010 | A1 |
| 20100262577 | Pulfer | Oct 2010 | A1 |
| 20120023488 | Morris | Jan 2012 | A1 |
| 20120114302 | Randall | May 2012 | A1 |
| 20120185821 | Yaseen | Jul 2012 | A1 |
| 20130136253 | Liberman Ben-Ami | May 2013 | A1 |
| 20140136958 | Scattergood | May 2014 | A1 |
| 20150052148 | Indeck | Feb 2015 | A1 |
| 20150127783 | Lissack | May 2015 | A1 |
| 20150149611 | Lissack | May 2015 | A1 |
| 20150227504 | Zhang | Aug 2015 | A1 |
| 20150269194 | King | Sep 2015 | A1 |
| 20150269248 | King | Sep 2015 | A1 |
| 20150355890 | Tyler | Dec 2015 | A1 |
| 20170177263 | Das | Jun 2017 | A1 |
| 20180260468 | Ben-Natan | Sep 2018 | A1 |
| 20190057222 | Bradley | Feb 2019 | A1 |
| 20190281588 | Zhang | Sep 2019 | A1 |
| 20200034216 | Kolodzieski | Jan 2020 | A1 |
| 20200076685 | Vaidya | Mar 2020 | A1 |
| 20210105338 | Oyman | Apr 2021 | A1 |
| 20210224093 | Fu | Jul 2021 | A1 |
| 20210240672 | Dillon | Aug 2021 | A1 |
| 20210374151 | Huss | Dec 2021 | A1 |
| 20230025526 | Grzybek | Jan 2023 | A1 |
| 20230091521 | Deshmukh | Mar 2023 | A1 |
| 20230108560 | Wang | Apr 2023 | A1 |
| 20230266973 | Wu | Aug 2023 | A1 |
| 20240031284 | Hsia | Jan 2024 | A1 |
| Entry |
|---|
| “The easiest way to write mission-critical real-time applications and microservices”, 2023, 5 pages, Kafka, Apache Software Foundation, https://kafka.apache.org/documentation/streams/. |
| Michal Dabrowski, “How to Split a Stream into Multiple Streams”, 7 pages, Aug. 5, 2022, https://www.baeldung.com/java-split-stream. |
| “Filtering XPath”, Version 11.1, Bizagi, https://help.bizagi.com/bpm-suite/en/11.1/index.htm?filtering_xpath.htm. |
| “XSL Transformations (XSLT) Version 3.0”, Jun. 8, 2017, 930 pages, W3C; https://www.w3.org/TR/xslt-30. |