# US 2020/0403853 A1 · Systems and method updating adc configuration with intended state using desired state api

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2020/0403853 A1
- Document ID: US20200403853A1
- Status: Published application
- Kind: A1
- Application number: 16/447,130
- Filed: 2019-06-20
- Published: 2020-12-24
- Earliest claimed: 2019-06-20
- Assignees: Citrix Systems, Inc.
- Applicants: Citrix Systems, Inc.
- Inventors: Swetha Garipally; Pradeep Gangishetty; Chandra Keerthi Reddy; Subrata Sarkar; Vemula Srimithra; Vinay Shivananda; Raghav S. N.; Aman Chaudhary
- Web page: https://patentgrep.com/patent/US20200403853A1

## CPC

- G06F 9/542: {Event management; Broadcasting; Multicasting; Notifications}
- H04L 41/082: the condition being updates or upgrades of network functionality
- H04L 67/34: {involving the movement of software or configuration parameters (network booting or remote initial program loading [RIPL] G06F9/4416)}
- H04L 67/567: Integrating service provisioning from a plurality of service providers
- G06F 9/5077: {Logical partitioning of resources; Management or configuration of virtualized resources (specific details on emulation or internal functioning of virtual machines G06F9/455)}
- H04L 67/1001: for accessing one among a plurality of replicated servers
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Described herein are systems and methods for updating configuration of a device based on changes to microservices. A device may receive a request via a desired state application programming interface (API) to update a configuration of the device to manage a desired set of instances of microservices. The device may identify from the request, a first set of endpoint information for each instance of a microservice in the desired set of instances of microservices. The first set of endpoint information may include an internet protocol (IP) address and port of an endpoint of a respective instance of the microservice. The first set or second set of endpoint information may include a weight for each instance of the microservice.

## Claims

### Claim 1

A method for updating configuration of a device based on changes to microservices, the method comprising:
(a) receiving, by a device intermediary to a plurality of clients and microservices, a request via a desired state application programming interface (API) to update a configuration of the device to manage a desired set of instances of microservices;
(b) identifying, by the device from the request, a first set of endpoint information for each instance of a microservice in the desired set of instances of microservices, the first set of endpoint information comprising an internet protocol (IP) address and port of an endpoint of a respective instance of the microservice;
(c) communicating, by the device, the first set of endpoint information to each of one or more packet engines of the device, the one or more packet engines configured to manage network traffic to a current set of instances of microservices;
(d) determining, by the one or more packet engines, a change between the first set of endpoint information and a second set of endpoint information configured on the one or more packet engine for each instance of the microservice in the current set of instance of microservices; and
(e) updating, by the one or more packet engines based at least on the change, the configuration of the one or more packet engines to manage the desired set of instances of microservices.

### Claim 2 (depends on 1)

The method of claim 1, wherein (a) further comprising receiving, by the device, the request from a controller of a cluster of microservices.

### Claim 3 (depends on 2)

The method of claim 2, wherein the controller is configured to receive information for the request from an API server for the microservices.

### Claim 4 (depends on 1)

The method of claim 1, wherein one of the first set or second set of endpoint information further comprises a weight for each instance of the microservice.

### Claim 5 (depends on 1)

The method of claim 1, wherein (d) further comprises determining, by the one or more packet engines, one or more endpoints in the first set of endpoints that are not in the second set of endpoints.

### Claim 6 (depends on 5)

The method of claim 5, wherein (e) further comprises adding, by the one or more packet engines, configuration on the one or more packet engines for the one or more endpoints.

### Claim 7 (depends on 1)

The method of claim 1, wherein (d) further comprises determining, by the one or more packet engines, one or more endpoints in the second set of endpoints that have been removed from the first set of endpoints.

### Claim 8 (depends on 7)

The method of claim 7, wherein (e) further comprises removing, by the one or more packet engines, configuration on the one or more packet engines corresponding to the one or more endpoints.

### Claim 9 (depends on 1)

The method of claim 1, wherein (d) further comprises determining, by the one or more packet engines, one or more endpoints that are in both the first set of endpoints and the second set of endpoints.

### Claim 10 (depends on 9)

The method of claim 9, wherein (e) further comprises maintaining, by the one or more packet engines, configuration on the one or more packet engines corresponding to the one or more endpoints.

### Claim 11

A system for updating configuration of a device based on changes to microservices, the system comprising:
a device comprising one or more processors, coupled to memory and intermediary to a plurality of clients and microservices, the device configured to receive a request via a desired state application programming interface (API) to update a configuration of the device to manage a desired set of instances of microservices, and identify from the request, a first set of endpoint information for each instance of a microservice in the desired set of instances of microservices;
wherein the first set of endpoint information comprises an internet protocol (IP) address and port of an endpoint of a respective instance of the microservice;
wherein the device is configured to communicate the first set of endpoint information to one or more packet engines of the device configured to manage network traffic to a current set of instances of microservices;
wherein the one or more packet engines are configured to:
determine a change between the first set of endpoint information and a second set of endpoint information configured on the one or more packet engine for each instance of the microservice in the current set of instances of microservices; and
update, based at least on the change, the configuration of the one or more packet engines to manage the desired set of instances of microservices.

### Claim 12 (depends on 11)

The system of claim 11, wherein the device is further configured to receive the request from a controller of a cluster of microservices.

### Claim 13 (depends on 11)

The system of claim 11, wherein the controller is configured to receive information for the request from an API server for the microservices.

### Claim 14 (depends on 11)

The system of claim 11, wherein one of the first set or second set of endpoint information further comprises a weight for each instance of the microservice.

### Claim 15 (depends on 11)

The system of claim 11, wherein the one or more packet engines are further configured to determine one or more endpoints in the first set of endpoints are not in the second set of endpoints.

### Claim 16 (depends on 15)

The system of claim 15, wherein the one or more packet engines are further configured to add configuration on the one or more packet engines for the one or more endpoints.

### Claim 17 (depends on 11)

The system of claim 11, wherein the one or more packet engines are further configured to determine one or more endpoints in the second set of endpoints that have been removed from the first set of endpoints.

### Claim 18 (depends on 17)

The system of claim 17, wherein the one or more packet engines are further configured to remove configuration on the one or more packet engines corresponding to the one or more endpoints.

### Claim 19 (depends on 11)

The system of claim 11, wherein the one or more packet engines are further configured to determine one or more endpoints that are in both the first set of endpoints and the second set of endpoints.

### Claim 20 (depends on 19)

The system of claim 19, wherein the one or more packet engines are further configured to maintain configuration on the one or more packet engines corresponding to the one or more endpoints.
